/* ============================================================
   THE SP GROUP LLC, Stylesheet
   Palette: navy #0C2340 · gold #B8860B · off-white #FBFAF6 · charcoal #22252B
   Type:    Source Serif 4 (headings) + Work Sans (body)
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  --navy:        #0C2340;
  --navy-800:    #12294a;
  --navy-700:    #1c3557;
  --gold:        #B8860B;
  --gold-600:    #a0750a;
  --gold-400:    #d4a029;
  --paper:       #FBFAF6;
  --paper-2:     #F4F1E8;
  --ink:         #22252B;
  --ink-soft:    #4a4f57;
  --line:        #e2ddd0;
  --white:       #ffffff;

  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans:  'Work Sans', system-ui, -apple-system, sans-serif;

  /* Fluid type */
  --text-hero:  clamp(2.1rem, 1.3rem + 3.6vw, 3.9rem);
  --text-2xl:   clamp(1.9rem, 1.3rem + 2.6vw, 2.9rem);
  --text-xl:    clamp(1.4rem, 1.1rem + 1.3vw, 1.9rem);
  --text-lg:    1.2rem;
  --text-base:  1.0625rem;
  --text-sm:    0.9375rem;
  --text-xs:    0.8125rem;

  --space-sec:  clamp(4rem, 8vw, 7.5rem);
  --container:  1180px;
  --radius:     6px;
  --shadow-sm:  0 1px 3px rgba(12,35,64,.08);
  --shadow-md:  0 10px 34px rgba(12,35,64,.10);
  --ease:       cubic-bezier(.16,1,.3,1);
}

/* ===== RESET ===== */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1,h2,h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.75rem); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: var(--paper); padding: .7rem 1.1rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ===== SHARED BITS ===== */
.eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 600;
  color: var(--gold-600);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--gold-400); }

.section { padding-block: var(--space-sec); }
.section__head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section__title { font-size: var(--text-2xl); color: var(--navy); }
.section__lede { margin-top: 1rem; font-size: var(--text-lg); color: var(--ink-soft); font-weight: 300; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm); font-weight: 500;
  padding: .72rem 1.4rem; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: .95rem 1.75rem; font-size: var(--text-base); }
.btn--gold { background: var(--gold); color: #1a1305; border-color: var(--gold); font-weight: 600; }
.btn--gold:hover { background: var(--gold-600); border-color: var(--gold-600); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--ghost-light { background: transparent; color: var(--paper); border-color: rgba(251,250,246,.3); }
.btn--ghost-light:hover { border-color: var(--gold-400); color: var(--gold-400); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,250,246,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__mark--sm { width: 34px; height: 34px; }
.brand__text {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem;
  color: var(--navy); line-height: 1; display: flex; align-items: baseline; gap: .35rem;
}
.brand__llc { font-size: .68rem; letter-spacing: .14em; color: var(--gold-600); font-family: var(--font-sans); font-weight: 600; }

.nav { display: flex; align-items: center; }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu a:not(.btn) {
  font-size: var(--text-sm); font-weight: 500; color: var(--ink);
  position: relative; padding-block: .25rem;
  transition: color .2s var(--ease);
}
.nav__menu a:not(.btn):hover { color: var(--gold-600); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--navy); transition: transform .25s var(--ease), opacity .25s var(--ease); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero::after { /* subtle gold hairline accent */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero__inner { max-width: 60rem; }
.hero__title {
  font-size: var(--text-hero); color: var(--navy);
  letter-spacing: -0.02em; line-height: 1.08; max-width: 24ch;
}
.hero__accent { color: var(--gold-600); font-style: italic; }
.hero__sub {
  margin-top: 1.75rem; max-width: 52ch;
  font-size: var(--text-lg); font-weight: 300; color: var(--ink-soft); line-height: 1.6;
}
.hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============================================================
   FOUNDING CLIENT PRICING BANNER
   ============================================================ */
.promo-band { background: var(--navy); color: var(--paper); }
.promo-band__inner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem;
  padding-block: 1.1rem;
}
.promo-band__tag {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .16em; font-weight: 600;
  color: var(--gold-400); border: 1px solid rgba(212,160,41,.4); padding: .32rem .7rem; border-radius: 100px;
  white-space: nowrap;
}
.promo-band__text { font-size: var(--text-sm); color: #e8e6df; flex: 1 1 340px; line-height: 1.5; }
.promo-band__text strong { color: var(--paper); font-weight: 600; }
.promo-band__spots { color: var(--gold-400); font-weight: 500; }
.promo-band__link {
  font-size: var(--text-sm); font-weight: 600; color: var(--gold-400); white-space: nowrap;
  border-bottom: 1px solid transparent; transition: border-color .2s var(--ease);
}
.promo-band__link:hover { border-bottom-color: var(--gold-400); }

/* ============================================================
   SERVICES
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.85rem; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); border-color: #d8d2c2; }
.card--featured { border-color: var(--gold); border-width: 1.5px; position: relative; }
.card--featured::before {
  content: "Most requested"; position: absolute; top: -.75rem; left: 1.85rem;
  background: var(--gold); color: #1a1305; font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 100px;
}
.card__top { border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; margin-bottom: 1.25rem; }
.card__name { font-size: var(--text-xl); color: var(--navy); }
.card__price { margin-top: .85rem; font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--navy); }
.card__price-unit { font-family: var(--font-sans); font-size: var(--text-sm); font-weight: 400; color: var(--ink-soft); }
.card__desc { color: var(--ink-soft); font-size: var(--text-sm); margin-bottom: 1.25rem; }
.card__list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.75rem; flex: 1; }
.card__list li { position: relative; padding-left: 1.5rem; font-size: var(--text-sm); }
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg);
}
.card__cta { justify-content: center; width: 100%; }

/* ============================================================
   ABOUT / PRINCIPAL
   ============================================================ */
.about { background: var(--paper-2); }
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); }
.about__intro { position: sticky; top: 100px; align-self: start; }
.about__role { font-size: var(--text-lg); color: var(--gold-600); margin-top: .35rem; font-weight: 500; }
.wosb-badge {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.5rem;
  font-size: var(--text-sm); font-weight: 500; color: var(--navy);
  background: var(--white); border: 1px solid var(--line); border-radius: 100px; padding: .5rem 1rem;
}
.wosb-badge__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }

.about__body > p { font-size: var(--text-lg); color: var(--ink); font-weight: 300; line-height: 1.6; }
.creds { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cred { padding-left: 1.25rem; border-left: 2px solid var(--gold); }
.cred__title { font-size: var(--text-lg); color: var(--navy); font-family: var(--font-serif); }
.cred__title span { color: var(--gold-600); font-weight: 400; }
.cred__desc { margin-top: .3rem; font-size: var(--text-sm); color: var(--ink-soft); }
.about__callout {
  margin-top: 2.25rem; background: var(--navy); color: var(--paper);
  border-radius: var(--radius); padding: 1.75rem;
}
.about__callout-title { font-size: var(--text-lg); color: var(--gold-400); margin-bottom: .6rem; }
.about__callout p { font-size: var(--text-sm); color: #e0ddd4; line-height: 1.6; }

/* ============================================================
   DIFFERENTIATORS
   ============================================================ */
.diff__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; }
.diff__item { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.diff__num { font-family: var(--font-serif); font-size: 1rem; color: var(--gold); font-weight: 600; letter-spacing: .05em; }
.diff__title { font-size: var(--text-xl); color: var(--navy); margin-top: .5rem; }
.diff__item p { margin-top: .6rem; color: var(--ink-soft); font-size: var(--text-sm); max-width: 42ch; }

/* ============================================================
   HOW WE WORK
   ============================================================ */
.process { background: var(--navy); color: var(--paper); }
.process .section__title { color: var(--paper); }
.process .section__lede { color: #c9cdd6; }
.process .eyebrow { color: var(--gold-400); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 3.75rem; }
.step__num {
  position: absolute; top: 0; left: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem;
  color: var(--navy); background: var(--gold);
}
.step::after { /* connector line */
  content: ""; position: absolute; top: 1.3rem; left: 3.1rem; right: -.75rem; height: 1px;
  background: linear-gradient(90deg, rgba(212,160,41,.5), rgba(212,160,41,.05));
}
.step:last-child::after { display: none; }
.step__title { font-size: var(--text-lg); color: var(--paper); }
.step p { margin-top: .5rem; font-size: var(--text-sm); color: #bcc1cb; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter { background: var(--paper-2); }
.newsletter__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem;
  border: 1px solid var(--line); background: var(--white); border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.newsletter__inner > div { max-width: 44rem; }
.newsletter__text { margin-top: .9rem; color: var(--ink-soft); font-size: var(--text-base); font-weight: 300; }

/* ============================================================
   CONTACT / CTA
   ============================================================ */
.contact { background: var(--navy); color: var(--paper); text-align: center; }
.contact__inner { max-width: 46rem; margin-inline: auto; }
.contact__title { font-size: var(--text-2xl); color: var(--paper); }
.contact__lede { margin-top: 1rem; font-size: var(--text-lg); color: #c9cdd6; font-weight: 300; }
.contact__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.contact__meta {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(251,250,246,.14);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: left;
}
.contact__meta li { font-size: var(--text-sm); color: #e0ddd4; }
.contact__meta-label { display: block; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--gold-400); margin-bottom: .4rem; }
.contact__meta a:hover { color: var(--gold-400); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #081a30; color: #aeb4bf; padding-block: 3rem; }
.footer__inner { display: flex; flex-direction: column; gap: 1rem; }
.footer__brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-serif); font-size: 1.05rem; color: var(--paper); }
.footer__wosb { font-size: var(--text-sm); color: var(--gold-400); }
.footer__copy { font-size: var(--text-sm); }
.footer__legal { font-size: var(--text-xs); color: #7d8492; max-width: 70ch; line-height: 1.6; margin-top: .5rem; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .about__grid { grid-template-columns: 1fr; }
  .about__intro { position: static; }
  .diff__list { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .step::after { display: none; }
}

@media (max-width: 640px) {
  .nav__toggle { display: flex; z-index: 120; }
  .nav__menu {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem clamp(1.25rem, 4vw, 2.75rem) 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform .35s var(--ease);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu li { border-bottom: 1px solid var(--line); }
  .nav__menu li:last-child { border-bottom: none; padding-top: 1rem; }
  .nav__menu a:not(.btn) { display: block; padding: .9rem 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .contact__meta { grid-template-columns: 1fr; }
  .hero__actions .btn, .contact__actions .btn { width: 100%; justify-content: center; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Founding Client pricing styles */
.card__price-old {
  text-decoration: line-through;
  color: var(--muted, #8a8577);
  font-weight: 400;
  font-size: 0.75em;
  margin-right: 0.25em;
  opacity: 0.7;
}
.card__badge {
  display: inline-block;
  background: #B8860B;
  color: #FBFAF6;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  margin-top: -0.25rem;
}
