/* ============================================================
   SoftSync-AI — "Quiet Authority" design system
   Instrument Serif (display) · Inter (body) · JetBrains Mono (data)
   Light editorial base · ink-navy bands · gold emphasis
   ============================================================ */

:root {
  /* palette — sourced from Clearer growth deck + LinkedIn banner 01 */
  --ink: #10203a;
  --ink-deep: #0b1626;
  --navy: #27577e;
  --navy-mid: #1a3a59;
  --navy-deepest: #0f2138;
  --steel: #3f93d1;
  --steel-soft: #9cc0d8;
  --steel-tint: #eaf3fa;
  --gold: #b8893f;
  --gold-bright: #d4a655;
  --gold-pale: #f7efe2;
  --paper: #fcfcfb;
  --paper-dim: #f4f6f8;
  --line: #e7eef5;
  --slate: #52647d;
  --slate-soft: #8694a8;
  --good: #2f9e74;
  --white: #ffffff;

  /* type */
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* fluid scale */
  --fs-hero: clamp(2.7rem, 6.2vw, 4.9rem);
  --fs-h2: clamp(2rem, 4.2vw, 3.2rem);
  --fs-h3: clamp(1.35rem, 2.2vw, 1.7rem);
  --fs-body: 1.05rem;
  --fs-small: 0.92rem;
  --fs-eyebrow: 0.74rem;

  --radius: 1em;
  --radius-pill: 100em;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(5rem, 11vw, 9.5rem);
  --max-w: 76rem;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--gold-pale); color: var(--ink); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }

/* gold italic emphasis — the signature move */
h1 em, h2 em, h3 em, .gold-em {
  font-style: italic;
  color: var(--gold);
  font-family: var(--serif);
}
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: var(--gold-bright); }

p { margin: 0 0 1.1em; }
.lead { font-size: 1.14rem; line-height: 1.7; color: var(--slate); max-width: 32em; }
.on-dark .lead { color: var(--steel-soft); }

/* mono eyebrow — section labels */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.75em;
  margin-bottom: 1.6em;
}
.eyebrow::before {
  content: "";
  width: 2.2em; height: 1px;
  background: var(--gold);
  flex: none;
}
.on-dark .eyebrow { color: var(--steel-soft); }

/* ---------- layout ---------- */
.wrap { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }
.section-dim { background: var(--paper-dim); }

.band {
  background:
    radial-gradient(60rem 38rem at 78% -10%, rgba(63,147,209,0.16), transparent 60%),
    radial-gradient(46rem 30rem at 8% 110%, rgba(184,137,63,0.10), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-deepest) 100%);
  color: var(--white);
}
.band.band-ink {
  background:
    radial-gradient(56rem 36rem at 75% -8%, rgba(63,147,209,0.14), transparent 60%),
    linear-gradient(165deg, #142844 0%, var(--ink-deep) 70%);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 56rem) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,252,251,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 2rem;
  max-width: var(--max-w); margin-inline: auto;
  padding: 0.85rem var(--gutter);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-weight: 700; font-size: 1.06rem;
  letter-spacing: -0.02em; text-decoration: none; color: var(--ink);
  margin-right: auto;
}
.nav-logo img { width: 2rem; height: 2rem; border-radius: 50%; }
.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--slate);
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-burger { display: none; }
@media (max-width: 56rem) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 0.5rem 0 1rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem var(--gutter); width: 100%; }
  .nav-burger {
    display: block; background: none; border: 0; cursor: pointer;
    font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em;
    color: var(--ink); text-transform: uppercase; padding: 0.5rem;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  text-decoration: none; line-height: 1;
  padding: 0.95em 1.5em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -10px rgba(16,32,58,0.45); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-1px); box-shadow: 0 10px 28px -10px rgba(184,137,63,0.55); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: var(--white); background: rgba(255,255,255,0.06); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -10px rgba(0,0,0,0.35); }

/* circular arrow chip inside buttons */
.btn .chip {
  width: 1.7em; height: 1.7em; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.18);
  font-size: 0.9em;
  transition: transform 0.18s ease;
}
.btn-light .chip, .btn-paper .chip { background: var(--steel-tint); color: var(--navy); }
.btn:hover .chip { transform: translateX(3px); }

/* small-print anchor pricing line */
.anchor-line {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--slate-soft);
  margin-top: 1.1rem;
}
.on-dark .anchor-line { color: var(--steel-soft); opacity: 0.85; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-deepest) 100%);
}
.hero-video {
  position: absolute; inset: -6% 0;
  width: 100%; height: 112%;
  object-fit: cover;
  opacity: 0.6;
  filter: saturate(0.7) brightness(0.85);
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(70rem 44rem at 70% -20%, rgba(63,147,209,0.18), transparent 62%),
    linear-gradient(160deg, rgba(16,32,58,0.72) 0%, rgba(15,33,56,0.45) 50%, rgba(11,22,38,0.8) 100%);
}
.hero-inner {
  position: relative;
  max-width: var(--max-w); margin-inline: auto;
  padding: clamp(5.5rem, 12vw, 9.5rem) var(--gutter) clamp(4rem, 9vw, 7rem);
}
.hero h1 { max-width: 11em; min-height: 2.1em; }
.hero .lead { margin-top: 1.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; align-items: center; }

/* mono stat row */
.stat-row {
  display: flex; flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.8rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.stat { font-family: var(--mono); }
.stat b {
  display: block; font-size: 1.5rem; font-weight: 600;
  color: var(--white); letter-spacing: -0.02em;
}
.stat span {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--steel-soft);
}
.stat-row-light { border-top-color: var(--line); }
.stat-row-light .stat b { color: var(--ink); }
.stat-row-light .stat span { color: var(--slate-soft); }

/* ---------- marquee ---------- */
.marquee-strip {
  border-block: 1px solid var(--line);
  background: var(--white);
  display: flex; align-items: center;
  overflow: hidden;
}
.marquee-label {
  flex: none;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--slate-soft);
  padding: 1.2rem var(--gutter);
  border-right: 1px solid var(--line);
  background: var(--white);
  z-index: 2;
}
.marquee {
  flex: 1; overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; gap: 3.5rem;
  padding-inline: 1.75rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--serif); font-size: 1.25rem; font-style: italic;
  color: var(--slate);
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.card-dark {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--white);
  backdrop-filter: blur(4px);
}
.card-dark h3 { color: var(--white); }
.card-dark p { color: var(--steel-soft); font-size: var(--fs-small); margin: 0; }
.card h3 { margin-top: 0.4em; }
.card p { color: var(--slate); font-size: var(--fs-small); }

/* numbered mono chip on cards */
.num {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; color: var(--gold);
}

/* case-study card */
.case-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px -18px rgba(16,32,58,0.25); }
.case-card .case-stat {
  font-family: var(--mono); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em;
  color: var(--navy);
  padding: 2rem 2rem 0;
}
.case-card .case-stat em { font-style: normal; color: var(--gold); }
.case-card h3 { padding: 0.3rem 2rem 0; font-size: 1.3rem; }
.case-card p { padding: 0 2rem; color: var(--slate); font-size: var(--fs-small); flex: 1; }
.case-card .case-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--slate-soft);
}

/* ---------- live demo band ---------- */
.demo-phone {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 600; letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.15em;
  white-space: nowrap;
}
.demo-phone:hover { color: var(--gold-bright); }
.demo-panel {
  background: rgba(11,22,38,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.6rem;
  font-family: var(--mono); font-size: 0.85rem; line-height: 1.8;
}
.demo-panel .t-ai { color: var(--steel-soft); }
.demo-panel .t-caller { color: var(--white); }
.demo-panel .t-event {
  color: var(--gold-bright);
  border-left: 2px solid var(--gold);
  padding-left: 0.8em; margin: 0.4em 0;
  display: block;
}

/* ---------- process steps ---------- */
.steps { counter-reset: step; }
.step {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .step-n {
  font-family: var(--mono); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; color: var(--gold);
  padding-top: 0.45rem;
}
.step h3 { margin-bottom: 0.25em; font-size: 1.45rem; }
.step p { color: var(--slate); margin: 0; max-width: 46em; }

/* ---------- founder ---------- */
.founder-img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  width: 100%;
  filter: saturate(0.92);
}

/* ---------- testimonials ---------- */
.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex; flex-direction: column; gap: 1.4rem;
}
.quote-card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--ink);
}
.quote-who { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; }
.quote-who img { width: 2.7rem; height: 2.7rem; border-radius: 50%; object-fit: cover; }
.quote-who b { display: block; font-size: 0.92rem; }
.quote-who span { font-size: 0.8rem; color: var(--slate-soft); font-family: var(--mono); }

/* ---------- FAQ ---------- */
.faq details {
  border-top: 1px solid var(--line);
  padding: 0.4rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono); font-size: 1.2rem; color: var(--gold);
  transition: transform 0.2s ease;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 1.2rem; color: var(--slate); max-width: 52em; }

/* ---------- footer ---------- */
.footer {
  background: var(--ink-deep);
  color: var(--steel-soft);
  padding: var(--section-pad) 0 2.5rem;
  font-size: var(--fs-small);
}
.footer a { color: var(--steel-soft); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 56rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--white); margin: 0 0 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-cta h3 { color: var(--white); font-size: 1.9rem; max-width: 9em; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 2rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em;
}

/* ---------- interactive layer (iteration 2) ---------- */

/* eyebrow line draws in */
.js .eyebrow::before { width: 0; transition: width 0.7s cubic-bezier(0.2, 0.65, 0.25, 1) 0.15s; }
.js .in .eyebrow::before, .js .eyebrow.in::before { width: 2.2em; }

/* cards: lift + gold underline draw */
.card, .card-dark { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px -20px rgba(16,32,58,0.3); border-color: var(--steel-soft); }
.card-dark:hover { transform: translateY(-5px); border-color: rgba(212,166,85,0.45); }
.card h3, .card-dark h3 { display: inline-block; background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 100%; transition: background-size 0.35s ease; padding-bottom: 3px; }
.card:hover h3, .card-dark:hover h3 { background-size: 100% 2px; }

/* capability cards with artwork */
.cap-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.cap-card .cap-art { aspect-ratio: 16/7; object-fit: cover; width: 100%; filter: saturate(0.95); transition: transform 0.45s ease; }
.cap-card:hover .cap-art { transform: scale(1.04); }
.cap-card .cap-body { padding: 1.6rem 1.8rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.cap-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto; padding-top: 1.1rem; }
.cap-tags span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); background: var(--steel-tint); border: 1px solid var(--line); border-radius: 100em; padding: 0.3em 0.85em; }

/* case-card cover art */
.case-card .case-art { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform 0.45s ease; }
.case-card:hover .case-art { transform: scale(1.04); }
.case-card { overflow: hidden; }

/* scroll-lit steps */
.js .step { transition: background 0.5s ease, border-color 0.5s ease; border-left: 2px solid transparent; padding-left: 0; }
.js .step.lit { border-left-color: var(--gold); padding-left: 1.2rem; }
.js .step.lit .step-n { color: var(--gold-bright); text-shadow: 0 0 14px rgba(212,166,85,0.45); }
.step .step-n, .js .step { transition: all 0.5s ease; }

/* marquee pause on hover */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* counter glow while counting */
.stat b.counting { color: var(--gold-bright); }
.stat-row-light .stat b.counting { color: var(--gold); }

/* mobile sticky CTA bar */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(11,22,38,0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(212,166,85,0.35);
  padding: 0.65rem 0.9rem calc(0.65rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn { flex: 1; justify-content: center; font-size: 0.92rem; padding: 0.85em 1em; min-height: 44px; }
@media (max-width: 56rem) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 0; }
  #ss-chat-bubble { bottom: 5.2rem !important; }
  #ss-chat-panel { bottom: 5.2rem !important; }
}

/* ---------- chat demo (real conversation UI) ---------- */
.chat-demo {
  background: rgba(11,22,38,0.6);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  min-height: 24rem; max-height: 30rem;
  overflow-y: auto;
  scrollbar-width: thin;
}
.cd-row { display: flex; gap: 0.7rem; align-items: flex-end; animation: cdIn 0.3s ease; }
.cd-row.cd-caller { flex-direction: row-reverse; }
@keyframes cdIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cd-avatar { width: 2.1rem; height: 2.1rem; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid rgba(212,166,85,0.5); }
.cd-caller .cd-avatar { border-color: rgba(156,192,216,0.5); background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 0.8rem; color: var(--steel-soft); }
.cd-bubble {
  max-width: 78%;
  padding: 0.7rem 1rem;
  font-size: 0.92rem; line-height: 1.55;
  border-radius: 1rem 1rem 1rem 0.25rem;
  background: rgba(255,255,255,0.08);
  color: #eef3f9;
  border: 1px solid rgba(255,255,255,0.1);
}
.cd-caller .cd-bubble {
  border-radius: 1rem 1rem 0.25rem 1rem;
  background: rgba(63,147,209,0.22);
  border-color: rgba(63,147,209,0.3);
}
.cd-name { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-soft); margin: 0 0 0.25rem; }
.cd-event {
  align-self: center;
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em;
  color: var(--gold-bright);
  background: rgba(184,137,63,0.12);
  border: 1px solid rgba(212,166,85,0.4);
  border-radius: 0.6rem;
  padding: 0.5rem 1rem;
  animation: cdIn 0.3s ease;
}
.cd-event::before { content: "\2713"; font-weight: 700; }
.cd-typing { display: inline-flex; gap: 0.28rem; padding: 0.8rem 1rem; }
.cd-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--steel-soft); animation: cdTy 1.1s infinite; }
.cd-typing span:nth-child(2) { animation-delay: 0.15s; }
.cd-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes cdTy { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0);} 30% { opacity: 1; transform: translateY(-3px);} }

/* ---------- ICP band ---------- */
.icp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 56rem) { .icp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .icp-grid { grid-template-columns: 1fr; } }
.icp-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; background: var(--white); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.icp-card:hover { transform: translateY(-4px); border-color: var(--steel-soft); box-shadow: 0 16px 38px -18px rgba(16,32,58,0.25); }
.icp-card h3 { font-size: 1.22rem; margin: 0.6rem 0 0.5rem; }
.icp-card ul { list-style: none; margin: 0; padding: 0; }
.icp-card li { font-size: 0.88rem; color: var(--slate); padding: 0.32rem 0 0.32rem 1.2rem; position: relative; }
.icp-card li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 0.45em; height: 1px; background: var(--gold); }

/* page-hero art */
.page-hero-art { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: 0.32; }
.page-hero { position: relative; overflow: hidden; }
.page-hero-inner { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .card:hover, .card-dark:hover, .icp-card:hover, .case-card:hover { transform: none; }
  .cap-card:hover .cap-art, .case-card:hover .case-art { transform: none; }
  .cd-row, .cd-event { animation: none; }
}

/* ---------- reveal on scroll (JS-gated: no-JS visitors see everything) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* staggered hero load */
.hero .rise { opacity: 0; transform: translateY(18px); animation: rise 0.85s cubic-bezier(0.2, 0.65, 0.25, 1) forwards; }
.hero .rise:nth-child(1) { animation-delay: 0.08s; }
.hero .rise:nth-child(2) { animation-delay: 0.2s; }
.hero .rise:nth-child(3) { animation-delay: 0.34s; }
.hero .rise:nth-child(4) { animation-delay: 0.48s; }
.hero .rise:nth-child(5) { animation-delay: 0.66s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero .rise { animation: none; opacity: 1; transform: none; }
}

/* ---------- interior page hero (navy band) ---------- */
.page-hero {
  background:
    radial-gradient(50rem 30rem at 80% -20%, rgba(63,147,209,0.18), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-deepest) 100%);
  color: var(--white);
}
.page-hero-inner {
  max-width: var(--max-w); margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) clamp(3rem, 6vw, 4.5rem);
}
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 15em; }
.page-hero .lead { color: var(--steel-soft); }

/* breadcrumb */
.crumbs {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel-soft);
  margin-bottom: 1.6rem;
}
.crumbs a { color: var(--steel-soft); text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* ---------- article prose ---------- */
.article {
  max-width: 44em;
  margin-inline: auto;
  padding: var(--section-pad) var(--gutter);
}
.article h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 1.8em 0 0.6em;
}
.article h3 { margin: 1.6em 0 0.5em; }
.article p, .article li { color: #2c3c55; font-size: 1.04rem; }
.article ul, .article ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.article li { margin-bottom: 0.45em; }
.article blockquote {
  margin: 1.8em 0; padding: 0.4em 0 0.4em 1.4em;
  border-left: 3px solid var(--gold);
  font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; color: var(--ink);
}
.article table {
  width: 100%; border-collapse: collapse; margin: 1.6em 0;
  font-size: 0.95rem;
}
.article th, .article td {
  text-align: left; padding: 0.7em 0.9em;
  border-bottom: 1px solid var(--line);
}
.article th {
  font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--slate);
  background: var(--paper-dim);
}
.article img { border-radius: var(--radius); margin: 1.6em 0; }
.article .article-meta {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em;
  color: var(--slate-soft); text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.article a { color: var(--navy); text-decoration-color: var(--steel-soft); }
.article a:hover { color: var(--steel); }

/* inline CTA box inside articles/pages */
.cta-box {
  background: var(--steel-tint);
  border: 1px solid var(--steel-soft);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2.5em 0;
}
.cta-box h3 { margin-top: 0; }
.cta-box p { color: var(--slate); }

/* quiet line list (gold dash) */
.line-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.line-list li { padding: 0.38rem 0 0.38rem 1.3em; position: relative; color: var(--slate); }
.line-list li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 0.5em; height: 1px; background: var(--gold); }

/* pull quote (founder) */
.pull-quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4;
  color: var(--ink); border-left: 3px solid var(--gold);
  padding-left: 1.2em; margin: 1.8em 0;
  max-width: 22em;
}

/* checklist (vertical pages) */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li { padding-left: 1.7em; position: relative; margin-bottom: 0.6em; }
.check-list li::before {
  content: "\2713";
  position: absolute; left: 0;
  color: var(--good); font-weight: 700;
}

/* utility */
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before { display: none; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
