/* ── MDG GLOBAL STYLES ─────────────────────────────────────── */

/* Perpetua — serif */
@font-face {
  font-family: 'Perpetua';
  src: url('fonts/PerpetuaBQ-Roman.woff2') format('woff2');
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Perpetua';
  src: url('fonts/Perpetua-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Perpetua';
  src: url('fonts/Perpetua-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Arboria — sans-serif */
@font-face {
  font-family: 'Arboria';
  src: url('fonts/Arboria-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Arboria';
  src: url('fonts/Arboria-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Arboria';
  src: url('fonts/Arboria-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Arboria';
  src: url('fonts/Arboria-BookItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Arboria';
  src: url('fonts/Arboria-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Arboria';
  src: url('fonts/Arboria-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

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

:root {
  --cream:        #F7F4EF;
  --warm-white:   #FDFCFA;
  --charcoal:     #1A1A18;
  --charcoal-soft:#2C2C2A;
  --stone:        #8A8880;
  --stone-light:  #C8C5BF;
  --gold:         #B89A6A;
  --gold-light:   #D4B98A;
  --serif:        'Perpetua', Georgia, serif;
  --sans:         'Arboria', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--warm-white); color: var(--charcoal); font-family: var(--sans); font-weight: 300; overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 56px;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
}
nav.scrolled, nav.solid {
  background: rgba(253,252,250,0.97); padding: 16px 56px;
  border-bottom: 0.5px solid var(--stone-light); backdrop-filter: blur(10px);
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}


nav.scrolled .nav-logo, nav.solid .nav-logo { color: var(--charcoal); }
.nav-logo .logo-dark { display: none; }
nav.scrolled .nav-logo .logo-white, nav.solid .nav-logo .logo-white { display: none; }
nav.scrolled .nav-logo .logo-dark,  nav.solid .nav-logo .logo-dark  { display: block; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(253,252,250,0.8); text-decoration: none;
  transition: color 0.3s; font-weight: 400;
}
nav.scrolled .nav-links a, nav.solid .nav-links a { color: var(--stone); }
.nav-links a:hover { color: var(--warm-white) !important; }
nav.scrolled .nav-links a:hover, nav.solid .nav-links a:hover { color: var(--charcoal) !important; }
.nav-links a.active { color: var(--warm-white); }
nav.scrolled .nav-links a.active, nav.solid .nav-links a.active { color: var(--charcoal); border-bottom: 0.5px solid var(--charcoal); padding-bottom: 2px; }
.nav-cta {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(253,252,250,0.85); text-decoration: none;
  border-bottom: 0.5px solid rgba(253,252,250,0.4); padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s; font-weight: 400;
}
nav.scrolled .nav-cta, nav.solid .nav-cta { color: var(--charcoal); border-color: var(--charcoal); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 0.5px; background: var(--warm-white); transition: background 0.4s; }
nav.scrolled .nav-hamburger span, nav.solid .nav-hamburger span { background: var(--charcoal); }
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--warm-white); z-index: 99; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--serif); font-size: 28px; font-weight: 300; color: var(--charcoal); text-decoration: none; letter-spacing: 0.05em; }
.mobile-menu-close { position: absolute; top: 24px; right: 32px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--stone); }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  height: 52vh; min-height: 380px; background: var(--charcoal);
  display: flex; align-items: flex-end; padding: 0 56px 64px;
  position: relative; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.45; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-eyebrow { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); font-weight: 400; margin-bottom: 12px; }
.page-hero-title { font-family: var(--serif); font-size: clamp(36px, 5vw, 64px); font-weight: 300; color: var(--warm-white); line-height: 1.1; }
.page-hero-title em { font-style: italic; color: var(--gold-light); }

/* ── SHARED COMPONENTS ── */
.section-eyebrow { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 10px; }
.section-title { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 300; color: var(--charcoal); line-height: 1.2; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 48px; }
.section-link { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); text-decoration: none; border-bottom: 0.5px solid var(--stone-light); padding-bottom: 2px; transition: color 0.3s, border-color 0.3s; white-space: nowrap; }
.section-link:hover { color: var(--charcoal); border-color: var(--charcoal); }

.btn-primary { display: inline-block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--sans); font-weight: 400; color: var(--charcoal); background: var(--warm-white); padding: 14px 32px; text-decoration: none; transition: background 0.3s; }
.btn-primary:hover { background: var(--gold-light); }
.btn-dark { display: inline-block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--sans); font-weight: 400; color: var(--warm-white); background: var(--charcoal); padding: 14px 32px; text-decoration: none; border: 0.5px solid var(--charcoal); transition: background 0.3s, color 0.3s; cursor: pointer; border-radius: 0; }
.btn-dark:hover { background: var(--charcoal-soft); }
.btn-ghost { display: inline-block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--sans); font-weight: 400; color: var(--warm-white); padding: 14px 32px; text-decoration: none; border: 0.5px solid rgba(253,252,250,0.4); transition: border-color 0.3s, background 0.3s; }
.btn-ghost:hover { border-color: var(--warm-white); background: rgba(253,252,250,0.06); }
.btn-gold { display: inline-block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--sans); font-weight: 400; color: var(--charcoal); background: var(--gold-light); padding: 16px 40px; text-decoration: none; transition: background 0.3s; cursor: pointer; border: none; border-radius: 0; }
.btn-gold:hover { background: var(--gold); }
.btn-outline-dark { display: inline-block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--sans); font-weight: 400; color: var(--charcoal); padding: 14px 32px; text-decoration: none; border: 0.5px solid var(--charcoal); transition: background 0.3s, color 0.3s; }
.btn-outline-dark:hover { background: var(--charcoal); color: var(--warm-white); }

/* ── FOOTER ── */
footer { background: #131310; padding: 72px 56px 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; border-bottom: 0.5px solid rgba(253,252,250,0.07); padding-bottom: 56px; }
.footer-brand .footer-logo { font-family: var(--serif); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--warm-white); text-decoration: none; display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 12px; color: rgba(253,252,250,0.35); line-height: 1.8; font-weight: 300; max-width: 240px; }
.footer-col h5 { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(253,252,250,0.35); font-weight: 400; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 12px; color: rgba(253,252,250,0.5); text-decoration: none; margin-bottom: 10px; font-weight: 300; transition: color 0.3s; }
.footer-col a:hover { color: var(--warm-white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 11px; color: rgba(253,252,250,0.2); font-weight: 300; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 11px; color: rgba(253,252,250,0.2); text-decoration: none; transition: color 0.3s; }
.footer-legal a:hover { color: rgba(253,252,250,0.5); }

/* ── MODAL ── */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(26,26,24,0.88); align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.active { display: flex; }
.modal { background: var(--warm-white); max-width: 540px; width: 100%; padding: 56px; position: relative; animation: modalIn 0.35s ease; max-height: 90vh; overflow-y: auto; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-close { position: absolute; top: 20px; right: 24px; background: none; border: none; cursor: pointer; font-size: 22px; color: var(--stone); line-height: 1; transition: color 0.3s; }
.modal-close:hover { color: var(--charcoal); }
.modal h3 { font-family: var(--serif); font-size: 28px; font-weight: 300; color: var(--charcoal); margin: 8px 0; line-height: 1.2; }
.modal-sub { font-size: 13px; color: var(--stone); margin-bottom: 32px; line-height: 1.7; font-weight: 300; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); font-weight: 400; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 0; background: transparent; border: none; border-bottom: 0.5px solid var(--stone-light); color: var(--charcoal); font-family: var(--sans); font-size: 13px; font-weight: 300; outline: none; transition: border-color 0.3s; -webkit-appearance: none; border-radius: 0; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--charcoal); }
.form-group textarea { resize: none; height: 72px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.modal-submit { width: 100%; padding: 16px; background: var(--charcoal); color: var(--warm-white); border: none; font-family: var(--sans); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; margin-top: 24px; transition: background 0.3s; font-weight: 400; }
.modal-submit:hover { background: var(--charcoal-soft); }
.modal-disclaimer { font-size: 10px; color: var(--stone-light); text-align: center; margin-top: 12px; line-height: 1.6; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 20px 24px; }
  nav.scrolled, nav.solid { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .page-hero { padding: 0 24px 48px; }
  footer { padding: 48px 24px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .modal { padding: 36px 28px; }
  .form-row { grid-template-columns: 1fr; }
}
