/* ============================================
   CCC Advisory — Design Tokens
   ============================================ */
:root {
  --navy: #0B1D33;
  --navy-light: #13294B;
  --navy-mid: #1C3459;
  --gold: #B08D57;
  --gold-soft: #C9A876;
  --cream: #F5F3EE;
  --cream-dim: #EDE9E0;
  --ink: #1A1A1A;
  --grey: #6B6560;
  --grey-line: #DAD5C9;
  --white: #FFFFFF;

  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1180px;
  --gutter: clamp(24px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 460; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { max-width: 62ch; }

.eyebrow-plain {
  font-size: 0.9rem;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  margin-bottom: 0.6em;
}

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(176,141,87,0.25);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
}
.wordmark .lockup {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.1;
  display: inline-block;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  letter-spacing: 0.01em;
}
.wordmark .ccc {
  color: var(--gold);
  font-weight: 700;
  font-style: normal;
}
.wordmark .mark {
  color: var(--cream);
  font-style: italic;
  font-weight: 400;
  margin-left: 6px;
}
.wordmark .sub {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.wordmark.footer-mark .lockup { font-size: 1.3rem; }

.main-nav {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
}
.main-nav a {
  font-size: 0.92rem;
  color: var(--cream-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--gold-soft); }
.main-nav a.active { color: var(--gold); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
}

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 9px 20px;
  font-size: 0.86rem;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }

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

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 84px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 8px var(--gutter) 28px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-bottom: 1px solid rgba(176,141,87,0.25);
  }
  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-toggle { display: block; }
  .nav-cta { display: inline-block; width: fit-content; margin-top: 8px; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 12vw, 130px) 0 clamp(60px, 9vw, 100px);
}

.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: end;
}

.hero h1 { color: var(--white); max-width: 13ch; }
.hero-lede {
  color: var(--cream-dim);
  font-size: 1.1rem;
  max-width: 42ch;
  margin-top: 22px;
}

.hero-meta {
  border-left: 1px solid rgba(176,141,87,0.4);
  padding-left: 28px;
}
.hero-meta .stat { margin-bottom: 22px; }
.hero-meta .stat:last-child { margin-bottom: 0; }
.hero-meta .num {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--gold-soft);
  display: block;
}
.hero-meta .label {
  font-size: 0.82rem;
  color: var(--cream-dim);
}

.hero-ctas { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 780px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-meta { border-left: none; border-top: 1px solid rgba(176,141,87,0.4); padding-left: 0; padding-top: 22px; display: flex; gap: 32px; flex-wrap: wrap; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.92rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.2s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline { border-color: rgba(245,243,238,0.4); color: var(--cream); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--cream); }

/* ============================================
   Section rhythm
   ============================================ */
section { padding: clamp(60px, 9vw, 110px) 0; }
.section-cream { background: var(--cream); }
.section-dim { background: var(--cream-dim); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: var(--cream-dim); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.wide { max-width: 760px; }

.rule {
  border: none;
  height: 1px;
  background: var(--grey-line);
  margin: 0;
}
.section-navy .rule { background: rgba(176,141,87,0.3); }

/* ============================================
   Pillars / Service cards
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--grey-line);
}
.pillar {
  padding: 36px 32px 36px 0;
  border-right: 1px solid var(--grey-line);
}
.pillar:last-child { border-right: none; padding-right: 0; }
.pillar + .pillar { padding-left: 32px; }
.pillar .tag {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  display: block;
  margin-bottom: 14px;
}
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--grey); font-size: 0.96rem; }

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--grey-line); padding: 32px 0; }
  .pillar + .pillar { padding-left: 0; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--navy);
  color: var(--cream-dim);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-grid h4 {
  color: var(--gold-soft);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-grid a, .footer-grid p { font-size: 0.9rem; color: var(--cream-dim); margin-bottom: 8px; display: block; }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(176,141,87,0.2);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(245,243,238,0.5);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   Utility
   ============================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag-list span {
  font-size: 0.8rem;
  padding: 7px 14px;
  border: 1px solid var(--grey-line);
  color: var(--grey);
  border-radius: 2px;
}

.cta-band {
  background: var(--navy);
  color: var(--cream);
  padding: 64px 0;
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); max-width: 14ch; }

.numbered-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--grey-line);
}
.numbered-step .n {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.4rem;
  min-width: 40px;
}
.numbered-step:last-child { border-bottom: 1px solid var(--grey-line); }
