/* About page (immersive). Uses site.css tokens; reuses .cred-* from the home page. */
.ab { overflow-x: clip; }
.ab-sec { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.ab-head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 48px); }
.ab-sub { color: var(--ink-2); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; margin: 16px 0 0; max-width: 38em; }

/* Reveal */
.ab-js .ab-rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.ab-js .ab-rv.in { opacity: 1; transform: none; }

/* Hero */
.ab-hero { position: relative; padding-block: 28px 64px; overflow: hidden; --mx: 70%; --my: 30%; background: var(--paper); }
.ab-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); }
.ab-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255,216,77,.22), transparent 60%), radial-gradient(420px circle at 12% 90%, rgba(91,195,106,.12), transparent 60%); }
.ab-hero > .wrap { position: relative; z-index: 1; }
.ab-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.ab-h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.6vw, 72px); line-height: .98; letter-spacing: -.045em; margin: 18px 0 0; }
.ab-h1-2 { display: block; color: var(--ink-2); }
.ab-u { color: var(--green); position: relative; white-space: nowrap; }
.ab-u svg { position: absolute; left: 0; bottom: -.1em; width: 100%; height: .2em; overflow: visible; }
.ab-u path { stroke: var(--yellow); stroke-width: 7; fill: none; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: abDraw 1.3s .5s cubic-bezier(.6,.1,.2,1) forwards; }
@keyframes abDraw { to { stroke-dashoffset: 0; } }
.ab-lede { font-size: clamp(17px, 1.8vw, 20px); color: var(--ink-2); line-height: 1.6; max-width: 34em; margin: 20px 0 0; }
.ab-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.ab-hero .g-answer { margin-top: clamp(32px, 5vw, 56px); max-width: 900px; }

/* AI answer simulator */
.ab-sim { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 24px; padding: 18px; box-shadow: 10px 10px 0 var(--ink); transform: perspective(1200px) rotateY(var(--ry, -6deg)) rotateX(var(--rx, 3deg)); transition: transform .4s cubic-bezier(.2,.7,.2,1); min-width: 0; }
.ab-sim-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.ab-tabs { display: flex; gap: 4px; background: var(--mist-2); border-radius: 99px; padding: 4px; flex-wrap: wrap; }
.ab-tabs button { border: 0; background: none; border-radius: 99px; padding: 6px 12px; font: 600 13px var(--body); cursor: pointer; color: var(--muted); transition: all .2s; }
.ab-tabs button.on { background: var(--ink); color: #fff; }
.ab-replay { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; transition: transform .4s; flex: none; }
.ab-replay:hover { transform: rotate(-180deg); border-color: var(--ink); }
.ab-q, .ab-a { display: flex; flex-direction: column; gap: 6px; }
.ab-q span, .ab-a > span { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ab-q p { margin: 0 0 14px; align-self: flex-end; background: var(--mist-2); border-radius: 16px 16px 4px 16px; padding: 10px 14px; font-weight: 600; max-width: 92%; }
.ab-q span { align-self: flex-end; }
.ab-a ol { margin: 0; padding: 14px 16px 14px 34px; border: 1.5px solid var(--line); border-radius: 16px 16px 16px 4px; display: grid; gap: 8px; min-height: 120px; }
.ab-a li { opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .4s; }
.ab-a li.in { opacity: 1; transform: none; }
.ab-a li b { background: var(--green-t); padding: 1px 6px; border-radius: 6px; }
.ab-typing { display: flex; gap: 4px; padding: 6px 2px; height: 18px; }
.ab-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: abDot 1s infinite; }
.ab-typing i:nth-child(2) { animation-delay: .15s; } .ab-typing i:nth-child(3) { animation-delay: .3s; }
.ab-typing.off { visibility: hidden; }
@keyframes abDot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.ab-miss { margin-top: 10px; background: var(--red-t); color: var(--red); border: 1.5px dashed var(--red); border-radius: 12px; padding: 10px 12px; font-size: 14.5px; opacity: 0; transform: scale(.96); transition: opacity .4s, transform .4s cubic-bezier(.3,1.5,.5,1); }
.ab-miss.in { opacity: 1; transform: none; }
.ab-sim-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.ab-float { position: absolute; font: 600 12px var(--mono); letter-spacing: .04em; background: var(--yellow); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 99px; padding: 6px 11px; box-shadow: 3px 3px 0 var(--ink); animation: abBob 5s ease-in-out infinite; white-space: nowrap; }
.ab-float.f1 { top: -16px; left: 18%; }
.ab-float.f2 { right: -18px; top: 42%; background: var(--green-t2); animation-delay: -1.6s; }
.ab-float.f3 { left: 26px; bottom: -16px; background: #fff; animation-delay: -3.2s; }
@keyframes abBob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

/* Bento */
.ab-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ab-tile { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s, box-shadow .3s, border-color .3s; min-width: 0; }
.ab-tile:hover { transform: translateY(-5px); border-color: var(--ink); box-shadow: 6px 6px 0 var(--green-l); }
.ab-tile h3 { font-size: 22px; font-weight: 800; }
.ab-tile p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.ab-tile.t-big { grid-row: span 2; background: var(--ink); color: #fff; border-color: var(--ink); }
.ab-tile.t-big p { color: #C9D3CC; }
.ab-tile.t-big:hover { box-shadow: 6px 6px 0 var(--yellow); }
.ab-tile.t-y { background: var(--yellow-t); }
.ab-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--green-t); color: var(--green); font-size: 20px; font-weight: 800; }
.t-big .ab-ic { background: var(--yellow); color: var(--ink); }
.ab-bars { margin-top: auto; display: grid; gap: 12px; padding-top: 18px; }
.ab-bars i { display: block; height: 30px; border-radius: 8px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.ab-bars i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--green), var(--green-l)); border-radius: 8px; transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.ab-bars i:nth-child(2)::before { background: linear-gradient(90deg, #3A57D8, #7D95FF); }
.ab-bars i:nth-child(3)::before { background: linear-gradient(90deg, #C2611A, #F0A15E); }
.ab-tile.in .ab-bars i::before { width: var(--w); }
.ab-bars em { position: relative; z-index: 1; font: 600 12px var(--mono); font-style: normal; line-height: 30px; padding-left: 10px; color: #fff; }

/* Story timeline */
.ab-story { background: var(--mist); border-block: 1px solid var(--line-2); }
.ab-story-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.ab-story-l { position: sticky; top: 110px; }
.ab-prog { margin-top: 28px; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; max-width: 320px; }
.ab-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--yellow)); border-radius: 99px; transition: width .2s linear; }
.ab-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative; }
.ab-ch { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 24px; opacity: .35; transform: scale(.97); transition: opacity .5s, transform .5s, border-color .5s, box-shadow .5s; }
.ab-ch.on { opacity: 1; transform: none; border-color: var(--ink); box-shadow: 6px 6px 0 var(--yellow); }
.ab-n { font: 800 34px/1 var(--display); color: var(--green); letter-spacing: -.04em; }
.ab-ch h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.ab-ch p { margin: 0; color: var(--ink-2); line-height: 1.6; }

/* How it works flow */
.ab-flow { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1.2fr) 70px minmax(0, 1fr); align-items: center; }
.ab-node { background: #fff; border: 2px solid var(--ink); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ab-node small { width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font: 700 13px var(--mono); border: 1.5px solid var(--ink); }
.ab-node b { font: 800 20px var(--display); letter-spacing: -.02em; }
.ab-node span { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.ab-engines { background: var(--ink); color: #fff; box-shadow: 8px 8px 0 var(--green-l); }
.ab-engines small { color: var(--ink); }
.ab-eng { display: grid; gap: 8px; margin-top: 6px; }
.ab-eng button { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.14); color: #fff; border-radius: 12px; padding: 10px 14px; font: 700 15px var(--body); cursor: pointer; transition: all .25s; text-align: left; position: relative; overflow: hidden; }
.ab-eng button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(255,255,255,.15); margin-right: 10px; flex: none; }
.ab-eng button em { font: 500 12px var(--mono); font-style: normal; color: #9FB0A5; margin-left: auto; }
.ab-eng button.on, .ab-eng button:hover { border-color: var(--yellow); background: rgba(255,216,77,.12); }
.ab-pipe { height: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); position: relative; margin: 0 6px; }
.ab-pipe i { position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-t2); animation: abFlow 2.4s linear infinite; }
.ab-pipe i:nth-child(2) { animation-delay: .8s; background: var(--yellow); } .ab-pipe i:nth-child(3) { animation-delay: 1.6s; }
@keyframes abFlow { from { left: -6px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 6px); opacity: 0; } }
.ab-how-note { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ab-how-note p { margin: 0; background: var(--mist); border: 1.5px dashed var(--line); border-radius: 18px; padding: 18px 20px; color: var(--ink-2); line-height: 1.6; font-size: 15px; }

/* Crew */
.ab-crew { background: var(--mist); border-block: 1px solid var(--line-2); }
.ab-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ab-card.c-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 24px; background: var(--ink); color: #fff; box-shadow: 8px 8px 0 var(--yellow); }
.ab-card.c-wide .ab-av { width: 112px; height: 112px; border-radius: 30px; flex: none; margin: 0; border-color: var(--yellow); }
.ab-card.c-wide .ab-av span { font-size: 52px; }
.ab-card.c-wide h3 { font-size: 34px; }
.ab-card.c-wide .ab-role { color: var(--yellow); }
.ab-card.c-wide p:last-child { color: #C9D3CC; font-size: 17px; max-width: 30em; }
.ab-card.c-wide:hover { box-shadow: 12px 12px 0 var(--yellow); }
.c-david .ab-av { background: linear-gradient(135deg, var(--green-t), var(--green-l)); } .c-david .ab-av span { font-size: 24px; }
.ab-tag.t-b { background: var(--yellow); color: var(--ink); }
.ab-card { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 6px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out, box-shadow .3s; box-shadow: 5px 5px 0 var(--ink); min-width: 0; }
.ab-card:hover { box-shadow: 10px 10px 0 var(--ink); }
.ab-card::after { content: ""; position: absolute; inset: 0; border-radius: 22px; pointer-events: none; background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,216,77,.18), transparent 60%); opacity: 0; transition: opacity .3s; }
.ab-card:hover::after { opacity: 1; }
.ab-av { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 10px; border: 2px solid var(--ink); }
.ab-av span { font: 800 30px var(--display); letter-spacing: -.04em; }
.ab-av img { width: 60px; height: 60px; }
.c-team .ab-av { background: var(--green); color: #fff; }
.c-alexia .ab-av { background: linear-gradient(135deg, #ECEBFF, #C6C0FF); }
.c-harvey .ab-av { background: linear-gradient(135deg, var(--yellow-t), var(--yellow)); }
.c-zeezu .ab-av { background: var(--green-t); }
.ab-tag { position: absolute; top: 18px; right: 18px; font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--yellow); padding: 5px 9px; border-radius: 99px; }
.ab-tag.t-h { background: var(--green-t); color: var(--green-d); }
.ab-card h3 { font-size: 24px; font-weight: 800; }
.ab-role { margin: 0; font: 600 12.5px var(--mono); letter-spacing: .04em; color: var(--green); text-transform: uppercase; }
.ab-card p:last-child { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* Principles */
.ab-prin { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: p; }
.ab-p { border-top: 3px solid var(--ink); padding: 20px 4px 0; transition: border-color .3s; }
.ab-p:hover { border-color: var(--green); }
.ab-p b { display: block; font: 800 clamp(44px, 5vw, 64px)/1 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--ink); transition: color .3s; }
.ab-p:hover b { color: var(--yellow); }
.ab-p h3 { font-size: 22px; font-weight: 800; margin: 14px 0 8px; }
.ab-p p { margin: 0; color: var(--ink-2); line-height: 1.55; }

/* FAQ */
.ab-faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ab-qs { display: grid; gap: 10px; }
.ab-qs details { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 4px 20px; transition: border-color .25s, box-shadow .25s; }
.ab-qs details[open] { border-color: var(--ink); box-shadow: 5px 5px 0 var(--yellow); }
.ab-qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; }
.ab-qs summary::-webkit-details-marker { display: none; }
.ab-qs summary::after { content: "+"; font: 700 22px var(--display); width: 32px; height: 32px; border-radius: 50%; background: var(--mist-2); display: grid; place-items: center; flex: none; transition: transform .3s, background .3s; }
.ab-qs details[open] summary::after { transform: rotate(45deg); background: var(--yellow); }
.ab-qs h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.ab-qs p { margin: 0 0 18px; color: var(--ink-2); line-height: 1.6; }

/* CTA */
.ab-cta { background: var(--ink); color: #fff; padding-block: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; --mx: 80%; --my: 20%; }
.ab-cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; }
.ab-cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(480px circle at var(--mx) var(--my), rgba(91,195,106,.28), transparent 60%); pointer-events: none; }
.ab-cta-in { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.ab-cta .eyebrow { color: var(--yellow); }
.ab-cta p { color: #C9D3CC; max-width: 36em; line-height: 1.6; margin: 16px 0 0; }
.ab-cta a:not(.btn) { color: #fff; }
.ab-cta-b { display: flex; gap: 10px; flex-wrap: wrap; }
.ab-ghost { background: none; color: #fff; border-color: rgba(255,255,255,.4); } .ab-ghost:hover { color: #fff; border-color: #fff; }

/* Responsive */
@media (max-width: 1000px) {
  .ab-hero-in, .ab-story-in, .ab-faq-in { grid-template-columns: minmax(0, 1fr); }
  .ab-story-l { position: static; }
  .ab-cards, .ab-prin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-card.c-wide { grid-column: 1 / -1; }
  .ab-flow { grid-template-columns: minmax(0, 1fr); }
  .ab-pipe { width: 4px; height: 44px; margin: 6px auto; background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 14px); }
  .ab-pipe i { left: 50%; margin-left: -6px; animation-name: abFlowV; }
  .ab-sim { --ry: 0deg; --rx: 0deg; margin-inline: 12px; }
}
@keyframes abFlowV { from { top: -6px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 6px); opacity: 0; } }
@media (max-width: 720px) {
  .ab-bento { grid-template-columns: minmax(0, 1fr); }
  .ab-tile.t-big { grid-row: auto; }
  .ab-how-note { grid-template-columns: minmax(0, 1fr); }
  .ab-float.f2 { right: -8px; }
}
@media (max-width: 520px) {
  .ab-cards, .ab-prin { grid-template-columns: minmax(0, 1fr); }
  .ab-card.c-wide { flex-direction: column; align-items: flex-start; }
  .ab-card.c-wide .ab-av { width: 84px; height: 84px; }
  .ab-ch { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ab-h1 { font-size: 38px; }
  .ab-u { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .ab *, .ab *::before, .ab *::after { animation: none !important; transition: none !important; }
  .ab-js .ab-rv { opacity: 1; transform: none; }
  .ab-u path { stroke-dashoffset: 0; }
  .ab-a li, .ab-miss { opacity: 1; transform: none; }
  .ab-ch { opacity: 1; transform: none; }
}
