/* Expericia marketing site — shared styles. Tokens from the approved Direction C homepage. */
:root {
  --ink: #0E1A14;        /* text, dark buttons */
  --ink-2: #0D1A13;      /* dark bands (hero, CTA, founder) */
  --ink-3: #15261C;      /* raised surfaces on dark */
  --paper: #FFFFFF;
  --mist: #F4F8F5;       /* light section background */
  --mist-2: #E9F0EB;     /* image placeholder fill */
  --line: #E4ECE6;
  --muted: #566A5F;      /* captions, labels */
  --body: #3F4D46;       /* paragraph text */
  --accent: #30A338;     /* brand green, sampled from the logo mark: one accent per screen + primary button */
  --accent-d: #268A2E;
  --accent-soft: #E7F6E8;
  --on-dark: #FFFFFF;
  --on-dark-body: #C3D1C7;
  --on-dark-muted: #9FB3A7;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(14, 26, 20, 0.05);
  --shadow-2: 0 10px 30px rgba(14, 26, 20, 0.10);
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-d); }
h1, h2, h3, h4 { letter-spacing: -0.03em; line-height: 1.05; font-weight: 800; }
h3, h4 { letter-spacing: -0.02em; }
p { color: var(--body); }
strong { font-weight: 700; color: var(--ink); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.svgicon { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); }
.brand .logo { height: 36px; width: auto; display: block; }   /* lockup is 5.1:1, so about 185px wide */
.footer-grid .brand .logo { height: 30px; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-d); border-bottom-color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-links .mobile-only { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; font-weight: 700; font-size: 15px; transition: background .15s, color .15s, box-shadow .15s, transform .15s; cursor: pointer; border: 1px solid transparent; font-family: var(--font); line-height: 1; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-d); color: #fff; box-shadow: var(--shadow-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1a2a21; color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { color: var(--ink); box-shadow: var(--shadow-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--mist); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.link { font-weight: 700; color: var(--ink); }
.link:hover { color: var(--accent-d); }

/* ---------- Kicker, pills, placeholders ---------- */
.kicker { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px; }
.on-dark .kicker { color: var(--accent); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--body); background: #fff; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.on-dark .pill { border-color: rgba(255,255,255,.18); color: #DDE8E0; background: transparent; }
.placeholder { display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; background: var(--mist-2); border: 1px dashed #AEB9B2; border-radius: var(--radius); color: var(--muted); font-size: 14px; line-height: 1.5; }
.placeholder.dark { background: var(--ink-3); border-color: rgba(255,255,255,.35); color: var(--on-dark-muted); }
.placeholder.sm { border-radius: 14px; font-size: 13px; padding: 16px; }
.placeholder.flat { border-radius: 0; }
.photo { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--mist-2); }
.photo.sm { border-radius: 14px; }
.ratio-16-9 { aspect-ratio: 16 / 9; } .ratio-21-9 { aspect-ratio: 21 / 9; } .ratio-16-10 { aspect-ratio: 16 / 10; } .ratio-5-4 { aspect-ratio: 5 / 4; } .ratio-4-3 { aspect-ratio: 4 / 3; } .ratio-4-5 { aspect-ratio: 4 / 5; } .ratio-1-1 { aspect-ratio: 1 / 1; }

/* ---------- Homepage hero ---------- */
.hero-light { background: var(--paper); color: var(--ink); padding: 40px 0 64px; }
.hero-light p { color: var(--body); }
.hero-light .stat span { color: var(--muted); }
.hero-dark { background: var(--ink-2); color: var(--on-dark); padding: 88px 0 80px; }   /* kept for optional use */
.hero-dark p { color: var(--on-dark-body); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero-copy h1 { font-size: clamp(42px, 5.4vw, 74px); line-height: 1.02; letter-spacing: -0.035em; max-width: 14ch; }
.hero-copy h1 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.hero-copy .lead { font-size: 19px; max-width: 560px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { min-width: 0; }
.hero-photo { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.stats { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-top: 8px; }
.stat { display: flex; flex-direction: column; }
.stat b { font-weight: 800; font-size: 28px; letter-spacing: -0.02em; color: var(--accent); line-height: 1.1; }
.stat span { font-size: 14px; color: var(--on-dark-muted); }

/* ---------- Light page hero (inner pages) ---------- */
.hero-lite { padding: 72px 0 56px; border-bottom: 1px solid var(--line); background: var(--paper); }
.hero-lite .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.hero-lite .crumbs a { color: var(--muted); }
.hero-lite .crumbs a:hover { color: var(--accent-d); }
.hero-lite h1 { font-size: clamp(36px, 4.4vw, 60px); max-width: 18ch; margin-bottom: 18px; }
.hero-lite .lead { font-size: 19px; max-width: 640px; }
.hero-lite .hero-actions { margin-top: 28px; }
.hero-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }

/* ---------- Logo strip ---------- */
.trust { background: var(--mist); border-bottom: 1px solid var(--line); padding: 20px 0; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.trust-inner .label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-box { min-height: 40px; padding: 0 18px; display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 700; font-size: 17px; }
.logo-box.ph { background: transparent; border-style: dashed; border-color: #AEB9B2; font-size: 13px; font-weight: 500; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }
.section-head h2 { font-size: clamp(32px, 3.6vw, 50px); margin-bottom: 14px; }
.section-head p { font-size: 17px; }
.section-head .kicker { margin-bottom: 12px; }
.row-head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.row-head h2 { font-size: clamp(32px, 3.6vw, 50px); }
.row-head > div { max-width: 640px; }

/* ---------- Grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card.white { background: #fff; }
.card .icon { color: var(--ink); }
.card .icon .svgicon { width: 28px; height: 28px; }
.card h3 { font-size: 22px; }
.card p { font-size: 16px; }
.card .meta { margin-top: auto; font-size: 13px; color: var(--muted); font-weight: 600; }
.card-img { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-img .placeholder { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.card-img .photo { border-radius: 0; }
.card-img .body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-img h3 { font-size: 22px; }
.card-img .body p { font-size: 16px; }
.card-img .meta { margin-top: auto; font-size: 13px; color: var(--muted); font-weight: 600; }
.card-img .body .btn, .card .btn { align-self: flex-start; }
.platforms { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; align-items: center; padding-top: 32px; font-size: 14px; color: var(--muted); }
.platforms .label { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }

/* ---------- Split (photo + copy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .copy { display: flex; flex-direction: column; gap: 20px; }
.split .copy h2 { font-size: clamp(32px, 3.6vw, 50px); }
.split.tall, .hero-split.tall { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: stretch; }
.hero-split.tall { grid-template-columns: 1fr 0.9fr; }
.hero-split.tall > div { align-self: center; }
.split.tall picture, .hero-split.tall picture { display: block; height: 100%; }
.split.tall .photo, .hero-split.tall .photo { height: 100%; aspect-ratio: auto; min-height: 560px; }
.hero-actions.equal .btn { min-width: 232px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .tick { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--accent-d); }
.check-list .tick .svgicon { width: 14px; height: 14px; }
.check-list li span.text { color: var(--body); }
.note { padding: 14px 18px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-size: 15px; }
.on-dark .note { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Work tiles ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.work-tile .placeholder { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.work-tile .body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.work-tile .cat { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.work-tile h3 { font-size: 26px; }
.work-tile h3 a:hover { color: var(--accent-d); }
.metrics { display: flex; flex-wrap: wrap; gap: 24px 32px; padding-top: 12px; border-top: 1px solid var(--line); }
.metric { display: flex; flex-direction: column; }
.metric b { font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--accent); line-height: 1.1; }
.metric span { font-size: 13px; color: var(--muted); }
.metric.plain b { color: var(--ink); }
.center-note { text-align: center; font-size: 15px; color: var(--muted); margin-top: 28px; }

/* ---------- Feature panel (founder) and CTA band: light surfaces ---------- */
.panel-dark { background: var(--mist); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }   /* light since 17 Oct: no dark blocks */
.panel-dark p { color: var(--body); }
.panel-dark .btn-white { background: var(--accent); color: #fff; }
.panel-dark .btn-white:hover { background: var(--accent-d); color: #fff; }
.panel-dark blockquote { font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -0.025em; color: var(--ink); }
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.founder.right { grid-template-columns: 1fr 300px; }
.founder.right > picture { order: 2; }
.founder.right > div { order: 1; }
.founder .who b { display: block; font-size: 18px; color: var(--ink); }
.founder .who span { font-size: 14px; color: var(--muted); }
.career { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: 14px; color: var(--body); }
.career li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: baseline; }
.career b { color: var(--accent-d); font-variant-numeric: tabular-nums; font-size: 13px; letter-spacing: 0.04em; }
.arrow-list { list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--body); font-size: 16px; }
.arrow-list li { display: flex; gap: 10px; }
.arrow-list li::before { content: "\2192"; color: var(--accent); }
.team-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.cta-band { background: var(--accent-soft); color: var(--ink); border: 1px solid #CFE8D2; border-radius: var(--radius); padding: 72px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-band h2 { font-size: clamp(34px, 4vw, 56px); max-width: 16ch; }
.cta-band p { color: var(--body); font-size: 18px; max-width: 560px; }
.cta-band .btn-outline-light { color: var(--ink); border-color: var(--ink); }
.cta-band .btn-outline-light:hover { background: rgba(14, 26, 20, 0.06); color: var(--ink); }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--ink); padding: 14px 16px; }
.compare tbody th { font-weight: 700; color: var(--ink); padding-left: 0; }
.compare td { color: var(--body); }
.compare .us { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.compare thead th.us { border-bottom: 2px solid var(--accent); color: var(--ink); }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.step .num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; }
.step h3 { font-size: 20px; }
.step p { font-size: 15px; }
.dl-rows { display: flex; flex-direction: column; }
.dl-rows > div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.dl-rows > div:last-child { border-bottom: 1px solid var(--line); }
.dl-rows dt { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-top: 4px; }
.dl-rows dd b { display: block; font-size: 18px; font-weight: 700; color: var(--ink); }
.dl-rows dd span { color: var(--body); font-size: 15px; }

/* ---------- Prose (case studies, posts, legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin: 40px 0 14px; }
.prose h3 { font-size: 22px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--body); font-size: 17px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent-d); text-decoration: underline; text-underline-offset: 3px; }
.prose .ph-wrap { margin: 28px 0; }
.aside { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.aside h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.aside dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.aside dt { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.aside dd { color: var(--ink); font-weight: 600; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.legal-meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
.legal .prose { max-width: 760px; }
.legal .prose h2 { font-size: 26px; margin: 0 0 12px; }
.legal-section { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.legal-section:first-child { border-top: 0; padding-top: 0; }
.legal .prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; background: var(--mist); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.legal-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.legal-toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.legal-toc h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.legal-toc ol { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 2px; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--body); text-decoration: none; line-height: 1.35; }
.legal-toc a:before { content: counter(toc, decimal-leading-zero); font-size: 12px; font-weight: 700; color: var(--accent-d); min-width: 20px; padding-top: 1px; }
.legal-toc a:hover { color: var(--ink); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-1); }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label { font-weight: 600; font-size: 14px; }
.form-row input, .form-row select, .form-row textarea { font-family: var(--font); font-size: 16px; padding: 12px 14px; border: 1px solid #CBD5CF; border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form-row textarea { min-height: 140px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.alert { border-radius: 12px; padding: 16px 18px; margin-bottom: 22px; font-size: 15px; }
.alert.ok { background: var(--accent-soft); color: #0F5A1E; border: 1px solid #BFE8C8; }
.alert.err { background: #FDECEC; color: #8A1C1C; border: 1px solid #F3BDBD; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.contact-card { display: flex; flex-direction: column; gap: 18px; }
.contact-card .item { display: flex; gap: 14px; align-items: flex-start; }
.contact-card .ic { color: var(--accent-d); flex: 0 0 auto; }
.contact-card .ic .svgicon { width: 22px; height: 22px; }
.contact-card b { display: block; font-size: 15px; }
.contact-card span, .contact-card a { font-size: 15px; color: var(--body); }
.office { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.office .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-d); }
.office b { font-size: 18px; }
.office span { color: var(--body); font-size: 15px; }

/* ---------- Posts list ---------- */
.post-list { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.post-list li { display: grid; grid-template-columns: 160px 1fr; gap: 16px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.post-list time { font-size: 14px; color: var(--muted); padding-top: 4px; }
.post-list h3 { font-size: 22px; margin-bottom: 6px; }
.post-list p { font-size: 15px; }
.post-list .tags { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.post-lead { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; }
.post-lead .photo { border-radius: 0; height: 100%; }
.post-lead .body { padding: 28px 36px 28px 0; display: flex; flex-direction: column; gap: 12px; }
.post-lead h2 { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -0.02em; }
.post-lead p { color: var(--body); font-size: 17px; }
.post-lead:hover h2 { color: var(--accent-d); }
.post-meta { font-size: 13px; color: var(--muted); }
.post-meta.big { font-size: 15px; margin-top: 18px; }
.post-meta strong { color: var(--ink); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card .media { display: block; }
.post-card .photo { border-radius: 0; }
.post-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card .cat { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-d); }
.post-card h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-d); }
.post-card p { font-size: 14.5px; color: var(--body); flex: 1; }
.post-cover { border-radius: var(--radius); }
.post-body h2 { font-size: 28px; margin: 40px 0 12px; }
.post-body h3 { font-size: 22px; margin: 30px 0 10px; }
.post-body h4 { font-size: 18px; margin: 24px 0 8px; }
.post-body p, .post-body li { font-size: 17.5px; line-height: 1.65; }
.post-body blockquote { border-left: 4px solid var(--accent); padding: 6px 0 6px 20px; margin: 24px 0; color: var(--ink); font-size: 19px; font-weight: 600; }
.post-body figure { margin: 28px 0; }
.post-body figure img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.post-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; display: block; overflow-x: auto; }
.post-body th, .post-body td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.post-body th { background: var(--mist); font-weight: 700; }
.post-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; background: var(--mist); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.post-body pre { background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; overflow-x: auto; margin: 24px 0; }
.post-body pre code { background: none; border: 0; padding: 0; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.author-box { display: flex; gap: 16px; align-items: center; margin-top: 48px; padding: 20px; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); }
.author-box .initials { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; color: var(--accent-d); }
.author-box b { display: block; font-size: 16px; }
.author-box span { font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px 48px; }
.footer-grid p { font-size: 15px; max-width: 320px; margin-top: 12px; }
.footer-grid .loc { font-size: 14px; color: var(--muted); margin-top: 10px; }
.footer-grid h4 { font-size: 15px; margin-bottom: 12px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid ul a { font-size: 15px; color: var(--body); }
.footer-grid ul a:hover { color: var(--accent-d); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.footer-bottom a { color: var(--muted); }

/* ---------- Motion (progressive enhancement; see assets/site.js) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.hero-photo { box-shadow: var(--shadow-2); }
.hero-media { overflow: visible; transition: transform .1s linear; }
/* Staged entrance on load: headline block rises line by line, the photo settles from a slight zoom. */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
/* Only the headline (word-by-word, below) and the photo (settle) move on load; badge, paragraph, buttons and stats are static. */
.js .hero-light .hero-photo { opacity: 0; animation: settle 1.3s cubic-bezier(.2,.7,.2,1) .15s forwards; }
/* Headline: words start as ghosts and light up in sequence; the green phrase sweeps in left to right. */
.h1-ready .w { display: inline-block; color: rgba(14, 26, 20, 0.16); transform: translateY(8px); transition: color .5s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.h1-ready .w.lit { color: inherit; transform: none; }
.h1-ready em.sweep { position: relative; display: inline-block; color: rgba(14, 26, 20, 0.16); transform: translateY(8px); transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.h1-ready em.sweep::after { content: attr(data-text); position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--accent); opacity: 0; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.2,.7,.2,1); }
.h1-ready em.sweep.lit { transform: none; }
.h1-ready em.sweep.lit::after { opacity: 1; clip-path: inset(0 0 0 0); }
/* Scroll-lit statements: words brighten with scroll position (see site.js). */
.scrub-ready .w { color: rgba(14, 26, 20, 0.22); transition: color .35s ease; }
.scrub-ready .w.lit { color: inherit; }

/* ---------- Floating WhatsApp button + social links ---------- */
.wa-fab { position: fixed; right: max(20px, calc((100vw - var(--maxw)) / 2 + 32px)); bottom: 24px; z-index: 60; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; padding: 0; border-radius: 50%; background: #25D366; color: #06321A; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); transition: transform .15s, box-shadow .15s, background .15s; }
.wa-fab:hover { background: #1FC45B; color: #06321A; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22); }
.wa-fab .svgicon { width: 26px; height: 26px; }
.wa-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--body); text-decoration: none; }
.social a:hover { border-color: var(--accent); color: var(--accent-d); }
.social .svgicon { width: 18px; height: 18px; }
.nav { transition: box-shadow .25s ease; }
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(14, 26, 20, 0.08); }
.btn { transition: background .15s, color .15s, box-shadow .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.card, .card-img, .work-tile { transition: transform .25s ease, box-shadow .25s ease; }
.card-img:hover, .work-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card-img:hover, .work-tile:hover { transform: none; }
  .hero-media { transition: none; }
  .js .hero-light .hero-photo { opacity: 1; animation: none; }
  .scrub-ready .w { color: inherit; transition: none; }
}

/* ---------- Responsive ---------- */

/* --- Content-phase components (17 Oct 2026) --- */
.logo-box.img { padding: 0 14px; }
.logo-box.img img { height: 26px; width: auto; display: block; }
.logo-box.dark { background: #fff; }   /* kept for compatibility; logos are now dark-on-light */
.logo-box.tall img { height: 40px; }   /* stacked logos (mark above wordmark) need more height to read */
.logo-box.tall { padding-top: 5px; padding-bottom: 5px; }
.split-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 18px; }
.split-strip div { background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.split-strip b { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-d); }
.split-strip span { font-size: 14px; color: var(--body); line-height: 1.45; }
.practices-row { margin-top: 20px; }
.practice { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.practice b { font-size: 17px; }
.practice span { font-size: 14px; color: var(--muted); }
.practice:hover { border-color: var(--accent); transform: translateY(-2px); }
.platforms a { color: var(--ink); font-weight: 600; text-decoration: none; }
.platforms a:hover { color: var(--accent-d); }
.facts-bar { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.facts-bar div { display: flex; flex-direction: column; gap: 2px; }
.facts-bar b { font-size: 17px; }
.facts-bar span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.cs-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 16px; }
.cs-table th, .cs-table td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cs-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.cs-table td:first-child { color: var(--muted); width: 42%; padding-right: 24px; }
.check-list.compact { margin: 4px 0 24px; gap: 10px; }
.check-list.compact .text { font-size: 16px; }
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 8px 0 24px; }
.outcome { background: var(--accent-soft); border-radius: 14px; padding: 18px; }
.outcome b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--accent-d); line-height: 1.1; }
.outcome span { font-size: 14px; color: var(--ink-2); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: none; font-family: inherit; }
.chip.is-active, .chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.platform-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.platform-card { scroll-margin-top: 90px; gap: 12px; }
.platform-card h3 { font-size: 22px; }
.platform-card .meta { font-size: 14px; color: var(--muted); }
.arrow-list.dark { color: var(--body); font-size: 15px; }
.case-link { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); color: inherit; text-decoration: none; transition: border-color .2s ease; }
.case-link .cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.case-link b { font-size: 15px; line-height: 1.35; }
.case-link .result { font-size: 13px; color: var(--accent-d); font-weight: 700; }
.case-link:hover { border-color: var(--accent); }
.work-tile .body .link { margin-top: auto; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin-top: 10px; color: var(--body); max-width: 760px; }
.gate-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.gate-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; color: var(--body); }
.gate-list li .tick { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--accent-d); }
.gate-list li .tick .svgicon { width: 12px; height: 12px; }
.pipeline { width: 100%; height: auto; display: block; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tool { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.tool b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-d); margin-bottom: 8px; }
.tool span { display: block; font-size: 15px; color: var(--body); line-height: 1.5; }

.pipeline-flow { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: pf; }
.pipeline-flow li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px 18px; display: flex; flex-direction: column; gap: 8px; counter-increment: pf; }
.pipeline-flow li::before { content: counter(pf); font-size: 12px; font-weight: 800; color: var(--accent-d); letter-spacing: 0.06em; }
.pipeline-flow li::after { content: "\2192"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 18px; background: var(--mist); line-height: 1; }
.pipeline-flow li:last-child::after { content: none; }
.pipeline-flow li.accent { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pipeline-flow b { font-size: 16px; }
.pipeline-flow span { font-size: 13.5px; color: var(--body); line-height: 1.45; }
.card-link { text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card-link .big { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--accent); line-height: 1.1; }
.num-list { list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: nl; margin-top: 8px; }
.num-list li { display: flex; gap: 14px; color: var(--body); font-size: 16px; counter-increment: nl; }
.num-list li::before { content: counter(nl); flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-d); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.num-list b { color: var(--ink); }

.hero-light .stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 28px; }
.hero-light .stat b { font-size: 26px; }
.hero-light .stat span { font-size: 13px; }
.trust-inner { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.trust-inner .logos { gap: 8px; justify-content: center; }
.trust-inner .logo-box { min-height: 38px; font-size: 16px; }
.trust-inner .logo-box.img img { height: 22px; }
.trust-inner .logo-box.tall img { height: 36px; }


/* --- Mega menu (17 Oct 2026) --- */
.nav-links li { position: static; }
.nav-links .has-panel { display: inline-flex; align-items: center; gap: 2px; }
.panel-toggle { background: none; border: 0; color: var(--muted); width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 6px; transition: transform .2s ease, color .2s ease; }
.has-panel.open > .panel-toggle, .has-panel:hover > .panel-toggle { transform: rotate(180deg); color: var(--accent-d); }
.panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(14,26,20,.10); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; z-index: 60; }
.has-panel.open > .panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-panel.compact { position: relative; }
.has-panel.compact .panel { left: -16px; right: auto; width: 340px; border: 1px solid var(--line); border-radius: 14px; }
.has-panel.compact .panel-inner { display: flex; flex-direction: column; padding: 10px; gap: 0; }
.has-panel.compact .panel-col a { padding: 10px 12px; border-radius: 10px; }
.lead-card { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: start; }
.lead-card .photo, .lead-card .initials { width: 112px; aspect-ratio: 4 / 5; border-radius: 12px; object-fit: cover; }
.lead-card .initials { display: grid; place-items: center; background: var(--mist-2); color: var(--accent-d); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; border: 1px solid var(--line); }
.lead-card h3 { font-size: 20px; margin: 2px 0 4px; }
.lead-card .role { font-size: 13px; font-weight: 700; color: var(--accent-d); letter-spacing: 0.06em; text-transform: uppercase; }
.lead-card p { font-size: 15px; margin-top: 8px; }
.lead-card .yrs { font-size: 13px; color: var(--muted); }
@media (hover: hover) and (min-width: 1025px) {
  .has-panel:hover > .panel, .has-panel:focus-within > .panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.panel-inner { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 32px; padding: 28px 32px 32px; }
.panel-col h4 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.nav-links .panel a { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; border-bottom: 0; font-weight: 500; font-size: 15px; }
.nav-links .panel a:hover { background: var(--mist); border-bottom: 0; color: inherit; }
.panel-col a b { font-size: 15px; color: var(--ink); display: flex; gap: 8px; align-items: center; font-weight: 700; }
.panel-col a b em { font-style: normal; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-d); background: var(--accent-soft); padding: 2px 6px; border-radius: 999px; }
.panel-col a span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.nav-links .panel a.panel-all { font-weight: 700; color: var(--accent-d); margin-top: 6px; }
.panel-feature { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; align-self: start; }
.panel-feature b { font-size: 18px; line-height: 1.3; }
.panel-feature p { font-size: 14px; color: var(--body); }
.panel-feature .kicker { margin: 0; }
.nav-links .panel .btn { display: inline-flex; margin: 0; padding: 10px 16px; align-self: flex-start; border-radius: 8px; }
.nav-links .panel .btn-primary { color: #fff; }

/* --- Scroll effects (17 Oct 2026): band zoom-reveal, scrollytelling stage, photo wipe --- */
.band { padding: 0; --p: 1; }
.band-media { position: relative; height: clamp(380px, 62vh, 660px); overflow: hidden; clip-path: inset(calc((1 - var(--p)) * 6%) round calc((1 - var(--p)) * 24px)); }
.band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.12 - .12 * var(--p))); }
.band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,26,20,0) 35%, rgba(14,26,20,.78)); }
.band-copy { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 56px; color: #fff; z-index: 1; opacity: clamp(0, calc((var(--p) - .45) * 2.2), 1); transform: translateY(calc((1 - var(--p)) * 28px)); }
.band-copy .kicker { color: #9FE3A5; }
.band-copy h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); max-width: 760px; letter-spacing: -0.02em; }
.band-copy p { color: rgba(255,255,255,.84); max-width: 640px; margin-top: 12px; font-size: 18px; }
.band-copy .link { color: #fff; margin-top: 18px; display: inline-block; }
.band-split { background: var(--mist); padding: 80px 0; }
.band-split .band-copy { color: var(--ink); }
.band-split .band-copy .kicker { color: var(--accent-d); }
.band-split .band-copy h2 { color: var(--ink); }
.band-split .band-copy p { color: var(--body); }
.band-split .band-copy .link { color: var(--ink); }
.band-split .band-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.band-split .band-copy { position: static; padding: 0; transform: translateY(calc((1 - var(--p)) * 20px)); }
.band-split .band-copy h2 { font-size: clamp(28px, 3.4vw, 42px); }
.band-split .band-media { height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius); clip-path: inset(calc((1 - var(--p)) * 10%) round var(--radius)); }
.band-split .band-media::after { display: none; }
.scrolly-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.scrolly-media { position: sticky; top: 96px; }
.scrolly-stage { position: relative; aspect-ratio: 4 / 5; max-height: calc(100vh - 140px); border-radius: var(--radius); overflow: hidden; background: var(--mist-2); }
.scrolly-stage picture { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity .7s ease, transform 1.4s ease; }
.scrolly-stage picture img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.scrolly-stage picture.is-active { opacity: 1; transform: none; }
.scrolly-stage .stage-label { position: absolute; left: 20px; bottom: 18px; z-index: 1; background: rgba(255,255,255,.92); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.scrolly-steps { display: flex; flex-direction: column; }
.scrolly-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .32; transition: opacity .45s ease; }
.scrolly-step.is-active { opacity: 1; }
.scrolly-step .num { font-size: 16px; font-weight: 700; color: var(--accent-d); letter-spacing: 0.1em; }
.scrolly-step h3 { font-size: clamp(36px, 3.8vw, 54px); letter-spacing: -0.03em; line-height: 1.06; }
.scrolly-step p { font-size: 22px; line-height: 1.5; max-width: 600px; }
.js picture.wipe { position: relative; display: block; overflow: hidden; border-radius: var(--r, 18px); }
.js picture.wipe img { transform: scale(1.06); transition: transform 1.3s ease; }
.js picture.wipe::after { content: ""; position: absolute; inset: -1px; background: linear-gradient(180deg, #E4ECE6, #F4F8F5); transform: translateY(0); transition: transform .9s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.js picture.wipe.is-visible img { transform: none; }
.js picture.wipe.is-visible::after { transform: translateY(-101%); }
.js picture.wipe.sm { --r: 14px; }
.js .card-img picture.wipe { --r: 0px; }
.js .split .photo-wrap { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .band { --p: 1 !important; }
  .band-copy, .band-media, .band-media img { transition: none !important; }
  .scrolly-stage picture { transition: none; }
  .scrolly-step { opacity: 1; }
  .js picture.wipe::after { display: none; }
  .js picture.wipe img { transform: none; }
}

.arch { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 20px; align-items: stretch; }
.arch-col { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.arch-col.core { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.arch-col h3 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.arch-col.core h3 { color: var(--accent-d); }
.arch-item { display: block; background: var(--mist); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.arch-col.core .arch-item { background: #fff; }
.arch-col:not(:last-child)::after { content: "\21C4"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 18px; background: var(--bg, #fff); line-height: 1; z-index: 1; }
.offers-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.offer-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.offer-card.accent { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.offer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.offer-card .kicker { margin: 0; }
.offer-card b { font-size: 20px; }
.offer-card > span:last-child { font-size: 15px; color: var(--body); }

.big-num { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--accent); line-height: 1.1; }

.tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tech-layer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.tech-layer h2 { font-size: 22px; margin-bottom: 4px; }
.tech-layer > p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.tech-layer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tech-layer li a, .tech-layer li span { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--mist); font-size: 14px; font-weight: 600; color: var(--ink); }
.tech-layer li a { text-decoration: none; }
.tech-layer li a:hover { border-color: var(--accent); color: var(--accent-d); }

@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .split.tall, .hero-split.tall { grid-template-columns: 1fr; gap: 40px; }
  .split.tall picture, .hero-split.tall picture { height: auto; }
  .split.tall .photo, .hero-split.tall .photo { height: auto; aspect-ratio: 4 / 3; min-height: 0; object-position: 50% 30%; }
  .hero-actions.equal .btn { min-width: 0; flex: 1 1 auto; }
  .steps, .grid-4, .team-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder .placeholder { max-width: 320px; }
  .two-col { grid-template-columns: 1fr; }
  .legal-side { position: static; }
  .legal-toc { display: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 32px 16px; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .mobile-only { display: block; }
  .nav-links .mobile-only a { display: inline-flex; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta .btn { display: none; }
  .nav-links .has-panel { display: flex; flex-wrap: wrap; align-items: center; }
  .nav-links .has-panel > a { flex: 1; }
  .panel-toggle { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; }
  .panel { position: static; box-shadow: none; border: 0; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-panel.open > .panel { display: block; }
  .panel-inner { grid-auto-flow: row; grid-template-columns: 1fr; gap: 6px; padding: 4px 0 12px; }
  .has-panel.compact .panel { width: auto; border: 0; border-radius: 0; left: 0; }
  .has-panel.compact .panel-inner { padding: 4px 0 12px; }
  .lead-card { grid-template-columns: 88px 1fr; gap: 14px; }
  .lead-card .photo, .lead-card .initials { width: 88px; }
  .panel-feature { display: none; }
  .nav-links .panel a { border-bottom: 0; padding: 8px 10px; }
  .panel-col a span { display: none; }
  .scrolly-grid { grid-template-columns: 1fr; gap: 24px; }
  .scrolly-media { top: 72px; z-index: 2; }
  .scrolly-stage { aspect-ratio: 16 / 10; max-height: none; }
  .scrolly-step h3 { font-size: 30px; }
  .scrolly-step p { font-size: 17px; }
  .scrolly-step { min-height: 48vh; }
  .band-media { height: clamp(300px, 50vh, 480px); }
  .band-split { padding: 56px 0; }
  .band-split .band-grid { grid-template-columns: 1fr; gap: 28px; }
  .band-split .band-media { height: auto; }
  .grid-3, .grid-2, .work-grid, .contact-grid, .form-grid, .split-strip, .outcomes, .gate-list, .arch, .offers-row { grid-template-columns: 1fr; }
  .arch-col:not(:last-child)::after { content: none; }
  .tool-grid, .pipeline-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline-flow li::after { content: none; }
  .section { padding: 64px 0; }
  .hero-dark { padding: 64px 0 56px; }
  .panel-dark { padding: 28px; }
  .cta-band { padding: 56px 24px; }
  .dl-rows > div { grid-template-columns: 1fr; gap: 6px; }
  .post-list li { grid-template-columns: 1fr; gap: 4px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-lead { grid-template-columns: 1fr; gap: 0; }
  .post-lead .body { padding: 20px; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .brand .logo { height: 28px; }
  .hero-light { padding: 28px 0 48px; }
  .wa-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; }
  .wa-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-fab .svgicon { width: 26px; height: 26px; }
  .steps, .grid-4, .team-strip, .footer-grid, .tool-grid, .pipeline-flow, .tech-grid { grid-template-columns: 1fr; }
  .cs-table td:first-child { width: 40%; }
  .hero-copy h1 { max-width: none; }
  .stats { gap: 12px 28px; }
  .hero-light .stats { grid-template-columns: repeat(2, auto); }
}
