@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --navy: #0d1f2d;
  --cream: #f5f0e8;
  --gold: #5898bb;
  --white: #ffffff;
  --text: #2a2318;
  --gold2: rgb(200,168,75);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 5vw;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, height 0.35s ease, padding 0.35s ease;
  background: #0d1f2d;
}

nav.scrolled {
  height: 64px;
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(13,31,45,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,168,75,0.15);
}

.nav-logo img {
  height: 52px;
  width: auto;
  align-self: flex-start;
  transition: height 0.35s ease;
}

nav.scrolled .nav-logo img {
  height: 36px;
}

/* ── HAMBURGER BUTTON ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.nav-logo {
  margin: 0;
  width: 250px;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo span {
  font-size: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.70);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold) !important;
  border: 1px solid rgba(200,168,75,0.5);
  padding: 8px 20px;
  transition: background 0.3s, color 0.3s !important;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--navy) !important;
}

.nav-cta2 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy) !important;
  background: var(--gold);
  border: 1px solid var(--gold);
  padding: 8px 20px;
  transition: background 0.3s, color 0.3s !important;
}

.nav-cta2:hover {
  background: var(--cream);
  color: var(--navy) !important;
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* ── GOLD RULE ── */
.gold-rule {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 50%, transparent 100%);
}

/* ── BUTTON ── */
.btn {
  display: inline-block;
  padding: 16px 44px;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}

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

/* ── INNER PAGE HERO (affiliates, portfolio, strategy) ── */
.hero {
  position: relative;
  background: var(--navy);
  padding: 120px 6vw 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 90% at 85% 40%, rgba(200,168,75,0.11) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 5% 80%, rgba(200,168,75,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}

.hero-label::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.comm-title {
    height:90px;
    margin:0 0 30px;
}

.hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  color: var(--white);
  max-width: 780px;
  opacity: 0;
  animation: fadeUp 0.8s 0.25s forwards;
}

.hero-heading em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  margin-top: 32px;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245,240,232,0.72);
  max-width: 600px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero .nav-cta {
  display:inline-block;
  margin-top: 32px;
}

/* ── CLOSING CTA ── */
.closing {
  background: var(--navy);
  padding: 100px 6vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(200,168,75,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.closing-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.closing-heading em {
  font-style: italic;
  color: var(--gold);
}

.closing-text {
  font-size: 15px;
  font-weight: 300;
  color: rgba(245,240,232,0.68);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ── FOOTER ── */
footer {
  background: #070f16;
  padding: 48px 6vw 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid rgba(200,168,75,0.12);
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
}

.footer-nav a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.40);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 11px;
  font-weight: 300;
  color: rgba(245,240,232,0.28);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1199px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 10vh 40px 40px;
    gap: 28px;
    transition: right 0.35s ease;
    z-index: 99;
    border-left: 1px solid rgba(200,168,75,0.15);
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
  }

  nav.open .nav-links {
    right: 0;
  }

  .nav-links a {
    font-size: 13px;
    letter-spacing: 0.18em;
  }

  .nav-cta {
    margin-top: 12px;
  }
}
