/* ==========================================================
   Aether Equity — Shared Stylesheet
   Palette: Deep Navy + Gold + Off-white
   ========================================================== */

:root {
  --navy: #0A1F3D;
  --navy-deep: #06152A;
  --navy-soft: #14315C;
  --gold: #C9A24A;
  --gold-soft: #E5C97E;
  --charcoal: #1A1A1A;
  --slate: #4A5568;
  --mist: #E6E8EC;
  --offwhite: #FAFAF7;
  --white: #FFFFFF;
  --line: #D8DCE3;
  --shadow: 0 10px 40px rgba(10, 31, 61, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 31, 61, 0.15);
  --radius: 4px;
  --radius-lg: 8px;
  --max: 1240px;
  --pad: clamp(20px, 5vw, 60px);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--offwhite);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow.dark { color: var(--gold-soft); }

p { color: var(--slate); margin-bottom: 1rem; }
p.lead { font-size: 1.15rem; color: var(--charcoal); max-width: 60ch; }

/* ===== Layout ===== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: clamp(60px, 10vw, 120px) 0; }
.section.tight { padding: clamp(40px, 6vw, 70px) 0; }
.section.dark { background: var(--navy); color: var(--mist); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark p { color: rgba(255,255,255,0.78); }
.section.cream { background: var(--white); }

.grid { display: grid; gap: 36px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-link::after { content: "→"; transition: transform 0.2s; }
.btn-link:hover::after { transform: translateX(4px); }

/* ===== Header / Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 2px;
}
.logo-text small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}
.nav-cta { padding: 10px 20px !important; font-size: 0.78rem !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--navy);
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--offwhite);
    padding: 20px var(--pad);
    gap: 16px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,162,74,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(20,49,92,0.6) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.6;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  color: var(--white);
  max-width: 18ch;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 400;
}
.hero .lead {
  color: rgba(255,255,255,0.82);
  max-width: 56ch;
  font-size: 1.2rem;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-meta {
  position: absolute;
  bottom: 40px;
  right: var(--pad);
  z-index: 2;
  text-align: right;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 720px) { .hero-meta { display: none; } }

/* ===== Stat Strip ===== */
.stat-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.stat-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 0;
}
.stat {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-value {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
}
.stat-value sup { font-size: 0.6em; color: var(--gold); margin-left: 2px; }
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 8px;
  font-weight: 500;
}
@media (max-width: 720px) {
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 14px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* ===== Section Headers ===== */
.section-header { max-width: 760px; margin-bottom: 60px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; }

/* ===== Pillar Cards ===== */
.pillars { gap: 28px; }
.pillar {
  background: var(--white);
  padding: 40px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pillar:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-num {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.pillar h3 { margin-bottom: 14px; }
.pillar p { font-size: 0.97rem; }

/* ===== Two-Column Feature ===== */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature.flip > :first-child { order: 2; }
.feature-image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(201,162,74,0.3), transparent 50%);
}
.feature-image .badge {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  z-index: 2;
  background: rgba(0,0,0,0.3);
  padding: 6px 14px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
}
.feature ul { list-style: none; margin-top: 24px; }
.feature ul li {
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--charcoal);
  font-size: 0.98rem;
}
.feature ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 18px;
  height: 1px;
  background: var(--gold);
}
.feature ul li:last-child { border-bottom: none; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip > :first-child { order: 0; }
}

/* ===== Markets Map ===== */
.markets {
  background: var(--navy);
  color: var(--mist);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.markets-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.market-list { list-style: none; }
.market-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.market-list li strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 500;
}
.market-list li span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.map-visual {
  aspect-ratio: 1.4/1;
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 30px;
}
@media (max-width: 900px) { .markets-grid { grid-template-columns: 1fr; } }

/* ===== Team Grid ===== */
.team-grid { gap: 32px; }
.member {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.member:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.member-photo {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 3.5rem;
  color: var(--gold-soft);
  font-weight: 500;
}
.member-photo[style*="background-image"] { color: transparent; }
.member-body { padding: 24px 28px 28px; }
.member-body h4 { margin-bottom: 4px; font-size: 1.25rem; font-family: var(--serif); color: var(--navy); }
.member-role {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.member-body p { font-size: 0.93rem; }

/* ===== Insights Cards ===== */
.insights-grid { gap: 32px; }
.article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.article:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.article-cover {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  position: relative;
}
.article-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 70%, rgba(201,162,74,0.25), transparent 60%);
}
.article-body { padding: 28px; }
.article-tag {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.article h3 { font-size: 1.3rem; margin-bottom: 12px; }
.article-meta {
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 16px;
  letter-spacing: 0.04em;
}

/* ===== Quote / Testimonial ===== */
.quote {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.quote-text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.4;
  color: var(--white);
  font-style: italic;
  margin-bottom: 32px;
}
.quote-text::before { content: "\201C"; color: var(--gold); margin-right: 4px; }
.quote-text::after { content: "\201D"; color: var(--gold); margin-left: 4px; }
.quote-author {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ===== CTA Banner ===== */
.cta-band {
  background: var(--white);
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 { max-width: 22ch; margin: 0 auto 18px; }
.cta-band p { max-width: 60ch; margin: 0 auto 32px; font-size: 1.1rem; }

/* ===== Forms ===== */
.form { display: grid; gap: 22px; }
.field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 700px) { .field-row { grid-template-columns: 1fr; } }

.disclaimer {
  font-size: 0.8rem;
  color: var(--slate);
  background: var(--mist);
  padding: 16px 20px;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  line-height: 1.55;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 70px 0 30px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 12px; }
.footer-grid a { transition: color 0.2s; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { font-size: 0.92rem; line-height: 1.7; color: rgba(255,255,255,0.65); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .legal { max-width: 80ch; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Page Hero (interior pages) ===== */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(201,162,74,0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
}
.page-hero .container { position: relative; z-index: 2; max-width: 880px; }
.page-hero h1 { color: var(--white); margin-bottom: 18px; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.15rem; max-width: 60ch; }
.breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }

/* ===== Process Timeline ===== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--offwhite);
}
.timeline-step {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.timeline-item h3 { margin-bottom: 8px; font-size: 1.3rem; }

/* ===== Tables ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.data-table th, .data-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.data-table thead {
  background: var(--navy);
  color: var(--white);
}
.data-table th {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table td.right, .data-table th.right { text-align: right; }
.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 99px;
}
.tag-active { background: rgba(34, 139, 34, 0.12); color: #1f7a1f; }
.tag-pipeline { background: rgba(201, 162, 74, 0.18); color: #8a6d24; }
.tag-closed { background: rgba(74, 85, 104, 0.12); color: var(--slate); }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.spacer-sm { height: 24px; }
.spacer-md { height: 48px; }
