@font-face { font-family: "Manrope"; src: url(../assets/fonts/manrope.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../assets/fonts/fraunces-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../assets/fonts/fraunces-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../assets/fonts/fraunces-latin-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --blue: #0F5BAA; --blue-d: #0A3D73; --blue-ink: #0B4A8C; --sky: #5FB3F0; --sky-l: #D8ECFB;
  --leaf: #2E8B57; --leaf-d: #1D5E3A; --lime: #A3D65C; --sun: #F2A93B; --coral: #E4572E; --violet: #5B4B8A; --teal: #0B7A75;
  --paper: #FBF8F1; --cream: #F3EEE2; --ink: #14213D; --ink-2: #48546A; --line: rgba(20,33,61,.12); --line-2: rgba(20,33,61,.22);
  --accent: var(--sun); --accent-ink: #9A5B05;
  --sans: "Manrope", system-ui, sans-serif; --serif: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(.22,1,.36,1); --max: 1240px; --g: clamp(20px, 5vw, 64px);
}
body[data-mode="people"] { --accent: var(--lime); --accent-ink: #3F6B12; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.6 var(--sans); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; } img { height: auto; }
a { color: inherit; } button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 200; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), 100% - 2 * var(--g)); margin-inline: auto; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 800; letter-spacing: -.02em; line-height: 1.04; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; }
h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h3 { font-size: 1.45rem; line-height: 1.15; }
p { margin: 0 0 1em; }
.num { font-variant-numeric: tabular-nums; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.16rem); color: var(--ink-2); max-width: 60ch; }
.note { font-size: .8rem; color: var(--ink-2); }
.tag { display: inline-flex; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--sky-l); color: var(--blue-ink); }
.tag--light { background: rgba(255,255,255,.14); color: #fff; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 16px; }
.kicker i { font-style: normal; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--ink); font-size: .74rem; }
.kicker--light { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 800; font-size: .84rem; letter-spacing: .04em; text-decoration: none; border: 2px solid transparent; transition: translate .3s var(--ease), box-shadow .3s, background .3s; }
.btn:hover { translate: 0 -2px; box-shadow: 0 10px 20px -10px rgba(0,0,0,.35); }
.btn--blue { background: var(--blue); color: #fff; } .btn--ghost { border-color: var(--line-2); background: #fff; }
.btn--sun { background: var(--sun); color: var(--ink); } .btn--ghostl { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.scene { position: relative; padding: clamp(90px, 11vw, 140px) 0; overflow-x: clip; }
.head { margin-bottom: clamp(34px, 5vw, 56px); display: grid; gap: 16px; }
.head .lead { margin: 0; }

/* header */
.prog { position: fixed; left: 0; top: 0; height: 4px; width: calc(var(--p, 0) * 100%); z-index: 80; background: linear-gradient(90deg, var(--leaf), var(--lime), var(--sun), var(--coral), var(--blue)); }
.bar { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .4s, box-shadow .4s; }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.bar.solid { background: rgba(251,248,241,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark__seed { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: conic-gradient(from 200deg, var(--leaf), var(--lime), var(--sun), var(--coral), var(--blue), var(--leaf)); transform: rotate(-45deg); }
.mark b { display: block; font-size: .8rem; letter-spacing: .16em; }
.mark small { display: block; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.nav { display: none; gap: 18px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nav a { text-decoration: none; opacity: .65; position: relative; } .nav a:hover, .nav a.on { opacity: 1; }
.nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 3px; border-radius: 3px; background: var(--accent); }
@media (min-width: 1180px) { .nav { display: flex; } }
.modes { display: flex; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.modes button { border: 0; background: transparent; padding: 8px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .03em; white-space: nowrap; transition: background .35s, color .35s; }
.modes button[aria-checked="true"] { background: var(--ink); color: #fff; }
@media (max-width: 520px) { .mark small { display: none; } .modes button { padding: 7px 9px; font-size: .64rem; } .mark b { font-size: .7rem; } }

/* hero */
.hero { min-height: 100svh; padding: 110px 0 120px; display: flex; align-items: center; background: radial-gradient(70% 60% at 80% 20%, #E3F1FC 0%, rgba(227,241,252,0) 60%), radial-gradient(60% 50% at 10% 90%, #EAF6DE 0%, rgba(234,246,222,0) 60%), var(--paper); }
.hero__arch { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 30px; align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 30%, transparent); }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 6rem); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.12em; }
.hero h1 .ln > span { display: block; }
.hero h1 em { color: var(--blue); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 55%, transparent) 62%); padding: 0 .08em; }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 48ch; margin: 22px 0 14px; color: var(--ink); }
.hero__who { font-size: .78rem; letter-spacing: .06em; color: var(--ink-2); }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; max-width: 560px; }
.path { text-align: left; border: 0; border-radius: 22px; padding: 18px 18px 16px; color: #fff; display: grid; gap: 2px; position: relative; overflow: hidden; transition: translate .35s var(--ease), box-shadow .35s; }
.path:hover { translate: 0 -4px; box-shadow: 0 18px 30px -18px rgba(0,0,0,.5); }
.path small { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; font-weight: 800; }
.path b { font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.path span { font-size: .78rem; font-weight: 700; opacity: .92; }
.path--payroll { background: linear-gradient(135deg, var(--blue), var(--blue-d)); }
.path--people { background: linear-gradient(135deg, var(--leaf), var(--leaf-d)); }
.path::after { content: ""; position: absolute; right: -24px; bottom: -24px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.14); transition: scale .5s var(--ease); }
.path:hover::after { scale: 1.6; }
body[data-mode="payroll"] .path--payroll, body[data-mode="people"] .path--people { box-shadow: 0 0 0 4px var(--accent); }
.hero__eco { position: relative; aspect-ratio: 56 / 60; max-width: 560px; width: 100%; margin-inline: auto; }
.roots { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.roots text { font: 800 13px var(--sans); fill: var(--ink); letter-spacing: .02em; }
.me { position: absolute; left: 50%; top: 4%; width: 52%; translate: -50% 0; margin: 0; aspect-ratio: 4/5; border-radius: 50% 50% 46% 46% / 42% 42% 58% 58%; overflow: hidden; background: radial-gradient(circle at 50% 35%, var(--sky), var(--blue) 70%); box-shadow: 0 0 0 8px #fff, 0 0 0 10px var(--accent), 0 30px 60px -30px rgba(10,61,115,.6); }
.me img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.seed { position: absolute; left: 50%; top: 60%; width: 26px; height: 26px; translate: -50% -50%; }
.seed i { position: absolute; inset: 0; border-radius: 50% 50% 50% 0; background: var(--leaf); transform: rotate(-45deg); }
.seed i + i { background: var(--lime); scale: .55; }
.ribbon { position: absolute; left: 0; right: 0; bottom: 0; background: var(--ink); color: #fff; overflow: hidden; }
.ribbon__in { display: flex; width: max-content; padding: 13px 0; font: 800 clamp(.9rem, 1.6vw, 1.15rem) var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.ribbon__in span { display: inline-flex; align-items: center; gap: 18px; padding-right: 18px; }
.ribbon__in i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }

/* proof */
.proof { background: var(--accent); transition: background .5s; }
.proof__in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; padding: 26px 0 18px; }
@media (min-width: 860px) { .proof__in { grid-template-columns: repeat(4, 1fr); } }
.pf { padding: 12px 18px; }
.pf b { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; color: var(--ink); }
.pf span { font-size: .86rem; font-weight: 700; color: var(--ink); opacity: .8; }
.pf__src { grid-column: 1 / -1; margin: 6px 18px 0; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }

/* funnel scene */
.roots-scene { background: linear-gradient(180deg, var(--paper), #EEF6E6); }
.twocol { display: grid; gap: 34px; align-items: center; }
@media (min-width: 960px) { .twocol { grid-template-columns: 1fr 1fr; gap: 60px; } }
.pinbox { width: 100%; }
.stages { list-style: none; padding: 0; margin: 20px 0 12px; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: st; }
.stages li { counter-increment: st; font-size: .74rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: background .3s, color .3s, border-color .3s; }
.stages li::before { content: counter(st) " · "; opacity: .6; }
.stages li.on { background: var(--leaf); color: #fff; border-color: var(--leaf); }
.stages li.done { background: #DDF0CF; color: var(--leaf-d); border-color: transparent; }
.funnel-wrap { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.funnel-count { position: absolute; right: 0; top: 0; text-align: right; }
.funnel-count b { display: block; font-family: var(--serif); font-size: clamp(3rem, 7vw, 5.4rem); line-height: .9; color: var(--leaf-d); }
.funnel-count span { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }

/* payroll */
.payroll { background: #fff; }
.split { display: grid; gap: 14px; margin-top: 6px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.split > div { border-radius: 20px; padding: 18px 20px; }
.split b { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.split p { margin: 0; font-size: .95rem; }
.did { background: #E7F4EC; } .did b { color: var(--leaf-d); }
.would { background: var(--sky-l); } .would b { color: var(--blue-ink); }
.lab { margin-top: 30px; border-radius: 28px; background: var(--ink); color: #E8ECF4; padding: clamp(16px, 2.5vw, 28px); box-shadow: 0 40px 80px -40px rgba(20,33,61,.6); }
.lab__top { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.lab__top h3 { color: #fff; margin-top: 8px; }
.lab__top .tag { background: rgba(255,255,255,.12); color: var(--sun); }
.lab__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.lab .btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.lab__grid { display: grid; gap: 18px; }
@media (min-width: 1060px) { .lab__grid { grid-template-columns: 300px 1fr; } }
.qc { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; counter-reset: q; }
.qc li { counter-increment: q; position: relative; padding: 11px 12px 11px 46px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: .84rem; transition: background .35s, border-color .35s; }
.qc li::before { content: counter(q); position: absolute; left: 10px; top: 10px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .74rem; background: rgba(255,255,255,.12); transition: background .3s, color .3s; }
.qc li b { display: block; color: #fff; }
.qc li span { display: block; font-size: .76rem; color: #A9B4C8; line-height: 1.4; }
.qc li.run { border-color: var(--sun); background: rgba(242,169,59,.12); }
.qc li.run::before { background: var(--sun); color: var(--ink); animation: pulse 1s infinite; }
.qc li.ok::before { content: "✓"; background: var(--lime); color: var(--ink); }
.qc li.flag { border-color: var(--coral); background: rgba(228,87,46,.14); }
.qc li.flag::before { content: "!"; background: var(--coral); color: #fff; }
.qc .fix { margin-top: 8px; display: grid; gap: 6px; font-size: .78rem; color: #FFD5C7; }
.qc .fix button { justify-self: start; border: 0; border-radius: 999px; padding: 6px 12px; background: var(--coral); color: #fff; font-weight: 800; font-size: .74rem; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(242,169,59,.25); } }
.regwrap { overflow-x: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); }
.register { width: 100%; border-collapse: collapse; font-size: .8rem; min-width: 760px; }
.register th, .register td { padding: 9px 10px; text-align: right; border-bottom: 1px solid rgba(255,255,255,.07); white-space: nowrap; }
.register th:first-child, .register td:first-child, .register th:nth-child(2), .register td:nth-child(2) { text-align: left; }
.register th { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #8FA0BD; background: rgba(255,255,255,.03); position: sticky; top: 0; }
.register tbody tr { cursor: pointer; transition: background .25s; }
.register tbody tr:hover, .register tbody tr.sel { background: rgba(95,179,240,.12); }
.register td.bad { color: #FF9F84; font-weight: 800; }
.register td.net { color: var(--lime); font-weight: 800; }
.register small { display: block; color: #8FA0BD; font-size: .7rem; }
.totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-top: 12px; }
.totals div { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.05); }
.totals b { display: block; font-size: 1.15rem; color: #fff; } .totals span { font-size: .7rem; color: #A9B4C8; letter-spacing: .04em; }
.payslip { margin-top: 12px; }
.slip { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 18px; display: grid; gap: 12px; }
.slip__h { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-bottom: 2px dashed var(--line-2); padding-bottom: 10px; }
.slip__h b { font-family: var(--serif); font-size: 1.2rem; }
.slip__cols { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; font-size: .84rem; }
.slip__cols div > p { display: flex; justify-content: space-between; margin: 0; padding: 4px 0; border-bottom: 1px solid var(--line); }
.slip__net { display: flex; justify-content: space-between; align-items: baseline; background: #E7F4EC; border-radius: 12px; padding: 12px 14px; font-weight: 800; }
.slip__net b { font-family: var(--serif); font-size: 1.6rem; color: var(--leaf-d); }
.rulesrc { margin-top: 18px; background: var(--cream); border-radius: 18px; padding: 14px 18px; }
.rulesrc summary { cursor: pointer; font-weight: 800; }
.rulesrc ul { margin: 12px 0 6px; padding-left: 18px; font-size: .9rem; }
.rulesrc li { margin-bottom: 6px; }

/* campus */
.campus { background: linear-gradient(180deg, #0A3D73, #0F5BAA 70%, #2E7BC4); color: #fff; padding: 0; }
.campus .pinbox { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 90px; }
.campus__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.campus__copy { position: relative; z-index: 2; }
.campus__copy h2 { max-width: 16ch; }
.campus__copy .lead { color: #DDEBFA; max-width: 52ch; margin-top: 18px; }
.campus__copy .lead--b { color: #fff; font-weight: 600; border-left: 4px solid var(--sun); padding-left: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; max-width: 640px; }
.facts div { background: rgba(255,255,255,.12); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 10px 14px; }
.facts b { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1.05; }
.facts span { font-size: .74rem; color: #DDEBFA; }
.src { font-size: .72rem; color: #B8D3F0; margin-top: 14px; }

/* people */
.people { background: var(--paper); }
.gallery { display: grid; gap: 18px; grid-template-columns: repeat(12, 1fr); align-items: start; }
.gcard { grid-column: span 3; display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; color: var(--ink); text-align: left; box-shadow: 0 18px 40px -30px rgba(20,33,61,.45); transition: box-shadow .35s; }
.gcard:nth-child(-n+3) { grid-column: span 4; }
.gcard:nth-child(2) { margin-top: 56px; }
.gcard:hover { box-shadow: 0 30px 60px -30px rgba(20,33,61,.55); }
.gimg { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c); }
.gimg img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.gcard:hover .gimg img, .gcard:focus-visible .gimg img { scale: 1.05; }
.gcard .ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; color: #fff; background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.28), transparent 55%), linear-gradient(160deg, transparent 40%, rgba(0,0,0,.22)), var(--c); }
.gcard .ph svg { width: 56px; opacity: .95; }
.gcard .ph q { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.02rem, 1.4vw, 1.3rem); line-height: 1.3; quotes: none; }
.gcard .ph q::before { content: "\201C"; display: block; font-size: 2.6em; line-height: .6; height: .42em; color: rgba(255,255,255,.75); }
.gcard .ph q::after { content: ""; display: block; width: 46%; height: 2px; margin-top: 14px; background: rgba(255,255,255,.7); }
.gcard .soon { position: absolute; top: 16px; right: 16px; font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--ink); padding: 4px 8px; border-radius: 999px; }
.gcard .cap { display: block; padding: 14px 18px 16px; border-top: 4px solid var(--c); }
.gcard .cap small { display: flex; align-items: center; gap: 8px; font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.gcard .cap small::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.gcard .cap b { display: block; margin-top: 4px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; }
.swipe { display: none; }
@media (max-width: 900px) {
  .gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--g)); padding: 6px var(--g) 18px; scroll-padding-inline: var(--g); scrollbar-width: none; overscroll-behavior-x: contain; }
  .gallery::-webkit-scrollbar { display: none; }
  .gcard, .gcard:nth-child(n) { flex: 0 0 min(78%, 340px); grid-column: auto; margin-top: 0; scroll-snap-align: start; }
  .swipe { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
  .swipe i { display: inline-block; width: 34px; height: 2px; background: currentColor; animation: swipe 1.6s var(--ease) infinite; transform-origin: left; }
}
@keyframes swipe { 0% { scale: .2 1; } 60%, 100% { scale: 1 1; opacity: 0; } }
.beyond { margin-top: clamp(60px, 8vw, 90px); }
.beyond__h { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 24px; }
.bcards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.bcard { border-radius: 22px; padding: 18px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; transition: box-shadow .35s; }
.bcard::before { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--c); opacity: .16; transition: scale .6s var(--ease); }
.bcard:hover::before { scale: 3.2; }
.bcard:hover { box-shadow: 0 20px 40px -24px rgba(0,0,0,.35); }
.bcard .i { font-size: .66rem; font-weight: 800; letter-spacing: .16em; color: var(--c); }
.bcard h4 { margin: 6px 0 4px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.2; }
.bcard p { margin: 0; font-size: .85rem; color: var(--ink-2); position: relative; }
.bcard .to { margin-top: 10px; font-weight: 800; color: var(--ink); }

/* tools */
.tools { background: linear-gradient(160deg, #123B2A, #1D5E3A 55%, #0B7A75); color: #E9F5EC; }
.tool { display: grid; gap: 24px; align-items: start; padding: clamp(18px, 3vw, 30px); border-radius: 28px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); margin-bottom: 18px; }
@media (min-width: 960px) { .tool { grid-template-columns: .9fr 1.1fr; gap: 40px; } }
.tool h3 { color: #fff; margin: 12px 0 10px; }
.tool p { color: #CFE5D6; }
.jd { margin: 14px 0 0; padding: 14px 16px; border-radius: 16px; background: rgba(0,0,0,.2); font-size: .88rem; color: #E9F5EC; border-left: 4px solid var(--lime); }
.weights { display: grid; gap: 10px; }
.wrow { display: grid; grid-template-columns: 150px 1fr 40px; gap: 10px; align-items: center; font-size: .84rem; }
.wrow input { width: 100%; accent-color: var(--lime); }
.wrow b { text-align: right; color: var(--lime); }
.rank { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; gap: 8px; position: relative; }
.rank li { display: grid; grid-template-columns: 34px 1fr 60px; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.08); }
.rank li .pos { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: rgba(255,255,255,.14); }
.rank li:first-child .pos { background: var(--lime); color: var(--ink); }
.rank .bar2 { height: 8px; border-radius: 8px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; margin-top: 4px; }
.rank .bar2 i { position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, var(--lime), var(--sun)); border-radius: 8px; transition: width .6s var(--ease); }
.rank b.sc { text-align: right; font-size: 1.1rem; color: #fff; }
.note--light { color: #A8CDB4; }
.ethic { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.ethic li { padding: 10px 14px; border-radius: 14px; background: rgba(0,0,0,.18); font-size: .88rem; }
.ethic b { color: var(--lime); }
.flow { display: grid; gap: 14px; align-content: center; position: relative; padding: 10px 0; }
@media (min-width: 640px) { .flow { grid-template-columns: repeat(5, 1fr); gap: 0; } }
.fnode { position: relative; margin: 0 8px; padding: 16px 12px; border-radius: 18px; background: var(--c); color: var(--ink); text-align: center; box-shadow: 0 16px 30px -18px rgba(0,0,0,.5); }
.fnode b { display: block; font-family: var(--serif); font-size: 1.05rem; }
.fnode span { font-size: .74rem; font-weight: 700; }
@media (min-width: 640px) { .fnode:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50%; width: 16px; height: 4px; background: repeating-linear-gradient(90deg, #fff 0 4px, transparent 4px 8px); background-size: 8px 4px; animation: flowdash .6s linear infinite; } }
@keyframes flowdash { to { background-position: 8px 0; } }

/* control room */
.control { background: var(--cream); }
.cr { background: #fff; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(20,33,61,.4); overflow: hidden; }
.cr__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; background: var(--ink); }
.cr__tabs button { border: 0; border-radius: 999px; padding: 9px 14px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; background: rgba(255,255,255,.08); color: #CBD5E1; transition: background .3s, color .3s; }
.cr__tabs button[aria-selected="true"] { background: var(--accent); color: var(--ink); }
.cr__body { padding: clamp(14px, 2.4vw, 24px); min-height: 380px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 16px; }
.kpis div { border-radius: 16px; padding: 14px; background: var(--paper); border: 1px solid var(--line); }
.kpis b { display: block; font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.kpis span { font-size: .74rem; color: var(--ink-2); font-weight: 700; }
.tbl { width: 100%; border-collapse: collapse; font-size: .86rem; }
.tbl th, .tbl td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl th { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.tblwrap { overflow-x: auto; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; }
.pill.g { background: #DDF0CF; color: #2F5D12; } .pill.a { background: #FDEBC8; color: #8A5300; } .pill.r { background: #FCD9CE; color: #9A2A0A; } .pill.b { background: var(--sky-l); color: var(--blue-ink); }
.meter { height: 10px; border-radius: 10px; background: var(--cream); overflow: hidden; min-width: 120px; }
.meter i { display: block; height: 100%; width: var(--w); background: var(--c, var(--leaf)); border-radius: 10px; transition: width .8s var(--ease); }
.ticks { display: flex; gap: 4px; }
.ticks i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-size: .7rem; font-weight: 800; background: var(--cream); color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s; }
.ticks i.y { background: var(--leaf); color: #fff; }

/* plan */
.plan { background: var(--paper); }
.vine { position: relative; display: grid; gap: 16px; }
@media (min-width: 900px) { .vine { grid-template-columns: repeat(3, 1fr); } }
.phase { border-radius: 26px; padding: 22px; color: #fff; background: var(--c); position: relative; overflow: hidden; }
.phase small { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.phase h3 { color: #fff; margin: 6px 0 12px; }
.phase ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.phase li { padding-left: 22px; position: relative; font-size: .9rem; }
.phase li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; background: rgba(255,255,255,.85); transform: rotate(-45deg); }
.phase::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.12); }

/* close */
.close { background: radial-gradient(80% 70% at 50% 100%, #1D5E3A, #0A3D73 70%); color: #fff; text-align: center; overflow: hidden; }
.close__tree { width: min(560px, 90%); margin: -40px auto 0; }
.close__in h2 { max-width: 20ch; margin: 10px auto 16px; }
.close__in .lead { color: #DDEBFA; margin: 0 auto 26px; }
.contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.signoff { margin-top: 44px; font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.05; }
.signoff em { font-weight: 500; color: var(--sun); }
.foot { background: #081A33; color: #94A3B8; font-size: .78rem; padding: 26px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: space-between; }
.toast { position: fixed; left: 50%; bottom: 22px; translate: -50% 20px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: .86rem; opacity: 0; transition: opacity .3s, translate .3s; z-index: 300; pointer-events: none; }
.toast.show { opacity: 1; translate: -50% 0; }

/* one reveal mechanism only: class-based, one-way (never hides again) */
.js [data-rv] { opacity: 0; translate: 0 34px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.js [data-rv].in { opacity: 1; translate: 0 0; }
h2 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .2em; margin-bottom: -.18em; }
h2 .w > span { display: inline-block; }

/* dialog */
dialog.lb { border: 0; padding: 0; border-radius: 26px; width: min(760px, 100% - 24px); background: var(--paper); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); }
dialog.lb::backdrop { background: rgba(8,26,51,.72); backdrop-filter: blur(3px); }
.lb__img { aspect-ratio: 4/3; background: var(--c); display: grid; place-items: center; color: #fff; }
.lb__img img { width: 100%; height: 100%; object-fit: cover; }
.lb__txt { padding: 22px 24px 26px; }
.lb__txt small { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.lb__txt h3 { margin: 6px 0 10px; }
.lb--photo { width: min(620px, 100% - 24px); }
.lb--photo .lb__img { aspect-ratio: auto; background: #0A1428; }
.lb--photo .lb__img img { width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
.lb__x { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.3rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-rv] { opacity: 1; translate: 0 0; }
}

.pf__src { display: flex; align-items: center; gap: 10px; }
.pf__src img { height: 22px; width: auto; background: #fff; padding: 3px 6px; border-radius: 6px; }
.bcard--img { padding-top: 0; }
.bcard--img .bimg { display: block; width: calc(100% + 36px); margin: 0 -18px 14px; aspect-ratio: 16/10; overflow: hidden; }
.bcard--img img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; }
.bcard--img.play img { animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { to { scale: 1.12; translate: -2% -2%; } }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.shots figure { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); transition: transform .5s var(--ease); }
.shots figure:nth-child(1) { transform: rotate(-2deg); } .shots figure:nth-child(2) { transform: rotate(2deg) translateY(10px); }
.shots figure:hover { transform: rotate(0) scale(1.04); z-index: 2; }
.shots img { aspect-ratio: 16/10; object-fit: cover; object-position: top left; width: 100%; }
.shots figcaption { font-size: .7rem; font-weight: 800; color: var(--ink); padding: 6px 10px; }

/* ================= compliance pivot: hero punch, math glyphs ================= */
.hero h1 { font-size: clamp(2.1rem, 4.3vw, 4.25rem); }
.hero__punch { margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem); }
.hero__punch b { font-weight: 800; color: var(--blue); letter-spacing: .02em; }
.hero__punch b:nth-child(2) { color: var(--leaf); } .hero__punch b:nth-child(3) { color: var(--coral); }
.hero__punch span { font-style: italic; font-weight: 500; padding: 2px 12px; border-radius: 999px; background: var(--sun); color: var(--ink); }
.glyphs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.glyphs span { position: absolute; left: var(--x); top: var(--y); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: calc(var(--s) * 2.4rem); color: var(--blue); opacity: .13; white-space: nowrap; animation: drift 10s ease-in-out infinite; animation-delay: var(--d); }
.glyphs--dark span { color: #fff; opacity: .07; font-size: calc(var(--s) * 4rem); }
@keyframes drift { 50% { translate: 0 -22px; rotate: 7deg; } }
.hero .wrap, .machine .wrap { position: relative; z-index: 1; }
.pf--hero b { color: var(--coral); }
.punchline { margin: 18px 0 0; padding: 12px 16px; border-radius: 14px; background: #FFF4DE; border-left: 4px solid var(--sun); font-weight: 600; }

/* ================= the cash-flow machine ================= */
.machine { background: radial-gradient(60% 50% at 85% 0%, #1B3A73 0%, rgba(27,58,115,0) 60%), radial-gradient(50% 40% at 0% 100%, #123D3A 0%, rgba(18,61,58,0) 60%), var(--ink); color: #fff; }
.machine h2 { color: #fff; } .machine h2 em { color: var(--sun); }
.machine .lead { color: rgba(255,255,255,.82); }
.note--light { color: rgba(255,255,255,.6); }
.mach { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 20px; margin-top: 30px; align-items: start; }
.mach__ctl { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.presets button { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .84rem; cursor: pointer; transition: background .25s, color .25s, translate .25s; }
.presets button small { opacity: .7; font-size: .74rem; }
.presets button:hover { translate: 0 -2px; background: rgba(255,255,255,.14); }
.presets button[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.slide { flex: 1 1 300px; max-width: 520px; display: grid; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.slide b { margin-left: 8px; font-family: var(--serif); font-size: 1.7rem; letter-spacing: 0; text-transform: none; color: var(--sun); }
.slide input { width: 100%; accent-color: var(--sun); height: 28px; }
.mach__stage { border-radius: 28px; padding: 8px; background: radial-gradient(circle at 50% 35%, #1D3466, #0D1834 72%); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 0 60px rgba(0,0,0,.35); }
.mach__stage svg { display: block; width: 100%; height: auto; }
#machSvg text { font-family: var(--sans); }
.m-lab { font-size: 14px; font-weight: 800; letter-spacing: 3px; }
.m-big { font-size: 32px; font-weight: 800; }
.m-mid { font-size: 25px; font-weight: 800; }
.m-tk { font-size: 19px; font-weight: 800; fill: #fff; letter-spacing: 1px; paint-order: stroke; stroke: #0B1530; stroke-width: 4px; }
.m-tv { font-size: 23px; font-weight: 800; fill: #fff; paint-order: stroke; stroke: #0B1530; stroke-width: 4px; }
.m-tv--s { font-size: 19px; }
.m-ts { font-size: 13px; font-weight: 600; fill: rgba(255,255,255,.78); paint-order: stroke; stroke: #0B1530; stroke-width: 3px; }
.m-due { font-size: 14px; font-weight: 700; fill: rgba(255,255,255,.7); }
.m-fill { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .9s var(--ease); }
.m-led { opacity: .3; transition: opacity .2s; }
.m-led.on { opacity: 1; filter: drop-shadow(0 0 6px currentColor); }
.gear { transform-box: view-box; animation: spin 7s linear infinite; animation-play-state: paused; }
.gear.rev { animation-direction: reverse; animation-duration: 4.9s; } .gear.slow { animation-duration: 9s; }
.mflow { stroke-dasharray: 2 14; animation: flow .9s linear infinite; animation-play-state: paused; }
.machine.on .gear, .machine.on .mflow { animation-play-state: running; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes flow { to { stroke-dashoffset: -16; } }
.ledger { border-radius: 28px; background: #fff; color: var(--ink); padding: 20px 22px; font-size: .9rem; }
.lg__h, .lg__s { margin: 0 0 8px; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.lg__s { margin-top: 14px; }
.lg__r { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.lg__r span { display: flex; align-items: center; gap: 8px; } .lg__r i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.lg__r b { font-variant-numeric: tabular-nums; }
.lg__r.mut { color: var(--ink-2); font-size: .82rem; }
.lg__r.tot { border-bottom: 0; font-weight: 800; }
.lg__net { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: #fff; }
.lg__net b { font-family: var(--serif); font-size: 1.7rem; color: var(--lime); font-variant-numeric: tabular-nums; }
.why { margin: 14px 0 0; padding: 12px 14px; border-radius: 0 14px 14px 0; background: #EEF7E4; border-left: 4px solid var(--leaf); font-size: .86rem; line-height: 1.5; }
.why b { display: block; margin-bottom: 2px; }
.eqs { grid-column: 1 / -1; border-radius: 28px; padding: 22px clamp(18px, 3vw, 32px); background: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 100% 28px, linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 28px 100%, #0B1530; border: 1px solid rgba(255,255,255,.1); }
.eqs__h { margin: 0 0 10px; color: rgba(255,255,255,.78); }
.eqs__h b { display: block; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); color: #fff; }
.eqs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); column-gap: 34px; }
.eq { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.14); }
.eq__l { font-family: var(--serif); font-size: clamp(1.02rem, 1.4vw, 1.22rem); color: #fff; }
.eq__l .v { color: var(--sky); font-style: italic; } .eq__l .op { margin: 0 .28em; color: rgba(255,255,255,.5); font-style: normal; }
.eq__l sub { font-size: .62em; color: var(--sky); }
.eq__n { display: block; margin-top: 2px; font-family: var(--sans); font-size: .74rem; color: var(--lime); }
.eq__r { font-weight: 800; color: var(--sun); font-variant-numeric: tabular-nums; white-space: nowrap; }
.eq.flash .eq__r { animation: eqf .8s var(--ease); }
.eq--chk .eq__r { color: var(--lime); }
@keyframes eqf { 0% { color: #fff; text-shadow: 0 0 14px var(--sun); scale: 1.12; } }
.clock { grid-column: 1 / -1; padding: 8px 4px 0; }
.clock__h { margin: 0 0 22px; color: rgba(255,255,255,.75); } .clock__h b { color: #fff; }
.clock__track { position: relative; height: 4px; margin: 0 6px 64px; border-radius: 4px; background: linear-gradient(90deg, var(--lime), var(--coral) 46.6%, var(--sky)); }
.clock__dot { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.18); animation: tick 7s var(--ease) infinite; }
@keyframes tick { 0% { left: 0; } 40%, 50% { left: 46.6%; } 90%, 100% { left: 100%; } }
.ck { position: absolute; top: 14px; left: var(--x); translate: -50% 0; display: grid; text-align: center; font-size: .78rem; color: rgba(255,255,255,.75); white-space: nowrap; }
.ck:first-of-type { translate: 0 0; text-align: left; } .ck:last-of-type { translate: -100% 0; text-align: right; }
.ck::before { content: ""; position: absolute; top: -21px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--ink); border: 3px solid var(--sun); }
.ck:first-of-type::before { left: 0; margin-left: -6px; } .ck:last-of-type::before { left: auto; right: -6px; }
.ck b { font-family: var(--serif); font-size: 1.15rem; color: #fff; }
.clock__side { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.clock__side span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: .78rem; color: rgba(255,255,255,.82); }
@media (min-width: 981px) { .ledger { grid-row: span 2; } .clock { grid-column: 1; } }
@media (max-width: 980px) { .mach { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ck { white-space: normal; max-width: 34vw; font-size: .7rem; } .ck b { font-size: 1rem; } .clock__track { margin-bottom: 84px; } }
@media (max-width: 640px) {
  .m-big { font-size: 40px; } .m-mid { font-size: 30px; } .m-lab { font-size: 19px; letter-spacing: 2px; }
  .m-tk { font-size: 24px; } .m-tv { font-size: 30px; } .m-tv--s { font-size: 24px; } .m-due { font-size: 21px; }
  .m-ts { display: none; }
  .mach__stage { padding: 4px; border-radius: 20px; }
  .glyphs span:nth-child(n+7) { display: none; }
}

/* ================= living background: everything merges into it ================= */
@property --a1 { syntax: "<color>"; inherits: true; initial-value: #5FB3F0; }
@property --a2 { syntax: "<color>"; inherits: true; initial-value: #A3D65C; }
@property --a3 { syntax: "<color>"; inherits: true; initial-value: #F2A93B; }
@property --a4 { syntax: "<color>"; inherits: true; initial-value: #E4572E; }
:root { transition: --a1 1.6s ease, --a2 1.6s ease, --a3 1.6s ease, --a4 1.6s ease; }
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--paper); }
.aurora i { position: absolute; width: 64vmax; height: 64vmax; border-radius: 50%; opacity: .55; will-change: transform; animation: blob 26s ease-in-out infinite alternate; }
.aurora .a1 { left: -20vmax; top: -22vmax; background: radial-gradient(circle, var(--a1), transparent 64%); }
.aurora .a2 { right: -24vmax; top: 6vh; background: radial-gradient(circle, var(--a2), transparent 64%); animation-duration: 31s; animation-delay: -9s; }
.aurora .a3 { left: 14vw; bottom: -34vmax; background: radial-gradient(circle, var(--a3), transparent 64%); animation-duration: 23s; animation-delay: -4s; }
.aurora .a4 { right: 4vw; bottom: -30vmax; opacity: .38; background: radial-gradient(circle, var(--a4), transparent 64%); animation-duration: 36s; animation-delay: -14s; }
.aurora .a5 { left: 34vw; top: 18vh; width: 42vmax; height: 42vmax; opacity: .3; background: radial-gradient(circle, var(--a1), transparent 64%); animation-duration: 19s; animation-direction: alternate-reverse; }
.aurora .a6 { left: 0; top: 0; width: 520px; height: 520px; opacity: .35; animation: none; background: radial-gradient(circle, var(--a3), transparent 62%); }
.aurora::after { content: ""; position: absolute; inset: -48px; background-image: linear-gradient(rgba(20,33,61,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(20,33,61,.06) 1px, transparent 1px); background-size: 48px 48px; animation: gridmove 16s linear infinite; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 85%); mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 85%); }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 33% { transform: translate(14vw, 10vh) scale(1.16); } 66% { transform: translate(-9vw, 18vh) scale(.9); } 100% { transform: translate(10vw, -12vh) scale(1.08); } }
@keyframes gridmove { to { transform: translate(48px, 48px); } }
body { background: var(--paper); }
/* light scenes become windows onto the background */
.hero, .roots-scene, .people, .plan { background: transparent; }
.payroll { background: rgba(255,255,255,.42); }
.control { background: rgba(243,238,226,.45); }
.proof { background: color-mix(in srgb, var(--accent) 80%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* dark scenes dissolve at their edges instead of starting with a hard line */
.machine { background: radial-gradient(60% 50% at 85% 0%, rgba(27,58,115,.9) 0%, rgba(27,58,115,0) 60%), radial-gradient(50% 40% at 0% 100%, rgba(18,61,58,.9) 0%, rgba(18,61,58,0) 60%), rgba(20,33,61,.9); }
.machine, .tools { -webkit-mask-image: linear-gradient(transparent 0, #000 110px, #000 calc(100% - 110px), transparent 100%); mask-image: linear-gradient(transparent 0, #000 110px, #000 calc(100% - 110px), transparent 100%); padding-block: clamp(140px, 14vw, 190px); }
.tools { background: linear-gradient(160deg, rgba(18,59,42,.93), rgba(29,94,58,.9) 55%, rgba(11,122,117,.9)); }
/* cards: frosted glass, so colour moves behind them */
.gcard, .bcard, .ledger, .cr { background: rgba(255,255,255,.8); }
@media (min-width: 900px) and (pointer: fine) {
  .gcard, .bcard, .ledger, .cr, .bar.solid { -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
  .gcard, .bcard, .cr { background: rgba(255,255,255,.66); }
}
.bar.solid { background: rgba(251,248,241,.72); }
/* hero portrait breaks out of its frame */
.me { overflow: visible; background: none; box-shadow: none; border-radius: 0; }
.me::before { content: ""; position: absolute; inset: 22% 4% 2%; border-radius: 47% 53% 44% 56% / 52% 46% 54% 48%; background: radial-gradient(circle at 50% 30%, var(--sky), var(--blue) 72%); box-shadow: 0 0 0 8px rgba(255,255,255,.75), 0 0 0 10px var(--accent), 0 40px 70px -30px rgba(10,61,115,.65); animation: morph 14s ease-in-out infinite alternate; }
.me img { position: relative; z-index: 1; object-fit: contain; object-position: 50% 100%; -webkit-mask-image: linear-gradient(#000 82%, transparent 99%); mask-image: linear-gradient(#000 82%, transparent 99%); filter: drop-shadow(0 18px 24px rgba(10,30,60,.28)); }
@keyframes morph { 50% { border-radius: 55% 45% 52% 48% / 45% 55% 45% 55%; } 100% { border-radius: 44% 56% 48% 52% / 56% 44% 56% 44%; } }
@media (prefers-reduced-motion: reduce) { .aurora i, .aurora::after { animation: none; } }
.machine .ledger { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.me { width: 47%; }
.hero__eco .roots { z-index: 2; }

/* ================= animated gallery illustrations ================= */
.gcard .ph { justify-content: flex-end; }
.gcard .ph svg.anim, .lb__img svg.anim { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 1; }
.lb__img { position: relative; }
.gcard .ph q { position: relative; z-index: 1; }
.anim * { animation-play-state: paused !important; }
.play .anim * { animation-play-state: running !important; }
/* garden */
.ga-rays { transform-box: view-box; transform-origin: 318px 78px; animation: spin 16s linear infinite; }
.ga-can { transform-box: view-box; transform-origin: 74px 116px; animation: gcan 2.6s ease-in-out infinite alternate; }
@keyframes gcan { from { rotate: -6deg; } to { rotate: 14deg; } }
.ga-drop { opacity: 0; animation: gdrop 1.26s ease-in infinite; }
@keyframes gdrop { 0% { opacity: 0; translate: 0 0; } 15% { opacity: 1; } 100% { opacity: 0; translate: 44px 186px; } }
.ga-plant { animation: gplant 10s linear infinite; }
@keyframes gplant { 0%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
.ga-stem { stroke-dashoffset: 0; animation: gstem 10s cubic-bezier(.45,0,.2,1) infinite; }
@keyframes gstem { 0%, 4% { stroke-dashoffset: 1; } 38%, 100% { stroke-dashoffset: 0; } }
.ga-leaf, .ga-flower, .ga-spark, .gv-heart, .gc-ok { transform-box: view-box; }
.ga-l1 { animation: gl1 10s var(--ease) infinite; } .ga-l2 { animation: gl2 10s var(--ease) infinite; } .ga-l3 { animation: gl3 10s var(--ease) infinite; } .ga-l4 { animation: gl4 10s var(--ease) infinite; }
@keyframes gl1 { 0%, 14% { scale: 0; } 21% { scale: 1.18; } 25%, 100% { scale: 1; } }
@keyframes gl2 { 0%, 20% { scale: 0; } 27% { scale: 1.18; } 31%, 100% { scale: 1; } }
@keyframes gl3 { 0%, 26% { scale: 0; } 33% { scale: 1.18; } 37%, 100% { scale: 1; } }
@keyframes gl4 { 0%, 32% { scale: 0; } 39% { scale: 1.18; } 43%, 100% { scale: 1; } }
.ga-flower { animation: gfl 10s var(--ease) infinite; }
@keyframes gfl { 0%, 40% { scale: 0; rotate: -50deg; } 50% { scale: 1.14; rotate: 8deg; } 56%, 100% { scale: 1; rotate: 0deg; } }
.ga-spark { opacity: 0; animation: gsp 10s ease-out infinite; }
@keyframes gsp { 0%, 52% { opacity: 0; scale: .3; } 58% { opacity: 1; scale: 1.25; } 70%, 100% { opacity: 0; scale: 1.7; } }
/* volunteering */
.gv-p { animation: gvin 8s var(--ease) infinite both; }
@keyframes gvin { 0%, 4% { translate: var(--dx) var(--dy); opacity: 0; } 26%, 88% { translate: 0 0; opacity: 1; } 95%, 100% { translate: 0 0; opacity: 0; } }
.gv-ring { stroke-dashoffset: 0; animation: gvring 8s var(--ease) infinite; }
@keyframes gvring { 0%, 26% { stroke-dashoffset: 1; opacity: .85; } 46%, 88% { stroke-dashoffset: 0; opacity: .85; } 95%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.gv-heart { animation: gvh 8s var(--ease) infinite; }
@keyframes gvh { 0%, 44% { scale: 0; } 52% { scale: 1.2; } 56% { scale: 1; } 60% { scale: 1.12; } 64%, 88% { scale: 1; } 95%, 100% { scale: 0; } }
.gv-mini { opacity: 0; animation: gvm 8s ease-out infinite; }
@keyframes gvm { 0%, 56% { opacity: 0; translate: 0 0; } 62% { opacity: 1; } 84%, 100% { opacity: 0; translate: 0 -64px; } }
/* cash counter */
.gc-note { opacity: 0; animation: gcn 1.2s ease-in infinite; }
@keyframes gcn { 0% { opacity: 1; translate: 0 0; } 70% { opacity: 1; translate: 0 130px; } 71%, 100% { opacity: 0; translate: 0 130px; } }
.gc-out { animation: gco 1.2s ease-in-out infinite; }
@keyframes gco { 50% { translate: 0 -3px; } }
.gc-ok { transform-origin: 292px 112px; transition: opacity .35s, scale .45s var(--ease); }
.play .gc-ok { opacity: 0; scale: .4; }
.play .gc-ok.on { opacity: 1; scale: 1; }

/* ================= the funnel, interactive ================= */
.stages { gap: 7px; }
.stages li { counter-increment: none; padding: 0; border: 0; background: none; }
.stages li::before { content: none; }
.stages button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 7px; border-radius: 999px; border: 2px solid color-mix(in srgb, var(--c) 45%, transparent); background: rgba(255,255,255,.75); color: var(--ink); font: inherit; font-size: .76rem; font-weight: 800; cursor: pointer; transition: background .3s, color .3s, translate .25s, box-shadow .3s; }
.stages button i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; font-style: normal; font-size: .68rem; }
.stages button:hover { translate: 0 -2px; box-shadow: 0 10px 20px -12px var(--c); }
.stages li.done button { background: color-mix(in srgb, var(--c) 16%, #fff); }
.stages li.on button { background: var(--c); color: #fff; border-color: var(--c); box-shadow: 0 12px 24px -10px var(--c); }
.stages li.on button i { background: #fff; color: var(--c); }
.finfo { margin: 4px 0 0; padding: 16px 18px; border-radius: 18px; background: #fff; border-left: 6px solid var(--c, var(--blue)); box-shadow: 0 18px 40px -28px rgba(20,33,61,.5); min-height: 108px; transition: border-color .4s; }
.finfo small { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.finfo small b { color: var(--c); }
.finfo strong { display: block; margin: 4px 0 2px; font-family: var(--serif); font-size: 1.35rem; color: var(--c); }
.finfo p { margin: 0; font-size: .92rem; }
.fband { cursor: pointer; opacity: .42; transition: opacity .45s; }
.fband.done { opacity: .78; }
.fband.on { opacity: 1; filter: url(#fglow); }
.fband:hover { opacity: 1; }
.fbody { transform-box: fill-box; transform-origin: 50% 100%; animation: fbody .6s var(--ease) both; }
@keyframes fbody { from { scale: 0; } }
.fband__n { opacity: .9; pointer-events: none; }
.fring { transform-box: fill-box; transform-origin: center; animation: fring 1.8s ease-out infinite; }
@keyframes fring { 0% { scale: 1; opacity: .9; } 100% { scale: 2.6; opacity: 0; } }
.funnel-wrap svg { display: block; width: 100%; height: auto; overflow: visible; }
.fbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.funnel-count { position: static; text-align: left; }
.funnel-count b { font-size: clamp(2.6rem, 5vw, 4rem); color: var(--ink); }
.fctl { display: flex; gap: 6px; }
.fctl button { min-width: 42px; height: 42px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; transition: background .25s, color .25s, translate .25s; }
.fctl button:hover { background: var(--ink); color: #fff; translate: 0 -2px; }
.fctl .freplay { padding: 0 16px; background: var(--sun); border-color: var(--sun); }
@media (prefers-reduced-motion: reduce) { .fring { animation: none; } }

/* ================= the darbar: a regal stage for Kathak ================= */
.darbar { position: relative; display: grid; gap: clamp(18px, 3vw, 40px); align-items: center; margin: 26px 0 34px; padding: clamp(18px, 3vw, 40px); border-radius: 34px; overflow: hidden; color: #F8EBD3;
  background: radial-gradient(70% 60% at 30% 40%, rgba(255,183,3,.18), transparent 60%), radial-gradient(60% 70% at 100% 100%, rgba(122,18,57,.9), transparent 70%), linear-gradient(160deg, #2A0B1F 0%, #4A0E2B 45%, #2B0A26 100%);
  box-shadow: 0 50px 100px -50px rgba(74,14,43,.9), inset 0 0 0 1px rgba(227,179,76,.35), inset 0 0 0 10px rgba(42,11,31,.6), inset 0 0 0 11px rgba(227,179,76,.28); }
.darbar::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; background-image: radial-gradient(circle at 50% 50%, #E3B34C 1.2px, transparent 1.6px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, transparent 30%, #000 100%); mask-image: radial-gradient(70% 70% at 50% 50%, transparent 30%, #000 100%); }
@media (min-width: 980px) { .darbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.darbar__stage { position: relative; aspect-ratio: 600 / 780; width: min(100%, 520px); margin-inline: auto; }
.darbar__arch { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.db-line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.darbar:not(.on) .db-line { stroke-dashoffset: 1; }
.darbar.on .db-line { animation: dbdraw 2.6s cubic-bezier(.45,0,.2,1) both; }
.darbar.on .db-line--main { animation-duration: 3.2s; animation-delay: .3s; }
@keyframes dbdraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.db-rose { transform-box: view-box; animation: spin 24s linear infinite; }
.db-lamp { transform-box: view-box; animation: dblamp 5s ease-in-out infinite; }
@keyframes dblamp { 0%, 100% { rotate: -2.2deg; } 50% { rotate: 2.2deg; } }
.db-flame { transform-box: view-box; animation: dbflame .9s ease-in-out infinite alternate; }
@keyframes dbflame { from { scale: .9 1; opacity: .85; } to { scale: 1.08 1.14; opacity: 1; } }
.db-halo { animation: dbhalo 2.2s ease-in-out infinite alternate; }
@keyframes dbhalo { to { opacity: .55; } }
.darbar__petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: 0 0 20px 20px; }
.darbar__petals i { position: absolute; top: -4%; width: 11px; height: 7px; border-radius: 60% 40% 60% 40%; opacity: .9; animation: dbfall 8s linear infinite; }
@keyframes dbfall { 0% { translate: 0 0; rotate: 0deg; opacity: 0; } 8% { opacity: .95; } 100% { translate: var(--rx) 108cqh; rotate: 540deg; opacity: 0; } }
.darbar__stage { container-type: size; }
.darbar:not(.play) *, .darbar:not(.play) *::before { animation-play-state: paused !important; }
.darbar.on .db-line { animation-play-state: running !important; }
/* the dancer, set inside the arch */
.darbar .dancer { position: absolute; left: 12%; right: 12%; bottom: 3.5%; margin: 0; text-align: center; --bloom: 1; z-index: 1; }
.darbar .dancer__btn { position: relative; display: block; width: 100%; aspect-ratio: 420 / 640; margin: 0 auto; background: none; border: 0; padding: 0; cursor: pointer; perspective: 1100px; border-radius: 24px; }
.darbar .dancer__btn:focus-visible { outline: 3px solid #FFD166; outline-offset: 6px; }
.dz-stage, .dz-turn, .dz-flip, .dz-face { position: absolute; inset: 0; }
.dz-turn, .dz-flip { transform-style: preserve-3d; }
.dz-flip { transition: transform 1s cubic-bezier(.45,0,.2,1); }
.dz-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.dz-face--back { transform: rotateY(180deg); }
.dancer.turned .dz-flip { transform: rotateY(180deg); }
.dancer__svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
.dz-face .dancer__svg { transform-origin: 50% 96%; animation: dzsway 4.2s ease-in-out infinite; }
@keyframes dzsway { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
.dz-ghera { transform-origin: 210px 240px; scale: var(--bloom) 1; animation: dzswirl 1.9s ease-in-out infinite; }
@keyframes dzswirl { 50% { transform: scaleX(1.035) skewX(-1.6deg); } }
.dz-armL { animation: dzarmL 3.6s ease-in-out infinite; } @keyframes dzarmL { 50% { transform: rotate(5deg); } }
.dz-armR { animation: dzarmR 3.6s ease-in-out infinite; } @keyframes dzarmR { 50% { transform: rotate(-4deg); } }
.dz-jhL, .dz-jhR { animation: dzjh 1.8s ease-in-out infinite; } @keyframes dzjh { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
.dz-bells { animation: jingle .5s ease-in-out infinite; } @keyframes jingle { 50% { transform: translateY(-1.2px); } }
.dancer.tat .dz-bells { animation-duration: .11s; }
.dancer.tat .dz-feet { animation: dzstamp .22s ease-in-out infinite; } @keyframes dzstamp { 50% { transform: translateY(-2px); } }
.dz-mandala { transform-origin: 210px 292px; animation: dzspin 60s linear infinite; } @keyframes dzspin { to { transform: rotate(360deg); } }
.dz-spark { animation: dztw 2.6s ease-in-out infinite; } @keyframes dztw { 0%, 100% { opacity: .25; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.15); } }
.dz-latkan { transform-origin: 190px 244px; animation: dzjh 2.2s ease-in-out infinite; }
.dancer.spin .dz-ghera { animation-duration: .45s; }
.dancer__bubble { position: absolute; top: 0; right: -6%; background: linear-gradient(135deg, #FFE6A3, #E3B34C); color: #3B0A23; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: .92rem; padding: 6px 14px; border-radius: 16px 16px 16px 4px; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s cubic-bezier(.3,1.6,.5,1); pointer-events: none; z-index: 3; box-shadow: 0 10px 20px -10px rgba(0,0,0,.6); }
.dancer.spin .dancer__bubble { opacity: 1; transform: none; }
.dancer__ctl { margin: 6px 0 0; }
.dz-turnbtn { font: inherit; font-size: .8rem; font-weight: 700; color: #FFE6A3; background: rgba(42,11,31,.7); border: 1px solid rgba(227,179,76,.6); border-radius: 999px; padding: 6px 14px; cursor: pointer; transition: background .2s, transform .2s; }
.dz-turnbtn:hover { background: rgba(122,18,57,.9); }
.darbar .dancer figcaption span { display: block; margin-top: 4px; font-size: .7rem; color: rgba(248,235,211,.6); }
.dz-petal { position: absolute; left: 50%; top: 55%; width: 11px; height: 7px; border-radius: 50%; pointer-events: none; z-index: 2; }
.dz-ripple { position: absolute; left: 50%; bottom: 13%; width: 46%; aspect-ratio: 3 / 1; translate: -50% 0; border-radius: 50%; border: 2px solid #FFD166; pointer-events: none; animation: dzrip .9s ease-out forwards; }
@keyframes dzrip { from { scale: .3; opacity: 1; } to { scale: 1.6; opacity: 0; } }
/* the words */
.darbar__txt { position: relative; z-index: 1; }
.darbar__eye { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #E3B34C; }
.darbar__eye span { width: 36px; height: 2px; background: linear-gradient(90deg, transparent, #E3B34C); }
.darbar__h { margin: 0 0 14px; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.02; background: linear-gradient(100deg, #B8862B 0%, #FFE6A3 30%, #E3B34C 50%, #FFF3CF 62%, #B8862B 85%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; }
.darbar__h em { font-weight: 500; }
@keyframes shimmer { to { background-position: -220% 0; } }
.darbar__p { margin: 0 0 10px; color: rgba(248,235,211,.88); max-width: 56ch; }
.darbar__p b { color: #FFE6A3; }
.tala { position: relative; width: min(250px, 70vw); aspect-ratio: 1; margin: 18px 0 6px; }
.tala__svg { width: 100%; height: 100%; overflow: visible; }
.tala__b { transform-box: view-box; transition: scale .25s var(--ease), filter .25s; }
.tala__b.on { scale: 1.9; filter: drop-shadow(0 0 6px #FFD166); }
.tala__m { font-family: var(--serif); font-weight: 800; font-size: 15px; fill: #FFE6A3; }
.tala__hand { transform-box: view-box; transform-origin: 120px 120px; transition: transform .28s var(--ease); }
.tala__ring { opacity: 0; transform-box: view-box; transform-origin: 120px 120px; }
.tala.pulse .tala__ring { animation: talapulse .8s ease-out; }
@keyframes talapulse { from { opacity: .95; scale: 1; } to { opacity: 0; scale: 1.25; } }
.tala__mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.tala__mid b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2rem, 4vw, 2.6rem); color: #FFF3CF; line-height: 1; }
.tala__mid small { margin-top: 4px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #E3B34C; }
.tala.sam .tala__mid b { color: #FFD166; }
.tala__cap { margin: 0 0 16px; font-size: .78rem; color: rgba(248,235,211,.7); } .tala__cap b { color: #FFE6A3; }
.darbar__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.dbtn { font: inherit; font-weight: 800; font-size: .9rem; padding: 11px 20px; border-radius: 999px; border: 1.5px solid #E3B34C; background: transparent; color: #FFE6A3; cursor: pointer; transition: background .25s, color .25s, translate .25s; }
.dbtn:hover { translate: 0 -2px; background: rgba(227,179,76,.15); }
.dbtn--gold { background: linear-gradient(135deg, #FFE6A3, #E3B34C 60%, #B8862B); color: #3B0A23; border-color: transparent; }
.darbar__punch { margin: 18px 0 0; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); color: #F8EBD3; }
.darbar__punch em { color: #FFD166; }
@media (prefers-reduced-motion: reduce) { .darbar .db-line { stroke-dashoffset: 0 !important; } .darbar__petals { display: none; } }

/* animated card icons */
.bcard--ic { padding-right: 84px; }
.bico { position: absolute; top: 14px; right: 14px; width: 58px; height: 58px; color: var(--c); overflow: visible; z-index: 1; }
.bi-eq rect { transform-box: fill-box; transform-origin: 50% 100%; animation: bieq .9s ease-in-out infinite alternate; }
@keyframes bieq { from { scale: 1 .25; } to { scale: 1 1; } }
.bi-note { animation: binote 2.4s ease-in-out infinite; } @keyframes binote { 0% { translate: 0 6px; opacity: 0; } 30% { opacity: 1; } 100% { translate: 4px -10px; opacity: 0; } }
.bi-ink { stroke-dasharray: 1; animation: biink 3s ease-in-out infinite; } @keyframes biink { 0% { stroke-dashoffset: 1; } 70%, 100% { stroke-dashoffset: 0; } }
.bi-quill { animation: biquill 3s ease-in-out infinite; } @keyframes biquill { 0% { translate: -22px 10px; } 70% { translate: 18px 2px; } 100% { translate: 18px 2px; opacity: 0; } }
.bi-line { stroke-dasharray: 1; animation: biink 3.2s ease-in-out infinite; }
.bi-lens { offset-path: path("M10 46 L22 38 L32 42 L44 24 L56 16"); offset-rotate: 0deg; animation: bilens 3.2s ease-in-out infinite; } @keyframes bilens { 0% { offset-distance: 0%; } 70%, 100% { offset-distance: 100%; } }
.bi-cup { transform-box: fill-box; transform-origin: 50% 100%; animation: bicup 1.8s var(--ease) infinite; } @keyframes bicup { 0%, 60%, 100% { scale: 1; } 30% { scale: 1.1; } }
.bi-star { transform-box: view-box; animation: dztw 1.6s ease-in-out infinite; }
.bi-tick { stroke-dasharray: 1; animation: bitick 3.4s ease-out infinite; } @keyframes bitick { 0% { stroke-dashoffset: 1; } 18%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.bi-type { transform-box: fill-box; transform-origin: 0 50%; animation: bitype 3.2s ease-out infinite; } @keyframes bitype { 0% { scale: 0 1; } 20%, 85% { scale: 1 1; } 100% { scale: 0 1; } }
.bi-up { animation: biup 1.6s ease-in-out infinite; } @keyframes biup { 50% { translate: 0 -5px; } }
.bi-wheel { transform-box: view-box; transform-origin: 32px 32px; animation: spin 6s linear infinite; }
.bcard--ic { padding-right: 18px; }
.bico { position: relative; top: auto; right: auto; display: block; width: 54px; height: 54px; margin: 2px 0 12px; }
.bcards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

/* ================= payroll lab: never wider than the screen ================= */
.lab, .lab__grid, .reg, .lab__grid > *, .mach > *, .eqs__grid > *, .twocol > *, .cr, .cr__body { min-width: 0; }
.lab__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1060px) { .lab__grid { grid-template-columns: 300px minmax(0, 1fr); } }
.regwrap { max-width: 100%; -webkit-overflow-scrolling: touch; }
@media (max-width: 860px) {
  .regwrap { overflow: visible; border: 0; }
  .register { min-width: 0; font-size: .82rem; }
  .register thead { display: none; }
  .register, .register tbody { display: block; }
  .register tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; margin-bottom: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
  .register tbody tr.sel { border-color: var(--sky); }
  .register td { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 5px 0; border-bottom: 1px dashed rgba(255,255,255,.08); white-space: normal; text-align: right; min-width: 0; }
  .register td::before { content: attr(data-l); font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8FA0BD; text-align: left; }
  .register td.who, .register td.role { display: block; text-align: left; border-bottom: 0; }
  .register td.who::before, .register td.role::before { content: none; }
  .register td.role { text-align: right; }
  .register td small { display: inline; margin-left: 4px; }
  .register td.who small, .register td.role small { display: block; margin: 0; }
  .register td.net { grid-column: 1 / -1; font-size: 1rem; border-bottom: 0; padding-top: 8px; }
}
@media (max-width: 560px) {
  .slip__cols { grid-template-columns: minmax(0, 1fr); }
  .slip__cols div > p { gap: 10px; }
  .slip__cols div > p span:last-child { white-space: nowrap; }
  .totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab__btns, .lab__btns .btn { width: 100%; }
  .lab__btns .btn { justify-content: center; }
}
/* register: compact table where it fits, cards where it doesn't */
.register th { white-space: normal; line-height: 1.25; vertical-align: bottom; }
.register th, .register td { padding: 9px 8px; }
.register td.role { white-space: normal; min-width: 130px; }
@media (min-width: 1060px) and (max-width: 1279px) { .lab__grid { grid-template-columns: minmax(0, 1fr); } .qc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .lab__grid { grid-template-columns: 290px minmax(0, 1fr); } }
@media (max-width: 1059px) {
  .regwrap { overflow: visible; border: 0; }
  .register { min-width: 0; font-size: .82rem; }
  .register thead { display: none; }
  .register, .register tbody { display: block; }
  .register tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; margin-bottom: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
  .register tbody tr.sel { border-color: var(--sky); }
  .register td { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 5px 0; border-bottom: 1px dashed rgba(255,255,255,.08); white-space: normal; text-align: right; min-width: 0; }
  .register td::before { content: attr(data-l); font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8FA0BD; text-align: left; }
  .register td.who, .register td.role { display: block; text-align: left; border-bottom: 0; min-width: 0; }
  .register td.who::before, .register td.role::before { content: none; }
  .register td.role { text-align: right; }
  .register td small { display: inline; margin-left: 4px; }
  .register td.who small, .register td.role small { display: block; margin: 0; }
  .register td.net { grid-column: 1 / -1; font-size: 1rem; border-bottom: 0; padding-top: 8px; }
}
@media (min-width: 640px) and (max-width: 1059px) { .register tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .register tr { margin: 0; } }
@media (max-width: 430px) { .register tr { grid-template-columns: minmax(0, 1fr); } .register td.role { text-align: left; } }
/* equations wrap instead of overflowing */
.eq__l { min-width: 0; overflow-wrap: anywhere; }
.eq__l .op { display: inline-block; }
/* control room tables become cards on small screens */
@media (max-width: 700px) {
  .tblwrap { overflow: visible; }
  .tbl, .tbl tbody { display: block; }
  .tbl thead { display: none; }
  .tbl tr { display: block; margin-bottom: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.7); }
  .tbl td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); text-align: right; }
  .tbl td:last-child { border-bottom: 0; }
  .tbl td::before { content: attr(data-l); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); text-align: left; flex-shrink: 0; }
  .tbl td:first-child { font-size: .95rem; }
  .meter { min-width: 0; flex: 1; max-width: 150px; }
  .cr__body { min-height: 0; }
}
/* burnout flow nodes: let long words wrap inside the box */
.fnode { min-width: 0; overflow-wrap: anywhere; }
.fnode b { font-size: clamp(.9rem, 1.4vw, 1.05rem); }
.modes .sm { display: none; }
@media (max-width: 520px) { .modes .lg { display: none; } .modes .sm { display: inline; } .modes button { padding: 8px 12px; font-size: .7rem; } .bar__in { gap: 10px; } }
@media (max-width: 340px) { .mark > span:last-child { display: none; } }

/* ================= campus: words and illustration side by side, never on top of each other ================= */
.campus .pinbox { padding: 110px 0 80px; }
.campus__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .campus__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; } }
.campus__copy { position: relative; z-index: 1; min-width: 0; }
.campus__copy h2 { max-width: none; font-size: clamp(2rem, 4vw, 3.5rem); }
.campus__copy .lead { max-width: 54ch; }
.campus__art { position: relative; min-width: 0; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.campus__svg { position: static; inset: auto; display: block; width: 100%; height: auto; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 8px; max-width: none; }
.facts div { padding: 10px 12px; border-radius: 16px; }
.facts b { font-size: 1.35rem; }
.facts span { display: block; font-size: .7rem; line-height: 1.3; }
@media (max-width: 959px) { .campus__art { max-width: 520px; width: 100%; margin-inline: auto; } }
.facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1200px) { .facts { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 420px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts div:last-child { grid-column: 1 / -1; } }
@media (max-width: 959px), (max-height: 639px) { .campus .pinbox { min-height: 0; padding: 90px 0 70px; } }
@media (min-width: 960px) and (max-width: 1199px) { .campus__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 32px; } }
@media (min-width: 960px) and (max-height: 860px) { .campus .pinbox { padding: 96px 0 40px; } .campus__copy h2 { font-size: clamp(2rem, 3.4vw, 3rem); } .campus__copy .lead { margin-top: 12px; } .facts { margin-top: 16px; } }

/* center the tala dial block */
.tala { margin-left: auto; margin-right: auto; }
.tala__cap { text-align: center; }
.darbar__btns { justify-content: center; }
