/* ============================================
   Paragon Strategic Consulting — Design Tokens v2
   ============================================ */
:root {
  --bg:          #5C5A6E;  /* slate gray — hero/dark sections */
  --bg-deep:     #4C4A5D;  /* deeper slate — strips/bands */
  --card:        #6B6980;  /* lighter card on slate */
  --violet:      #8A6EE0;  /* primary accent */
  --violet-deep: #8A6EE0;  /* accent (buttons, headers on light bg) */
  --lime:        #C4E85A;  /* secondary "pop" accent */
  --ink:         #232230;  /* near-black text on light bg */
  --paper:       #F4F3F7;  /* light background */
  --paper-dim:   #E9E7F0;  /* alternating light-gray band */
  --line:        #E4E1EC;  /* hairline on light bg */
  --text:        #FAF9FC;  /* light text on dark bg */
  --gray-b:      #C9C5D6;  /* muted text on dark bg */
  --gray-ink:    #6E6A80;  /* muted text on light bg */
  --gray-ink-2:  #4B4760;  /* darker muted text on light bg */

  --font-display: "Sora", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1140px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0;
}
h1 { font-size: clamp(2.2rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 var(--space-2); }
.lede { font-size: 1.05rem; max-width: 60ch; line-height: 1.65; }
.muted { color: var(--gray-ink); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: var(--space-2);
}
.eyebrow-dark {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-deep);
  margin-bottom: var(--space-2);
}

/* ---------- Header / Nav ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; }
.logo { display: flex; align-items: center; }
.logo img { height: 78px; width: auto; display: block; margin-left: 5px; }
.nav-links { display: flex; gap: var(--space-4); list-style: none; padding: 0; margin: 0; font-size: 0.88rem; font-weight: 600; }
.nav-links a { color: var(--gray-ink); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--violet-deep); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px 6px; margin-left: 0.6rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
[id] { scroll-margin-top: 90px; }
.nav-cta { background: var(--lime); color: #2A3208; padding: 0.6rem 1.3rem; border-radius: 6px; font-size: 0.85rem; font-weight: 700; }
.nav-cta:hover { opacity: 0.9; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-weight: 700; font-size: 0.92rem; padding: 0.85rem 1.7rem; border-radius: 6px; transition: opacity 0.15s ease, transform 0.15s ease; }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary.on-light { background: var(--violet-deep); }
.btn-lime { background: var(--lime); color: #2A3208; }
.btn-ghost { border: 1.5px solid var(--gray-b); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-ghost.on-light { border-color: var(--gray-ink); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { background: var(--bg); padding: var(--space-5) 0 var(--space-6); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-5); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--violet); }
.hero .lede { color: var(--gray-b); margin-top: var(--space-2); }
.hero-actions { margin-top: var(--space-4); display: flex; gap: 0.8rem; flex-wrap: wrap; }
.dot-period { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-left: 6px; margin-bottom: 1px; }

.checklist { list-style: none; margin-top: var(--space-4); display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; padding: 0; }
.checklist li { display: flex; gap: 0.55rem; font-size: 0.9rem; font-weight: 600; align-items: flex-start; color: #EDEAF5; }
.checklist li a:hover { color: var(--lime); text-decoration: underline; }
.check { width: 19px; height: 19px; border-radius: 50%; background: var(--lime); color: #2A3208; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.68rem; margin-top: 0.1rem; font-weight: 800; }

.hero-photo-col { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.headshot-badge { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; border: 3px solid var(--violet); box-shadow: 0 8px 24px rgba(0,0,0,0.25); flex-shrink: 0; }
.headshot-badge img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.badge-caption b { display: block; color: #fff; font-size: 0.95rem; }
.badge-caption span { color: var(--gray-b); font-size: 0.8rem; }
.hero-side-photo { width: 100%; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; margin-top: var(--space-1); }
.hero-side-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.05); }

/* ---------- Client strip ---------- */
.clients { background: var(--bg-deep); padding: 1.6rem 0; overflow: hidden; }
.clients .container { display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap; justify-content: space-between; }
.clients.marquee .container { display: block; padding-left: 0; padding-right: 0; }
.clients .eyebrow-inline { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-b); flex-shrink: 0; margin: 0; }

.marquee-label { max-width: var(--container); margin: 0 auto var(--space-2); padding: 0 var(--space-3); }
.clients.marquee .marquee-label { padding-left: var(--space-3); padding-right: var(--space-3); }
.marquee-viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
}
.marquee-viewport:hover .marquee-track { animation-play-state: paused; }

.logo-item { height: 46px; max-width: 140px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-item img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.logo-item.on-card { height: 60px; max-width: 160px; background: #fff; border-radius: 8px; padding: 0.4rem 0.9rem; }
.logo-item.smaller { height: 34px; max-width: 120px; }
.logo-item.slightly-smaller { height: 40px; max-width: 128px; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Services alternating rows ---------- */
.services-block { background: var(--paper); }
.services-block .section-head { padding: var(--space-5) var(--space-3) var(--space-4); margin: 0 auto; max-width: var(--container); }
.services-block h2 { color: var(--ink); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; }
.svc-row.stack-mobile { }
.svc-row:nth-child(odd) { background: #fff; }
.svc-row:nth-child(even) { background: var(--paper-dim); }
.svc-cell { padding: var(--space-4) var(--space-3); border-bottom: 1px solid var(--line); }
.svc-cell:first-child { border-right: 1px solid var(--line); }
.svc-icon { width: 16px; height: 16px; border-radius: 50%; margin-bottom: var(--space-2); background: var(--lime); }
.svc-cell { display: flex; flex-direction: column; justify-content: center; }
.svc-cell h3 { color: var(--ink); margin-bottom: 0.5rem; }
.svc-cell p { font-size: 0.92rem; color: var(--gray-ink); margin-bottom: 0; }
.svc-cell.photo-cell { padding: var(--space-4) var(--space-3); border-right: 1px solid var(--line); position: relative; min-height: 220px; align-items: center; justify-content: center; }
.svc-cell.photo-cell .badge-photo { width: 200px; height: 200px; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 20px rgba(35,34,48,0.15); position: relative; }
.svc-cell.photo-cell .badge-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(0.25) contrast(1.05); }
.svc-cell.photo-cell .tag { position: absolute; bottom: 10px; left: 10px; background: rgba(35,34,48,0.7); color: #fff; font-size: 0.68rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 4px; z-index: 2; }
.stock-placeholder { width: 200px; height: 200px; border-radius: 16px; background: repeating-linear-gradient(45deg, #DAD5E6, #DAD5E6 10px, #E9E7F0 10px, #E9E7F0 20px); display: flex; align-items: center; justify-content: center; color: #8A84A0; font-size: 0.75rem; font-weight: 600; text-align: center; padding: var(--space-2); }

/* ---------- Row list (Home "Where Paragon Helps" + Services offerings) ---------- */
.row-item { padding: var(--space-4) var(--space-3); text-align: left; }
.row-item:nth-child(odd) { background: #fff; }
.row-item:nth-child(even) { background: var(--paper-dim); }
.row-item .inner { max-width: var(--container); margin: 0 auto; }
.row-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.6rem; }
.row-head h3 { color: var(--ink); margin: 0; }
.row-body { margin-left: 0; max-width: 720px; }
.row-body p { font-size: 0.95rem; color: var(--gray-ink); margin-bottom: 0.6rem; }
.row-body p:last-child { margin-bottom: 0; }
.row-body p.dark { color: var(--gray-ink-2); }

.dot-badge { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.dot-badge.numbered { display: flex; align-items: center; justify-content: center; color: #2A3208; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }

/* ---------- Generic light section ---------- */
section { padding: var(--space-6) 0; }
.section-dim { background: var(--paper-dim); }
.section-head { max-width: 640px; margin-bottom: var(--space-5); }
.section-head p { color: var(--gray-ink); font-size: 1.05rem; }

/* ---------- Cards on light background ---------- */
.grid { display: grid; gap: var(--space-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); padding: var(--space-4); border-radius: 10px; }
.card h3 { margin-bottom: var(--space-2); color: var(--ink); }
.card p { color: var(--gray-ink); margin-bottom: 0; }
.card.on-dim { background: var(--paper-dim); border-color: #DCD8E6; }

.card-flex-grid { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }
.card-flex-grid .card { flex: 1 1 300px; max-width: 340px; }

/* ---------- Service row two-column split ---------- */
.svc-split { display: grid; grid-template-columns: 320px 1fr; gap: var(--space-4); align-items: start; }
.svc-split .row-head { margin-bottom: var(--space-2); }
.svc-split .when-callout { margin-top: 0; }

/* Services page: chips section full width */
.services-block:not(:has(.section-head)) .row-item > .inner:last-child { display: block; width: 100%; padding: var(--space-4) var(--space-3) !important; }

/* ---------- Service row chips + callout ---------- */
.chip-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; }
.chip { background: var(--paper-dim); border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 0.78rem; font-weight: 600; color: var(--gray-ink-2); }
.when-callout { border-left: 3px solid var(--violet); background: var(--paper-dim); padding: 0.7rem 1rem; font-size: 0.88rem; color: var(--gray-ink-2); max-width: 640px; }
.row-item:nth-child(even) .chip, .row-item:nth-child(even) .when-callout { background: #fff; }
.row-item > .inner:last-child { padding-left: var(--space-3); padding-right: var(--space-3); padding-top: 0; padding-bottom: var(--space-4); }

/* ---------- Engagement model circles ---------- */
.circle-grid { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }
.circle-card { width: 252px; height: 252px; border-radius: 50%; background: #fff; border: 3px solid var(--lime); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2.4rem; }
.circle-card h3 { font-size: 1rem; margin: 0 0 0.5rem; color: var(--ink); }
.circle-card { padding: 2rem; }
.circle-card p { font-size: 0.9rem; color: var(--gray-ink-2); margin: 0; line-height: 1.5; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--violet-deep); padding: var(--space-5) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #E4DBFF; margin-top: var(--space-2); }
.cta-band .btn-lime { margin-top: var(--space-3); }

/* ---------- Testimonial band ---------- */
.testimonial-band { background: var(--bg); padding: var(--space-5) 0; }
.outcomes-band { background: var(--paper-dim); padding: var(--space-6) 0; }
.outcomes-band .section-head { max-width: 640px; margin: 0 auto var(--space-5); text-align: left; }
.outcomes-card h3 { font-size: 1.05rem; }
.footer-legal { font-size: 0.72rem; color: #6E6B80; margin-top: var(--space-2); white-space: nowrap; }
.testimonial-card { max-width: 720px; margin: 0 auto; text-align: center; }
.testimonial-card p.quote { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: #fff; font-style: italic; line-height: 1.5; }
.testimonial-card .attribution { color: var(--gray-b); margin-top: var(--space-2); }
.placeholder-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-b); border: 1px dashed var(--gray-b); padding: 0.3rem 0.7rem; border-radius: 4px; margin-bottom: var(--space-2); }
.placeholder-tag.on-light { color: var(--gray-ink); border-color: #C9C5D6; }

/* ---------- Photo frame (About page) ---------- */
.photo-frame-large { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; border: 3px solid var(--violet); box-shadow: 0 8px 24px rgba(35,34,48,0.15); }
.photo-frame-large img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.badge-caption.on-light b { color: var(--ink); }
.badge-caption.on-light span { color: var(--gray-ink); }
.quick-facts { list-style: none; padding: 0; margin: var(--space-3) 0 0; font-size: 0.85rem; color: var(--gray-ink); display: grid; gap: 0.45rem; }
.quick-facts li { display: flex; gap: 0.55rem; align-items: flex-start; }
.quick-facts .qf-dot { width: 8px; height: 8px; min-width: 8px; border-radius: 50%; background: var(--lime); margin-top: 0.45rem; }

/* ---------- Differentiator rows (About) ---------- */
.diff-row { display: flex; gap: 1rem; align-items: flex-start; max-width: 760px; margin-bottom: var(--space-3); }
.diff-row .dot-badge { width: 20px; height: 20px; min-width: 20px; margin-top: 0.25rem; display: flex; align-items: center; justify-content: center; color: #2A3208; font-size: 0.68rem; font-weight: 800; }
.diff-row h3 { margin-bottom: 0.3rem; color: var(--ink); }
.diff-row p { color: var(--gray-ink); margin: 0; }

/* ---------- Why Paragon works check list ---------- */
.why-list { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: 0.8rem; max-width: 640px; }
.why-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 600; color: var(--gray-ink-2); font-size: 0.98rem; }

.about-bio-grid { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-5); align-items: start; }

/* ---------- Three-column rectangular card layout (Home services) ---------- */
.services-block:has(.section-head) { max-width: var(--container); margin: 0 auto; padding: var(--space-5) var(--space-3) !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); align-items: stretch; }
.services-block:has(.section-head) .section-head { grid-column: 1 / -1; max-width: 100%; margin: 0 0 var(--space-3) 0; padding: 0; text-align: left; }
.services-block:has(.section-head) .section-head h2 { margin: 0; }
.services-block:has(.section-head) .row-item { display: flex; flex-direction: column; gap: 0; padding: var(--space-4) !important; background: #fff !important; border: 2px solid var(--lime); border-left: 4px solid var(--violet); text-align: left; height: 100%; }
.services-block:has(.section-head) .row-item .inner { display: contents; }
.services-block:has(.section-head) .row-item .row-head { margin-bottom: var(--space-2); }
.services-block:has(.section-head) .row-item .row-body { margin: 0; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.services-block:has(.section-head) .row-item .dot-badge { display: none; }
.services-block:has(.section-head) .row-item h3 { color: var(--ink); margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.services-block:has(.section-head) .row-item h3 a { color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
.services-block:has(.section-head) .row-item h3 a:hover { color: var(--violet); text-decoration: underline; }
.services-block:has(.section-head) .row-item p { color: var(--gray-ink); margin: 0; font-size: 0.95rem; line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9A96AC; padding: var(--space-5) 0 var(--space-3); font-size: 0.9rem; }
.footer-top { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-bottom: var(--space-4); border-bottom: 1px solid #35334A; margin-bottom: var(--space-3); }
.footer-logo { display: flex; align-items: center; }
.footer-logo img { height: 70px; width: auto; display: block; margin-left: 5px; }
.footer-tagline { color: #9A96AC; font-size: 0.92rem; margin: 0.9rem 0 0 5px; max-width: 46ch; }
.footer-nav { display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap; font-size: 0.9rem; }
.footer-nav a { color: #9A96AC; }
.footer-nav a:hover { color: var(--lime); }
.footer-cols { display: flex; gap: var(--space-6); }
.footer-col a { display: block; margin-bottom: 0.6rem; color: #9A96AC; }
.footer-col a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-2); }
.footer-bottom { display: flex; justify-content: space-between; color: #6E6B80; font-size: 0.82rem; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Forms ---------- */
form .field { margin-bottom: var(--space-3); }
label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--ink); }
input, textarea, select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; padding: 0.75rem 0.9rem;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--violet); outline-offset: 1px; }
textarea { resize: vertical; min-height: 130px; }
.req { color: var(--violet-deep); font-weight: 700; }

/* ---------- Utility ---------- */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.text-center { text-align: center; }
.center-head { margin-left: auto; margin-right: auto; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .footer-cols { gap: var(--space-4); }
  .about-bio-grid { grid-template-columns: 200px 1fr; }
}
@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 0.4rem 0; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 0.8rem var(--space-3); }
  .footer-legal { white-space: normal; }
  .services-block:has(.section-head) { grid-template-columns: 1fr; gap: var(--space-4); }
  .services-block:has(.section-head) .row-item:nth-child(4) { grid-column: auto; }
  .svc-split { grid-template-columns: 1fr; gap: var(--space-2); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-cell:first-child { border-right: none; }
  .checklist { grid-template-columns: 1fr; }
  section { padding: var(--space-5) 0; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: var(--space-4); }
  .about-bio-grid { grid-template-columns: 1fr; }
  .about-bio-grid .photo-frame-large { margin: 0 auto; }
}
