/* PlotVibe's About page, on top of site.css (its tokens, top bar, buttons, cards and footer). TradingView's about page is
   the model: big type and lots of space, a countdown manifesto, an outlined banner, the motto in giant letters at the end. */

.about section { position: relative; }
.center { text-align: center; }
.ab-sub { margin: 14px auto 0; max-width: 60ch; color: var(--muted); font-size: 17px; }
.ab-sub:not(.center) { margin-left: 0; }

/* drafts: shown for the owner to correct, hidden before going live (.is-draft { display: none }) */
.is-draft { outline: 1px dashed rgba(242, 84, 91, .5); outline-offset: -10px; }
.is-draft::before { content: "Draft · hidden before launch"; position: absolute; top: 18px; right: max(18px, env(safe-area-inset-right, 0px)); z-index: 3; padding: 4px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: #ffb3b6; background: rgba(242, 84, 91, .14); border: 1px solid rgba(242, 84, 91, .45); }
.ab-office.is-draft { position: relative; outline-offset: 4px; }
.ab-office.is-draft::before { top: -12px; right: 8px; }
.is-draft-inline { font-style: normal; font-family: var(--mono); font-size: 11px; color: #ffb3b6; margin-left: 6px; }

/* 1 · the motto, word by word */
.ab-hero { padding: 140px 0 40px; overflow-x: clip; }
.ab-hero::before { content: ""; position: absolute; inset: 0 -10% 30%; pointer-events: none; background: radial-gradient(45% 50% at 50% 30%, rgba(138, 18, 253, .2), transparent 70%); }
.ab-motto { position: relative; text-align: center; font-size: clamp(50px, 10.5vw, 150px); font-weight: 800; letter-spacing: -0.035em; line-height: .98; }
.ab-motto .w { display: inline-block; animation: ab-word .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--k) * 110ms + 150ms); }
@keyframes ab-word { from { opacity: .08; transform: translateY(.18em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.ab-hero .ab-sub { text-align: center; font-size: clamp(16px, 1.4vw, 19px); }
.ab-shot { margin: 56px 0 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: #131722;
  box-shadow: 0 50px 120px rgba(75, 2, 198, .35), 0 0 0 1px rgba(255, 255, 255, .03) inset; transform: translateY(var(--rise, 40px)) scale(var(--grow, .96)); transition: transform .2s linear; }
.ab-shot img { display: block; width: 100%; height: auto; }

/* 2 · hello, trader */
.ab-hello { padding: clamp(80px, 12vh, 140px) 0 40px; }
.ab-hello-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.ab-hello h2 { font-size: clamp(40px, 5.4vw, 76px); font-weight: 800; letter-spacing: -0.02em; }
.ab-big { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; color: #e2dcf2; }
.ab-p { margin-top: 16px; color: var(--muted); }
.ab-stats { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ab-stats li { padding: 26px 20px 0 0; display: flex; flex-direction: column; gap: 6px; }
.ab-stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.ab-stats b { font-family: var(--display); font-size: clamp(44px, 5vw, 68px); font-weight: 800; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.ab-stats li > span { color: var(--muted); font-size: 15px; max-width: 22ch; }
.ab-stats b { display: flex; background: none; color: #d7c2ff; }
.odo { display: inline-block; height: 1em; overflow: hidden; }
.odo-strip { display: flex; flex-direction: column; transform: translateY(0); transition: transform 0s; }
.odo-strip span, .odo-suffix { display: block; height: 1em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-stats.rolled .odo-strip { transform: translateY(calc(var(--n) * -1em)); transition: transform calc(1.4s + var(--i) * .35s) cubic-bezier(.15, .75, .1, 1); }

/* 3 · how it started */
.ab-story { padding: clamp(80px, 12vh, 140px) 0; }
.ab-story-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ab-photo { margin: 0; }
.ab-photo-box { position: relative; aspect-ratio: 4 / 5; border-radius: 26px; display: grid; place-items: center; overflow: hidden;
  border: 1px dashed var(--line-2); background: radial-gradient(70% 60% at 50% 30%, rgba(138, 18, 253, .35), transparent 70%), linear-gradient(180deg, #1b1236, #0c0817); }
.ab-photo-box span { font-family: var(--display); font-weight: 800; font-size: clamp(80px, 10vw, 140px); color: rgba(236, 232, 246, .9); letter-spacing: -0.04em; }
.ab-photo-box em { position: absolute; bottom: 16px; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.ab-photo figcaption { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.ab-photo figcaption b { font-family: var(--display); font-size: 22px; }
.ab-photo figcaption span { color: var(--muted); font-size: 15px; }
.ab-story-txt h2 { font-size: clamp(32px, 3.8vw, 52px); margin-bottom: 22px; }
.ab-story-txt p:not(.eyebrow) { color: #cfc8e2; font-size: 17px; max-width: 62ch; }
.ab-story-txt p + p { margin-top: 14px; }
.ab-quote { margin: 30px 0 0; padding: 0 0 0 22px; border-left: 3px solid var(--violet-soft); font-family: var(--display); font-weight: 700; font-style: italic;
  font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; color: #fff; text-wrap: balance; }

/* 4 · the manifesto, counted down */
.ab-manifesto { padding: clamp(80px, 12vh, 140px) 0; }
.ab-manifesto h2 { font-size: clamp(36px, 5vw, 68px); font-weight: 800; }
.ab-count { list-style: none; margin: 70px 0 0; padding: 0; display: grid; gap: 0; }
.ab-count li { display: grid; grid-template-columns: auto minmax(0, 560px) 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vh, 56px) 0; border-top: 1px solid var(--line); }
.ab-count li:nth-child(even) { grid-template-columns: 1fr minmax(0, 560px) auto; }
.ab-count li:nth-child(even) .ab-num { order: 3; }
.ab-count li:nth-child(even) > div { order: 2; }
.ab-count li:nth-child(even)::before { content: ""; order: 1; }
.ab-num { font-family: var(--display); font-weight: 800; font-size: clamp(130px, 17vw, 260px); line-height: .8; text-align: center; min-width: 1.1ch; color: transparent;
  -webkit-text-stroke: 2px rgba(185, 138, 255, .28); transition: -webkit-text-stroke-color .6s, text-shadow .6s, transform .6s; }
.ab-count li.on .ab-num { -webkit-text-stroke-color: #c9a6ff; text-shadow: 0 0 30px rgba(138, 18, 253, .9), 0 0 80px rgba(138, 18, 253, .5); transform: scale(1.03); }
.ab-count h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; color: #8d84a8; transition: color .5s; }
.ab-count li.on h3 { color: #fff; }
.ab-count p { margin-top: 10px; color: var(--muted); font-size: 17px; max-width: 54ch; }

/* 5 · the banner sliding across */
.ab-banner { height: clamp(220px, 32vw, 380px); overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 6px; border-block: 1px solid var(--line); }
.ab-banner-bg { position: absolute; inset: 0; background: url("../img/studio/replay.webp") center / cover no-repeat; opacity: .16; filter: saturate(.6) blur(1px); }
.ab-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night, #07050d), transparent 18%, transparent 82%, var(--night, #07050d)); pointer-events: none; }
.ab-marquee { position: relative; display: flex; width: max-content; animation: ab-slide 38s linear infinite; }
.ab-marquee.rev { animation-direction: reverse; animation-duration: 46s; }
.ab-marquee span { padding-right: .4em; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(56px, 9vw, 132px); line-height: 1.05; color: transparent;
  -webkit-text-stroke: 1.5px rgba(236, 232, 246, .55); letter-spacing: .02em; }
.ab-marquee.rev span { -webkit-text-stroke-color: rgba(185, 138, 255, .55); font-size: clamp(34px, 5vw, 70px); }
@keyframes ab-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 6 · promises: the home page's cards, four across */
.ab-promises { padding: clamp(80px, 12vh, 140px) 0; }
.ab-promises h2, .ab-team h2, .ab-love h2, .ab-brand h2 { font-size: clamp(32px, 4vw, 56px); }
.ab-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 7 · milestones: a line that draws itself */
.ab-time { padding: clamp(80px, 12vh, 140px) 0; }
.ab-time-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.ab-time-head { position: sticky; top: 120px; }
.ab-time-head h2 { font-size: clamp(34px, 4vw, 54px); }
.ab-steps { --fill: 0; position: relative; list-style: none; margin: 0; padding: 0 0 0 46px; display: grid; gap: 34px; }
.ab-steps::before, .ab-steps::after { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: #2a2340; }
.ab-steps::after { background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .5); transform-origin: 50% 0; transform: scaleY(var(--fill)); }
.ab-steps li { position: relative; }
.ab-steps li::before { content: ""; position: absolute; left: -39px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #0b0716; border: 2px solid #3a3058; z-index: 1; transition: background .4s, border-color .4s, box-shadow .4s; }
.ab-steps li.on::before { background: #fff; border-color: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .12), 0 0 16px rgba(255, 255, 255, .5); }
.ab-steps li.next::before { border-style: dashed; border-color: var(--violet-soft); background: transparent; box-shadow: none; }
.ab-steps time { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--violet-soft); }
.ab-steps h3 { margin-top: 4px; font-size: clamp(20px, 2vw, 26px); color: #8d84a8; transition: color .4s; }
.ab-steps li.on h3 { color: #fff; }
.ab-steps li.next h3 { color: #b7a3e0; }
.ab-steps p { margin-top: 6px; color: var(--muted); max-width: 56ch; }

/* 8 · mission and vision */
.ab-mv { padding: 20px 0 clamp(80px, 12vh, 140px); }
.ab-mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ab-mv-grid article { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px); border-radius: 24px; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(40, 22, 80, .75), rgba(10, 7, 20, .9)); }
.ab-mv-grid article::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(196, 168, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(196, 168, 255, .07) 1px, transparent 1px); background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(80% 80% at 100% 0%, #000, transparent); mask-image: radial-gradient(80% 80% at 100% 0%, #000, transparent); }
.ab-mv-ico { position: relative; display: block; width: 52px; height: 52px; margin-bottom: 22px; color: var(--violet-soft); filter: drop-shadow(0 0 12px rgba(138, 18, 253, .7)); }
.ab-pulse { transform-box: fill-box; transform-origin: center; animation: ab-pulse 2s ease-in-out infinite; }
@keyframes ab-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .7; } }
.ab-twinkle { transform-box: fill-box; transform-origin: center; animation: ab-twinkle 3s ease-in-out infinite; }
@keyframes ab-twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .5; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
.ab-mv-grid h3 { position: relative; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; font-weight: 700; }

/* 9 · team */
.ab-team { padding: clamp(80px, 12vh, 140px) 0; }
.ab-team-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ab-person { position: relative; padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(24, 16, 48, .8), rgba(12, 8, 24, .8)); }
.ab-person.open { border-style: dashed; }
.ab-avatar { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: radial-gradient(circle at 30% 30%, #8a12fd, #2a1258); border: 1px solid var(--line-2); }
.ab-person.open .ab-avatar { background: #120c22; }
.ab-avatar span { font-family: var(--display); font-weight: 800; font-size: 30px; }
.ab-person h3 { font-size: 21px; }
.ab-role { color: var(--violet-soft); font-size: 14.5px; margin-top: 4px; }
.ab-city { color: var(--dim); font-size: 13.5px; }
.ab-person p:last-of-type { margin-top: 12px; color: var(--muted); font-size: 15px; }
.ab-in { position: absolute; top: 24px; right: 24px; width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 14px; text-decoration: none; color: #fff; background: #2a1d4d; border: 1px solid var(--line-2); }
.ab-in:hover { background: var(--violet); }

/* 10 · the wall of love */
.ab-love { padding: clamp(80px, 12vh, 140px) 0; }
.ab-wall { margin-top: 50px; columns: 3 300px; column-gap: 18px; }
.ab-post { break-inside: avoid; margin-bottom: 18px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: #0f0a1d; }
.ab-post header { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; align-items: center; }
.ab-post header i { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; background: #2a1d4d; color: var(--violet-soft); }
.ab-post header b { font-size: 14.5px; }
.ab-post header span { color: var(--dim); font-size: 13px; }
.ab-post p { margin-top: 12px; color: #d6cfe8; font-size: 15px; }
.ab-post em { display: inline-block; margin-top: 12px; font-style: normal; font-family: var(--mono); font-size: 11px; color: #ffb3b6; }
.ab-post-img { margin-top: 12px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.ab-post-img img { display: block; width: 100%; }

/* 11 · Port Harcourt, the clock and the globe */
.ab-place { padding: clamp(80px, 12vh, 140px) 0; }
.ab-place-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ab-place h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; }
.ab-clock { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.ab-clock b { font-family: var(--mono); font-size: clamp(34px, 4vw, 52px); font-weight: 500; font-variant-numeric: tabular-nums; color: #fff; }
.ab-clock span:last-child { color: var(--muted); }
.ab-dot { align-self: center; width: 10px; height: 10px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(38, 194, 129, .6); animation: ab-live 2s infinite; }
@keyframes ab-live { 0% { box-shadow: 0 0 0 0 rgba(38, 194, 129, .6); } 100% { box-shadow: 0 0 0 12px rgba(38, 194, 129, 0); } }
.ab-office { margin-top: 28px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: #0f0a1d; display: flex; flex-direction: column; gap: 2px; max-width: 380px; }
.ab-office span { color: var(--muted); font-size: 15px; }
.ab-office a { margin-top: 8px; color: var(--violet-soft); font-weight: 600; text-decoration: none; }
.ab-mail { margin-top: 22px; color: var(--muted); }
.ab-mail a { color: #fff; font-weight: 600; }
.ab-globe-wrap { position: relative; height: clamp(420px, 42vw, 640px); min-width: 0; margin-right: calc(-1 * clamp(0px, 3vw, 40px)); }
.ab-globe { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.ab-globe.grabbing { cursor: grabbing; }
.ab-cities { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(220px, 34%); pointer-events: none; }
.ab-cities-h { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; padding-left: 10px; }
.ab-cities ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ab-cities button { pointer-events: auto; width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 10px; border-radius: 8px; border: 1px solid transparent;
  background: none; color: var(--muted); font: inherit; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: color .25s, border-color .25s, background .25s; }
.ab-cities button b { font-weight: 500; }
.ab-cities button time { color: var(--dim); font-variant-numeric: tabular-nums; }
.ab-cities button:hover { color: #fff; }
.ab-cities button.on { color: #fff; border-color: rgba(185, 138, 255, .6); background: rgba(138, 18, 253, .14); }
.ab-cities button.home b { color: var(--up); }
.ab-place-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

/* 12 · careers */
.ab-careers { padding: 40px 0 clamp(80px, 12vh, 140px); }
.ab-careers-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 30px; padding: clamp(30px, 5vw, 60px); border-radius: 28px;
  border: 1px solid var(--line-2); background: radial-gradient(60% 120% at 100% 0%, rgba(138, 18, 253, .35), transparent 60%), linear-gradient(160deg, #1b1236, #0c0817); }
.ab-careers h2 { font-size: clamp(32px, 4vw, 54px); }
.ab-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 10px 30px; }
.ab-ticks li { position: relative; padding-left: 26px; color: #d6cfe8; }
.ab-ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 8px; border-left: 2px solid var(--up); border-bottom: 2px solid var(--up); transform: rotate(-45deg); }

/* 13 · media kit */
.ab-brand { padding: clamp(80px, 12vh, 140px) 0; }
.ab-logos { margin-top: 50px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ab-logos figure { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.ab-logos figure > img, .ab-wordmark { display: block; height: 190px; width: 100%; padding: 50px; object-fit: contain; }
.ab-logos .dark > img, .ab-logos .dark .ab-wordmark { background: #0b0716; }
.ab-logos .light > img { background: #f4f1fb; }
.ab-wordmark { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 30px; }
.ab-wordmark img { width: 64px; }
.ab-wordmark span { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 34px; color: #fff; }
.ab-logos figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; background: #0f0a1d; border-top: 1px solid var(--line); }
.ab-logos figcaption span { color: var(--muted); }

/* 14 · next steps */
.ab-next { padding: 20px 0 100px; }
.ab-next-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ab-link { display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 24px 28px; text-decoration: none; color: var(--text); border-left: 2px solid var(--violet-soft);
  background: linear-gradient(90deg, rgba(138, 18, 253, .1), transparent 70%); transition: background .3s, border-color .3s; }
.ab-link b { font-family: var(--display); font-size: 22px; }
.ab-link span { color: var(--muted); }
.ab-link em { margin-top: 6px; font-style: normal; font-weight: 600; color: var(--violet-soft); }
.ab-link:hover { background: linear-gradient(90deg, rgba(138, 18, 253, .22), transparent 80%); border-color: #fff; }

/* the motto in giant letters, closing the page (TradingView) */

.nav-links a[aria-current="page"] { color: var(--text); }

@media (max-width: 900px) {
  .ab-hero { padding-top: 110px; }
  .ab-hello-in, .ab-story-in, .ab-time-in, .ab-place-in, .ab-mv-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-stats li + li { padding-left: 0; border-left: 0; }
  .ab-stats li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .ab-photo { max-width: 360px; }
  .ab-count li, .ab-count li:nth-child(even) { grid-template-columns: 90px minmax(0, 1fr); }
  .ab-count li:nth-child(even)::before { display: none; }
  .ab-count li:nth-child(even) .ab-num { order: 0; }
  .ab-num { font-size: 110px; }
  .ab-cities { position: static; transform: none; width: 100%; margin-top: 10px; }
  .ab-cities ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-globe-wrap { height: auto; }
  .ab-globe { position: relative; height: 360px; }
  .ab-cards, .ab-team-grid, .ab-logos, .ab-next-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-time-head { position: static; }
  .ab-ticks { grid-template-columns: minmax(0, 1fr); }
  .ab-shot { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-motto .w, .ab-marquee, .ab-dot, .ab-pulse, .ab-twinkle { animation: none; }
  .ab-stats .odo-strip { transition: none; }
  .ab-shot { transform: none; transition: none; }
}
