/* ==========================================================================
   Apogee Executive Search & Advisory — site stylesheet
   Brand: navy #0D1B3E · near-black #080C14 · mid-navy #162447
          ice blue #C8D8F0 · gold #C9A84C · muted #7A8FAD
   ========================================================================== */

:root {
  --navy: #0D1B3E;
  --near-black: #080C14;
  --mid-navy: #162447;
  --ice: #C8D8F0;
  --gold: #C9A84C;
  --gold-soft: #d8bd6f;
  --muted: #7A8FAD;
  --white: #FFFFFF;
  --line: #1F3157;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--near-black);
  color: var(--ice);
  font-family: "Calibri", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--white); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 .5em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }

p { margin: 0 0 1.1em; }
a { color: var(--gold-soft); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: 86px 0; }
.section--tight { padding: 60px 0; }
.bg-navy { background: var(--navy); }
.bg-mid { background: var(--mid-navy); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; color: var(--gold); font-family: "Calibri","Segoe UI",Arial,sans-serif;
  font-size: .8rem; letter-spacing: 3.5px; text-transform: uppercase; margin-bottom: 16px; font-weight: 700;
}
.lead { font-size: 1.18rem; color: #dbe6fa; max-width: 720px; }
.muted { color: var(--muted); }
.rule { width: 64px; height: 2px; background: var(--gold); border: 0; margin: 0 0 26px; }
.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,12,20,.86); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: Georgia, serif; font-weight: 700; color: var(--white); font-size: 1.35rem; letter-spacing: 4px; }
.brand-sub { font-size: .56rem; letter-spacing: 2.4px; color: var(--gold); text-transform: uppercase; margin-top: 4px; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ice); font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); border-bottom-color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: "Calibri","Segoe UI",Arial,sans-serif; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; font-size: .8rem;
  padding: 14px 30px; border-radius: 2px; transition: all .2s ease;
}
.btn-gold { background: var(--gold); color: var(--near-black); }
.btn-gold:hover { background: var(--gold-soft); color: var(--near-black); }
.btn-ghost { border: 1px solid var(--muted); color: var(--ice); }
.btn-ghost:hover { border-color: var(--gold); color: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); padding: 118px 0 104px; }
.hero::before {
  content: ""; position: absolute; right: -120px; top: -80px; width: 620px; height: 620px;
  border-radius: 50%; border: 1px solid rgba(201,168,76,.16);
  box-shadow: 0 0 0 60px rgba(22,36,71,.35), inset 0 0 0 40px rgba(13,27,62,.6);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -160px; bottom: -200px; width: 420px; height: 420px;
  border-radius: 50%; border: 1px solid rgba(200,216,240,.06); pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { max-width: 14ch; }
.hero .tagline { font-family: Georgia, serif; font-style: italic; color: var(--gold); font-size: 1.4rem; margin: 0 0 18px; }
.hero-cta { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.sector-strip {
  margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line);
  color: var(--muted); letter-spacing: 3px; font-size: .82rem; text-transform: uppercase;
}
.sector-strip strong { color: var(--ice); font-weight: 600; }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--mid-navy); border: 1px solid var(--line); border-radius: 4px;
  padding: 34px 30px; position: relative;
}
.card .num { font-family: Georgia, serif; color: rgba(201,168,76,.55); font-size: 1.1rem; letter-spacing: 2px; }
.card h3 { margin-top: 10px; }
.card p:last-child { margin-bottom: 0; }
.card--accent { border-top: 3px solid var(--gold); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }

/* value list */
.values { list-style: none; margin: 0; padding: 0; }
.values li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; }
.values li:last-child { border-bottom: 0; }
.values .k { color: var(--gold); font-weight: 700; min-width: 150px; font-family: Georgia, serif; }

/* contact */
.contact-card { text-align: center; max-width: 640px; margin: 0 auto; }
.email-link { font-family: Georgia, serif; font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--gold); display: inline-block; margin: 8px 0 4px; }
.email-link:hover { color: var(--gold-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-top: 54px; padding-bottom: 54px; }
.cta-band h2 { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--near-black); border-top: 1px solid var(--line); padding: 50px 0 40px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer-brand .brand-name { font-size: 1.2rem; }
.footer-sub { color: var(--muted); font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; margin-top: 10px; }
.footer-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ice); font-size: .85rem; }
.footer-tagline { font-family: Georgia, serif; font-style: italic; color: var(--gold); margin-top: 14px; }
.copyright { color: var(--muted); font-size: .78rem; margin-top: 34px; border-top: 1px solid var(--line); padding-top: 22px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy); padding: 78px 0 64px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; right:-140px; top:-120px; width:420px; height:420px; border-radius:50%; border:1px solid rgba(201,168,76,.12); }
.page-hero .container { position: relative; z-index: 2; }

/* ---------- Insights / articles ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 42px; }
.post-card { background: var(--mid-navy); border: 1px solid var(--line); border-radius: 4px; padding: 30px 28px; display: flex; flex-direction: column; }
.post-card .meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; }
.post-tag { color: var(--near-black); background: var(--gold); font-weight: 700; padding: 4px 10px; border-radius: 2px; }
.post-date { color: var(--muted); }
.post-card h3 { font-size: 1.3rem; margin: 0 0 12px; }
.post-card p { color: var(--ice); }
.post-card .read { margin-top: auto; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: .78rem; }
.post-card.feature { grid-column: 1 / -1; border-top: 3px solid var(--gold); }

.article { max-width: 760px; margin: 0 auto; }
.article .meta { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; font-size: .74rem; letter-spacing: 1.5px; text-transform: uppercase; }
.article h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.byline { color: var(--muted); margin-top: 6px; }
.back-link { display: inline-block; margin-bottom: 26px; font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; }
.article-body { font-size: 1.08rem; }
.article-body h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
.article-body h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.article-body p { margin: 0 0 1.2em; }
.article-body ul { padding-left: 1.2em; }
.article-body li { margin-bottom: .5em; }
.article-body blockquote { margin: 1.6em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--gold); font-family: Georgia, serif; font-style: italic; font-size: 1.25rem; color: var(--white); }
.article-body sup.ref { color: var(--gold); font-size: .7em; padding-left: 1px; }
.article-body ol a { word-break: break-word; }
.article-footer { max-width: 760px; margin: 40px auto 0; padding-top: 26px; border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .section { padding: 60px 0; }
  .hero { padding: 80px 0 70px; }
}
