@font-face {
  font-family: 'Baloo';
  src: url(/assets/fonts/baloo.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Artifika';
  src: url(/assets/fonts/artifika.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Committed dark design: this page is the brand's world in both viewer themes */
:root, :root[data-theme="dark"], :root[data-theme="light"] {
  --bg: #0A0906;
  --bg-2: #12100B;
  --surface: #16130D;
  --line: rgba(245, 175, 8, 0.13);
  --line-soft: rgba(242, 237, 227, 0.09);
  --ink: #F2EDE3;
  --muted: #A89E8E;
  --faint: #7A7264;
  --orange: #f57303;
  --amber: #f5af08;
  --yellow: #f5e20b;
  --grad: linear-gradient(90deg, #f57303, #f5af08 55%, #f5e20b);
  --display: 'Baloo', 'Avenir Next', -apple-system, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16.5px; line-height: 1.7;
  overflow-x: hidden;
}
::selection { background: rgba(245, 175, 8, .35); }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---------- demo banner ---------- */
.demo-note {
  background: #1C1810; color: var(--muted); font-size: 12.5px;
  text-align: center; padding: 7px 16px; letter-spacing: .04em;
  border-bottom: 1px solid var(--line);
  position: relative; z-index: 40;
}
.demo-note b { color: var(--amber); font-weight: 600; }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(10, 9, 6, 0.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 34px; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-right: auto; text-decoration: none; }
.nav-logo img { height: 24px; width: auto; display: block; }
.nav-logo span { font-family: var(--display); font-size: 21px; color: var(--ink); line-height: 1; }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .18s; }
.nav-links a:hover { color: var(--ink); }

/* ---------- button (cascade letters + border feedback) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-size: 15.5px; letter-spacing: .03em;
  color: #140E02; text-decoration: none; cursor: pointer; border: none;
  background: linear-gradient(100deg, #f57303, #f5af08 60%, #f5c309);
  padding: 13px 27px; border-radius: 99px;
  position: relative; overflow: hidden; isolation: isolate;
  box-shadow: 0 4px 24px rgba(245, 143, 5, .28);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(245, 226, 11, .95), 0 8px 34px rgba(245, 143, 5, .5); }
.btn.small { padding: 9px 20px; font-size: 14px; }
.btn.big { padding: 15px 34px; font-size: 17px; }

/* cascade text: letters roll up one by one on hover */
.btn .cas { display: inline-flex; overflow: hidden; }
.btn .ch { position: relative; display: inline-block; overflow: hidden; }
.btn .ch i {
  display: inline-block; font-style: normal;
  transition: transform .33s cubic-bezier(.76, 0, .24, 1);
  transition-delay: calc(var(--i) * 25ms);
}
.btn .ch .dup { position: absolute; left: 0; top: 100%; }
.btn:hover .ch i, .btn:focus-visible .ch i { transform: translateY(-100%); }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap; position: relative;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2); padding: 15px 0; transform: rotate(-1.2deg) scale(1.02);
  margin: -10px 0 0;
}
.marquee .track {
  display: inline-block; animation: slide 80s linear infinite;
  font-family: var(--display); font-size: 15px; letter-spacing: .3em; color: var(--faint);
}
.marquee .track em { font-style: normal; color: var(--amber); padding: 0 18px; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ghost-link {
  color: var(--muted); text-decoration: none; font-size: 15px;
  border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .18s, border-color .18s;
}
.ghost-link:hover { color: var(--amber); border-color: var(--amber); }

/* ---------- main / footer reveal ---------- */
main { position: relative; z-index: 2; background: var(--bg); box-shadow: 0 48px 90px rgba(0,0,0,.75); margin-bottom: 560px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
#shader { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.hero-fallback {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(58% 65% at 72% 30%, rgba(245, 115, 3, .30), transparent 70%),
    radial-gradient(45% 55% at 22% 75%, rgba(245, 175, 8, .16), transparent 70%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(95deg, rgba(10,9,6,.88), rgba(10,9,6,.55) 46%, transparent 76%),
    linear-gradient(180deg, rgba(10,9,6,.4), transparent 30%, transparent 58%, var(--bg) 98%);
}
.hero-inner { position: relative; z-index: 3; padding: 110px 0 90px; max-width: 780px; }
.eyebrow {
  font-family: 'Artifika', serif; font-size: 14px; letter-spacing: .24em;
  color: var(--amber); margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(44px, 7vw, 76px); line-height: 1.06;
  margin: 0 0 22px; letter-spacing: .005em; text-wrap: balance;
  min-height: 2.1em;
}
.hero h1 .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rotator-grid {
  --rgc: clamp(4px, .58vw, 6.4px);
  display: inline-grid; grid-auto-rows: var(--rgc); gap: 2px;
  vertical-align: middle; transform: translateY(-.04em); margin: 0 .06em;
}
.rotator-grid i {
  width: var(--rgc); height: var(--rgc); border-radius: 1.5px;
  background: rgba(242, 237, 227, .07);
  transition: background .35s ease var(--d, 0s), box-shadow .35s ease var(--d, 0s);
}
.rotator-grid.lit i.on { background: var(--lc); box-shadow: 0 0 6px rgba(245, 175, 8, .4); }
.hero .sub { font-size: 18.5px; color: var(--muted); max-width: 34em; margin: 0 0 34px; }
.hero .cta-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 40px; }
.trust { font-size: 13.5px; color: var(--faint); letter-spacing: .06em; }
.trust b { color: var(--muted); font-weight: 600; }
.trust i { font-style: normal; color: var(--orange); padding: 0 8px; }

/* ---------- sections ---------- */
section { padding: 96px 0; position: relative; }
section.tint { background: var(--bg-2); }
.sec-eyebrow { font-family: 'Artifika', serif; font-size: 14px; letter-spacing: .22em; color: var(--orange); margin-bottom: 12px; }
h2 {
  font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.18; margin: 0 0 16px; letter-spacing: .005em; text-wrap: balance; max-width: 20em;
}
.sec-sub { color: var(--muted); font-size: 17px; max-width: 38em; margin: 0 0 48px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.pain-grid > .reveal:nth-child(2), .svc-grid > .reveal:nth-child(2), .case-grid > .reveal:nth-child(2), .stats > .reveal:nth-child(2), .proc-grid > .reveal:nth-child(2) { transition-delay: .14s; }
.pain-grid > .reveal:nth-child(3), .svc-grid > .reveal:nth-child(3), .case-grid > .reveal:nth-child(3), .stats > .reveal:nth-child(3), .proc-grid > .reveal:nth-child(3) { transition-delay: .28s; }
.stats > .reveal:nth-child(4), .proc-grid > .reveal:nth-child(4) { transition-delay: .42s; }

/* ---------- pain ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain {
  border: 1px solid var(--line-soft); border-radius: 16px; padding: 26px 26px 22px;
  background: var(--surface); font-size: 17px; line-height: 1.6;
}
.pain q { quotes: "\201C" "\201D"; color: var(--ink); }
.pain q::before, .pain q::after { color: var(--orange); font-family: var(--display); font-size: 1.3em; }
.pain small { display: block; margin-top: 14px; color: var(--faint); font-size: 13px; letter-spacing: .05em; }

/* ---------- services: frosted glass cards with photos ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
#services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(34% 38% at 16% 30%, rgba(245, 115, 3, .17), transparent 70%),
    radial-gradient(30% 40% at 85% 74%, rgba(245, 175, 8, .13), transparent 70%);
}
#services .container { position: relative; }
.svc {
  border: 1px solid rgba(242, 237, 227, .13); border-radius: 18px; padding: 24px 24px 28px;
  background: rgba(242, 237, 227, .05);
  backdrop-filter: blur(18px) saturate(1.15); -webkit-backdrop-filter: blur(18px) saturate(1.15);
  display: flex; flex-direction: column; gap: 0;
  transition: border-color .25s, transform .25s, background .25s; position: relative; overflow: hidden;
}
.svc:hover { border-color: rgba(245, 175, 8, .4); background: rgba(242, 237, 227, .075); transform: translateY(-4px); }
.svc-img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px;
  margin-bottom: 20px; display: block;
}
.svc .k { font-family: var(--display); font-size: 12.5px; letter-spacing: .26em; color: var(--faint); margin-bottom: 14px; }
.svc h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0 0 10px; color: var(--ink); line-height: 1.15;
  opacity: 0; transition: opacity .9s ease .35s; }
.svc.in h3 { opacity: 1; }
.svc p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.svc ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.svc ul li { display: flex; gap: 10px; align-items: baseline; color: var(--ink); }
.svc ul li::before { content: "▪"; color: var(--amber); font-size: 11px; }
.svc .more { margin-top: auto; font-size: 14px; color: var(--amber); text-decoration: none; letter-spacing: .04em; }
.svc .more:hover { text-decoration: underline; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat .n {
  font-family: var(--display); font-size: clamp(38px, 5vw, 56px); line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .l { font-size: 13.5px; color: var(--muted); letter-spacing: .06em; margin-top: 6px; }

/* ---------- clients logo strip ---------- */
.clients { margin-top: 64px; text-align: center; }
.clients-label { font-family: 'Artifika', serif; font-size: 13px; letter-spacing: .24em; color: var(--faint); margin-bottom: 28px; }
.clients-marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  padding: 6px 0;
}
.clients-track { display: flex; width: max-content; animation: clientslide 60s linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.cset { display: inline-flex; align-items: center; gap: 52px; padding-right: 52px; }
.lg {
  display: inline-block; background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: invert(1) grayscale(1) brightness(1.7);
  opacity: .78; transition: opacity .25s;
}
.lg:hover { opacity: 1; }
.lg-somo { background-image: url(/assets/img/client-somo.png); width: 48px; height: 64px; }
.lg-cognitus-asia { background-image: url(/assets/img/client-cognitus-asia.png); width: 78px; height: 64px; }
.lg-einv { background-image: url(/assets/img/client-einv.png); width: 128px; height: 44px; }
.lg-fm { background-image: url(/assets/img/client-fm.png); width: 68px; height: 64px; }
.lg-jm { background-image: url(/assets/img/client-jm.png); width: 140px; height: 54px; }
.lg-jr-consulting { background-image: url(/assets/img/client-jr-consulting.png); width: 64px; height: 64px; }
.lg-mc5 { background-image: url(/assets/img/client-mc5.png); width: 90px; height: 54px; }
.lg-mcm { background-image: url(/assets/img/client-mcm.png); width: 138px; height: 44px; }
.lg-integrated-medical-system { background-image: url(/assets/img/client-integrated-medical-system.png); width: 70px; height: 64px; }
.lg-como-lab { background-image: url(/assets/img/client-como-lab.png); width: 69px; height: 64px; }
.lg-xr-associates { background-image: url(/assets/img/client-xr-associates.png); width: 80px; height: 54px; }
@keyframes clientslide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- process: arrow step flow ---------- */
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 44px; }
.proc { position: relative; }
.flowline {
  position: absolute; left: 60px; right: -30px; top: 16px; height: 14px;
  pointer-events: none;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .7s cubic-bezier(.4, 0, .2, 1) .4s;
}
.proc.in .flowline { transform: scaleX(1); }
.flowline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(245, 175, 8, .55) 0 9px, transparent 9px 18px);
  animation: dashmarch 1.1s linear infinite;
}
@keyframes dashmarch { to { background-position: 18px 0; } }
.flowline::after {
  content: ""; position: absolute; top: 4px; left: -24px; width: 22px; height: 6px;
  border-radius: 3px; background: var(--yellow);
  box-shadow: 0 0 10px rgba(245, 226, 11, .5);
  opacity: 0;
  animation: pulsetravel 2.4s cubic-bezier(.35, .1, .65, .9) infinite .9s;
}
.proc:nth-child(2) .flowline::after { animation-delay: 1.7s; }
.proc:nth-child(3) .flowline::after { animation-delay: 2.5s; }
@keyframes pulsetravel {
  0% { left: -24px; opacity: 0; }
  10% { opacity: .95; }
  85% { opacity: .95; }
  100% { left: 100%; opacity: 0; }
}
.proc:not(:last-child)::before {
  content: ""; position: absolute; right: -38px; top: 16px; width: 0; height: 0;
  border-left: 10px solid rgba(245, 175, 8, .95);
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  opacity: 0; transition: opacity .35s ease 1.05s;
}
.proc.in:not(:last-child)::before { opacity: 1; }
.proc-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245, 175, 8, .35); color: var(--amber);
  background: rgba(245, 175, 8, .08);
  opacity: 0; transform: translateY(10px) scale(.85);
  transition: opacity .6s ease .25s, transform .6s ease .25s;
}
.proc.in .proc-icon { opacity: 1; transform: none; }
.proc-icon svg { width: 22px; height: 22px; }
.proc h3 { font-family: var(--display); font-weight: 400; font-size: 21px; margin: 0 0 8px; }
.proc h3 em {
  font-style: normal; font-family: var(--display); font-size: 13px;
  color: var(--amber); letter-spacing: .1em; margin-right: 10px; vertical-align: 3px;
}
.proc p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- hand-drawn scribble strike ---------- */
.strike { position: relative; white-space: nowrap; }
.strike .scribble {
  position: absolute; left: -5%; top: -10%; width: 112%; height: 120%;
  pointer-events: none; overflow: visible;
}
.scribble path {
  fill: none; stroke: var(--yellow); stroke-width: 5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.reveal.in .scribble path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.6s cubic-bezier(.35, 0, .3, 1) .75s;
}

/* ---------- cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.case {
  border: 1px solid var(--line-soft); border-radius: 18px; padding: 28px;
  background: var(--surface); display: flex; flex-direction: column;
  transition: border-color .25s;
}
.case:hover { border-color: rgba(245, 175, 8, .38); }
.case .tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; font-family: var(--display); }
.case .metric { font-family: var(--display); font-size: 46px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.case h3 { font-size: 17.5px; margin: 0 0 10px; font-weight: 650; line-height: 1.4; }
.case p { font-size: 14.5px; color: var(--muted); margin: 0; }
.quote {
  position: relative; text-align: center; max-width: 720px; margin: 64px auto 0;
  border: 1px solid var(--line); border-radius: 22px; padding: 52px 48px 40px;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(245, 115, 3, .12), transparent 75%),
    var(--surface);
}
.quote::before {
  content: "\201C"; font-family: var(--display); font-size: 90px; line-height: 1;
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote p { font-size: 23px; line-height: 1.55; margin: 14px 0 18px; color: var(--ink); font-weight: 500; text-wrap: balance; }
.quote cite { font-style: normal; font-size: 14px; color: var(--muted); letter-spacing: .06em; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 54px; align-items: center; }
.portrait { position: relative; }
.portrait::before {
  content: ""; position: absolute; inset: 4% -6% -4% -6%; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 48%, rgba(245, 115, 3, .34), rgba(245, 175, 8, .1) 58%, transparent 74%);
  filter: blur(10px);
}
.portrait img {
  position: relative; width: 100%; height: auto; display: block;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, .55));
}
.about-copy p { color: var(--muted); max-width: 36em; }
.about-copy p.first { color: var(--ink); font-size: 18px; }
.li-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 5px; margin: 0 2px 0 8px;
  background: rgba(245, 175, 8, .14); color: var(--amber);
  vertical-align: -4px; transition: background .2s, color .2s;
}
.li-badge:hover { background: var(--amber); color: #140E02; }
.li-badge svg { width: 13px; height: 13px; }

/* ---------- faq ---------- */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 20px 4px; font-size: 17px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--amber); font-size: 22px; flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 4px 22px; color: var(--muted); font-size: 15.5px; max-width: 42em; }

/* ---------- final cta ---------- */
.final { text-align: center; padding: 130px 0 150px; }
.final h2 { margin-left: auto; margin-right: auto; }
.final .sec-sub { margin-left: auto; margin-right: auto; margin-bottom: 40px; }
.final .alt { display: block; margin-top: 24px; font-size: 14.5px; color: var(--faint); }
.final .alt a { color: var(--muted); }
.final .alt a:hover { color: var(--amber); }

/* ---------- footer (curtain reveal) ---------- */
footer {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1;
  background: #070604; overflow: hidden;
}
.foot-inner { position: relative; z-index: 2; padding: 74px 0 34px; }
.foot-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(52% 65% at 50% 108%, rgba(245, 115, 3, .34), transparent 72%),
    radial-gradient(30% 42% at 78% 100%, rgba(245, 226, 11, .10), transparent 70%);
  animation: aurora 9s ease-in-out infinite alternate;
}
@keyframes aurora { from { opacity: .7; transform: translateX(-3%); } to { opacity: 1; transform: translateX(3%); } }
.foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 60px; }
.foot-cols h4 { font-family: var(--display); font-weight: 400; font-size: 13px; letter-spacing: .24em; color: var(--faint); margin: 0 0 16px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.foot-cols a { color: var(--muted); text-decoration: none; }
.foot-cols a:hover { color: var(--amber); }
.foot-cols .blurb { color: var(--muted); font-size: 14.5px; margin: 0; max-width: 22em; }
.foot-cols img { height: 20px; width: auto; margin-bottom: 14px; vertical-align: middle; }
.foot-cols .fb { font-family: var(--display); font-size: 19px; color: var(--ink); margin-left: 9px; vertical-align: middle; display: inline-block; margin-bottom: 14px; line-height: 1; }
.giant {
  font-family: var(--display); font-size: clamp(88px, 17vw, 230px); line-height: .82;
  text-align: center; letter-spacing: -.01em; user-select: none;
  background: linear-gradient(180deg, rgba(245, 175, 8, .95), rgba(245, 115, 3, .25) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(14%);
}
.foot-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(242, 237, 227, .08); padding-top: 20px; margin-bottom: 26px;
  font-size: 12.5px; color: var(--faint);
}
.foot-base a { color: var(--faint); }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .pain-grid, .svc-grid, .case-grid { grid-template-columns: 1fr; }
  .proc-grid, .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .proc:not(:last-child)::before, .flowline { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .portrait { max-width: 320px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  section { padding: 72px 0; }
}
/* Demo mode: animations always on so the motion design can be reviewed. */

/* ================= subpages ================= */
.nav-links .dd { position: relative; }
.nav-links .dd > a::after { content: " ▾"; font-size: 10px; color: var(--faint); }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: -18px; min-width: 230px;
  background: rgba(18, 16, 11, .97); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px; display: none; flex-direction: column; gap: 2px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.dd-menu a { display: block; padding: 9px 14px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 14px; }
.dd-menu a:hover { background: rgba(245, 175, 8, .1); color: var(--ink); }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: flex; }
.dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }

.page-hero { padding: 84px 0 56px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 60% at 82% 0%, rgba(245, 115, 3, .14), transparent 72%),
    radial-gradient(30% 45% at 10% 100%, rgba(245, 175, 8, .07), transparent 70%);
}
.page-hero .container { position: relative; }
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 26px; letter-spacing: .04em; }
.crumbs a { color: var(--faint); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.crumbs em { font-style: normal; color: var(--muted); }
.page-hero h1 {
  font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.1; margin: 0 0 18px; max-width: 17em; text-wrap: balance;
}
.page-hero .lead { font-size: 18px; color: var(--muted); max-width: 36em; margin: 0 0 30px; }

.ticklist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; max-width: 46em; }
.ticklist li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.ticklist li::before { content: "✓"; color: var(--amber); font-family: var(--display); flex-shrink: 0; }
.ticklist li b { font-weight: 650; }
.ticklist li span { color: var(--muted); }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.fit {
  border: 1px solid var(--line-soft); border-radius: 16px; padding: 26px;
  background: var(--surface);
}
.fit h3 { font-family: var(--display); font-weight: 400; font-size: 19px; margin: 0 0 14px; }
.fit.yes h3 { color: var(--amber); }
.fit.no h3 { color: var(--faint); }
.fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--muted); }
.fit.yes ul li::before { content: "✓ "; color: var(--amber); }
.fit.no ul li::before { content: "✕ "; color: var(--faint); }

.case-feature {
  border: 1px solid var(--line); border-radius: 18px; padding: 34px;
  background: radial-gradient(60% 90% at 20% 0%, rgba(245, 115, 3, .1), transparent 70%), var(--surface);
  margin-top: 36px; max-width: 860px;
}
.case-feature .tag { font-family: 'Artifika', serif; font-size: 12px; letter-spacing: .22em; color: var(--faint); text-transform: uppercase; margin-bottom: 14px; }
.case-feature h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0 0 10px; }
.case-feature p { color: var(--muted); font-size: 15.5px; max-width: 44em; }
.case-feature .metric-row { display: flex; gap: 40px; margin-top: 22px; flex-wrap: wrap; }
.case-feature .metric-row .m .n { font-family: var(--display); font-size: 34px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-feature .metric-row .m .l { font-size: 12.5px; color: var(--faint); letter-spacing: .05em; }

.section-tight { padding: 72px 0; }
@media (max-width: 920px) {
  .fit-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 30px; }
}

/* ================= legal pages ================= */
.legal { max-width: 780px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--body); font-size: 16.5px; font-weight: 650; margin: 26px 0 8px; color: var(--ink); }
.legal p { color: var(--muted); font-size: 15.5px; margin: 0 0 14px; max-width: none; }
.legal ul, .legal ol { color: var(--muted); font-size: 15.5px; margin: 0 0 16px; padding-left: 22px; display: grid; gap: 7px; }
.legal li::marker { color: var(--amber); }
.legal strong { color: var(--ink); font-weight: 650; }
.legal a { color: var(--amber); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal .bm-note {
  border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 10px;
  background: var(--surface); padding: 18px 22px; margin: 36px 0 0;
}
.legal .bm-note p { font-size: 14.5px; margin-bottom: 8px; }
.legal .bm-note p:last-child { margin-bottom: 0; }
