/* ═══════════════════════════════════════════════
   PARTNERSHIP COUNSEL — SHARED STYLESHEET
   Blue-dominant theme with gold accents
═══════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Cinzel:wght@400;500;600&family=Jost:wght@300;400;500;600&display=swap");

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

:root {
  /* Blues */
  --blue-deep: #0b1e3d;
  --blue-dark: #102548;
  --blue-mid: #163260;
  --blue-rich: #1b3d76;
  --blue-bright: #1e4a8a;
  --blue-accent: #2a5fa3;
  --blue-light: #3a74c0;
  --blue-pale: #d0ddf0;

  /* Golds */
  --gold: #b8975a;
  --gold-light: #cfa96e;
  --gold-pale: #e8d5a8;

  /* Neutrals */
  --cream: #f5f0e8;
  --white: #fdfaf5;
  --text-muted: #a9bedd;
  --text-dim: #5a7599;
  --border: rgba(184, 151, 90, 0.15);
  --border-blue: rgba(58, 116, 192, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--blue-deep);
  color: var(--cream);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.7;
}

/* ─── NOISE TEXTURE ─── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  background: linear-gradient(
    to bottom,
    rgba(11, 30, 61, 0.97),
    rgba(11, 30, 61, 0.88)
  );
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.4s;
}
header.scrolled {
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.05);
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-family: "Cinzel", serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  line-height: 1.15;
}
.logo-sub {
  font-family: "Jost", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-desktop a {
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 2px;
  transition: color 0.3s, background 0.3s;
  position: relative;
  white-space: nowrap;
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--gold-light);
}
.nav-desktop a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--blue-dark);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.25s ease;
  z-index: 300;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 12px 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.65rem !important;
  letter-spacing: 0.12em !important;
}
.dropdown-menu a:last-child {
  border-bottom: none;
}

.nav-cta {
  font-size: 0.62rem !important;
  letter-spacing: 0.2em !important;
  color: var(--blue-deep) !important;
  background: var(--gold) !important;
  padding: 9px 20px !important;
  border-radius: 1px;
  margin-left: 8px;
  transition: background 0.3s !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--blue-deep) !important;
}
.nav-cta::after {
  display: none !important;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--blue-dark);
  border-bottom: 1px solid var(--border);
  z-index: 190;
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color 0.3s;
}
.mobile-menu a:hover {
  color: var(--gold-light);
}

/* ─── PAGE HERO (interior pages) ─── */
.page-hero {
  padding-top: 76px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.page-hero-inner {
  padding: 72px 56px 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      135deg,
      rgba(27, 61, 118, 0.4) 0%,
      transparent 60%
    ),
    linear-gradient(to bottom, rgba(11, 30, 61, 0.3), transparent);
  pointer-events: none;
}
.page-hero-line {
  position: absolute;
  left: 56px;
  top: 50px;
  bottom: 30px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--gold) 30%,
    var(--gold) 70%,
    transparent
  );
  opacity: 0.35;
}
.page-hero-inner .eyebrow {
  font-family: "Jost", sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 36px;
}
.page-hero-inner .eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.page-hero-inner h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  padding-left: 36px;
  margin-bottom: 20px;
}
.page-hero-inner h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.page-hero-inner .subtitle {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--blue-pale);
  padding-left: 36px;
  max-width: 620px;
}

/* TAB BUTTONS */
.tab-btn {
  font-family: "Jost", sans-serif;
  font-size: 0.72;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  margin-top: 15px;
  border: 1px solid rgba(58, 116, 192, 0.2);
  background: rgba(16, 37, 72, 0.4);
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.tab-btn.active,
.tab-btn:hover {
  background: rgba(27, 61, 118, 0.6);
  color: var(--gold-light);
  border-color: rgba(184, 151, 90, 0.25);
}

/* ─── MAIN CONTENT WRAPPER ─── */
.content-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 56px 96px;
}

/* ─── PROSE CONTENT ─── */
.prose h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 20px;
  margin-top: 56px;
  line-height: 1.2;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h2 em {
  font-style: italic;
  color: var(--gold-light);
}
.prose h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue-pale);
  margin-bottom: 14px;
  margin-top: 36px;
}
.prose p {
  font-size: 0.95rem;
  line-height: 1.92;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.prose strong {
  color: var(--cream);
  font-weight: 500;
}
.prose ul,
.prose ol {
  margin: 16px 0 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prose li {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text-muted);
  padding-left: 6px;
}
.prose ul li::marker {
  color: var(--gold);
}
.prose ol li::marker {
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
}

/* ─── SHARED COMPONENTS ─── */
.section-label {
  font-family: "Jost", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.gold-rule {
  border: none;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold) 30%,
    var(--gold) 70%,
    transparent
  );
  opacity: 0.25;
  margin: 56px 0;
}

.card-blue {
  background: rgba(27, 61, 118, 0.2);
  border: 1px solid var(--border-blue);
  padding: 36px 40px;
  transition: background 0.3s, border-color 0.3s;
}
.card-blue:hover {
  background: rgba(42, 95, 163, 0.2);
  border-color: rgba(184, 151, 90, 0.25);
}

.info-box {
  background: rgba(27, 61, 118, 0.25);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  margin: 28px 0;
}
.info-box p {
  margin: 0;
}

/* ─── CREDENTIALS BAR ─── */
.cred-bar {
  position: relative;
  z-index: 1;
  background: rgba(16, 37, 72, 0.8);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 22px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cred-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(184, 151, 90, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.cred-text strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  font-weight: 400;
}
.cred-text span {
  color: var(--text-muted);
  font-size: 0.72rem;
}
.cred-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--gold);
  padding: 15px 36px;
  text-decoration: none;
  border-radius: 1px;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 14px 36px;
  text-decoration: none;
  border-radius: 1px;
  transition: background 0.3s;
}
.btn-outline:hover {
  background: rgba(184, 151, 90, 0.1);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.3s;
}
.btn-text::after {
  content: "→";
}
.btn-text:hover {
  gap: 14px;
}

/* ─── QUOTE ─── */
.pull-quote {
  border-left: 2px solid var(--gold);
  padding: 20px 0 20px 28px;
  margin: 36px 0;
}
.pull-quote blockquote {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold-pale);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 10px;
}
.pull-quote cite {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

/* CTA BAND */
.cta-band {
  position: relative;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(27, 61, 118, 0.55) 0%,
    rgba(11, 30, 61, 0.6) 100%
  );
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 56px;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 80% at 50% 50%,
    rgba(184, 151, 90, 0.05) 0%,
    transparent 65%
  );
}
.cta-band h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}
.cta-band p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 44px;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  background: rgba(7, 16, 32, 0.95);
  border-top: 1px solid var(--border);
  padding: 56px 56px 36px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.linkedin {
  margin-top: 16px;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--text-muted);
  transition: color 0.3s;
  text-decoration: none;
}
.linkedin:hover {
  margin-top: 16px;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--gold);
  text-decoration: none;
}
.footer-col h4 {
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 9px;
}
.footer-col ul li a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0.03em;
}
.footer-col ul li a:hover {
  color: var(--gold-light);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(184, 151, 90, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.7rem;
  color: rgba(90, 117, 153, 0.6);
}
.footer-accreds {
  display: flex;
  gap: 20px;
}
.footer-accreds a {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(90, 117, 153, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-accreds a:hover {
  color: var(--gold);
}

/* ─── FADE-IN ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  header {
    padding: 0 24px;
  }
  .nav-desktop {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .page-hero-inner {
    padding: 56px 24px 44px;
  }
  .page-hero-line {
    left: 24px;
  }
  .page-hero-inner .eyebrow,
  .page-hero-inner h1,
  .page-hero-inner .subtitle {
    padding-left: 24px;
  }
  .content-wrap {
    padding: 48px 24px 72px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  footer {
    padding: 40px 24px 28px;
  }
  .cred-bar {
    padding: 18px 24px;
    gap: 24px;
  }
  .cred-divider {
    display: none;
  }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
