:root {
  --navy: #1B3A5C;
  --navy-deep: #0F2742;
  --navy-soft: #2D4F73;
  --gold: #E8B830;
  --gold-deep: #C99A1F;
  --gold-light: #F4D373;
  --cream: #FDF8ED;
  --cream-warm: #F5EDD9;
  --ink: #1A1F2E;
  --muted: #6B7380;
  --line: rgba(27, 58, 92, 0.12);
  
  --serif: 'Fraunces', Georgia, serif;
  --display: 'Barlow Condensed', Impact, sans-serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: multiply;
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  background: rgba(253, 248, 237, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Transparent logo - no card, no background */
.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-card img {
  height: 110px;
  width: auto;
  display: block;
}

/* Logo text hidden - the logo already contains the company name */
.logo-text {
  display: none;
}

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

.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:not(.nav-cta):hover { color: var(--gold-deep); }
.nav-links a.active:not(.nav-cta) { color: var(--gold-deep); }

.nav-cta {
  padding: 0.65rem 1.5rem;
  background: var(--navy);
  color: var(--cream) !important;
  border-radius: 2rem;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
}

/* ============ SHARED COMPONENTS ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: '';
  width: 2.5rem;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--navy-deep);
}

h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-deep);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--navy-deep);
}

h2 em {
  font-style: italic;
  color: var(--gold-deep);
}

h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy-deep);
  margin-bottom: 1rem;
}

.btn-primary {
  padding: 1rem 2rem;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  border-radius: 3rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--navy);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 154, 31, 0.35);
}

.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 1rem 0;
  border-bottom: 2px solid var(--gold);
  transition: all 0.2s;
}

.btn-secondary:hover {
  color: var(--gold-deep);
  border-color: var(--navy);
}

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 3rem;
}

.container-narrow {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ============ PAGE HEADER ============ */
.page-header {
  padding: 10rem 3rem 5rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -20%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(232, 184, 48, 0.15), transparent 60%);
  pointer-events: none;
}

.page-header-content {
  max-width: 44rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header .eyebrow { justify-content: center; }

.page-header p {
  font-size: 1.2rem;
  color: var(--navy-soft);
  line-height: 1.55;
  margin-top: 1rem;
}

/* ============ PROSE ============ */
.prose { padding: 5rem 3rem; }
.prose-inner { max-width: 42rem; margin: 0 auto; }

.prose h2 { margin-top: 3rem; margin-bottom: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2.5rem; margin-bottom: 1rem; color: var(--navy); }

.prose p {
  color: var(--navy-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.prose strong { color: var(--navy-deep); font-weight: 600; }

.prose ul, .prose ol {
  margin: 1.5rem 0 1.5rem 1.5rem;
  color: var(--navy-soft);
}

.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.prose li::marker { color: var(--gold-deep); }

.prose a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.prose a:hover { color: var(--navy); }

.callout {
  background: var(--cream-warm);
  border-left: 4px solid var(--gold);
  padding: 2rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 2.5rem 0;
}

.callout h3 { margin-top: 0; color: var(--navy-deep); }
.callout p { margin-bottom: 0; }
.callout ul { margin-bottom: 0; }

/* ============ FOOTER ============ */
footer {
  padding: 4rem 3rem 2rem;
  background: var(--navy-deep);
  color: rgba(253, 248, 237, 0.6);
  margin-top: 5rem;
}

.footer-inner {
  max-width: 75rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(253, 248, 237, 0.1);
}

/* Footer uses the LIGHT version of the logo on dark background */
.footer-brand .logo-card {
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer-brand .logo-card img {
  height: 180px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 24rem;
}

.footer-col h4 {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-col a, .footer-col .ftr-info {
  display: block;
  color: rgba(253, 248, 237, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
  line-height: 1.5;
}

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

.footer-bottom {
  max-width: 75rem;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-family: var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-bottom a {
  color: rgba(253, 248, 237, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  nav { padding: 0.5rem 1.5rem; }
  .logo-card img { height: 72px; }
  .nav-links { gap: 1rem; }
  .nav-links li:not(.show-mobile) { display: none; }
  
  .page-header { padding: 7rem 1.5rem 4rem; }
  .prose { padding: 4rem 1.5rem; }
  .container, .container-narrow { padding: 0 1.5rem; }
  
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0 1.5rem 3rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .logo-card img { height: 130px; }
  
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 2rem 1.5rem 0;
  }
}
