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

:root {
  --navy:       #1b2a4a;
  --navy-mid:   #243259;
  --navy-deep:  #0f1c33;
  --gold:       #c9a96e;
  --gold-lt:    #dfc090;
  --gold-dk:    #a8834a;
  --cream:      #f7f4ef;
  --cream-dk:   #ece8df;
  --white:      #ffffff;
  --txt:        #1b2a4a;
  --txt-mid:    #4a5670;
  --txt-lt:     #8a97a8;
  --radius:     3px;
}

html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: 'Jost', sans-serif;
  color: var(--txt);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img   { max-width: 100%; display: block; }
a     { color: inherit; text-decoration: none; }

/* ─── TOPBAR ─── */
.topbar {
  background: var(--navy-deep);
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .04em;
  padding: 7px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,.55);
}
.topbar a { color: rgba(255,255,255,.55); transition: color .2s; }
.topbar a:hover { color: var(--gold-lt); }
.tb-right { display: flex; gap: 24px; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dk);
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  justify-content: space-between;
  box-shadow: 0 1px 16px rgba(27,42,74,.06);
  transition: box-shadow .3s;
}

/* Logo */
.logo-wrap {
  display: flex; align-items: center; gap: 13px;
  flex-shrink: 0; text-decoration: none;
}
.logo-mark {
  width: 42px; height: 42px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  flex-shrink: 0;
}
.logo-mark img.logo-img-el {
  width: 42px; height: 42px;
  object-fit: contain; border-radius: var(--radius);
  display: none;
}
.logo-text-wrap .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 600;
  color: var(--navy); letter-spacing: .03em;
  display: block; line-height: 1.1;
}
.logo-text-wrap .sub {
  font-size: 9.5px; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--txt-lt); display: block;
}

/* Primary nav */
.primary-nav {
  display: flex; align-items: center; gap: 6px;
}

/* Nav item wrapper for dropdown */
.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 400;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--txt-mid);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  white-space: nowrap;
  cursor: pointer;
  border: none; background: none;
  font-family: 'Jost', sans-serif;
}
.nav-link:hover, .nav-link.active {
  color: var(--navy);
  background: var(--cream);
}
.nav-link .caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform .2s;
  flex-shrink: 0;
}
.nav-item:hover .caret,
.nav-item.open .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--white);
  border: 1px solid var(--cream-dk);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(27,42,74,.12);
  min-width: 220px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 600;
  overflow: hidden;
}
.nav-item:hover .dropdown,
.nav-item.open  .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  font-size: 12.5px; font-weight: 400;
  color: var(--txt-mid);
  padding: 10px 18px;
  transition: background .15s, color .15s;
  border-bottom: 1px solid var(--cream);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--cream); color: var(--navy); }
.dropdown a .dd-label { display: block; font-weight: 500; color: var(--navy); font-size: 12.5px; }
.dropdown a .dd-desc  { display: block; font-size: 11px; color: var(--txt-lt); margin-top: 1px; }

/* CTA button */
.nav-cta {
  display: inline-block;
  background: var(--navy);
  color: var(--white) !important;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius);
  margin-left: 10px;
  transition: background .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-mid); }

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

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 1000;
  padding: 80px 32px 32px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav .close-x {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none;
  color: rgba(255,255,255,.6); font-size: 28px; cursor: pointer;
}
.mobile-nav .m-section {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin: 1.5rem 0 .5rem;
}
.mobile-nav a {
  display: block; font-size: 15px; font-weight: 300;
  color: rgba(255,255,255,.8);
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--gold-lt); }
.mobile-nav .m-cta {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 13px 30px; border-radius: var(--radius);
  margin-top: 1.5rem;
}

/* ─── SHARED SECTION HELPERS ─── */
.section { padding: 80px 48px; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-label {
  display: block; font-size: 10px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dk); margin-bottom: 8px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 400; color: var(--navy);
  line-height: 1.18; margin-bottom: 10px;
}
.section-sub {
  font-size: .96rem; font-weight: 300;
  color: var(--txt-mid); line-height: 1.85;
  max-width: 540px;
}
.divider { width: 44px; height: 2px; background: var(--gold); margin: 14px 0 24px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 13px 30px; border-radius: var(--radius);
  transition: background .2s, color .2s, transform .15s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-lt); }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--navy);
  padding: 80px 48px 70px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,169,110,.1) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .inner { max-width: 1160px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .eyebrow {
  display: inline-block;
  font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300; color: var(--white);
  line-height: 1.1; margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--gold-lt); }
.page-hero p {
  font-size: 1.02rem; font-weight: 300;
  color: rgba(255,255,255,.65); max-width: 560px;
  line-height: 1.85;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.5);
  padding: 64px 48px 32px;
}
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 28px;
}
.footer-brand .f-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 600; color: var(--white);
  display: block; margin-bottom: 4px;
}
.footer-brand .f-sub {
  font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 16px;
}
.footer-brand p {
  font-size: .84rem; font-weight: 300; line-height: 1.85;
  color: rgba(255,255,255,.4); max-width: 270px;
}
.footer-col h4 {
  font-size: 9.5px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: .85rem; font-weight: 300;
  color: rgba(255,255,255,.45);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold-lt); }
.footer-col address {
  font-style: normal; font-size: .85rem;
  line-height: 1.9; color: rgba(255,255,255,.45);
}
.footer-col address a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer-col address a:hover { color: var(--gold-lt); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 10.5px; color: rgba(255,255,255,.28);
}
.footer-bottom a { color: rgba(255,255,255,.28); transition: color .2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ─── FADE-IN ANIMATION ─── */
.fi {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fi.in { opacity: 1; transform: none; }
.fi-d1 { transition-delay: .1s; }
.fi-d2 { transition-delay: .2s; }
.fi-d3 { transition-delay: .3s; }
.fi-d4 { transition-delay: .4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .section { padding: 64px 32px; }
  .site-header { padding: 0 32px; }
  .topbar { padding: 7px 32px; }
  .page-hero { padding: 64px 32px; }
  .site-footer { padding: 48px 32px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .primary-nav { display: none; }
  .nav-cta-wrap { display: none; }
  .hamburger { display: flex; }
  .topbar .tb-right { display: none; }
  .section { padding: 48px 20px; }
  .site-header { padding: 0 20px; }
  .topbar { padding: 7px 20px; }
  .page-hero { padding: 48px 20px; }
  .site-footer { padding: 40px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
