/* Cintra Consulting, site.css
   One stylesheet. All theming lives in :root. */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-mono-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-mono-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0B0B0F;
  --ink-800: #15151C;
  --ink-700: #1E1E27;
  --ink-600: #2A2A36;
  --paper: #FAFAF7;
  --paper-200: #F2F1EC;
  --white: #FFFFFF;

  --accent: #6C4DFF;
  --accent-600: #5A3DF0;
  --accent-300: #A896FF;
  --accent-50: #F1EEFF;
  --accent-2: #FF6B4A;
  --accent-2-300: #FF9B84;
  --accent-2-text: #C2401F; /* coral dark enough for text on light (AA) */

  --text-strong: #0B0B0F;
  --text: #33333C;
  --text-muted: #5F5F6B;
  --text-on-dark: #FAFAF7;
  --text-on-dark-muted: #B4B4C0;
  --text-on-dark-faint: #9A9AA8; /* raised from #7a7a88 to clear AA on --ink */

  --border: #E4E2DA;
  --border-strong: #CFCCC0;
  --border-dark: #2A2A36;

  --grad-brand: linear-gradient(120deg, #7C5CFC 0%, #FF7A59 100%);
  --grad-text: linear-gradient(100deg, #A896FF 0%, #FF9B84 100%);

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step--1: clamp(0.84rem, 0.81rem + 0.14vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.75vw, 1.9rem);
  --step-3: clamp(1.7rem, 1.45rem + 1.25vw, 2.55rem);
  --step-4: clamp(2.05rem, 1.65rem + 2vw, 3.4rem);
  --step-5: clamp(2.4rem, 1.8rem + 3vw, 4.4rem);

  --s-1: 0.5rem; --s-2: 0.75rem; --s-3: 1rem; --s-4: 1.5rem; --s-5: 2rem;
  --s-6: 3rem; --s-7: 4.5rem; --s-8: 7rem;

  --wrap: 1200px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 11, 15, .05), 0 2px 8px rgba(11, 11, 15, .04);
  --shadow-md: 0 10px 30px rgba(11, 11, 15, .08);
  --shadow-glow: 0 12px 36px rgba(108, 77, 255, .32);

  --header-h: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 {
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-1); letter-spacing: -0.02em; line-height: 1.2; }
p { text-wrap: pretty; }
strong { color: var(--text-strong); font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.mt-lg { margin-top: var(--s-5); }
.muted { color: var(--text-muted); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: var(--s-3);
}
.eyebrow--on-dark { color: var(--accent-300); }

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--text-muted); margin-top: var(--s-4); max-width: 60ch; }
.lede--on-dark { color: var(--text-on-dark-muted); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .7rem 1.2rem;
  border-radius: var(--pill); border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.1; letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn--lg { min-height: 52px; padding: .9rem 1.5rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent-600); }
.btn--gradient { background: var(--accent); background-image: linear-gradient(120deg, #6C4DFF 0%, #8B4DE0 55%, #D1503A 100%); color: #fff; box-shadow: var(--shadow-glow); }
.btn--gradient:hover { transform: translateY(-1px); box-shadow: 0 16px 44px rgba(108, 77, 255, .42); }
.btn--ghost-dark { color: #fff; border-color: rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .04); }
.btn--ghost-dark:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); }
.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--accent-600); }
.link-arrow .icon { transition: transform .2s var(--ease); }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 15, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #fff;
}
.nav { display: flex; align-items: center; gap: var(--s-4); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; }
.brand__word { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.03em; line-height: 1; display: flex; flex-direction: column; }
.brand__sub { font-family: var(--font-mono); font-weight: 500; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-on-dark-faint); margin-top: 4px; }
.nav__menu { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .5rem .8rem; border-radius: var(--pill);
  font-size: .92rem; font-weight: 500; color: var(--text-on-dark-muted);
  transition: color .2s, background-color .2s;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__chev { opacity: .7; transition: transform .2s; }
.nav__item--has-sub { position: relative; }
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  min-width: 300px; padding: .5rem; border-radius: var(--r);
  background: var(--ink-800); border: 1px solid var(--border-dark); box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.nav__sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item--has-sub:hover .nav__chev, .nav__item--has-sub:focus-within .nav__chev { transform: rotate(180deg); }
.nav__sub a { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: var(--r-sm); font-size: .92rem; color: var(--text-on-dark); }
.nav__sub a:hover { background: rgba(255, 255, 255, .06); }
.nav__sub-idx { font-family: var(--font-mono); font-size: .72rem; color: var(--accent-300); }
.nav__sub-all { border-top: 1px solid var(--border-dark); margin-top: .35rem; padding-top: .35rem; }
.nav__sub-all a { color: var(--accent-300); font-weight: 600; }
.nav__menu-cta { display: none; }
.nav__actions { flex-shrink: 0; }
.nav__actions--always { margin-left: auto; }
.nav__actions .btn--primary { background: #fff; color: var(--ink); }
.nav__actions .btn--primary:hover { background: var(--accent-300); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: transparent; cursor: pointer; margin-left: auto; }
.nav__bars { display: grid; gap: 5px; width: 22px; margin: auto; }
.nav__bars span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] .nav__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
  .menu-open body { overflow: hidden; }
  .nav__actions:not(.nav__actions--always) { display: none; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: var(--ink); padding: var(--s-4) clamp(16px, 4vw, 40px) var(--s-6);
    overflow-y: auto; display: none;
  }
  .js .nav__menu.is-open { display: block; }
  html:not(.js) .nav__menu { display: block; position: static; padding: 0 0 var(--s-3); }
  html:not(.js) .nav { flex-wrap: wrap; height: auto; padding-block: .75rem; }
  html:not(.js) .nav__toggle { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { font-size: 1.15rem; padding: .9rem .25rem; border-radius: 0; border-bottom: 1px solid var(--border-dark); width: 100%; color: #fff; }
  .nav__link:hover, .nav__link[aria-current="page"] { background: none; color: var(--accent-300); }
  .nav__chev { display: none; }
  .nav__sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: none; padding: .25rem 0 .5rem; min-width: 0; }
  .nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub { transform: none; }
  .nav__sub a { color: var(--text-on-dark-muted); padding: .55rem .25rem; }
  .nav__sub-all { display: none; }
  .nav__menu-cta { display: block; margin-top: var(--s-4); }
}

/* ---------- Mesh background ---------- */
.mesh { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob--1 { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; background: #6C4DFF; top: -18%; left: -10%; }
.blob--2 { width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; background: #FF6B4A; bottom: -30%; right: -8%; opacity: .38; }
.blob--3 { width: 26vw; height: 26vw; max-width: 340px; max-height: 340px; background: #A896FF; top: 20%; right: 22%; opacity: .25; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--text-on-dark); padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5.5rem); }
/* Hero headings must stay light. The global h1 rule sets near-black ink. */
.hero h1, .hero h2 { color: #fff; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__copy { max-width: 760px; }
.hero__copy--center { margin-inline: auto; text-align: center; }
.hero__copy--center .hero__cta { justify-content: center; }
.hero__sub { font-size: var(--step-1); line-height: 1.5; color: var(--text-on-dark-muted); margin-top: var(--s-4); max-width: 58ch; }
.hero__copy--center .hero__sub { margin-inline: auto; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--s-5); }
.hero__fine { margin-top: var(--s-3); font-size: var(--step--1); color: var(--text-on-dark-faint); }
.hero--page h1 { font-size: var(--step-5); }
.hero--home h1 { font-size: clamp(2.6rem, 1.7rem + 4.2vw, 5.1rem); letter-spacing: -0.045em; line-height: 1.02; }
.hero--404 { min-height: 70vh; display: grid; align-items: center; }
.hero__meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: var(--s-4);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero__meta dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-dark-faint); margin-bottom: .35rem; }
.hero__meta dd { margin: 0; color: var(--text-on-dark); font-weight: 500; }

.hero__visual { position: relative; }
.sysmap { width: 100%; max-width: 460px; margin-inline: auto; }
.sysmap__nodes rect { fill: rgba(21, 21, 28, .88); stroke: rgba(255, 255, 255, .12); }
.sysmap__core rect { fill: #15151C; stroke: url(#g1); stroke-width: 2; }
.sysmap text { font-family: var(--font-mono); font-size: 13px; fill: #E6E6EE; }
.sysmap .t-lg { font-family: var(--font-sans); font-size: 20px; font-weight: 700; fill: #fff; letter-spacing: -0.02em; }
.sysmap .t-sm { font-size: 10px; fill: #9A9AA8; }
.sysmap__links path { stroke-dasharray: 6 8; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }

/* ---------- Breadcrumbs ---------- */
.crumbs { margin-bottom: var(--s-5); font-size: var(--step--1); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li { display: inline-flex; align-items: center; gap: .4rem; color: var(--text-muted); }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs--dark li { color: var(--text-on-dark-faint); }
.crumbs--dark a { color: var(--text-on-dark-muted); }
.crumbs--dark [aria-current] { color: var(--text-on-dark); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--paper2 { background: var(--paper-200); }
.section--dark { background: var(--ink); color: var(--text-on-dark); isolation: isolate; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.split-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-5); align-items: end; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.split-head .lede { margin-top: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.two-col--center { align-items: center; }

/* ---------- Symptoms ---------- */
.symptoms__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.symptoms__list { display: grid; gap: .75rem; }
.symptoms__list li {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.1rem 1.25rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--border);
  font-weight: 500; color: var(--text-strong);
}
.symptoms__list .icon { flex-shrink: 0; margin-top: 3px; color: var(--accent-2-text); }

/* ---------- Audience cards ---------- */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.aud-card {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--border);
  transition: translate .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.aud-card:hover { translate: 0 -3px; box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.aud-card h2, .aud-card h3 { font-size: var(--step-2); }
.aud-card .link-arrow { margin-top: auto; padding-top: var(--s-2); }
.aud-card__tag { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2-text); }
.aud-card:nth-child(1) .aud-card__tag { color: var(--accent-600); }
.aud-card__pains { display: grid; gap: .5rem; padding-top: var(--s-2); border-top: 1px solid var(--border); }
.aud-card__pains li { position: relative; padding-left: 1.1rem; color: var(--text-strong); font-weight: 500; }
.aud-card__pains li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-brand); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.svc-grid--4 { grid-template-columns: repeat(4, 1fr); }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-5); border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--border);
  transition: translate .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.svc-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad-brand); opacity: 0; transition: opacity .25s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.svc-card:hover { translate: 0 -4px; box-shadow: var(--shadow-md); }
.svc-card:hover::after { opacity: 1; }
.svc-card__top { display: flex; align-items: center; justify-content: space-between; }
.svc-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; flex-shrink: 0; }
.svc-card__icon .icon { width: 22px; height: 22px; }
.svc-card__idx { font-family: var(--font-mono); font-size: .8rem; color: var(--text-muted); }
.svc-card__title { font-size: var(--step-1); }
.svc-card__desc { color: var(--text-muted); }
.svc-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--accent-600); font-size: .95rem; }
.svc-card__more .icon { transition: transform .2s var(--ease); }
.svc-card:hover .svc-card__more .icon { transform: translateX(3px); }

/* ---------- Services index rows ---------- */
.svc-row {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-4) clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--border-strong);
}
.svc-row__head { display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; }
.svc-row__head h3 { font-size: var(--step-2); }
.svc-row__head a:hover { color: var(--accent-600); }
.svc-row__idx { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.svc-row__def { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.svc-row__def dt, .pvo .eyebrow { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.svc-row__def dd { margin: 0; }
.svc-row__def .is-outcome { color: var(--text-strong); font-weight: 500; }
.svc-row__foot { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px dashed var(--border-strong); }
.flow-inline { display: flex; flex-wrap: wrap; gap: .4rem; counter-reset: f; }
.flow-inline li { counter-increment: f; font-size: .85rem; padding: .3rem .7rem; border-radius: var(--pill); background: var(--accent-50); color: var(--accent-600); font-weight: 500; }
.flow-inline li::before { content: counter(f) " "; font-family: var(--font-mono); opacity: .7; }

/* ---------- Problem vs outcome ---------- */
.pvo { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-4); align-items: stretch; }
.pvo__card { padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); }
.pvo__card--outcome { background: var(--ink); border-color: var(--ink); }
.pvo__card--outcome .eyebrow { color: var(--accent-300); }
.pvo__card--outcome .pvo__text { color: #fff; }
.pvo__text { font-size: var(--step-2); line-height: 1.3; letter-spacing: -0.02em; font-weight: 550; color: var(--text-strong); }
.pvo__arrow { display: grid; place-items: center; color: var(--accent); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); counter-reset: s; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: var(--s-5) var(--s-4) var(--s-4); border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); border: 1px solid var(--border-dark); }
.step::before { content: ""; position: absolute; left: var(--s-4); right: var(--s-4); top: 0; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.step__num { font-family: var(--font-mono); font-size: .85rem; color: var(--accent-300); margin-bottom: var(--s-4); }
.step h3 { margin-bottom: .5rem; }
.step p:last-child { color: var(--text-on-dark-muted); }
.section:not(.section--dark) .step { background: var(--white); border-color: var(--border); }
.section:not(.section--dark) .step__num { color: var(--accent-600); }
.section:not(.section--dark) .step p:last-child { color: var(--text-muted); }

/* ---------- Leave behind ---------- */
.leave-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.leave { padding-top: var(--s-4); border-top: 2px solid var(--ink); }
.leave__icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--accent-50); color: var(--accent-600); margin-bottom: var(--s-3); }
.leave h3 { margin-bottom: .5rem; }
.leave p { color: var(--text-muted); }

/* ---------- Checklists ---------- */
.checklist { display: grid; gap: .8rem; margin-top: var(--s-4); }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .icon { flex-shrink: 0; margin-top: 4px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--accent-50); color: var(--accent-600); }
.checklist--x .icon { background: #FFF0EC; color: var(--accent-2-text); }
.fit { padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); }
.fit h3 + .checklist { margin-top: var(--s-3); }
.fit .checklist + h3 { margin-top: var(--s-5); }
.fit__cta { margin-top: var(--s-5); }
.lp-card .checklist .icon { background: rgba(168, 150, 255, .16); color: var(--accent-300); }

/* ---------- Pains ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.pain { padding: var(--s-5); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--accent-2); }
.pain h3 { margin-bottom: .5rem; }
.pain p { color: var(--text-muted); }
.note { margin-top: var(--s-4); padding: var(--s-3) var(--s-4); border-left: 2px solid var(--accent-300); color: var(--text-on-dark-muted); font-size: var(--step--1); }

/* ---------- FAQ ---------- */
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq { border-top: 1px solid var(--border-strong); }
.faq__item { border-bottom: 1px solid var(--border-strong); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: var(--step-0); color: var(--text-strong);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-600); }
.faq__chev { flex-shrink: 0; color: var(--text-muted); transition: transform .25s var(--ease); }
.faq__item[open] .faq__chev { transform: rotate(180deg); color: var(--accent-600); }
.faq__a { padding: 0 2.5rem 1.4rem 0; color: var(--text-muted); max-width: 68ch; }
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-toc { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-toc ul { display: grid; gap: .25rem; }
.faq-toc a { display: block; padding: .35rem 0; color: var(--text-muted); font-weight: 500; }
.faq-toc a:hover { color: var(--accent-600); }
.faq-sec + .faq-sec { margin-top: var(--s-7); }
.faq-sec h2 { font-size: var(--step-3); margin-bottom: var(--s-4); }

/* ---------- Articles ---------- */
.art-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.art-card {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--border);
  transition: translate .25s var(--ease), box-shadow .25s var(--ease);
}
.art-card:hover { translate: 0 -3px; box-shadow: var(--shadow-md); }
.art-card h2, .art-card h3 { font-size: var(--step-2); }
.art-card p { color: var(--text-muted); }
.art-card .link-arrow { margin-top: auto; }
.art-card__meta, .art-meta { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; color: var(--text-muted); }
.art-meta { color: var(--text-on-dark-faint); margin-top: var(--s-4); }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.art-aside { position: sticky; top: calc(var(--header-h) + 2rem); padding: var(--s-5); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); }
.art-aside h2 { font-size: var(--step-1); margin-bottom: .5rem; }
.art-aside p { color: var(--text-muted); font-size: .95rem; margin-bottom: var(--s-3); }
.art-aside__cta { margin-top: var(--s-4); }

.prose { max-width: 70ch; }
.prose--narrow { margin-inline: auto; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-2); margin-top: 2em; }
.prose p { color: var(--text); }
.prose--lg p { font-size: var(--step-1); line-height: 1.55; color: var(--text-strong); }
.prose .checklist { margin-top: 1em; }

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.photo { border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.role { font-family: var(--font-mono); font-size: var(--step--1); color: var(--text-muted); margin-top: .75rem; }
.creds { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-4); }
.cred { font-size: .85rem; font-weight: 500; padding: .4rem .85rem; border-radius: var(--pill); background: var(--white); border: 1px solid var(--border); color: var(--text-strong); }
.pov-list { display: grid; gap: 0; }
.pov-list li { display: grid; grid-template-columns: 3rem 1fr; gap: var(--s-3); padding-block: 1.1rem; border-bottom: 1px solid var(--border-dark); }
.pov-list li:first-child { border-top: 1px solid var(--border-dark); }
.pov-list__n { font-family: var(--font-mono); font-size: .85rem; color: var(--accent-300); padding-top: .2rem; }
.pov-list p { color: var(--text-on-dark); font-size: var(--step-1); line-height: 1.4; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-side { padding-top: var(--s-3); }
.contact-side__h { font-size: var(--step-2); margin-bottom: var(--s-4); }
.contact-side .lede { margin: 0 0 var(--s-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.expect { display: grid; gap: var(--s-4); }
.expect li { display: grid; grid-template-columns: 2.25rem 1fr; gap: var(--s-3); }
.expect__n { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--accent-50); color: var(--accent-600); font-family: var(--font-mono); font-weight: 600; }
.expect p { color: var(--text-muted); }
.contact-detail { display: grid; gap: var(--s-3); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--border); }
.contact-detail li { display: flex; gap: var(--s-3); align-items: flex-start; }
.contact-detail .icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--accent-600); margin-top: 3px; }
.contact-detail strong { display: block; font-size: .85rem; }
.contact-detail a { color: var(--accent-600); font-weight: 500; }
.form-card { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: var(--step-3); }
.form-card > .muted { margin: .5rem 0 var(--s-5); }
.form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .92rem; color: var(--text-strong); }
.req { color: var(--accent-2-text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .95rem;
  border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(108, 77, 255, .16); }
.field [aria-invalid="true"] { border-color: var(--accent-2-text); }
.field__error { font-size: .85rem; color: var(--accent-2-text); min-height: 0; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status:empty { display: none; }
.form__status { padding: .9rem 1rem; border-radius: var(--r-sm); font-weight: 500; }
.form__status.is-error { background: #FFF0EC; color: #8A2A14; }
.form__status.is-success { background: #ECFBF3; color: #0F5A33; }
.form__fine { font-size: var(--step--1); color: var(--text-muted); text-align: center; }
.form__fine a { color: var(--accent-600); text-decoration: underline; text-underline-offset: 2px; }

/* Contact hero: the form sits above the fold, on the dark hero */
.hero--contact .contact-grid { grid-template-columns: 1fr 1.05fr; grid-template-rows: auto 1fr; align-items: start; row-gap: 0; }
.hero--contact .form-card { grid-column: 2; grid-row: 1 / span 2; }
.hero--contact .contact-next { grid-column: 1; grid-row: 2; }
@media (max-width: 900px) {
  .hero--contact .contact-grid { grid-template-columns: 1fr; row-gap: var(--s-5); }
  .hero--contact .form-card, .hero--contact .contact-next { grid-column: 1; grid-row: auto; }
}
.hero--contact h1 { font-size: var(--step-4); }
.hero--contact .contact-side__h { color: #fff; margin-top: var(--s-6); }
.hero--contact .expect p { color: var(--text-on-dark-muted); }
.hero--contact .expect strong { color: #fff; }
.hero--contact .expect__n { background: rgba(168, 150, 255, .16); color: var(--accent-300); }
.hero--contact .contact-detail { border-top-color: var(--border-dark); }
.hero--contact .contact-detail strong { color: #fff; }
.hero--contact .contact-detail span { color: var(--text-on-dark-muted); }
.hero--contact .contact-detail a, .hero--contact .contact-detail .icon { color: var(--accent-300); }
.hero--contact .form-card { color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.hero--contact .form-card h2 { color: var(--text-strong); }
.hero--contact .form-card .muted { color: var(--text-muted); }

/* ---------- Landing page ---------- */
.lp-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lp-card { padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--r-lg); background: rgba(21, 21, 28, .85); border: 1px solid var(--border-dark); }
.lp-card h2 { font-size: var(--step-1); color: #fff; }
.lp-card .checklist span { color: var(--text-on-dark); }

/* ---------- Testimonials (renders only with real entries) ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-4); }
.quote { padding: var(--s-5); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); }
.quote blockquote p { font-size: var(--step-1); color: var(--text-strong); line-height: 1.45; }
.quote figcaption { margin-top: var(--s-4); display: grid; font-size: .9rem; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(3rem, 6vw, 5rem); }
.cta-band__inner {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); border-radius: 32px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(108, 77, 255, .55) 0%, transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(255, 107, 74, .42) 0%, transparent 55%), var(--ink);
}
.cta-band__inner h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
/* Body copy on the band was raised to clear AA against the brighter gradient corners. */
.cta-band__inner p:not(.eyebrow) { color: #DCDCE4; max-width: 56ch; margin: var(--s-4) auto 0; font-size: var(--step-1); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: var(--s-5); }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--text-on-dark-muted); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); padding-bottom: var(--s-6); border-bottom: 1px solid var(--border-dark); }
.footer-cta h2 { color: #fff; font-size: var(--step-3); }
.footer-cta p { margin-top: .5rem; }
.footer-cta a:not(.btn) { color: var(--accent-300); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-5); padding-block: var(--s-6); }
.footer-brand p { margin-top: var(--s-3); max-width: 36ch; font-size: .95rem; }
.site-footer h3 { font-family: var(--font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-dark-faint); margin-bottom: var(--s-3); }
.site-footer ul { display: grid; gap: .55rem; font-size: .95rem; }
.site-footer ul a:hover { color: #fff; }
.site-footer .muted { color: var(--text-on-dark-muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); padding-block: var(--s-4); border-top: 1px solid var(--border-dark); font-size: var(--step--1); color: var(--text-on-dark-faint); }
.footer-bottom a:hover { color: #fff; }
.site-footer--minimal { padding-top: 0; }
.site-footer--minimal .footer-bottom { border-top: 0; }

/* ---------- Reveal (scoped to .js, never above the fold) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease), translate .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .svc-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .leave-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero__grid, .lp-grid, .about-hero, .two-col, .faq-split, .symptoms__grid, .split-head, .contact-grid, .art-layout, .faq-layout { grid-template-columns: 1fr; }
  .hero__visual { max-width: 400px; width: 100%; margin-inline: auto; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps--3 { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row__foot { grid-column: 1; }
  .pvo { grid-template-columns: 1fr; }
  .pvo__arrow { transform: rotate(90deg); }
  .faq-toc, .art-aside { position: static; }
  .about-hero .photo { max-width: 360px; }
}
@media (max-width: 640px) {
  .aud-grid, .svc-grid, .svc-grid--4, .art-grid, .pain-grid, .leave-grid, .steps, .svc-row__def, .footer-grid { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: 1fr; gap: var(--s-3); }
  .field-row { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .cta-band__actions .btn { width: 100%; }
  .footer-cta .btn { width: 100%; }
  .faq__a { padding-right: 0; }
  .brand__word { font-size: 1.05rem; }
  .site-header--minimal .btn { padding-inline: .9rem; font-size: .85rem; }
}
@media (max-width: 380px) {
  .site-header--minimal .brand__sub { display: none; }
}
