/* ===== AstraTellus Group — Shared Brand Stylesheet ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:       #071428;
  --navy-mid:   #0B1F3A;
  --gold:       #B8973A;
  --gold-light: #D4AF5A;
  --gold-pale:  #F5EDD6;
  --white:      #FFFFFF;
  --off-white:  #F8F6F1;
  --gray-light: #E8E4DC;
  --gray-mid:   #8A8275;
  --ink:        #1A1612;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
section { padding: clamp(56px, 9vw, 120px) 0; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 48px); margin-inline: auto; }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; letter-spacing: 0.01em; }
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; display: block;
}
.eyebrow::before { content: '— '; color: var(--gold-light); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* ── NAV ── */
header.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,20,40,0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184,151,58,0.18);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-mark { border-radius: 50%; flex-shrink: 0; }
.nav-wordmark { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; color: var(--gold-light); letter-spacing: 0.18em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.68); transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-cta {
  padding: 10px 20px; border: 1px solid var(--gold); color: var(--gold-light) !important;
  border-radius: 2px; font-size: 10.5px !important;
}
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gold-light); margin: 5px 0; transition: 0.25s; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--navy); border-bottom: 1px solid rgba(184,151,58,0.18);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 500px; }
  .nav-links a { width: 100%; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.06); }
  .nav-cta { border: none; }
  .nav-toggle { display: block; }
}

/* ── HERO (used on every page, sizes vary) ── */
.hero {
  background: var(--navy); color: var(--white); position: relative; overflow: hidden;
  padding: clamp(64px, 12vw, 140px) 0 clamp(56px, 8vw, 100px);
}
.hero-geo { position: absolute; inset: 0; pointer-events: none; opacity: 0.9; }
.hero h1 { font-size: clamp(36px, 5.5vw, 64px); line-height: 1.06; margin-bottom: 20px; }
.hero h1 .astra { color: var(--gold-light); }
.hero-tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.6); margin-bottom: 20px;
}
.hero-lede { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.72); max-width: 60ch; }
.hero-lede + .hero-lede { margin-top: 14px; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 2px; transition: all 0.2s ease; cursor: pointer;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(184,151,58,0.35); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.3); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-ghost-dark { border: 1px solid rgba(7,20,40,0.25); color: var(--navy); }
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold); }

/* ── BREADCRUMB ── */
.breadcrumb { font-size: 11px; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); margin-bottom: 22px; text-transform: uppercase; }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ── SECTION HEADINGS ── */
.section-head { max-width: 66ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); color: var(--navy); }
.section-head p { font-size: 16px; line-height: 1.8; color: var(--gray-mid); margin-top: 14px; }

/* ── PILLAR / CARD GRID (landing page) ── */
.pillars { background: var(--white); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar-card {
  display: flex; flex-direction: column; background: var(--navy); color: var(--white);
  padding: 36px 32px; position: relative; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(184,151,58,0.2);
}
.pillar-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(7,20,40,0.28); }
.pillar-num { font-family: 'Cormorant Garamond', serif; font-size: 14px; color: var(--gold-light); letter-spacing: 0.2em; margin-bottom: 18px; }
.pillar-card h3 { font-size: 25px; color: var(--white); margin-bottom: 12px; }
.pillar-card p { font-size: 14.5px; line-height: 1.75; color: rgba(255,255,255,0.62); flex-grow: 1; margin-bottom: 22px; }
.pillar-link { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); display: inline-flex; align-items: center; gap: 8px; }
.pillar-link .arrow { transition: transform 0.2s ease; }
.pillar-card:hover .arrow { transform: translateX(4px); }

/* ── TRIANGLE / FRAMEWORK BLOCKS (detail pages) ── */
.framework-block { background: var(--white); }
.tri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
@media (max-width: 860px) { .tri-grid { grid-template-columns: 1fr; } }
.tri-card {
  background: var(--off-white); border-top: 3px solid var(--gold); padding: 30px 26px;
  position: relative;
}
.tri-role { font-size: 10.5px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.tri-card h3 { font-size: 24px; color: var(--navy); margin-bottom: 12px; }
.tri-card p { font-size: 14.5px; line-height: 1.75; color: var(--gray-mid); }
.tri-connector {
  text-align: center; font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 17px; color: var(--gold); padding: 20px 0 0; max-width: 60ch; margin: 0 auto;
}

/* ── DETAIL SECTIONS ── */
.detail-alt { background: var(--white); }
.detail-navy { background: var(--navy); color: var(--white); }
.detail-navy .section-head h2 { color: var(--white); }
.detail-navy .section-head p { color: rgba(255,255,255,0.65); }
.detail-pale { background: var(--off-white); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-item { border-top: 2px solid var(--gold); padding-top: 14px; }
.feature-item.on-navy { border-top-color: var(--gold-light); }
.feature-title { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.feature-item.on-navy .feature-title { color: var(--white); }
.feature-text { font-size: 14.5px; line-height: 1.75; color: var(--gray-mid); }
.feature-item.on-navy .feature-text { color: rgba(255,255,255,0.62); }

.region-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.region-tag {
  background: var(--navy); color: var(--gold-light); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 9px 18px;
}
.region-tag.tentative { background: transparent; border: 1px dashed rgba(7,20,40,0.35); color: var(--navy); }

.pull-quote {
  border-left: 3px solid var(--gold); background: var(--gold-pale); padding: 22px 26px;
  font-family: 'Cormorant Garamond', serif; font-size: 19px; font-style: italic; color: var(--navy);
  line-height: 1.6; margin-top: 26px;
}

/* ── PRINCIPAL (used on landing + can reuse) ── */
.principal { background: var(--gold-pale); }
.principal-grid { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
@media (max-width: 760px) { .principal-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.principal-photo-frame {
  width: 220px; height: 268px; border: 2px solid var(--gold); background: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; overflow: hidden;
}
.principal-name { font-size: clamp(26px, 3vw, 32px); color: var(--navy); }
.principal-title { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 8px 0 16px; line-height: 1.7; }
.principal-bio { font-size: 15.5px; line-height: 1.8; color: #3A3830; }

/* ── CONTACT ── */
.contact { background: var(--navy); color: var(--white); text-align: center; }
.contact h2 { color: var(--white); font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 16px; }
.contact p { color: rgba(255,255,255,0.62); font-size: 16px; max-width: 52ch; margin: 0 auto 34px; }
.contact-links { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 40px; }
.contact-link { font-size: 12px; color: rgba(255,255,255,0.5); }
.contact-link strong { display: block; font-size: 14px; color: var(--gold-light); font-weight: 600; margin-bottom: 4px; }

/* ── CROSS-LINK STRIP (bottom of detail pages) ── */
.crosslink { background: var(--off-white); }
.crosslink-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 700px) { .crosslink-grid { grid-template-columns: 1fr; } }
.crosslink-card {
  background: var(--white); border: 1px solid var(--gray-light); padding: 24px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.crosslink-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.crosslink-label { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.crosslink-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--navy); }
.crosslink-arrow { font-size: 20px; color: var(--gold); flex-shrink: 0; }

/* ── FOOTER ── */
footer {
  background: var(--navy-mid); padding: 26px 0; border-top: 1px solid rgba(184,151,58,0.15);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-left { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-fw { font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.footer-fw span { color: rgba(255,255,255,0.2); margin: 0 6px; }
