/* ==========================================================================
   AM Consulting Group — shared design system

   v6 palette: same as Parallel AI's (parallel-ai-consulting.vercel.app).
     - --primary/--ink is dark navy, --background/--surface a warm cream,
       --accent a warm amber — taken directly from Parallel AI's own
       design system rather than differentiated from it.
     - --highlight is a brighter gold, used for the headline highlighter-
       mark, eyebrow-on-dark, and the decorative squiggle/photo-halo touches
       added in an earlier round — kept in the same warm family.
     - --link carries a supporting blue — present as a secondary accent (the
       2nd color in card-grid rotations), not the loudest color on the page.
     - --secondary (dark navy) — still used for dark surfaces and the 3rd
       rotation color.
   Spacing/layout convention (--pad-h / --section-py / --max-w responsive
   token pattern) modeled on sophrosynesystems.org's Section/Container
   approach.
   ========================================================================== */

:root {
  --primary: #0B1220;
  --secondary: #14264D;
  --background: #F6F2E8;
  --accent: #D97706;
  --surface: #E9D9BC;
  --link: #2563EB;
  --highlight: #FBBF24;
  --ink: #0B1220;
  --ink-soft: color-mix(in srgb, var(--ink) 70%, var(--background));
  --ink-muted: color-mix(in srgb, var(--ink) 45%, var(--background));
  --line: color-mix(in srgb, var(--ink) 22%, var(--background));
  --line-strong: color-mix(in srgb, var(--ink) 38%, var(--background));
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r-md: 8px; --r-lg: 14px; --r-xl: 24px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px color-mix(in srgb, var(--ink) 8%, transparent);
  --shadow-md: 0 4px 14px color-mix(in srgb, var(--ink) 12%, transparent);
  --shadow-lg: 0 18px 40px color-mix(in srgb, var(--ink) 18%, transparent);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* layout rhythm */
  --pad-h: 80px;
  --max-w: 1200px;
  --section-py: 120px;
}
@media (max-width: 1024px) { :root { --pad-h: 48px; } }
@media (max-width: 768px)  { :root { --pad-h: 28px; --section-py: 72px; } }
@media (max-width: 480px)  { :root { --pad-h: 20px; --section-py: 56px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); line-height: 1.5; overflow-x: hidden;
  background:
    radial-gradient(720px 480px at 12% -8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%),
    radial-gradient(640px 460px at 100% 12%, color-mix(in srgb, var(--highlight) 22%, transparent), transparent 60%),
    var(--background);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* sky-cyan highlighter-mark utility */
.hl { background: color-mix(in srgb, var(--highlight) 55%, transparent); padding: 0 .12em; border-radius: 3px; }
.bg-dark .hl { background: color-mix(in srgb, var(--highlight) 40%, transparent); }

/* decorative squiggle + soft circle backdrop (nods to ankitmishra.ca's motifs) */
.squiggle { display: block; width: 140px; height: 16px; margin: 14px 0 0; }
.squiggle path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
.bg-dark .squiggle path { stroke: var(--highlight); }
.pagehead .squiggle, .hero-inner .squiggle { margin-left: auto; margin-right: auto; }
.photo-halo { position: absolute; inset: -18%; border-radius: 50%; background: color-mix(in srgb, var(--highlight) 45%, transparent); z-index: -1; }

.wrap { max-width: var(--max-w); margin: 0 auto; }
.section { padding: var(--section-py) var(--pad-h); position: relative; }
.section.tight { padding-top: calc(var(--section-py) * 0.2); }
.section.bg-surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.bg-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.bg-dark { background: var(--primary); color: #fff; }
.hairline { height: 1px; background: var(--line); border: 0; }

/* hidden only once JS confirms it can reveal them again — no-JS visitors always see content */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- type ---------- */
.eyebrow { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 18px; }
.bg-dark .eyebrow { color: var(--highlight); }
h1.display, h2.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; color: var(--primary); }
.bg-dark h1.display, .bg-dark h2.display { color: #fff; }
h1.display { font-size: clamp(42px, 6.5vw, 78px); line-height: 1.03; }
h2.display { font-size: clamp(33px, 4.3vw, 52px); line-height: 1.1; max-width: 820px; }
.display em {
  font-style: italic; color: var(--ink); position: relative; padding: 0 .04em;
  background: linear-gradient(to top, transparent 0.06em, color-mix(in srgb, var(--highlight) 65%, transparent) 0.06em, color-mix(in srgb, var(--highlight) 65%, transparent) 0.4em, transparent 0.4em);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.bg-dark .display em { color: #fff; }
.ch-sub { margin-top: 16px; font-size: 17.5px; color: var(--ink-soft); max-width: 600px; font-weight: 500; }
.bg-dark .ch-sub { color: rgba(255,255,255,0.7); }
.hero-sub { font-size: 19px; color: var(--ink-soft); max-width: 560px; margin: 20px auto 0; line-height: 1.6; }

/* ---------- floating pill nav ---------- */
nav.floatnav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding: 18px var(--pad-h); pointer-events: none; }
.nav-pill { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; max-width: 1080px;
  background: color-mix(in srgb, var(--background) 82%, transparent); backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 10px 8px 22px; height: 60px;
  box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease); }
.nav-pill.solid { box-shadow: var(--shadow-lg); }
.brand { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--primary); letter-spacing: -0.01em; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a.navlink { font-size: 15px; font-weight: 600; color: var(--ink-soft); transition: color .15s; }
.nav-links a.navlink:hover, .nav-links a.navlink.active { color: var(--primary); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: var(--r-pill); transition: all .15s var(--ease); border: none; cursor: pointer; font-family: var(--font-body); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-1px); background: var(--secondary); box-shadow: var(--shadow-md); }
.btn-ghost { color: var(--primary); background: transparent; border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hamburger { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; align-items: center; justify-content: center; }
.hamburger::before { content:''; width: 18px; height: 12px; background:
  linear-gradient(var(--ink), var(--ink)) 0 0/100% 2px no-repeat,
  linear-gradient(var(--ink), var(--ink)) 0 5px/100% 2px no-repeat,
  linear-gradient(var(--ink), var(--ink)) 0 10px/100% 2px no-repeat; }
@media (max-width: 860px) {
  .nav-links { display: none; } .hamburger { display: flex; } .nav-pill { position: relative; }
  .nav-pill.menu-open .nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: var(--background); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow-lg); }
}
@media (max-width: 400px) { .brand { font-size: 15px; } .nav-pill { padding: 8px 8px 8px 16px; gap: 12px; } }

/* ---------- page header (non-home pages) ---------- */
.pagehead { padding: calc(var(--section-py) * 1.1 + 40px) var(--pad-h) var(--section-py); text-align: center; }
.pagehead .wrap { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.pagehead.glow { position: relative; overflow: hidden; }
.pagehead.glow::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(560px 420px at 18% 20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(480px 380px at 85% 65%, color-mix(in srgb, var(--highlight) 24%, transparent), transparent 70%); }
.pagehead.glow #field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.quiz-stats { display: flex; gap: 36px; margin-top: 28px; }
.quiz-stats > div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.quiz-stats strong { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--primary); }
.quiz-stats span { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-muted); }
.quiz-stats .qs-div { width: 1px; background: var(--line-strong); align-self: stretch; }
@media (max-width: 480px) { .quiz-stats { gap: 20px; } }

/* ---------- hero (home) ---------- */
.hero-frame { position: relative; padding: calc(var(--section-py) + 40px) var(--pad-h) 40px; min-height: min(80vh, 80svh); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-frame::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(560px 420px at 18% 20%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    radial-gradient(480px 380px at 85% 65%, color-mix(in srgb, var(--highlight) 30%, transparent), transparent 70%); }
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: var(--max-w); margin: 0 auto; }

.sig-lockup { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sig-faces { display: flex; align-items: center; }
.photo-frame { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; border: 2px solid var(--primary); box-shadow: 0 0 0 5px var(--background); position: relative; z-index: 1; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.8); transform-origin: 50% 14%; }
.sig-names { display: flex; margin-top: 4px; gap: 10px; }
.sig-names .nm { width: 100px; text-align: center; font-size: 13px; font-weight: 700; color: var(--primary); }
.sig-role { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; margin-top: 2px; }

.hero-ask { margin-top: 30px; width: min(600px, 100%); }
.askbar { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: var(--r-pill); padding: 6px 6px 6px 22px; box-shadow: var(--shadow-md); }
.askbar:focus-within { box-shadow: var(--shadow-lg); }
.askbar input { flex: 1; border: none; outline: none; background: transparent; font-size: 16px; font-weight: 600; color: var(--ink); padding: 13px 0; min-width: 0; font-family: var(--font-body); }
.askbar input::placeholder { color: var(--ink-muted); }
.askbar button { background: var(--accent); color: #fff; border: none; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; padding: 12px 22px; cursor: pointer; transition: transform .15s var(--ease), background .15s; }
.askbar button:hover { transform: translateY(-1px); background: var(--secondary); }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; max-width: 720px; }
.ask-chip { font-size: 13.5px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 18px; cursor: pointer; box-shadow: var(--shadow-sm); transition: all .15s var(--ease); }
.ask-chip:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ---------- credibility strip + marquee ---------- */
.cred-inner { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.cred-line { font-size: 15px; font-weight: 600; color: var(--ink-soft); letter-spacing: -0.005em; }
.cred-line b { color: var(--primary); font-weight: 700; }
.credmarq { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.credtrack { display: flex; align-items: center; gap: 88px; width: max-content; animation: marq 60s linear infinite; }
.credmarq:hover .credtrack { animation-play-state: paused; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lg-item img { height: 40px; width: auto; max-width: 200px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .2s; }
.lg-item:hover img { filter: grayscale(0); opacity: 1; }
.lg-item .lg-word { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: var(--ink-soft); opacity: .8; transition: all .2s; white-space: nowrap; }
.lg-item:hover .lg-word { color: var(--primary); opacity: 1; }

/* ---------- cards: pillars / capabilities / trust ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.card { background: #fff; border-radius: var(--r-lg); padding: 32px 30px 28px; display: flex; flex-direction: column; gap: 14px; position: relative;
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card { border-top: 3px solid var(--accent); }
.card .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 27px; letter-spacing: -0.005em; line-height: 1.15; color: var(--primary); }
.card p { font-size: 16px; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.card .card-link { font-size: 14px; font-weight: 700; color: var(--accent); margin-top: 4px; }
.card .card-link:hover { color: var(--secondary); }
/* rotate the accent color across repeating card grids so it isn't uniformly blue */
.grid-3 .card:nth-of-type(3n+2), .grid-2 .card:nth-of-type(2n) { border-top-color: var(--link); }
.grid-3 .card:nth-of-type(3n+2) .k, .grid-2 .card:nth-of-type(2n) .k { color: var(--link); }
.grid-3 .card:nth-of-type(3n) { border-top-color: var(--secondary); }
.grid-3 .card:nth-of-type(3n) .k { color: var(--secondary); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 48px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- method / journey steps (4-up numbered) ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.step { background: #fff; border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--accent); position: relative; }
.step .step-n { font-family: var(--font-display); font-weight: 600; font-size: 30px; color: color-mix(in srgb, var(--accent) 30%, transparent); margin-bottom: 10px; }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--primary); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.grid-4 .step:nth-of-type(4n+2) { border-top-color: var(--link); }
.grid-4 .step:nth-of-type(4n+2) .step-n { color: color-mix(in srgb, var(--link) 35%, transparent); }
.grid-4 .step:nth-of-type(4n+3) { border-top-color: var(--secondary); }
.grid-4 .step:nth-of-type(4n+3) .step-n { color: color-mix(in srgb, var(--secondary) 35%, transparent); }
.grid-4 .step:nth-of-type(4n) { border-top-color: var(--accent); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion (native <details>, no JS needed) ---------- */
.faq-list { max-width: 980px; margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.faq-item { background: #fff; border-radius: var(--r-md); padding: 20px 24px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--accent); }
.faq-item:nth-of-type(3n+2) { border-left-color: var(--link); }
.faq-item:nth-of-type(3n) { border-left-color: var(--secondary); }
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--primary); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .15s var(--ease); }
.faq-item:hover summary { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 18px; font-weight: 700; line-height: 1; color: #fff; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--accent); transition: transform .25s var(--ease), background .2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--secondary); }
.faq-item p { font-size: 16.5px; color: var(--ink-soft); line-height: 1.65; margin-top: 14px; max-width: 640px; }
@media (max-width: 760px) { .faq-list { grid-template-columns: 1fr; } }

/* ---------- compact mid-page CTA band ---------- */
.cta-band { background: var(--surface); border-radius: var(--r-xl); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 48px; }
.cta-band h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--primary); }
.cta-band p { font-size: 16px; color: var(--ink-soft); margin-top: 6px; }
@media (max-width: 560px) { .capabilities { grid-template-columns: 1fr; } }

/* ---------- diagnostic quiz ---------- */
.diag-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; margin-top: 12px; }
.diag-left { position: sticky; top: 120px; }
.stage-dots { display: flex; gap: 8px; margin-top: 26px; }
.stage-dots .sd { width: 32px; height: 5px; border-radius: 3px; background: var(--line); transition: background .3s; }
.stage-dots .sd.done { background: var(--accent); }
.iv-surface { background: var(--surface); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.iv-head { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 18px; }
.iv-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s ease-in-out infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(217,119,6,.5); } 50% { box-shadow: 0 0 0 6px rgba(217,119,6,0); } }
.iv-head .who { font-size: 14px; font-weight: 700; color: var(--primary); }
.iv-head .who span { display: block; font-size: 12px; font-weight: 600; color: var(--ink-muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.iv-q { font-size: 17px; font-weight: 600; color: var(--primary); line-height: 1.5; margin-bottom: 18px; }
.iv-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.iv-chip { font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 11px 18px; cursor: pointer; text-align: left; transition: all .15s var(--ease); }
.iv-chip:hover { background: var(--surface); border-color: var(--accent); transform: translateY(-2px); }
.iv-inputrow { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--r-pill); padding: 5px 5px 5px 18px; box-shadow: var(--shadow-sm); }
.iv-inputrow input { flex: 1; border: none; outline: none; background: transparent; font-size: 15px; color: var(--ink); padding: 11px 0; min-width: 0; font-family: var(--font-body); }
.iv-inputrow button { background: var(--accent); color: #fff; border: none; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; padding: 10px 20px; cursor: pointer; }
.iv-progress { font-size: 13px; color: var(--ink-muted); margin-top: 12px; font-weight: 600; }
.diag-result { display: none; margin-top: 24px; }
.diag-result.show { display: block; }
.diag-result h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); color: var(--primary); margin-bottom: 16px; line-height: 1.2; }
.scan-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin-bottom: 22px; }
.sbar .row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.sbar .track { height: 6px; background: var(--surface); border-radius: 3px; overflow: hidden; }
.sbar .fill { height: 100%; width: 0%; background: var(--accent); border-radius: 3px; transition: width .9s var(--ease); }
.diag-body { font-size: 17px; line-height: 1.7; color: var(--ink-soft); border-left: 3px solid var(--accent); padding-left: 18px; max-width: 560px; }
.lead-capture { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.lead-prompt { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 10px; }
.lead-status { font-size: 13px; color: var(--ink-muted); margin-top: 8px; min-height: 1.2em; }
.diag-loading { font-size: 14px; color: var(--ink-muted); font-weight: 600; }
@media (max-width: 900px) { .diag-cols { grid-template-columns: 1fr; gap: 40px; } .diag-left { position: static; } }
@media (max-width: 420px) { .scan-bars { grid-template-columns: 1fr; } }

/* ---------- program comparison (split-panel, no cards) ---------- */
.compare { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 48px; border-top: 1px solid var(--line-strong); }
.compare-col { padding: 36px 40px 28px; }
.compare-col + .compare-col { border-left: 1px solid var(--line); }
.compare-col.lead { border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.compare-col .c-step { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.compare-col h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -0.01em; color: var(--primary); margin: 10px 0 8px; }
.compare-col .c-tag { font-weight: 700; font-size: 19px; color: var(--ink-soft); margin-bottom: 14px; }
.compare-col p.c-pain, .compare-col p.c-outcome { font-size: 16.5px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 14px; }
.compare-col .c-inside { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 20px; }
.compare-col .c-inside span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); margin-bottom: 4px; }
.compare-col .c-meta { border-top: 1px solid var(--line); padding-top: 16px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.compare-col .card-link { display: inline-block; font-size: 14px; font-weight: 700; color: var(--accent); margin-top: 4px; }
.compare-col .card-link:hover { color: var(--secondary); }
a.compare-col { color: inherit; text-decoration: none; display: block; transition: background .15s var(--ease); }
a.compare-col:hover { background: var(--surface); }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } .compare-col + .compare-col { border-left: none; border-top: 1px solid var(--line); } }

/* ---------- capability grid (image-banner cards) ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.cap-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cap-image { height: 120px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, var(--primary))); }
.cap-card:nth-of-type(3n+2) .cap-image { background: linear-gradient(135deg, var(--link), color-mix(in srgb, var(--link) 60%, var(--primary))); }
.cap-card:nth-of-type(3n) .cap-image { background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.cap-image svg { width: 42px; height: 42px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cap-text { padding: 22px 24px 26px; }
.cap-text h4 { font-size: 17.5px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.cap-text p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }

/* ---------- ROI tiers (dark band) ---------- */
.pg-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.tier-box { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-lg); padding: 26px 24px; position: relative; }
.tier-box .tb-n { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-weight: 600; font-size: 34px; color: rgba(255,255,255,0.14); }
.tier-box .tb-k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 700; }
.tier-box h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: #fff; margin: 4px 0; }
.tier-box p { color: rgba(255,255,255,0.65); font-size: 14.5px; line-height: 1.6; }
.tier-box.t3 { background: rgba(217,119,6,0.14); border-color: var(--accent); }
.tier-box.t3 .tb-k { color: #FBBF24; }
@media (max-width: 860px) { .pg-grid3 { grid-template-columns: 1fr; } }

/* ---------- letter / founders ---------- */
.letter-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 70px; align-items: start; }
.letter { font-family: var(--font-display); font-size: 19px; line-height: 1.75; font-weight: 400; color: var(--primary); max-width: 620px; }
.letter p { margin-bottom: 22px; }
.letter em { font-style: italic; color: var(--accent); }
.signatures { margin-top: 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.sig-name { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 24px; color: var(--primary); }
.sig-meta { font-size: 12px; color: var(--ink-muted); letter-spacing: .1em; text-transform: uppercase; line-height: 1.8; }
.founder-photos { display: flex; gap: 20px; margin-bottom: 30px; }
.founder-photos.solo { max-width: 280px; margin-left: auto; margin-right: auto; }
.fp { flex: 1; }
.fp img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.fp .cap { font-size: 13px; font-weight: 700; color: var(--ink-soft); text-align: center; margin-top: 10px; }
@media (max-width: 860px) { .letter-grid { grid-template-columns: 1fr; gap: 44px; } }

/* founder bio cards (used on founders.html) */
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.founders-grid.solo { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
.founder-card { background: #fff; border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-sm); }
.founder-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; box-shadow: var(--shadow-md); }
.founder-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--primary); margin-bottom: 4px; }
.founder-card .role { font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.founder-card p { font-size: 16px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 10px; }
@media (max-width: 860px) { .founders-grid { grid-template-columns: 1fr; } }

/* ---------- timeline (year / rail / card) ---------- */
.timeline { position: relative; margin-top: 44px; }
.timeline-step { display: grid; grid-template-columns: 112px 34px 1fr; align-items: start; }
.timeline-yr { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3vw, 38px); line-height: 1; letter-spacing: -0.01em; color: var(--primary); padding-top: 2px; }
.timeline-yr small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-muted); margin-top: 6px; letter-spacing: .02em; }
.timeline-yr.word { font-size: 19px; letter-spacing: -0.005em; }
.timeline-rail { position: relative; align-self: stretch; }
.timeline-rail::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); width: 2px; background: var(--line); top: 0; bottom: 0; }
.timeline-step:first-child .timeline-rail::before { top: 16px; }
.timeline-step:last-child .timeline-rail::before { bottom: calc(100% - 16px); }
.timeline-dot { position: absolute; left: 50%; top: 16px; transform: translate(-50%, -50%); width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--background), 0 1px 3px rgba(11,18,32,.2); }
.timeline-step:nth-child(2) .timeline-dot { background: var(--link); }
.timeline-step:nth-child(3) .timeline-dot { background: var(--secondary); }
.timeline-card { background: #fff; border-radius: var(--r-lg); padding: 22px 24px 24px; margin: 0 0 22px; box-shadow: var(--shadow-sm); }
.timeline-step:last-child .timeline-card { margin-bottom: 0; }
.timeline-era { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.timeline-step:nth-child(2) .timeline-era { color: var(--link); }
.timeline-step:nth-child(3) .timeline-era { color: var(--secondary); }
.timeline-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.005em; color: var(--primary); margin-bottom: 8px; line-height: 1.25; }
.timeline-card p { font-size: 16px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 640px) {
  .timeline-step { grid-template-columns: 56px 22px 1fr; }
  .timeline-yr { font-size: 18px; }
  .timeline-card { padding: 16px 16px 18px; }
  .timeline-card h3 { font-size: 17px; }
}

/* ---------- articles ---------- */
.arts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.art { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); display: flex; flex-direction: column; }
.art:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.a-cover { height: 110px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, var(--primary))); }
.a-cover.m2 { background: linear-gradient(135deg, var(--link), color-mix(in srgb, var(--link) 60%, var(--primary))); }
.a-cover.m3 { background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.a-cover svg { width: 40px; height: 40px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.a-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.a-chip { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.art h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--primary); }
.art p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.art .a-meta { font-size: 13px; font-weight: 700; color: var(--accent); border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 900px) { .arts-grid { grid-template-columns: 1fr; } }

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.trust-card { background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--accent); }
.trust-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--primary); margin-bottom: 10px; }
.trust-card p { font-size: 16px; color: var(--ink-soft); line-height: 1.6; }
.trust-grid .trust-card:nth-of-type(2) { border-top-color: var(--link); }
.trust-grid .trust-card:nth-of-type(3) { border-top-color: var(--secondary); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- closing / footer ---------- */
.ch-hello { text-align: center; position: relative; overflow: hidden; padding-top: calc(var(--section-py) + 20px); }
#field-dark { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ch-hello .wrap { position: relative; z-index: 1; }
.hello-avatars { display: flex; justify-content: center; margin-bottom: 18px; }
.avatar-frame { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 3px solid var(--accent); position: relative; }
.avatar-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.8); transform-origin: 50% 14%; }
.hello-avatars .avatar-frame:first-child { margin-right: -14px; z-index: 1; position: relative; }
.hello-avatars.solo .avatar-frame:first-child { margin-right: 0; }
.ch-hello h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(42px, 7vw, 88px); letter-spacing: -0.02em; line-height: 1.02; }
.ch-hello h2 em { font-style: italic; color: var(--accent); }
.ch-hello .sub { max-width: 480px; margin: 20px auto 0; color: rgba(255,255,255,0.68); font-size: 16px; line-height: 1.6; }
.hello-ctas { margin-top: 36px; }
.news-strip { margin-top: 90px; border-top: 1px solid rgba(255,255,255,0.15); padding: 36px var(--pad-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; text-align: left; }
.news-strip b { font-family: var(--font-display); font-weight: 600; font-size: 20px; display: block; }
.news-strip span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.55); display: block; margin-top: 6px; }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.news-form input { font-size: 14px; padding: 12px 16px; width: 220px; border: 1px solid rgba(255,255,255,0.3); border-radius: var(--r-pill); background: transparent; color: #fff; outline: none; font-family: var(--font-body); }
.news-form input::placeholder { color: rgba(255,255,255,0.5); }
.foot { border-top: 1px solid rgba(255,255,255,0.15); padding: 28px var(--pad-h) 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.55); }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: rgba(255,255,255,0.7); font-weight: 600; }
.foot-links a:hover { color: #fff; }
.bg-dark { background: var(--primary); color: #fff; }

/* ---------- concierge widget ---------- */
.bot { position: fixed; bottom: 24px; right: 24px; z-index: 200; width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-lg); transition: all .3s var(--ease); font-size: 24px; }
.bot.open { width: 360px; height: 480px; border-radius: 18px; align-items: stretch; justify-content: flex-start; flex-direction: column; background: #fff; cursor: default; }
.bot-head { display: none; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.bot.open .bot-head { display: flex; }
.bot-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s ease-in-out infinite; }
.bot-head .who { flex: 1; font-size: 13px; font-weight: 700; color: var(--primary); }
.bot-head .who span { display: block; font-size: 11px; font-weight: 600; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .08em; }
.bot-close { background: none; border: none; color: var(--ink-muted); font-size: 18px; cursor: pointer; }
.bot-icon { display: block; }
.bot.open .bot-icon { display: none; }
.bot-panel { display: none; flex-direction: column; flex: 1; min-height: 0; }
.bot.open .bot-panel { display: flex; }
.bot-thread { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { font-size: 13.5px; line-height: 1.55; max-width: 88%; padding: 10px 14px; border-radius: 12px; }
.msg.bot-m { background: var(--surface); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user-m { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.thinking { font-size: 12px; color: var(--ink-muted); background: transparent; padding: 4px 2px; }
.msg.lead-inline .lead-row { display: flex; gap: 6px; margin-top: 8px; }
.msg.lead-inline input[type="email"] { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 6px 12px; font-size: 12.5px; font-family: var(--font-body); }
.msg.lead-inline button { background: var(--accent); color: #fff; border: none; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; padding: 6px 14px; cursor: pointer; flex-shrink: 0; }
.msg.lead-inline .lead-status { display: block; font-size: 11.5px; color: var(--ink-muted); margin-top: 6px; }
.bot-chips { padding: 0 16px 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.bot-chip { font-size: 11.5px; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; padding: 6px 11px; cursor: pointer; }
.bot-chip:hover { background: var(--surface); }
.bot-input-row { border-top: 1px solid var(--line); padding: 10px 12px; display: flex; gap: 8px; }
.bot-input-row input { flex: 1; border: none; outline: none; background: transparent; font-size: 13.5px; color: var(--ink); font-family: var(--font-body); }
.bot-send { background: var(--accent); border: none; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; padding: 8px 14px; cursor: pointer; color: #fff; }
@media (max-width: 480px) { .bot.open { width: calc(100vw - 32px); right: 16px; } }
