
/* One committed brand look: Havencrest Network purple, lavender and gold. */
:root {
  --ink: #170B2B;
  --plum: #22123A;
  --plum-2: #2E1A52;
  --plum-3: #43306B;
  --lav: #A290C1;
  --lav-soft: #E9E3F3;
  --mist: #F5F2FA;
  --paper: #FCFBF8;
  --card: #FFFFFF;
  --line: #E1DAEC;
  --gold: #F1D951;
  --gold-deep: #C9A63A;
  --text: #22123A;
  --muted: #54466E;
  --on-dark: #FFFFFF;
  --on-dark-soft: #D9D0EA;
  --line-dark: #3B2A5E;
  --display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; }
a { color: inherit; }
section[id] { scroll-margin-top: 88px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(72px, 10vw, 136px); }
.sec-mist { background: var(--mist); }
.sec-dark { background: var(--plum); color: var(--on-dark); }

h1, h2, h3, p { margin: 0; }
h1, h2, .serif {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(2.15rem, 4.6vw, 3.6rem); }
h3 { font-family: var(--body); font-weight: 700; font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.005em; }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.sec-dark .lede { color: var(--on-dark-soft); }
em.it { font-style: italic; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--plum-3); margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 34px; height: 2px; background: var(--gold-deep); }
.sec-dark .eyebrow, .hero .eyebrow, .leaders .eyebrow { color: var(--gold); }
.sec-dark .eyebrow::before, .hero .eyebrow::before, .leaders .eyebrow::before { background: var(--gold); }

/* Gold foil: a slow sweep of light across the metal */
.foil {
  font-style: italic;
  background: linear-gradient(100deg, #B98F2A 0%, #F1D951 22%, #FFF6C4 38%, #E7C64A 52%, #B98F2A 70%, #F1D951 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: foil 7s ease-in-out infinite;
  padding-right: 0.08em;
}
@keyframes foil { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 0.975rem; line-height: 1.2;
  padding: 16px 26px; border-radius: 2px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--ink); position: relative; overflow: hidden; }
.btn-gold::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
  animation: sheen 5.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }
.btn-gold:hover { background: #F6E273; transform: translateY(-2px); }
.btn-dark { background: var(--plum); color: #fff; }
.btn-dark:hover { background: var(--plum-2); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-line { border-color: var(--plum); color: var(--plum); }
.btn-line:hover { background: var(--plum); color: #fff; }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; color: var(--plum); border-bottom: 2px solid var(--gold-deep); padding-bottom: 3px;
}
.link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.link:hover svg { transform: translateX(4px); }
.sec-dark .link { color: #fff; border-color: var(--gold); }

/* Logo (one embedded image, reused) */
.logo { display: block; aspect-ratio: 720 / 200; background: url("img/logo.png") left center / contain no-repeat; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(252,251,248,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.nav .logo { height: 50px; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav-links a.nl { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav-links a.nl:hover { color: var(--plum); }
.nav .btn { padding: 12px 20px; font-size: 0.9rem; white-space: nowrap; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 2px; width: 44px; height: 44px; cursor: pointer; color: var(--plum); align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--paper); }
.mobile-menu a { display: block; padding: 15px var(--gutter); font-weight: 600; text-decoration: none; color: var(--plum); border-bottom: 1px solid var(--line); }
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 480px) { .nav .logo { height: 42px; } .nav .btn { padding: 11px 14px; font-size: 0.84rem; } }

/* ---------- HERO ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0 0 0 38%; z-index: -3; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 30%; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.14) translateX(-2.2%); } }
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(23,11,43,.86) 22%, rgba(34,18,58,.42) 58%, rgba(34,18,58,.30) 100%),
    linear-gradient(0deg, rgba(23,11,43,.85) 0%, transparent 38%),
    linear-gradient(160deg, rgba(110,82,170,.42), rgba(34,18,58,.2));
}
.hero-net { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: .75; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 42%, transparent 66%); mask-image: linear-gradient(90deg, #000 0%, #000 42%, transparent 66%); }
.hero-net line { stroke: var(--lav); stroke-width: 1; opacity: .16; }
.hero-net circle { fill: var(--gold); animation: twinkle 5s ease-in-out infinite; }
.hero-net circle.l { fill: var(--lav); }
@keyframes twinkle { 0%, 100% { opacity: .18; } 50% { opacity: .9; } }
.hero-in { padding-block: clamp(84px, 13vw, 168px) clamp(64px, 8vw, 104px); max-width: 780px; }
.hero h1 { margin-bottom: 28px; }
.hero .lede { color: var(--on-dark-soft); max-width: 54ch; margin-bottom: 38px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cred { display: flex; flex-wrap: wrap; gap: 0; margin-top: clamp(48px, 7vw, 84px); border-top: 1px solid rgba(255,255,255,.2); }
.cred span { flex: 1 1 220px; padding: 18px 20px 0 0; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-soft); display: flex; align-items: center; gap: 10px; }
.cred span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.rise.d1 { animation-delay: .12s; } .rise.d2 { animation-delay: .24s; } .rise.d3 { animation-delay: .36s; } .rise.d4 { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .hero-photo { inset: 0; }
  .hero-photo img { object-position: 46% 20%; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(23,11,43,.80) 0%, rgba(23,11,43,.90) 55%, var(--ink) 100%), linear-gradient(160deg, rgba(110,82,170,.4), rgba(34,18,58,.2)); }
}

/* Heartbeat line */
.ecg { display: block; width: 100%; height: 56px; }
.ecg path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.ecg .base { stroke: rgba(162,144,193,.28); }
.ecg .run { stroke: var(--gold); stroke-dasharray: .14 .86; animation: beat 6.5s linear infinite; filter: drop-shadow(0 0 6px rgba(241,217,81,.7)); }
@keyframes beat { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero .ecg { position: absolute; left: 0; right: 0; bottom: -8px; z-index: -1; opacity: .8; }

/* Roles ticker */
.ticker { background: var(--plum); color: #fff; border-top: 1px solid var(--line-dark); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker li { font-family: var(--display); font-size: 1.5rem; padding: 18px 26px; white-space: nowrap; display: flex; align-items: center; gap: 52px; }
.ticker li::after { content: ''; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- PROBLEM ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split > * { min-width: 0; }
.ripple { width: 100%; max-width: 440px; margin-top: 36px; height: auto; }
.ripple .ring { fill: none; stroke: var(--lav); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 5.4s cubic-bezier(.2,.6,.3,1) infinite; opacity: 0; }
.ripple .ring.r2 { animation-delay: 1.8s; } .ripple .ring.r3 { animation-delay: 3.6s; }
@keyframes ring { 0% { transform: scale(.34); opacity: 0; } 12% { opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.ripple .orbit { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 7; }
.ripple .core { fill: var(--plum); }
.ripple .core-t { fill: #fff; font-family: var(--body); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-anchor: middle; }
.ripple .sat { fill: var(--card); stroke: var(--plum-3); stroke-width: 1.5; }
.ripple .sat-dot { fill: var(--gold-deep); transform-box: fill-box; transform-origin: center; animation: satpulse 5.4s ease-in-out infinite; }
.ripple .s2 { animation-delay: .5s; } .ripple .s3 { animation-delay: 1s; } .ripple .s4 { animation-delay: 1.5s; } .ripple .s5 { animation-delay: 2s; }
@keyframes satpulse { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.9); } }
.ripple .sat-t { fill: var(--plum); font-family: var(--body); font-weight: 700; font-size: 13px; }
.risks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.risks li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.risks .ic { width: 52px; height: 52px; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; color: var(--plum-3); border-radius: 2px; transition: background .25s, color .25s, border-color .25s; }
.risks li:hover .ic { background: var(--plum); color: var(--gold); border-color: var(--plum); }
.risks .ic svg { width: 22px; height: 22px; }
.risks p { color: var(--muted); font-size: 0.98rem; margin-top: 4px; }
.insider { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); background: var(--plum); color: #fff; }
.insider .ph { min-height: 280px; }
.insider-t { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.insider-t p.serif { font-size: clamp(1.5rem, 2.7vw, 2.15rem); line-height: 1.18; }
.insider-t p.small { color: var(--on-dark-soft); font-size: 0.98rem; }
@media (max-width: 760px) { .insider { grid-template-columns: minmax(0, 1fr); } .insider .ph { min-height: 220px; } }

/* Photo treatment: a wash of brand purple so stock tones sit in one palette */
.ph { position: relative; overflow: hidden; background: var(--plum-2); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) contrast(1.03); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(110,82,170,.34), rgba(34,18,58,.16)); mix-blend-mode: multiply; pointer-events: none; }
.svc:hover .ph img { transform: scale(1.04); }

/* Belief band */
.belief { background: var(--mist); border-block: 1px solid var(--line); }
.belief-in { padding-block: clamp(56px, 8vw, 104px); text-align: center; }
.belief p.serif { font-size: clamp(1.8rem, 4vw, 3.1rem); max-width: 22ch; margin-inline: auto; line-height: 1.1; }
.belief p.serif span { display: block; color: var(--plum-3); }
.belief .mark { width: 54px; height: 2px; background: var(--gold-deep); margin: 0 auto 30px; }

/* ---------- STANDARD ---------- */
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(44px, 6vw, 76px); }
.head > * { min-width: 0; }
@media (max-width: 900px) { .head { grid-template-columns: minmax(0, 1fr); } }
.comps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.comp { padding: clamp(26px, 3vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); position: relative; transition: background .3s; min-width: 0; }
.comp::before { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold-deep); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.comp:hover { background: var(--card); }
.comp:hover::before { width: 100%; }
.comp .n { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--lav); margin-bottom: 26px; display: block; }
.comp h3 { margin-bottom: 10px; }
.comp p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) { .comps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .comps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- H.E.A.R.T. ---------- */
.heart { position: relative; overflow: hidden; }
.heart::before { content: ''; position: absolute; width: 720px; height: 720px; right: -260px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(162,144,193,.16), transparent 65%); pointer-events: none; }
.heart .ecg { margin-bottom: -6px; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.step { padding: 34px 22px 8px 0; border-right: 1px solid var(--line-dark); padding-left: 22px; min-width: 0; }
.step:first-child { padding-left: 0; } .step:last-child { border-right: 0; }
.step .ltr { font-family: var(--display); font-size: clamp(4rem, 7vw, 6.2rem); line-height: .9; display: block; margin-bottom: 18px; }
.step h3 { font-size: 0.8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.step .one { font-weight: 700; font-size: 1.02rem; line-height: 1.4; margin-bottom: 12px; }
.step .more { color: var(--on-dark-soft); font-size: 0.93rem; }
.step .vs { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-dark); font-size: 0.84rem; color: var(--lav); }
.step .vs b { display: block; font-size: 0.68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 4px; font-weight: 800; }
.fine { margin-top: 44px; font-size: 0.86rem; color: var(--lav); max-width: 78ch; }
@media (max-width: 980px) {
  .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .step, .step:first-child { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 4px 20px; padding: 28px 0; border-right: 0; border-top: 1px solid var(--line-dark); }
  .step .ltr { grid-row: 1 / span 5; font-size: 4.4rem; margin: 0; }
  .step > *:not(.ltr) { grid-column: 2; }
}

/* ---------- SERVICES ---------- */
.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.svc .ph { grid-column: span 5; aspect-ratio: 5 / 4; }
.svc .tx { grid-column: span 7; min-width: 0; }
.svc.flip .ph { order: 2; }
.svc .num { font-family: var(--display); font-size: 1.35rem; color: var(--plum-3); display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.svc .num::after { content: ''; height: 1px; width: 64px; background: var(--gold-deep); }
.svc h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.06; letter-spacing: -0.012em; margin-bottom: 16px; }
.svc p { color: var(--muted); max-width: 56ch; }
.svc p.note { font-size: 0.92rem; margin-top: 14px; color: var(--plum-3); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; padding: 0; list-style: none; }
.chips li { font-size: 0.86rem; font-weight: 700; padding: 8px 14px; border: 1px solid var(--line); background: var(--card); border-radius: 100px; color: var(--plum); }
@media (max-width: 820px) { .svc .ph, .svc .tx { grid-column: 1 / -1; } .svc.flip .ph { order: 0; } .svc .ph { aspect-ratio: 16 / 10; } }

/* Roles and settings */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 860px) { .cols3 { grid-template-columns: minmax(0, 1fr); } }
.rolecol { background: var(--card); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); min-width: 0; }
.rolecol h3 { font-size: 0.78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--plum-3); padding-bottom: 16px; margin-bottom: 6px; border-bottom: 2px solid var(--gold-deep); }
.rolecol ul { list-style: none; margin: 0; padding: 0; }
.rolecol li { font-family: var(--display); font-size: 1.45rem; line-height: 1.2; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rolecol li:last-child { border-bottom: 0; }
.settings { margin-top: clamp(40px, 5vw, 64px); }
.setting { border-top: 2px solid var(--plum); padding-top: 20px; min-width: 0; }
.setting p { color: var(--muted); font-size: 0.96rem; margin-top: 8px; }

/* ---------- WHY ---------- */
.why-statement { font-family: var(--display); font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -0.012em; text-wrap: balance; }
.why-statement span { display: block; margin-top: .18em; color: var(--plum-3); font-style: italic; }
.proofs { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.proofs li { counter-increment: p; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.proofs li:last-child { border-bottom: 1px solid var(--line); }
.proofs li::before { content: '0' counter(p); font-family: var(--display); font-size: 1.7rem; color: var(--lav); line-height: 1.1; }
.proofs p { color: var(--muted); font-size: 0.97rem; margin-top: 4px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 88px); background: var(--plum); color: #fff; }
.fact { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line-dark); min-width: 0; }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.05; color: var(--gold); margin-bottom: 10px; }
.fact span { font-size: 0.8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); } }

/* ---------- FOUNDER ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.founder > * { min-width: 0; }
.portrait { position: relative; max-width: 440px; }
.portrait .ph { aspect-ratio: 4 / 5; }
.portrait .ph img { object-position: 50% 20%; filter: saturate(.92) contrast(1.04); }
.portrait .ph::after { background: linear-gradient(180deg, transparent 55%, rgba(23,11,43,.7) 100%); mix-blend-mode: normal; }
.portrait::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: 0; }
.portrait .ph { position: relative; z-index: 1; }
.portrait figcaption { position: absolute; z-index: 2; left: 22px; bottom: 18px; right: 22px; font-size: 0.78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.portrait figcaption b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.7rem; letter-spacing: 0; text-transform: none; margin-bottom: 2px; }
.founder h2 { margin-bottom: 26px; }
.founder p { color: var(--on-dark-soft); max-width: 58ch; }
.founder p + p { margin-top: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding: 0; list-style: none; }
.tags li { font-size: 0.82rem; font-weight: 700; padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 100px; color: var(--on-dark-soft); }
@media (max-width: 860px) { .founder { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 360px; margin-right: 18px; } }

/* ---------- INSIGHTS ---------- */
.ins { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.ins:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(34,18,58,.45); }
.ins .viz { background: var(--plum); height: 190px; display: grid; place-items: center; overflow: hidden; }
.ins .viz svg { width: 100%; height: 100%; }
.ins .bd { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ins .tag { align-self: flex-start; font-size: 0.68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; background: var(--lav-soft); color: var(--plum-3); border-radius: 100px; }
.ins h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.ins p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.viz .gridl { stroke: rgba(162,144,193,.2); stroke-width: 1; }
.viz .ringbg { fill: none; stroke: rgba(162,144,193,.25); stroke-width: 9; }
.viz .ringfg { fill: none; stroke: var(--gold); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 100; animation: fill 6s ease-in-out infinite; }
@keyframes fill { 0% { stroke-dashoffset: 100; } 45%, 80% { stroke-dashoffset: 24; } 100% { stroke-dashoffset: 100; } }
.viz .row { fill: rgba(162,144,193,.35); } .viz .tick { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; animation: tickin 6s ease-in-out infinite; }
.viz .t2 { animation-delay: .35s; } .viz .t3 { animation-delay: .7s; }
@keyframes tickin { 0%, 12% { stroke-dashoffset: 20; } 34%, 82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 20; } }
.viz .bar { fill: var(--lav); transform-box: fill-box; transform-origin: bottom; animation: grow 5.2s cubic-bezier(.2,.7,.2,1) infinite; }
.viz .bar.g { fill: var(--gold); }
.viz .b2 { animation-delay: .15s; } .viz .b3 { animation-delay: .3s; } .viz .b4 { animation-delay: .45s; } .viz .b5 { animation-delay: .6s; }
@keyframes grow { 0% { transform: scaleY(.08); } 38%, 82% { transform: scaleY(1); } 100% { transform: scaleY(.08); } }
.viz .trend { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: draw 6.4s ease-in-out infinite; }
.viz .trend.b { stroke: var(--lav); animation-delay: .4s; }
@keyframes draw { 0% { stroke-dashoffset: 1; } 50%, 84% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.viz .pt { fill: var(--gold); animation: twinkle 3.2s ease-in-out infinite; }
.partner { margin-top: clamp(32px, 4vw, 52px); padding: 24px 28px; border: 1px dashed var(--lav); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.partner p { color: var(--muted); font-size: 0.97rem; max-width: 70ch; }

/* ---------- LEADERS (candidates) ---------- */
.leaders { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--ink); }
.leaders .bg { position: absolute; inset: 0; z-index: -2; }
.leaders .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; animation: drift 30s ease-in-out infinite alternate; }
.leaders::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23,11,43,.97) 0%, rgba(34,18,58,.9) 50%, rgba(34,18,58,.68) 100%); }
.leaders-in { padding-block: clamp(72px, 10vw, 128px); max-width: 720px; }
.leaders h2 { margin-bottom: 22px; }
.leaders .lede { color: var(--on-dark-soft); margin-bottom: 34px; }
.assure { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 10px; }
.assure li { display: flex; gap: 12px; align-items: baseline; font-weight: 600; font-size: 0.98rem; }
.assure li::before { content: ''; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg) translateY(-2px); flex: none; }

/* ---------- START (final conversion) ---------- */
.start { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.start > * { min-width: 0; }
@media (max-width: 940px) { .start { grid-template-columns: minmax(0, 1fr); } }
.start h2 { margin-bottom: 22px; }
.ways { margin-top: 38px; border-top: 1px solid var(--line); }
.way { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.way small { font-size: 0.72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--plum-3); }
.way .v { font-family: var(--display); font-size: 1.6rem; line-height: 1.2; user-select: all; overflow-wrap: anywhere; }
.way a.v { text-decoration: none; border-bottom: 2px solid var(--gold-deep); justify-self: start; user-select: auto; }
.formcard { background: var(--card); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(34,18,58,.5); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; }
.tabs button { font-family: var(--body); font-weight: 700; font-size: 0.92rem; padding: 18px 12px; background: var(--mist); color: var(--muted); border: 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--plum); border-bottom: 2px solid var(--gold-deep); }
form { padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.f { display: grid; gap: 6px; min-width: 0; } .f.full { grid-column: 1 / -1; }
.f label { font-size: 0.78rem; font-weight: 700; letter-spacing: .04em; color: var(--plum); }
.f input, .f select, .f textarea { font: inherit; font-size: 1rem; color: var(--text); background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 13px 14px; width: 100%; min-width: 0; }
.f textarea { min-height: 104px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--plum-3); outline-offset: 1px; border-color: var(--plum-3); }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--plum); }
form .btn { grid-column: 1 / -1; width: 100%; }
.notice { grid-column: 1 / -1; background: var(--mist); border-left: 3px solid var(--gold-deep); padding: 16px 18px; font-size: 0.93rem; color: var(--plum); }
@media (max-width: 560px) { form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FOOTER ---------- */
.foot { background: var(--ink); color: var(--on-dark-soft); padding-block: clamp(56px, 7vw, 88px) 36px; font-size: 0.93rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: clamp(28px, 4vw, 56px); }
.foot-grid > * { min-width: 0; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand, .foot-grid > div:last-child { grid-column: 1 / -1; } }
.plate { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 2px; }
.plate .logo { height: 54px; }
.foot-brand p { margin-top: 20px; max-width: 42ch; }
.foot h4 { margin: 0 0 16px; font-size: 0.72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--on-dark-soft); transition: color .2s; }
.foot a:hover { color: #fff; }
.foot .sel { user-select: all; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.legal { margin-top: clamp(40px, 5vw, 64px); padding-top: 26px; border-top: 1px solid var(--line-dark); display: grid; gap: 12px; font-size: 0.82rem; color: var(--lav); }
.legal p { max-width: 110ch; }
.legal .row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--on-dark-soft); }

/* Scroll reveal: only hides content when scripting is running */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; } .js .rv.d4 { transition-delay: .32s; } .js .rv.d5 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .ecg .run { stroke-dasharray: none; opacity: .5; }
  .ripple .ring { opacity: .5; transform: none; }
  .viz .ringfg { stroke-dashoffset: 24; }
}

/* ---------- Multi-page additions ---------- */
.nav-links a.nl[aria-current="page"] { color: var(--plum); box-shadow: inset 0 -2px 0 var(--gold-deep); padding-bottom: 4px; }
.mobile-menu a[aria-current="page"] { color: var(--plum-3); background: var(--mist); }
.hero-photo video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Interior page hero */
.phero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.phero .media { position: absolute; inset: 0; z-index: -2; }
.phero .media img, .phero .media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phero .media img { animation: drift 28s ease-in-out infinite alternate; }
.phero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(23,11,43,.95) 0%, rgba(34,18,58,.84) 45%, rgba(34,18,58,.45) 100%), linear-gradient(160deg, rgba(110,82,170,.35), rgba(34,18,58,.1)); }
.phero-in { padding-block: clamp(72px, 11vw, 140px) clamp(64px, 8vw, 104px); max-width: 760px; }
.phero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 24px; }
.phero .lede { color: var(--on-dark-soft); }
.phero .cta-row { margin-top: 34px; }
.phero .ecg { position: absolute; left: 0; right: 0; bottom: -8px; z-index: -1; opacity: .7; }
.phero.plain::after { background: radial-gradient(ellipse at 85% 0%, rgba(162,144,193,.28), transparent 55%), linear-gradient(180deg, var(--plum) 0%, var(--ink) 100%); }
@media (max-width: 860px) { .phero::after { background: linear-gradient(180deg, rgba(23,11,43,.82) 0%, rgba(23,11,43,.92) 60%, var(--ink) 100%); } .phero.plain::after { background: linear-gradient(180deg, var(--plum) 0%, var(--ink) 100%); } }

/* Home: three ways we help */
.ways3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
@media (max-width: 900px) { .ways3 { grid-template-columns: minmax(0, 1fr); } }
.wcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: inherit; min-width: 0; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.wcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(34,18,58,.55); }
.wcard .ph { aspect-ratio: 16 / 10; }
.wcard:hover .ph img { transform: scale(1.05); }
.wcard .bd { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.wcard .k { font-family: var(--display); color: var(--plum-3); font-size: 1.2rem; }
.wcard h3 { font-family: var(--display); font-weight: 400; font-size: 1.95rem; line-height: 1.08; letter-spacing: -0.01em; }
.wcard p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.wcard .go { font-weight: 700; font-size: 0.92rem; color: var(--plum); display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid var(--gold-deep); align-self: flex-start; padding-bottom: 3px; }
.wcard .go svg { width: 15px; height: 15px; transition: transform .2s; }
.wcard:hover .go svg { transform: translateX(4px); }

/* Home: H.E.A.R.T. teaser */
.hrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); margin-block: 8px 40px; }
.hrow div { padding: 26px 18px; border-right: 1px solid var(--line-dark); min-width: 0; }
.hrow div:last-child { border-right: 0; }
.hrow b { display: block; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(3rem, 6vw, 5rem); line-height: .9; margin-bottom: 12px; }
.hrow span { font-size: 0.78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hrow p { color: var(--on-dark-soft); font-size: 0.9rem; margin-top: 8px; }
@media (max-width: 760px) { .hrow { grid-template-columns: minmax(0, 1fr); } .hrow div { border-right: 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 16px; align-items: center; } .hrow div:last-child { border-bottom: 0; } .hrow b { grid-row: 1 / span 2; margin: 0; font-size: 3.4rem; } }

/* Home: founder teaser */
.fteaser { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.fteaser > * { min-width: 0; }
.fteaser .ph { aspect-ratio: 4 / 5; max-width: 380px; }
.fteaser .ph img { object-position: 50% 20%; }
.fteaser .ph::after { background: none; }
.fteaser blockquote { margin: 0 0 22px; font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.fteaser cite { display: block; font-style: normal; font-weight: 700; color: var(--plum-3); margin-bottom: 26px; }
@media (max-width: 820px) { .fteaser { grid-template-columns: minmax(0, 1fr); } .fteaser .ph { max-width: 300px; } }

/* CTA band */
.ctab { position: relative; background: var(--plum); color: #fff; overflow: hidden; isolation: isolate; }
.ctab::before { content: ''; position: absolute; width: 640px; height: 640px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(241,217,81,.10), transparent 62%); z-index: -1; }
.ctab-in { padding-block: clamp(72px, 10vw, 128px); text-align: center; max-width: 860px; margin-inline: auto; }
.ctab h2 { margin-bottom: 20px; }
.ctab .lede { color: var(--on-dark-soft); margin: 0 auto 34px; }
.ctab .cta-row { justify-content: center; }
.ctab .eyebrow { justify-content: center; }

/* About: mission and values */
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-bottom: clamp(48px, 7vw, 88px); }
@media (max-width: 760px) { .mv { grid-template-columns: minmax(0, 1fr); } }
.mv div { border-top: 2px solid var(--plum); padding-top: 20px; min-width: 0; }
.mv h3 { font-size: 0.78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--plum-3); margin-bottom: 12px; }
.mv p { font-family: var(--display); font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.2; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 860px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values { grid-template-columns: minmax(0, 1fr); } }
.values div { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); min-width: 0; }
.values h3 { margin-bottom: 8px; }
.values p { color: var(--muted); font-size: 0.95rem; }
.creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.creds li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; }
.creds b { font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1.2; }
.creds span { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 640px) { .creds li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Leaders page */
.lcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
@media (max-width: 860px) { .lcards { grid-template-columns: minmax(0, 1fr); } }
.lcard { background: var(--card); border: 1px solid var(--line); padding: clamp(26px, 3vw, 38px); min-width: 0; position: relative; }
.lcard::before { content: ''; position: absolute; top: 0; left: 0; width: 56px; height: 3px; background: var(--gold-deep); }
.lcard .n { font-family: var(--display); font-size: 2.4rem; color: var(--lav); display: block; margin-bottom: 16px; line-height: 1; }
.lcard h3 { margin-bottom: 10px; }
.lcard p { color: var(--muted); font-size: 0.96rem; }

/* Open roles page */
.jobs { background: var(--card); border: 1px solid var(--line); padding: clamp(28px, 4vw, 52px); }
.jobs-empty { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; }
.jobs-empty > * { min-width: 0; }
@media (max-width: 760px) { .jobs-empty { grid-template-columns: minmax(0, 1fr); } }
.jobs h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.jobs p { color: var(--muted); max-width: 62ch; }
.pulse-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-deep); margin-right: 10px; box-shadow: 0 0 0 0 rgba(201,166,58,.55); animation: ping 2.4s ease-out infinite; vertical-align: middle; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(201,166,58,.55); } 80%, 100% { box-shadow: 0 0 0 14px rgba(201,166,58,0); } }
.jobs-status { font-size: 0.78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--plum-3); margin-bottom: 18px; }
#crelate-jobs:empty { display: none; }

/* Legal page */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 44px 0 14px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 14px 0; }
.prose .meta { font-size: 0.86rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--plum-3); }

/* Footer social + legal links */
.foot .soc { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; }
.foot .soc a { font-weight: 700; font-size: 0.88rem; }
.legal .row a { color: var(--on-dark-soft); }
.notice.ok { border-left-color: #6BBF8A; }

/* The hidden attribute must win over component display rules on the live site */
[hidden] { display: none !important; }
.phero .eyebrow, .ctab .eyebrow { color: var(--gold); }
.phero .eyebrow::before, .ctab .eyebrow::before { background: var(--gold); }
.ctab.light { background: var(--mist); color: var(--text); border-top: 1px solid var(--line); }
.ctab.light::before { background: radial-gradient(circle, rgba(162,144,193,.22), transparent 62%); }
.ctab.light .lede { color: var(--muted); }
.ctab.light .eyebrow { color: var(--plum-3); }
.ctab.light .eyebrow::before { background: var(--gold-deep); }
