/* About (2026-11-16): a hero with an example week and three counted numbers, a drifting logo row, the story as a timeline,
   how we work as cards, the services as picture cards, the quote, and the founder's close. Motion: one rise on scroll, the count,
   the timeline's line, the logo drift and card lifts; transform and opacity only, all of it off with reduced motion. */
:root {
  --ab-night: var(--night, #0e1015);
  --ab-ink: var(--night, #0e1015);
  --ab-slate: var(--slate, #5b6170);
  --ab-mist: var(--mist, #f5f5f7);
  --ab-line: var(--hairline, #e3e5e8);
  --ab-paper: #ffffff;
  --ab-blue: var(--anchor, #2563eb);
  --ab-on-dark: #ffffff;
  --ab-on-dark-soft: rgb(255 255 255 / 0.74);
  --ab-on-dark-faint: rgb(255 255 255 / 0.16);
  --ab-shadow: rgb(6 9 20 / 0.45);
  --ab-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ab-display: var(--font-display, "Bricolage Grotesque", system-ui, sans-serif);
}
html, body { overflow-x: clip; }
.ab-wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter, 24px); }
.ab-h2 { margin: 0; font: 600 clamp(32px, 3.6vw, 48px)/1.08 var(--ab-display); letter-spacing: -0.02em; color: var(--ab-ink); overflow-wrap: break-word; min-width: 0; }
.ab-h2--light { color: var(--ab-on-dark); }

/* Hero */
.ab-hero { position: relative; isolation: isolate; overflow: clip; background: var(--ab-night); color: var(--ab-on-dark); padding: 136px 0 64px; }
@media (min-width: 1024px) { .ab-hero { padding: 168px 0 80px; } }
.ab-hero__glow { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.ab-hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .ab-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } }
.ab-hero__h { margin: 0; max-width: 14em; font: 600 clamp(38px, 4.2vw, 60px)/1.05 var(--ab-display); letter-spacing: -0.025em; color: var(--ab-on-dark); overflow-wrap: break-word; min-width: 0; }
.ab-hero__p { margin: 20px 0 0; max-width: 30em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--ab-on-dark-soft); }
.ab-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.ab-actions--center { justify-content: center; }
.ab-textlink { position: relative; font-weight: 500; color: var(--ab-on-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: opacity 200ms var(--ab-ease); }
.ab-textlink::after { content: ""; position: absolute; inset: -10px 0; }   /* a 44 px tall place to tap; the line keeps its height */
.ab-textlink--dark { color: var(--ab-ink); }
@media (hover: hover) and (pointer: fine) { .ab-textlink:hover { opacity: 0.7; } }
.ab-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 64px 0 0; padding: 32px 0 0; list-style: none; border-top: 1px solid var(--ab-on-dark-faint); }
.ab-stat { display: block; font: 600 clamp(36px, 5vw, 72px)/1 var(--ab-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--ab-on-dark); }
.ab-stat__lab { display: block; margin-top: 10px; font-size: clamp(14px, 1.2vw, 17px); color: var(--ab-on-dark-soft); }
.ab-foot { margin: 20px 0 0; font-size: 13px; font-style: italic; color: var(--ab-on-dark-soft); }

.ab-logos { padding: 40px 0; background: var(--ab-paper); border-bottom: 1px solid var(--ab-line); }
/* The logos: still since HQ-443 (2026-11-27; they drifted with no pause button, which fails WCAG 2.2.2). Without scripts they wrap into
   centered rows; with them, marquee.js makes one sideways row faded at both ends, with Previous and Next logos under it */
.ab-marquee__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 64px; margin: 0; padding: 0 32px; list-style: none; }
[data-marquee="on"] .ab-marquee { display: flex; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
[data-marquee="on"] .ab-marquee__row { flex: none; flex-wrap: nowrap; justify-content: flex-start; padding-block: 8px; }   /* room for a focused logo's ring */
.ab-marquee-shelf .marquee-nav { justify-content: center; margin-top: 16px; color: var(--ab-ink, #0c0e12); }
.ab-marquee__row img { display: block; height: 36px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: 0.7; }


/* A logo with a case result turns into that result on hover, tap or keyboard focus; the row stops while it shows */
.ab-logo { position: relative; display: grid; place-items: center; min-width: 150px; min-height: 56px; }
.ab-logo img { transition: opacity 250ms var(--ab-ease), transform 250ms var(--ab-ease); }
.ab-logo__res { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px; opacity: 0; transform: translateY(6px); transition: opacity 250ms var(--ab-ease), transform 250ms var(--ab-ease); pointer-events: none; }
.ab-logo__num { font: 600 26px/1 var(--ab-display); letter-spacing: -0.02em; color: var(--ab-blue); white-space: nowrap; }
.ab-logo__lab { font-size: 13px; color: var(--ab-slate); white-space: nowrap; }
.ab-logo--result { cursor: default; border-radius: 12px; }
.ab-logo--result:hover img, .ab-logo--result:focus-visible img { opacity: 0; transform: translateY(-6px); }
.ab-logo--result:hover .ab-logo__res, .ab-logo--result:focus-visible .ab-logo__res { opacity: 1; transform: none; }
.ab-logo--result:focus-visible { outline: 2px solid var(--ab-blue); outline-offset: 4px; transition: none; }
@media (prefers-reduced-motion: reduce) { .ab-logo img, .ab-logo__res { transition: none; transform: none !important; } }

/* Who we are: the firm in one sentence, its story in one paragraph, the facts beside it */
.ab-who { padding: 112px 0; background: var(--ab-paper); }
.ab-who__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .ab-who { padding: 144px 0; } .ab-who__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 96px; align-items: end; } }
.ab-who__lead { margin: 28px 0 0; max-width: 24em; font: 500 clamp(24px, 2.4vw, 34px)/1.3 var(--ab-display); letter-spacing: -0.01em; color: var(--ab-ink); }
.ab-who__p { margin: 24px 0 0; max-width: 36em; font-size: 18px; line-height: 1.65; color: var(--ab-slate); }
.ab-facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--ab-line); }
.ab-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ab-line); }
.ab-facts dt { font-size: 15px; color: var(--ab-slate); }
.ab-facts dd { margin: 0; font-size: 17px; font-weight: 500; color: var(--ab-ink); text-align: right; }

/* Why RSL/A: three reasons, each beside a picture of the real thing, alternating sides */
.ab-why { padding: 112px 0; background: var(--ab-mist); }
@media (min-width: 1024px) { .ab-why { padding: 144px 0; } }
.ab-why__list { display: grid; gap: 72px; margin: 56px 0 0; padding: 0; list-style: none; }
@media (min-width: 1024px) { .ab-why__list { gap: 112px; margin-top: 80px; } }
.ab-reason { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .ab-reason { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } .ab-reason--flip .ab-reason__copy { order: 2; } }
.ab-reason__n { display: block; font: 600 16px/1 var(--ab-display); color: var(--ab-blue); }
.ab-reason__h { margin: 14px 0 0; font: 600 clamp(26px, 2.6vw, 36px)/1.12 var(--ab-display); letter-spacing: -0.015em; color: var(--ab-ink); }
.ab-reason__p { margin: 16px 0 0; max-width: 30em; font-size: 18px; line-height: 1.6; color: var(--ab-slate); }
.ab-reason__pic { margin: 0; padding: 32px; border-radius: 24px; background: var(--ab-paper); box-shadow: 0 0 0 1px var(--ab-line); }
.ab-reason__pic figcaption { margin-top: 16px; font-size: 14px; color: var(--ab-slate); text-wrap: pretty; }

/* What we do */
.ab-do { padding: 96px 0; background: var(--ab-night); }
@media (min-width: 1024px) { .ab-do { padding: 128px 0; } }
.ab-do__grid { display: grid; gap: 16px; margin: 48px 0 0; padding: 0; list-style: none; }
.ab-do__grid > li { display: grid; }
@media (min-width: 640px) { .ab-do__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ab-do__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ab-svc { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: 16px; padding-bottom: 20px; border-radius: 20px; overflow: hidden; background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px var(--ab-on-dark-faint); color: var(--ab-on-dark); transition: transform 200ms var(--ab-ease); }
.ab-svc__pic { grid-column: 1 / -1; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.ab-svc__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ab-ease); }
.ab-svc__name { grid-column: 1; padding: 20px 0 0 20px; font: 600 clamp(22px, 2vw, 26px)/1.15 var(--ab-display); }
.ab-svc__inside { grid-column: 1; padding: 6px 0 0 20px; font-size: 15px; line-height: 1.45; color: var(--ab-on-dark-soft); }
.ab-svc__go { grid-column: 2; grid-row: 2 / 4; align-self: center; margin-right: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ab-on-dark); color: var(--ab-ink); transition: transform 200ms var(--ab-ease); }
.ab-svc__go svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .ab-svc:hover { transform: translateY(-4px); }
  .ab-svc:hover .ab-svc__pic img { transform: scale(1.04); }
  .ab-svc:hover .ab-svc__go { transform: translateX(3px); }
}
.ab-svc:active { transform: scale(0.98); }

/* What clients say: the home page's reviews marquee (testimonials.css), on the night band that carries on from What we do */
.ab-testimonials { padding-block: 0 112px; background: var(--ab-night); }
@media (min-width: 1024px) { .ab-testimonials { padding-block: 0 128px; } }
.ab-testimonials .testimonials__shelf { margin-top: 48px; }

/* Quote */
.ab-quote { padding: 112px 0; background: var(--ab-paper); text-align: center; }
.ab-quote__fig { margin: 0 auto; max-width: 46rem; }
.ab-quote__mark { display: block; font: 600 96px/0.6 var(--ab-display); color: var(--ab-blue); }
.ab-quote blockquote { margin: 16px 0 0; }
.ab-quote blockquote p { margin: 0; font: 500 clamp(22px, 2.4vw, 32px)/1.35 var(--ab-display); letter-spacing: -0.01em; color: var(--ab-ink); }
.ab-quote figcaption { margin-top: 24px; font-size: 16px; color: var(--ab-slate); }

/* Close */
.ab-close { padding: 0 0 112px; background: var(--ab-paper); }
.ab-close__card { display: grid; justify-items: center; gap: 0; padding: 56px 24px; border-radius: 28px; background: var(--ab-mist); text-align: center; }
.ab-close__face { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--ab-paper); }
.ab-close__h { margin: 20px 0 24px; font: 600 clamp(30px, 3.4vw, 44px)/1.1 var(--ab-display); letter-spacing: -0.02em; color: var(--ab-ink); }
.ab-close__p { margin: 12px 0 0; max-width: 28em; font-size: 18px; line-height: 1.5; color: var(--ab-slate); }

/* Focus: instant, on dark and light */
.ab :is(a, button):focus-visible { outline: 2px solid var(--ab-blue); outline-offset: 3px; transition: none; }
.ab-hero :is(a, button):focus-visible, .ab-do :is(a, button):focus-visible { outline-color: var(--ab-on-dark); }

/* The rise: only when the script runs, so the page reads in full without it */
.js .ab [data-rise] { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ab-ease), transform 600ms var(--ab-ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .ab [data-rise].is-in { opacity: 1; transform: none; }
/* If about.js never runs (a failed load, a blocker), everything that waits for it shows after 3 s; about.js marks the page
   .ab-ready first thing, and from then on the scroll decides. Paper always gets everything. */
.js .ab:not(.ab-ready) [data-rise], .js .ab:not(.ab-ready) .ab-chain[data-rise] .ab-chain__step, .js .ab:not(.ab-ready) .ab-report__bar { animation: ab-safe 1ms 3s forwards; }
@keyframes ab-safe { to { opacity: 1; transform: none; } }
@media print { .js .ab [data-rise], .js .ab .ab-chain__step, .js .ab .ab-report__bar { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; } }

@media (prefers-reduced-motion: reduce) {
  .js .ab [data-rise] { opacity: 1; transform: none; transition: none; }
  .ab-svc, .ab-svc__pic img, .ab-svc__go, .ab-textlink { transition: none; }
}
.ab-hero__h, .ab-h2, .ab-close__h, .ab-reason__h { text-wrap: balance; }
.ab-hero__p, .ab-who__lead, .ab-who__p, .ab-reason__p, .ab-close__p, .ab-quote blockquote p { text-wrap: pretty; }

/* What we've done so far: one line across the four years (down the left on a phone), a dot for each year, and under each year
   its milestones (dark) and results (light, the number in blue), so the stack grows the way the firm did (Rahul, 2026-11-16) */
.ab-record { padding: 112px 0; background: var(--ab-paper); border-top: 1px solid var(--ab-line); }
@media (min-width: 1024px) { .ab-record { padding: 144px 0; } }
.ab-record__head { display: grid; gap: 12px; margin-bottom: 56px; }
.ab-record__sub { margin: 0; font-size: 18px; color: var(--ab-slate); }
.ab-years { display: grid; gap: 40px; margin: 0; padding: 0; list-style: none; }
.ab-yr { position: relative; display: grid; align-content: start; gap: 16px; padding-left: 32px; }
.ab-yr::before { content: ""; position: absolute; left: 6px; top: 20px; bottom: -40px; width: 2px; background: var(--ab-line); }
.ab-yr:last-child::before { background: linear-gradient(var(--ab-line), transparent); }
.ab-yr::after { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 14px; border-radius: 50%; background: var(--ab-paper); box-shadow: inset 0 0 0 3px var(--ab-ink); }
.ab-yr:last-child::after { background: var(--ab-blue); box-shadow: 0 0 0 5px rgb(37 99 235 / 0.18); }
@media (min-width: 1024px) {
  .ab-years { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .ab-yr { gap: 20px; padding: 40px 16px 0 0; }
  .ab-yr::before { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 2px; }
  .ab-yr:last-child::before { background: linear-gradient(90deg, var(--ab-line), transparent); }
  .ab-yr::after { left: 0; top: 0; }
}
.ab-yr__year { margin: 0; font: 600 clamp(40px, 4.4vw, 64px)/0.95 var(--ab-display); letter-spacing: -0.04em; color: var(--ab-ink); font-variant-numeric: tabular-nums; }
.ab-yr__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) and (max-width: 1023.98px) { .ab-yr__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ab-yr__item { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; background: var(--ab-mist); }
.ab-yr__item--mile { background: var(--ab-night); }
.ab-yr__num { margin: 0 0 4px; font: 600 clamp(34px, 3vw, 44px)/1 var(--ab-display); letter-spacing: -0.03em; color: var(--ab-blue); }
.ab-yr__who { margin: 0; font-weight: 600; font-size: 17px; color: var(--ab-ink); }
.ab-yr__h { margin: 0; font: 600 clamp(20px, 1.7vw, 23px)/1.18 var(--ab-display); color: var(--ab-on-dark); text-wrap: balance; }
.ab-yr__p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ab-slate); text-wrap: pretty; }
.ab-yr__item--mile .ab-yr__p { color: var(--ab-on-dark-soft); }
