/* ---------- About page ----------
   Loaded only on /about. Reuses the site's tokens, container, buttons and
   .eyebrow; the layout patterns below are the only new pieces. */

/* ---------- hero ----------
   Editorial split: the headline breaks across two lines, the second set in
   Fraunces italic and indented, so the type itself carries the page rather
   than a stock image. The deck sits in a narrow right column against the
   headline's mass, and the two founders appear immediately — this page is
   about them, so they should not be a scroll away. */
.ab-hero {
  padding-top: clamp(126px, 13vw, 178px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.ab-kicker {
  display: flex; gap: 12px;
  /* the label wraps to two lines on narrow screens; aligning to the first
     line keeps the rule beside the text instead of floating mid-block */
  align-items: baseline;
  margin: 0 0 clamp(26px, 3vw, 40px);
  font: 600 11px/1 var(--font-ui);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted);
}
.ab-kicker span {
  width: 34px; height: 1px; flex: none;
  background: var(--accent);
  transform: translateY(-4px);
}

.ab-hero__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
}
.ab-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.06;
  letter-spacing: -.028em;
  /* holds the roman line to two breaks at desktop instead of running the
     whole headline to four, which pushed the deck and CTAs below the fold */
  max-width: 15ch;
}
.ab-hero__l1, .ab-hero__l2 { display: block; }
/* the italic line is the page's one memorable move — indented so the two
   lines read as a single sentence stepping forward, not as two headings */
.ab-hero__l2 {
  font-style: italic;
  padding-left: clamp(0px, 4.5vw, 72px);
  /* a step back from the roman line, but still clearly part of the sentence —
     --text-muted at .58 alpha was too faint to hold 68px type */
  color: rgba(0, 0, 0, .74);
  max-width: 17ch;
}
html.dark .ab-hero__l2 { color: rgba(255, 255, 255, .78); }

.ab-hero__map { min-width: 0; }

/* ---------- figures ----------
   Four facts, one inverted to break the row. Numbers get the display face so
   they read as a statement, not a dashboard. */
.ab-figures {
  list-style: none; margin: clamp(14px, 1.6vw, 20px) 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}
.ab-figures li {
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--muted);
  border-radius: var(--r-block);
  background: var(--surface);
}
.ab-figures b {
  display: block;
  font: 400 clamp(34px, 4.2vw, 54px)/1 var(--font-display);
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
.ab-figures span { font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.ab-figures .is-dark {
  background: #111111; border-color: #111111; color: #FFFFFF;
}
.ab-figures .is-dark span { color: rgba(255, 255, 255, .66); }
.ab-figures__note {
  margin: 16px 0 0;
  font-size: 12.5px; line-height: 1.6;
  color: var(--text-muted);
  max-width: 60ch;
}

@media (max-width: 860px) {
  .ab-hero__head { grid-template-columns: 1fr; align-items: start; }
  .ab-hero__l2 { padding-left: 0; }
}

/* a heading column beside a reading column — used three times */
.ab-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.ab-split__body .body-copy { margin-bottom: 1.1em; }
.ab-split__body .body-copy:last-of-type { margin-bottom: 0; }

/* The first thing after the hero was set at body size in a narrow column, so
   the page opened on its quietest note. It carries the whole positioning, so
   it gets lede treatment. */
.ab-intro .ab-split__body .body-copy {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  color: var(--text);
  max-width: 46ch;
}

/* ---------- founders ----------
   Two columns forced the portrait into a thumbnail and the biography into a
   narrow measure at the same time. One row per person gives the photograph
   real width and keeps the reading column at a comfortable length; the second
   row mirrors so the page does not read as a list. */
.ab-team__lede { max-width: 58ch; margin: 14px 0 0; }
.ab-people {
  display: grid;
  gap: clamp(26px, 3.2vw, 52px);
  margin-top: clamp(30px, 3.4vw, 46px);
}
.ab-person {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 3.4vw, 54px);
  align-items: center;
  padding: clamp(20px, 2.4vw, 34px);
  border: 1px solid var(--muted);
  border-radius: var(--r-block);
  background: var(--surface);
}
/* mirrored, so the second row is not a repeat of the first — and the widths
   mirror with it, otherwise the reversed portrait comes out wider */
.ab-person--rev { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.ab-person--rev .ab-person__media { order: 2; }
.ab-person__media { position: relative; }
/* the tablet and phone arrangements are further down, in one place */
.ab-person h3 { margin: 20px 0 4px; font: 400 clamp(23px,2.4vw,29px)/1.2 var(--font-display); }
.ab-person__role {
  margin: 0 0 18px; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted);
}
.ab-person p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); margin: 0 0 1em; }

/* The photograph keeps the white ground it was shot on, so the box adds no
   background of its own — only a hairline, which is what stops a white picture
   on a white card from reading as an unfinished cut-out. The letter underneath
   is the fallback and appears only when the file is missing. */
.ab-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-card);
  background: #FFFFFF;
  border: 1px solid var(--muted);
  display: grid; place-items: center;
  overflow: hidden;
}
.ab-portrait > span {
  font: 400 clamp(56px, 7vw, 92px)/1 var(--font-display);
  color: var(--ink);
  opacity: .18;
}

.ab-quote {
  margin: 0 0 18px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  font: 400 clamp(16px,1.5vw,18px)/1.5 var(--font-display);
  color: var(--text);
}
.ab-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin: 20px 0; padding: 16px 0;
  border-top: 1px solid var(--muted); border-bottom: 1px solid var(--muted);
}
.ab-stats b { display: block; font: 400 17px/1.2 var(--font-display); }
.ab-stats span { font-size: 12px; line-height: 1.45; color: var(--text-muted); }



/* ---------- custom + where ---------- */
.ab-pair__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: clamp(20px,2.4vw,32px); }
.ab-panel {
  padding: clamp(24px,3vw,38px);
  border: 1px solid var(--muted); border-radius: var(--r-block);
  background: var(--surface);
}
.ab-panel h2 { margin: 0 0 12px; font: 400 clamp(22px,2.4vw,30px)/1.2 var(--font-display); letter-spacing: -.015em; }
/* headings carry their own colour site-wide, so they do not inherit the panel's
   white and were rendering black on #111 — invisible */
.ab-panel--dark h2 { color: #FFFFFF; }
.ab-panel p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); margin: 0 0 20px; }
.ab-panel--dark {
  background: #111111; border-color: #111111; color: #FFFFFF;
  /* the custom panel carries a list and grid stretches this one to match it,
     so its two lines sit centred instead of stranded at the top */
  display: flex; flex-direction: column; justify-content: center;
}
.ab-panel--dark > p:last-child { margin-bottom: 0; }
.ab-panel--dark .eyebrow { color: rgba(255,255,255,.6); }
.ab-panel--dark p { color: rgba(255,255,255,.66); }
/* what "custom" actually means, so the panel answers its own question */
.ab-panel__list { list-style: none; margin: 0 0 24px; padding: 0; }
.ab-panel__list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--muted);
  font-size: 13.8px; line-height: 1.55; color: var(--text-muted);
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.ab-panel__list li::before {
  content: ''; position: absolute; left: 0; top: 1.25em;
  width: 10px; height: 1px; background: var(--accent);
}

/* ---------- values ---------- */
.ab-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: clamp(30px, 3.4vw, 44px);
  counter-reset: val;
}
/* These were four small boxes of muted 14px text — the least readable thing on
   the page, for the section that is meant to be the most quotable. Bigger type,
   a real value word, and the index that ties them to the numbered sections
   above. */
.ab-value {
  counter-increment: val;
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--muted);
  border-radius: var(--r-card);
  background: var(--surface);
}
.ab-value::before {
  content: '0' counter(val);
  font: 600 11px/1 var(--font-ui); letter-spacing: .18em;
  color: var(--accent-2);
  margin-bottom: clamp(16px, 2vw, 24px);
}
.ab-value h3 {
  margin: 0 0 10px;
  font: 400 clamp(18px, 1.8vw, 21px)/1.2 var(--font-display);
  letter-spacing: -.012em;
  text-transform: none;
  color: var(--ink);
}
.ab-value p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--text-muted); }

/* ---------- contact cards ---------- */
.ab-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: clamp(30px, 3.4vw, 44px);
}
/* Two grey slabs with a 52px thumbnail. The point of the section is that you
   talk to a person, so the person is bigger and the actions read as a footer
   rather than as two more chips in the middle of the card. */
.ab-card {
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--muted);
  border-radius: var(--r-block);
  background: var(--surface);
}
.ab-card__top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.ab-card__top b {
  display: block;
  font: 400 clamp(19px, 1.9vw, 22px)/1.2 var(--font-display);
  letter-spacing: -.012em;
}
.ab-card__top span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--text-muted); }
.ab-portrait--sm {
  width: clamp(56px, 6vw, 68px); height: clamp(56px, 6vw, 68px);
  flex: none; aspect-ratio: auto; border-radius: 50%;
}
.ab-portrait--sm span { font-size: 20px; opacity: .35; }
.ab-card__meta {
  margin: 0; padding: 10px 0;
  border-top: 1px solid var(--muted);
  font-size: 13.5px; color: var(--text-muted);
}
.ab-card__meta a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ab-card__actions {
  display: flex; gap: 9px; flex-wrap: wrap;
  margin-top: auto; padding-top: 18px;
}

/* ---------- final ---------- */
.ab-final { border-top: 1px solid var(--muted); }
.ab-final .container { max-width: 760px; text-align: center; }
.ab-final h2 { margin: 0 0 14px; font: 400 clamp(28px,4vw,48px)/1.15 var(--font-display); letter-spacing: -.025em; }
.ab-final p { margin: 0 0 26px; font-size: 15.5px; line-height: 1.7; color: var(--text-muted); }
.ab-final .hero-ctas { justify-content: center; }

@media (max-width: 860px) {
  .ab-split { grid-template-columns: 1fr; }
}
@media (pointer: coarse) {
}

/* ---------- photos ----------
   Every photo comes from views/partials/portrait.ejs. The files are square and
   already framed off the head by scripts/build-portraits.py, so no per-box
   object-position is needed — the same rule serves the card, the hero tile and
   the round avatar. */
.ab-portrait { position: relative; }
.ab-portrait .portrait-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
/* the letter is a fallback for a missing file, never a caption over a face */
.ab-portrait:has(.portrait-img) > span { display: none; }

/* ---------- section hover, matching the site's invert language ---------- */
@media (hover: hover) and (pointer: fine) {
  .ab-person,
  .ab-value,
  .ab-figures li {
    transition: background-color .35s var(--ease-out), color .35s var(--ease-out),
                border-color .35s var(--ease-out), transform .35s var(--ease-out),
                box-shadow .35s var(--ease-out);
  }
  /* the value cards invert to the site's ink, the way the panels do elsewhere */
  .ab-value:hover {
    background: #111111; border-color: #111111; color: #FFFFFF;
    transform: translateY(-3px);
  }
  .ab-value:hover h3 { color: var(--accent); }
  .ab-value:hover p { color: rgba(255, 255, 255, .72); }

  /* the already-dark figure card goes the other way, so the row still reacts */
  .ab-figures li:hover { border-color: var(--ink); transform: translateY(-3px); }
  .ab-figures .is-dark:hover { background: var(--surface); color: var(--ink); }
  .ab-figures .is-dark:hover span { color: var(--text-muted); }

  /* the card reacts, the photograph does not: nothing tints, dims or inverts
     over a face */
  .ab-person:hover { border-color: var(--ink); box-shadow: var(--shadow-1); }


  /* the custom panel inverts on hover, the dark one lifts */
  .ab-panel { transition: background-color .35s var(--ease-out), color .35s var(--ease-out),
              border-color .35s var(--ease-out), transform .35s var(--ease-out); }
  .ab-panel:not(.ab-panel--dark):hover {
    background: #111111; border-color: #111111; color: #FFFFFF;
  }
  /* headings carry their own colour site-wide and do not inherit the panel's,
     so on the inverted panel the h2 stayed pure black on #111 — invisible.
     Same fault as the static dark panel had; this is the hover twin of it. */
  .ab-panel:not(.ab-panel--dark):hover h2 { color: #FFFFFF; }
  .ab-panel:not(.ab-panel--dark):hover p { color: rgba(255, 255, 255, .7); }
  .ab-panel--dark:hover { transform: translateY(-3px); }


  .ab-panel--custom:hover .ab-panel__list li {
    color: rgba(255, 255, 255, .72); border-color: rgba(255, 255, 255, .16);
  }

}

/* ---------- team note ---------- */
.ab-team__note {
  margin: 26px auto 0;
  max-width: 68ch;
  text-align: center;
  font-size: 14px; line-height: 1.7;
  color: var(--text-muted);
}


/* ---------- world map ----------
   components/ui/world-map.tsx renders into .ab-hero__map. The picture is a
   build artefact (scripts/build-worldmap.mjs) and the overlay is a plain SVG,
   so the only work at runtime is one transition and one keyframe.

   The draw is stroke-dashoffset over a normalised pathLength — the same thing
   framer-motion's `pathLength` compiles down to, without the library. */
.wm { position: relative; width: 100%; }
.wm__map {
  display: block; width: 100%; height: auto;
  /* fades the poles so the map sits in the page instead of on a card */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}
.wm__over {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
}
/* the arc runs out from its origin, holds, then leaves by the far end, so the
   route reads as continuous travel rather than a one-off reveal */
.wm__arc {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: wm-travel 5.2s cubic-bezier(.45, 0, .25, 1) infinite;
}
@keyframes wm-travel {
  0%   { stroke-dashoffset:  1; }
  34%  { stroke-dashoffset:  0; }
  62%  { stroke-dashoffset:  0; }
  96%  { stroke-dashoffset: -1; }
  100% { stroke-dashoffset: -1; }
}
/* scaled rather than animating r: geometry properties are not animatable
   everywhere, transforms are */
.wm__ping {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: wm-ping 2.4s ease-out infinite;
}
@keyframes wm-ping {
  from { transform: scale(1);   opacity: .5; }
  to   { transform: scale(3.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wm__arc { animation: none; stroke-dashoffset: 0; }
  .wm__ping { animation: none; }
}


/* ==========================================================================
   Why we started · Mission + goal · Pricing

   All three were card grids sitting inside a narrow reading column, which made
   four different sections look like the same component repeated. They are
   rebuilt here as one family: a full-width strip of hairline-divided cells,
   numbered in the order you read them. The mission takes the page's single
   inverted band, because it is the part worth quoting.
   ========================================================================== */

/* ---------- shared: a hairline strip of numbered cells ---------- */
.ab-strip {
  list-style: none; margin: 0; padding: 0;
  counter-reset: strip;
  display: grid;
  border-top: 1px solid var(--muted);
}
.ab-strip li {
  counter-increment: strip;
  position: relative;
  padding: clamp(24px, 2.6vw, 34px) clamp(20px, 2vw, 30px) clamp(26px, 3vw, 38px);
  border-right: 1px solid var(--muted);
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}
.ab-strip li:last-child { border-right: 0; }
.ab-strip li::before {
  content: '0' counter(strip);
  display: block; margin-bottom: clamp(16px, 2vw, 26px);
  font: 600 11px/1 var(--font-ui); letter-spacing: .18em;
  color: var(--accent-2);
}
/* the node that sits the cell on the rule above it */
.ab-strip li::after {
  content: '';
  position: absolute; top: -4px; left: clamp(20px, 2vw, 30px);
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}
.ab-strip b {
  display: block; margin-bottom: 8px;
  font: 400 clamp(18px, 1.8vw, 21px)/1.25 var(--font-display);
  letter-spacing: -.01em;
}
.ab-strip span {
  display: block; max-width: 30ch;
  font-size: 13.5px; line-height: 1.6; color: var(--text-muted);
}

@media (max-width: 900px) {
  .ab-strip { grid-template-columns: 1fr 1fr !important; }
  .ab-strip li:nth-child(2n) { border-right: 0; }
  .ab-strip li:nth-child(n+3) { border-top: 1px solid var(--muted); }
  .ab-strip li:nth-child(n+3)::after { top: -4px; }
}
@media (max-width: 560px) {
  .ab-strip { grid-template-columns: 1fr !important; }
  .ab-strip li { border-right: 0; }
  .ab-strip li + li { border-top: 1px solid var(--muted); }
}

/* ---------- why we started ---------- */
.ab-story__head { max-width: 60ch; margin-bottom: clamp(36px, 4.5vw, 60px); }
.ab-story__head .body-copy { margin: 18px 0 0; max-width: 52ch; }

.ab-problems { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* the sentence that answers the four cells, set apart from them */
.ab-story__answer {
  margin: clamp(38px, 4.5vw, 60px) 0 0 auto;
  max-width: 44ch;
  padding-left: clamp(18px, 2vw, 26px);
  border-left: 2px solid var(--accent);
  font: 400 clamp(19px, 2vw, 25px)/1.45 var(--font-display);
  letter-spacing: -.012em;
}

/* ---------- mission + goal, inverted ---------- */
.ab-mission { background: #111111; color: #FFFFFF; }
.ab-mission .eyebrow { color: rgba(255, 255, 255, .55); }
.ab-mission .eyebrow::before { background: var(--accent); }
.ab-mv {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(30px, 5vw, 84px);
  align-items: start;
}
.ab-mv__statement {
  margin: 16px 0 0;
  max-width: 20ch;
  font: 400 clamp(26px, 3.2vw, 40px)/1.2 var(--font-display);
  letter-spacing: -.022em;
  color: #FFFFFF;
}

.ab-goals {
  list-style: none; margin: 16px 0 0; padding: 0;
  counter-reset: goal;
}
.ab-goals li {
  counter-increment: goal;
  display: grid; grid-template-columns: 30px 1fr; align-items: baseline;
  gap: 4px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  font-size: 14.5px; line-height: 1.5;
  color: rgba(255, 255, 255, .88);
}
.ab-goals li:first-child { border-top: 1px solid rgba(255, 255, 255, .13); }
.ab-goals li::before {
  content: '0' counter(goal);
  font: 600 10.5px/1 var(--font-ui); letter-spacing: .16em;
  color: var(--accent);
}

@media (max-width: 760px) { .ab-mv { grid-template-columns: 1fr; } }

/* ---------- pricing ----------
   This ran as the same hairline strip as the four problems above, so two
   different sections read as one component repeated. It descends instead: the
   steps stack down a single rule in the order they happen, and the rule ends
   on the one order we never use, struck through. */
.ab-price__p { max-width: 54ch; }
/* The ladder is short and the copy column is tall, so top-aligning them left a
   hole under the paragraph the width of half the page. */
.ab-price .ab-split { align-items: center; }

.ab-ladder { list-style: none; counter-reset: lad; margin: 0; padding: 0; }
.ab-ladder li {
  counter-increment: lad;
  display: grid;
  grid-template-columns: clamp(26px, 3vw, 38px) minmax(0, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.ab-ladder li::before {
  content: '0' counter(lad);
  padding-top: 7px;
  font: 600 11px/1 var(--font-ui); letter-spacing: .16em;
  color: var(--accent-2);
  text-align: right;
}
/* the rule is the list itself: each step carries the segment below it */
.ab-ladder li > div {
  position: relative;
  border-left: 1px solid var(--muted);
  padding: 0 0 clamp(28px, 3.2vw, 44px) clamp(20px, 2.2vw, 30px);
}
/* the rule runs down to just short of the terminal marker, so it reads as
   ending there rather than as a broken segment */
.ab-ladder li:last-child > div { padding-bottom: clamp(16px, 1.8vw, 24px); }
.ab-ladder li > div::before {
  content: '';
  position: absolute; left: -5px; top: 7px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  /* punches the node out of the rule instead of sitting on top of it */
  box-shadow: 0 0 0 4px var(--bg);
  transition: transform .3s var(--ease-out);
}
.ab-ladder b {
  display: block; margin-bottom: 7px;
  font: 400 clamp(20px, 2vw, 25px)/1.2 var(--font-display);
  letter-spacing: -.015em;
  transition: transform .3s var(--ease-out);
}
.ab-ladder span {
  display: block; max-width: 40ch;
  font-size: 14px; line-height: 1.6; color: var(--text-muted);
}

/* the rule stops here, on the order we never work in */
.ab-ladder__never {
  display: grid;
  grid-template-columns: clamp(26px, 3vw, 38px) minmax(0, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  margin: 0;
}
.ab-ladder__never::before {
  content: '\2715';
  padding-top: 5px;
  font: 600 11px/1 var(--font-ui); color: var(--accent-2);
  text-align: right;
}
.ab-ladder__never span {
  position: relative;
  padding-left: clamp(20px, 2.2vw, 30px);
  font: 400 clamp(18px, 1.8vw, 22px)/1.3 var(--font-display);
  color: var(--text-muted);
}
/* the rule is struck through the words only — on the span it would run back
   across the indent and read as a line starting in mid-air */
.ab-ladder__never i {
  font-style: normal;
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
}
.ab-ladder__never span::before {
  content: '';
  position: absolute; left: -5px; top: .34em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--muted);
  box-shadow: 0 0 0 4px var(--bg);
}

@media (hover: hover) and (pointer: fine) {
  .ab-strip li:hover { background: #111111; color: #FFFFFF; }
  .ab-strip li:hover span { color: rgba(255, 255, 255, .72); }
  .ab-strip li:hover::before { color: var(--accent); }

  .ab-goals li { transition: color .3s var(--ease-out), border-color .3s var(--ease-out); }
  .ab-goals li:hover { color: #FFFFFF; border-color: rgba(255, 255, 255, .34); }

  /* the ladder answers by moving, not by inverting — the strip above already
     owns the invert, and repeating it is what made the two look alike */
  .ab-ladder li:hover > div::before { transform: scale(1.45); }
  .ab-ladder li:hover b { transform: translateX(5px); }
}

/* ==========================================================================
   Polish pass — everything below the hero, at every width
   ========================================================================== */

/* ---- the team ----------------------------------------------------------
   The portrait sat on a plain white panel with a hairline, which on a white
   card read as a missing image rather than a deliberate frame. A warm ground
   under the cut-out gives it an edge without tinting the photograph. */
.ab-person { background: var(--surface); }
.ab-portrait { background: linear-gradient(168deg, #FBFAF8 0%, #F4F1EC 100%); }

/* the two stats were a hairline sandwich; as one bordered strip they read as a
   fact panel and stop competing with the quote above them */
.ab-stats {
  gap: 0;
  margin: clamp(20px, 2.2vw, 26px) 0;
  padding: 0;
  border: 1px solid var(--muted);
  border-radius: var(--r-card);
  overflow: hidden;
}
.ab-stats > div { padding: clamp(14px, 1.6vw, 18px); }
.ab-stats > div + div { border-left: 1px solid var(--muted); }
.ab-stats b { font-size: clamp(17px, 1.8vw, 20px); margin-bottom: 3px; }

/* the closing line was small centred text with nothing holding it */
.ab-team__note {
  position: relative;
  margin-top: clamp(30px, 3.4vw, 46px);
  padding-top: clamp(24px, 2.6vw, 32px);
  border-top: 1px solid var(--muted);
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 62ch;
}
.ab-team__note::before {
  content: '';
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 3px; background: var(--accent);
}

/* ---- the inverted band -------------------------------------------------
   It carried the same padding as the light sections, so the one moment of
   contrast on the page did not feel like a deliberate stop. */
.ab-mission {
  padding-top: clamp(64px, 7.5vw, 108px);
  padding-bottom: clamp(64px, 7.5vw, 108px);
}
.ab-goals li { padding: clamp(14px, 1.5vw, 17px) 0; font-size: 14.8px; }

/* ---- custom + where ---------------------------------------------------- */
.ab-panel { display: flex; flex-direction: column; }
.ab-panel .btn { margin-top: auto; align-self: flex-start; }
/* 15ch broke "Different places. One team." after the second word */
.ab-panel--dark h2 { max-width: 20ch; }
.ab-panel--dark > p:last-child { font-size: 14.5px; line-height: 1.7; max-width: 46ch; }

/* ---- device work -------------------------------------------------------
   Everything above is width-independent; these are the places where the
   desktop arrangement does not translate. */
/* Between a phone and a desktop there is still room for the portrait beside
   the words — just less of it. Stacking here instead made a 700px-tall
   photograph the whole first screen of the card. */
@media (max-width: 900px) and (min-width: 641px) {
  .ab-person, .ab-person--rev { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
  .ab-person--rev { grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); }
  .ab-person { gap: clamp(20px, 3vw, 32px); align-items: start; }
  .ab-person--rev .ab-person__media { order: 2; }
  .ab-portrait { aspect-ratio: 4 / 5; }
}

@media (max-width: 640px) {
  /* one column now, and the portrait is a band rather than a full square so
     the biography is not pushed off the first screen */
  .ab-person, .ab-person--rev { grid-template-columns: 1fr; }
  .ab-person--rev .ab-person__media { order: 0; }
  .ab-person__media { max-width: none; }
  .ab-person { padding: clamp(16px, 3vw, 22px); }
  .ab-portrait { aspect-ratio: 5 / 4; }
}

@media (max-width: 900px) {
  .ab-team__note { margin-left: auto; margin-right: auto; text-align: center; }
  /* two panels at 370px each turn every line into three words */
  .ab-pair__grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  /* two stats side by side leaves each about 130px, which breaks the labels
     onto three lines */
  .ab-stats { grid-template-columns: 1fr; }
  .ab-stats > div + div { border-left: 0; border-top: 1px solid var(--muted); }
  .ab-card__actions .btn { flex: 1 1 auto; justify-content: center; }
  .ab-value { padding: 22px; }
}

/* ---- one rhythm for the whole page ------------------------------------
   Section padding came from three different rules, so the gaps between
   sections were visibly uneven when scrolling. */
.ab-intro, .ab-team, .ab-story, .ab-price, .ab-pair, .ab-values, .ab-contact {
  padding-top: clamp(56px, 6.5vw, 96px);
  padding-bottom: clamp(56px, 6.5vw, 96px);
}
.ab-intro { padding-bottom: clamp(40px, 4.5vw, 64px); }

/* ---------- who we are ----------
   The heading claims two perspectives and then the section showed neither, so
   it read as a caption. The two halves and what they add up to are stated,
   using the copy that already existed for it. */
.ab-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(36px, 4.4vw, 60px);
}
.ab-two__side {
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--muted);
  border-radius: var(--r-card);
  background: var(--surface);
  transition: border-color .35s var(--ease-out), transform .35s var(--ease-out),
              box-shadow .35s var(--ease-out);
}
.ab-two__side b {
  display: block; margin-bottom: 7px;
  font: 400 clamp(20px, 2.1vw, 26px)/1.2 var(--font-display);
  letter-spacing: -.015em;
}
.ab-two__side span { font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.ab-two__plus {
  align-self: center;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--muted);
  background: var(--surface);
  font: 400 17px/1 var(--font-display); color: var(--text-muted);
}
/* the two halves resolve into one line, which is the actual claim */
.ab-two__result {
  margin-top: clamp(12px, 1.6vw, 20px);
  padding: clamp(18px, 2.2vw, 26px);
  border-radius: var(--r-card);
  background: var(--ink); color: var(--text-invert);
  text-align: center;
  font: 400 clamp(20px, 2.2vw, 27px)/1.25 var(--font-display);
  letter-spacing: -.015em;
}
.ab-two__note {
  margin: clamp(14px, 1.6vw, 18px) auto 0;
  max-width: 62ch; text-align: center;
  font-size: 14px; line-height: 1.65; color: var(--text-muted);
}

@media (hover: hover) and (pointer: fine) {
  .ab-two__side:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-1); }
}

@media (max-width: 720px) {
  /* the plus becomes the joint between two stacked halves */
  .ab-two { grid-template-columns: 1fr; gap: 10px; }
  .ab-two__plus { justify-self: center; }
}
