/* ===== TOKENS ===== */
:root {
  --navy: #1B2A4A;
  --navy-deep: #11192E;
  --gold: #B8962E;
  --gold-light: #D4B454;
  --cream: #F7F4ED;
  --cream-warm: #F1ECE0;
  --ink: #2A2A28;
  --ink-soft: #5A574E;
  --line: #DCD4C0;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --maxw: 1140px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link {
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.logo-line1 { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em; }
.logo-line2 { font-size: 0.62rem; letter-spacing: 0.14em; color: var(--gold-light); font-weight: 500; }

.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.primary-nav a:hover { color: var(--white); }
.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 0.55rem 1.15rem;
  border-radius: 3px;
  font-weight: 600;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 5.5rem 1.5rem 8rem;
  text-align: center;
  overflow: hidden;
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.eyebrow {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.25rem;
}
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 0.85rem; }
.hero-note { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

.btn {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-large { padding: 1.1rem 2.6rem; font-size: 1.05rem; }

.hero-ridge {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 1;
}
.ridge-back { fill: rgba(255,255,255,0.04); }
.ridge-front { fill: var(--cream); }

/* ===== CREDENTIALS ===== */
.credentials {
  background: var(--cream-warm);
  border-bottom: 1px solid var(--line);
}
.credentials-list {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0;
}
.credentials-list li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0 1.5rem;
  border-right: 1px solid var(--line);
  letter-spacing: 0.01em;
}
.credentials-list li:last-child { border-right: none; }
.reg { font-size: 0.6em; vertical-align: super; }

/* ===== PAIN POINTS ===== */
.pain { background: var(--cream-warm); padding: 6rem 1.5rem; }
.pain .section-head h2 { line-height: 1.25; }
.pain-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.pain-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.pain-emoji { font-size: 2rem; display: block; margin-bottom: 1rem; }
.pain-item p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== STORY ===== */
.story { padding: 6rem 1.5rem; }
.story-inner {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.story-eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.story-body h2 {
  font-size: 1.9rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.badge-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.badge-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.badge-emoji { font-size: 1.4rem; line-height: 1; }
.badge-item div { display: flex; flex-direction: column; gap: 0.2rem; }
.badge-item strong { color: var(--navy); font-size: 0.95rem; }
.badge-item span { color: var(--ink-soft); font-size: 0.85rem; }
.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  line-height: 1.25;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
}
.story-body p {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}
.story-body p:last-child { margin-bottom: 0; }
.story-body em { color: var(--navy); font-style: italic; }

/* ===== SECTION HEAD ===== */
.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 0 1.5rem;
}
.eyebrow-dark { color: var(--gold); }
.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  color: var(--navy);
  font-weight: 600;
  margin-top: 0.6rem;
}
.section-sub {
  color: var(--ink-soft);
  margin-top: 0.85rem;
  font-size: 1.02rem;
}

/* ===== SERVICES ===== */
.services { background: var(--navy); padding: 6rem 1.5rem; }
.services .eyebrow-dark { color: var(--gold-light); }
.services .section-head h2 { color: var(--white); }
.services-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.service-item { color: rgba(255,255,255,0.85); }
.service-num {
  display: block;
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  letter-spacing: 0.05em;
}
.service-item h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.service-item ul { display: flex; flex-direction: column; gap: 0.5rem; }
.service-item li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  padding-left: 0.9rem;
  position: relative;
}
.service-item li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ===== PRICING / LEDGER ===== */
.pricing { padding: 6rem 1.5rem; }
.ledger {
  max-width: 820px;
  margin: 0 auto;
  border-top: 2px solid var(--navy);
}
.ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}
.ledger-row:hover { background: var(--cream-warm); }
.ledger-main { flex: 1; }
.ledger-main h3 {
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.ledger-main p { color: var(--ink-soft); font-size: 0.95rem; max-width: 480px; }
.ledger-note {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  border-left: 2px solid var(--gold);
  padding-left: 0.5rem;
}
.ledger-price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ledger-price .per { font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
.ledger-price-quote { font-size: 1.05rem; color: var(--ink-soft); }

.retainer-card {
  max-width: 820px;
  margin: 2.5rem auto 0;
  background: var(--navy);
  border-radius: 8px;
  padding: 2.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.retainer-card .ledger-note {
  color: var(--gold-light);
  border-left-color: var(--gold-light);
}
.retainer-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.5rem 0 0.6rem;
}
.retainer-card p { color: rgba(255,255,255,0.7); font-size: 0.95rem; max-width: 480px; }
.retainer-price {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}
.retainer-price .per { font-size: 0.9rem; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--cream-warm); padding: 6rem 1.5rem; }
.testimonial-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
}
.testimonial-card .stars { color: var(--gold); letter-spacing: 0.1em; display: block; margin-bottom: 1rem; }
.testimonial-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 1.25rem;
}
.testimonial-attr { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }
.testimonial-empty { border-style: dashed; }
.testimonial-empty p { color: var(--ink-soft); font-style: italic; }

/* ===== FINAL CTA ===== */
.final-cta {
  background: var(--navy-deep);
  text-align: center;
  padding: 6rem 1.5rem;
}
.final-cta h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 1rem;
}
.final-cta p {
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto 2.25rem;
  font-size: 1.05rem;
}

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-deep); padding: 3.5rem 1.5rem 2.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand .logo-line1 { color: var(--white); display: block; }
.footer-brand .logo-line2 { color: var(--gold-light); display: block; margin-bottom: 0.85rem; }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.88rem; font-style: italic; font-family: var(--font-display); }
.footer-nav { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-nav a { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-meta { color: rgba(255,255,255,0.45); font-size: 0.85rem; }
.footer-meta p { margin-bottom: 0.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 880px) {
  .story-inner { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .retainer-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.5rem 1.25rem;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 0.75rem 0; width: 100%; }
  .nav-cta { margin-top: 0.5rem; text-align: center; }

  .ledger-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .ledger-price { font-size: 1.3rem; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .credentials-list li { border-right: none; width: 100%; text-align: center; padding: 0.3rem 0; }
  .story { padding: 4rem 1.5rem; }
  .pull-quote p { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary:hover { transform: none; }
}
