/* ==========================================================================
   Eaglebridge Consulting — Design Tokens
   ========================================================================== */

:root {
  /* Color — sampled directly from the client logo */
  --navy:       #011B39;   /* exact logo background — hero / nav / process */
  --navy-800:   #0F2E52;   /* elevated dark surface */
  --navy-700:   #1E436F;   /* borders/dividers on dark */
  --ink:        #071223;   /* footer — darkest, "foundation" of the page */

  --gold:       #CD9D4A;   /* primary gold, sampled from artwork */
  --gold-light: #E8C077;   /* bright gold, sampled from artwork */
  --bronze:     #96742A;   /* contrast-safe gold for text on light */

  --paper:      #F6F7F9;   /* light section bg — cool, not cream */
  --paper-alt:  #ECEEF2;   /* light card / alt-section bg */
  --line-light: #DDE1E8;   /* hairline borders on light */

  --ink-heading:#0B1B33;   /* headings on light bg */
  --slate:      #4E5D74;   /* body text on light bg */
  --mist:       #A9B8CC;   /* body text on dark bg */

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-h1: clamp(2.6rem, 1.85rem + 3.4vw, 4.75rem);
  --fs-h2: clamp(1.9rem, 1.55rem + 1.6vw, 2.85rem);
  --fs-h3: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem);
  --fs-lg: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);

  --nav-h: 78px;
  --container: 1240px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

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

img, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
svg { display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Utility: eyebrow label (mirrors "CONSULTING LLC" treatment in the logo)
   ========================================================================== */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1.1rem;
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--bronze);
  opacity: 0.55;
}
.eyebrow-light { color: var(--gold-light); }
.eyebrow-light::before,
.eyebrow-light::after { background: var(--gold-light); opacity: 0.6; }

.gold-text {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 55%, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(100deg, var(--gold-light), var(--gold));
  color: var(--navy);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(205, 157, 74, 0.55);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn-lg { padding: 1.05rem 2.1rem; font-size: 1rem; }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(1, 27, 57, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(1, 27, 57, 0.92);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.5);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: #fff;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2.1rem;
  margin-right: auto;
  margin-left: 2.5rem;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--mist);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 1.75rem 1.75rem;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.mobile-menu a:not(.btn) {
  padding: 0.85rem 0;
  color: var(--mist);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-menu .btn { margin-top: 1rem; justify-content: center; }
.mobile-menu.is-open { display: flex; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--navy);
  padding-top: calc(var(--nav-h) + 4.5rem);
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.75rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 3rem;
}

.hero-headline {
  font-size: var(--fs-h1);
  color: #fff;
  max-width: 19ch;
}

.hero-sub {
  font-size: var(--fs-lg);
  color: var(--mist);
  max-width: 46ch;
  margin-top: 1.6rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-visual {
  animation: float 7s ease-in-out infinite;
}
.hero-visual img { width: 100%; height: auto; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-arch {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%;
  height: 70px;
}
.hero-arch path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  opacity: 0.55;
}

/* ==========================================================================
   Trust strip
   ========================================================================== */

.trust {
  background: var(--navy-800);
  padding: 2.75rem 1.75rem;
  text-align: center;
  border-bottom: 1px solid var(--navy-700);
}
.trust-line {
  color: var(--mist);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.trust-markers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gold-light);
}
.trust-markers li { position: relative; padding: 0 1.75rem; }
.trust-markers li:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 1.1em;
  background: var(--navy-700);
}

/* ==========================================================================
   Section shared
   ========================================================================== */

.section-head { max-width: 62ch; margin-bottom: 3.5rem; }
.section-head h2 { color: var(--ink-heading); }
.on-dark { color: #fff; }

.body-lg {
  font-size: var(--fs-lg);
  color: var(--slate);
  margin-top: 1.1rem;
  max-width: 52ch;
}

/* ==========================================================================
   Approach
   ========================================================================== */

.approach {
  background: var(--paper);
  padding: 7rem 1.75rem;
}
.approach-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}
.approach-text h2 { color: var(--ink-heading); }

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem 2rem;
}
.principle {
  padding-top: 1.35rem;
  border-top: 2px solid var(--gold);
}
.principle .icon {
  width: 26px; height: 26px;
  stroke: var(--bronze);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 0.9rem;
}
.principle h3 { font-size: 1.05rem; color: var(--ink-heading); margin-bottom: 0.4rem; }
.principle p { font-size: 0.92rem; color: var(--slate); }

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  background: var(--paper-alt);
  padding: 7rem 1.75rem;
}
.services .section-head,
.services .service-grid {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: 2.2rem 1.75rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px -20px rgba(11, 27, 51, 0.25);
}
.service-card .icon {
  width: 28px; height: 28px;
  stroke: var(--bronze);
  color: var(--bronze);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1.5rem;
}
.service-card h3 { font-size: 1.1rem; color: var(--ink-heading); margin-bottom: 0.65rem; }
.service-card p { font-size: 0.92rem; color: var(--slate); }

/* ==========================================================================
   Process
   ========================================================================== */

.process {
  background: var(--navy);
  padding: 7rem 1.75rem;
}
.process .section-head {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.process .eyebrow { justify-content: center; }
.process .section-head h2 { margin-top: 0; }

.process-steps {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.step { text-align: center; padding: 0 0.5rem; }
.arch-topper {
  width: 60px; height: 24px;
  margin: 0 auto 1rem;
}
.arch-topper path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  opacity: 0.7;
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.step h3 { color: #fff; font-size: 1.15rem; margin-bottom: 0.6rem; }
.step p { color: var(--mist); font-size: 0.92rem; max-width: 30ch; margin: 0 auto; }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  position: relative;
  background: linear-gradient(180deg, var(--navy-800), var(--navy));
  padding: 8rem 1.75rem;
  text-align: center;
  overflow: hidden;
}
.cta-watermark {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.cta-watermark path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  opacity: 0.07;
}
.cta-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: var(--mist); font-size: var(--fs-lg); margin-top: 1.25rem; margin-bottom: 2.5rem; }
.cta-direct {
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
  font-size: 0.9rem !important;
}
.cta-direct a { color: var(--gold-light); font-weight: 600; }
.cta-direct a:hover { text-decoration: underline; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { background: var(--ink); padding: 5rem 1.75rem 2rem; }
.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-mark { width: 92px; height: auto; margin-bottom: 1.1rem; }
.footer-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: #fff;
}
.footer-sub {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.4rem;
}
.footer-sub i { display: block; width: 16px; height: 1px; background: var(--gold); opacity: 0.6; font-style: normal; }
.footer-tagline { color: var(--mist); font-size: 0.9rem; margin-top: 1.4rem; max-width: 26ch; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 1.3rem;
}
.footer-col { display: flex; flex-direction: column; }
.footer-col a, .footer-static {
  color: #cdd6e2;
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
  transition: color 0.2s var(--ease);
  width: fit-content;
}
.footer-col a:hover { color: var(--gold-light); }

.social-link {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
  color: #cdd6e2;
}
.social-link:hover { border-color: var(--gold); color: var(--gold-light); }
.social-link .icon { width: 17px; height: 17px; }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: #7c8aa0;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .approach-inner { grid-template-columns: 1fr; gap: 3rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1rem; }
  .footer-col:last-child h4 { margin: 0 1rem 0 0; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { max-width: 320px; order: -1; margin-bottom: 1rem; }
  .hero-headline { max-width: 100%; }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .hero { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 4.5rem; }
  .approach, .services, .process { padding: 4.5rem 1.5rem; }
  .cta-band { padding: 5.5rem 1.5rem; }
  .principles { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 2.75rem; }
  .trust-markers { flex-direction: column; gap: 0.75rem; }
  .trust-markers li:not(:first-child)::before { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-col:last-child { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
}
