/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }

/* ─── Tokens ─────────────────────────────────────────── */
:root {
  --cream:      #FDFAF7;
  --ink:        #1C1618;
  --rose:       #8A5A5A;
  --rose-light: #E8D0CC;
  --rose-mid:   #C89890;
  --rose-dark:  #9A6A6A;
  --warm-dk:    #6A4A4A;
  --body-text:  #7A6060;
  --rule:       #EDE3E0;
  --serif:      'Playfair Display', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;
  --max-w:      1280px;
  --pad-x:      max(3rem, calc((100vw - var(--max-w)) / 2 + 3rem));
}

/* ─── Base ───────────────────────────────────────────── */
body { font-family: var(--sans); background: var(--cream); color: var(--ink); }

/* ─── Focus styles ───────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--rose-dark);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ─── Skip link ──────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1.2rem;
  font-size: 14px;
  font-family: var(--sans);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 1rem; }

/* ─── Screen-reader only utility ─────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Typography: shared across pages ───────────────── */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 400;
}

/* ─── CTA block (shared across pages) ───────────────── */
.cta {
  padding: 6rem var(--pad-x);
  text-align: center;
  background: var(--ink);
}
.cta-eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.5rem;
}
.cta-h2 {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--cream);
  line-height: 1.1;
}
.cta-h2 em { font-style: italic; color: var(--rose-mid); }
.cta-sub {
  font-size: 16px;
  color: #A89090;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 300;
}
.btn-light {
  display: inline-block;
  background: var(--cream);
  color: var(--ink);
  padding: 0.8rem 2rem;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-light:hover { opacity: 0.85; }

/* ─── Nav ────────────────────────────────────────────── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem var(--pad-x);
  border-bottom: 0.5px solid var(--rule);
  background: var(--cream);
  position: relative;
}
.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}
.nav-logo-img { height: 64px; width: auto; display: block; }
.nav-sub {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
  color: var(--rose);
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body-text);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); border-bottom: 1px solid var(--rose); padding-bottom: 2px; }
.btn-nav {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  padding: 0.55rem 1.4rem;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-nav:hover { opacity: 0.85; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  flex-shrink: 0;
  margin-left: 0.75rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Logo Section ───────────────────────────────────── */
.logo-section {
  background: var(--cream);
  padding: 2.5rem var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-top: 0.5px solid var(--rule);
}
.logo-seal { width: 140px; height: 140px; object-fit: contain; }
.logo-tagline {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
}
.logo-nav { display: flex; gap: 2rem; list-style: none; margin-top: 0.25rem; flex-wrap: wrap; justify-content: center; }
.logo-nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body-text);
  text-decoration: none;
  transition: color 0.2s;
}
.logo-nav a:hover { color: var(--ink); }

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  border-top: 0.5px solid var(--rose-dark);
  padding: 2rem var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: var(--cream);
}
.footer-social { display: flex; gap: 1.5rem; align-items: center; }
.footer-social a {
  color: var(--rose-dark);
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.footer-social a:hover { opacity: 1; color: var(--rose); }
.footer-copy {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--rose-dark);
  letter-spacing: 0.1em;
  opacity: 0.85;
}
.footer-sep {
  margin: 0 .5rem;
}

/* ─── Announcement bar ───────────────────────────────── */
.announcement-bar {
  background: var(--rose);
  color: var(--cream);
  padding: 1.1rem var(--pad-x);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  font-size: 13px;
  letter-spacing: 0.08em;
  position: relative;
}
.announcement-bar p { margin: 0; line-height: 1.5; }
.announcement-learn {
  background: none;
  border: 1px solid rgba(253,250,247,0.5);
  color: var(--cream);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  font-family: var(--sans);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.announcement-learn:hover { background: rgba(253,250,247,0.15); }
.announcement-close {
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  opacity: 0.6;
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.2s;
}
.announcement-close:hover { opacity: 1; }

/* ─── Modal ──────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28,22,24,0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--cream);
  max-width: 580px;
  width: 100%;
  padding: 3rem;
  position: relative;
}
.modal-eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}
.modal-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.modal-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--body-text);
  font-weight: 300;
}
.modal-body p + p { margin-top: 1rem; }
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: var(--body-text);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.modal-close:hover { opacity: 1; }

/* ─── Responsive: Nav & Footer ───────────────────────── */
@media (max-width: 1024px) {
  .nav { gap: 1.25rem; padding: 1.25rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .announcement-bar { padding-right: 3.5rem; }
  .announcement-close { right: 1rem; }
}

@media (max-width: 768px) {
  .nav { padding: 1rem 0.75rem; }
  .nav-brand { flex: 1; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-bottom: 0.5px solid var(--rule);
    box-shadow: 0 6px 16px rgba(28,22,24,0.07);
    z-index: 100;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { list-style: none; }
  .nav-links a {
    display: block;
    padding: 0.9rem 1.25rem;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--body-text);
    border: none;
    text-align: left;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a.active { color: var(--ink); border-left: 2px solid var(--rose); padding-left: calc(1.25rem - 2px); }

  .footer { padding: 1.75rem 1.5rem; gap: 0.85rem; }
  .footer-copy { flex-direction: column; gap: 0.25rem; text-align: center; }
  .footer-sep { display: none; }

  .cta { padding: 4rem 1.5rem; }
  .cta-h2 { font-size: 36px; }

  .announcement-bar { padding: 0.85rem 1.5rem; padding-right: 3.5rem; }
  .announcement-close { right: 1rem; }
  .announcement-learn { padding: 0.45rem 1.1rem; }
  .modal { padding: 2rem 1.5rem; max-height: 80vh; overflow-y: auto; }
}

@media (max-width: 480px) {
  .cta-h2 { font-size: 30px; }
}

/* ─── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
