/* Redlab — About, v11 (17 Nov 2026). Loaded after lms.css: the page reuses the LMS page's finished components
   (dark hero with live smoke, dark band, white cards with block scenes, award tiles, the CTA with Linda) and adds
   its own blocks below (ab- prefix). Builder: docs/about-build/build_about.py. Previous version: docs/about-build/about-v10.css. */

/* 1. Hero: no numbers strip, so the smoke reaches the bottom of the band. */
.ab-hero { padding-bottom: clamp(40px, 4vw, 64px); }
.ab-hero .bg-pixel { bottom: 0; }
.ab-hero h1 { max-width: 14.5em; }
.ab-hero .lms-rate { margin-top: clamp(48px, 8vh, 96px); }

/* 1b. The showreel hangs off the dark band: dark behind its top half, paper behind the rest and the caption. */
.ab-reel-band { background: linear-gradient(180deg, var(--dark) 0, var(--dark) clamp(110px, 21vw, 330px), transparent clamp(110px, 21vw, 330px)); }
.reel { position: relative; display: grid; }
.reel-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r-l); background: var(--dark-2); box-shadow: 0 40px 80px -48px rgb(10 10 10 / .7); }
.reel-frame img, .reel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.reel-frame iframe { opacity: 0; transition: opacity .6s var(--ease); }
.reel-frame.is-live iframe { opacity: 1; }

/* the round play button over the reel (as on the live redlab.bz/about): a click turns the sound on and starts from the top */
.reel-play { position: absolute; left: 50%; top: 50%; z-index: 3; display: grid; place-items: center; width: clamp(72px, 6vw, 100px); aspect-ratio: 1; border: 1px solid rgb(255 255 255 / .9); border-radius: 50%; background: rgb(19 20 20 / .18); color: #fff; transform: translate(-50%, -50%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .45s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), opacity .4s var(--ease); }
.reel-play[hidden] { display: none; }
.reel-play svg { width: 26%; height: 26%; }
.reel-ico-play { margin-left: 6%; }
.reel-ico-mute, .reel-play[aria-pressed="true"] .reel-ico-play { display: none; }
.reel-play[aria-pressed="true"] .reel-ico-mute { display: block; }
.reel-play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--red); border-color: var(--red); }
.reel-play:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
/* while the sound plays, the button steps back until the pointer is on the reel */
.reel-play[aria-pressed="true"] { opacity: 0; }
.ab-reel:hover .reel-play[aria-pressed="true"], .reel-play[aria-pressed="true"]:focus-visible { opacity: 1; }
@media (hover: none) { .reel-play[aria-pressed="true"] { opacity: .85; } }
.reel figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: var(--t-small); color: var(--muted); }
.reel-tag { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.reel-tag::before { content: ''; width: 7px; height: 7px; border-radius: 1.5px; background: var(--red); }
.reel figcaption a { margin-left: auto; color: var(--ink); text-underline-offset: 3px; }
.reel figcaption a:hover { color: var(--red); }

/* 2. Who we are: the manifesto at heading size, grey, the facts in ink. */
.ab-who { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px clamp(24px, 4vw, 64px); padding-top: var(--section); }
.ab-who .lms-eyebrow { align-self: start; margin-top: .9em; }
.ab-manifesto { max-width: 21em; font-size: clamp(28px, 1.9vw + 14px, 50px); font-weight: 400; line-height: 1.16; letter-spacing: -.035em; color: #a39d96; text-wrap: pretty; }
.ab-manifesto b { font-weight: 400; color: var(--ink); }
.ab-logos { grid-column: 1 / -1; margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--hair); border-bottom: 0; padding-bottom: 0; }

/* 3. Our story: four eras on a dark band; one line runs through them, its last node red. */
.ab-eras-list { --eg: clamp(20px, 2.2vw, 32px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--eg); counter-reset: era; }
.ab-era { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; padding-top: 30px; }
/* the line: each era draws its piece; the node is a square, as everything on this site */
.ab-era::before { content: ''; position: absolute; top: 0; left: 0; right: calc(var(--eg) * -1); height: 1px; background: var(--dark-line); }
.ab-era:last-child::before { right: 0; background: linear-gradient(90deg, var(--dark-line), rgb(255 109 96 / .7)); }
.ab-era::after { content: ''; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 2px; background: #4a4b4b; }
.ab-era:last-child::after { background: var(--red-on-dark); box-shadow: 0 0 0 6px rgb(255 109 96 / .16), 0 0 22px rgb(255 109 96 / .6); }
.ab-era-when { display: flex; align-items: baseline; gap: 12px; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
.ab-era-when span { font-family: var(--mono); letter-spacing: 0; color: var(--on-dark-3); }
.ab-era:last-child .ab-era-when { color: var(--red-on-dark); }
.ab-era-art { overflow: hidden; margin: 6px 0 10px; aspect-ratio: 5 / 4; border-radius: var(--r-m); background: #ece6dc; }
.ab-era-art img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.ab-era:hover .ab-era-art img { transform: scale(1.18); }
.ab-era h3 { font-size: clamp(26px, 1vw + 18px, 36px); font-weight: 400; line-height: 1.05; letter-spacing: -.035em; color: #fff; }
.ab-era-text { line-height: 1.55; color: var(--on-dark-2); }
.ab-era-text a { color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .3); text-underline-offset: 3px; transition: text-decoration-color .25s var(--ease); }
.ab-era-text a:hover { text-decoration-color: var(--red-on-dark); }
.ab-era-link { justify-self: start; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--dark-line); width: 100%; font-size: var(--t-small); font-weight: 500; color: #fff; text-decoration: none; }
.ab-era-link span { display: inline-block; transition: transform .35s var(--ease); }
.ab-era-link:hover { color: var(--red-on-dark); }
.ab-era-link:hover span { transform: translateX(4px); }
/* entry: the eras rise in one after another, the stack growing left to right */
.js .ab-era { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 140ms); }
.js .ab-eras-list.is-in .ab-era { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .ab-era { opacity: 1; transform: none; transition: none; } }

/* 4. Why clients stay: the LMS why cards; the scenes' own motion. */
.iso .b-g polygon { fill: none; stroke: #bdb2a4; stroke-width: 1; stroke-dasharray: 3 3; }
.iso .path { stroke: #cdbfae; stroke-width: 1.2; stroke-dasharray: 4 5; }
/* 1. eight blocks drop back into their places, one by one, then start again */
.iso .back { animation: ab-back 7s var(--ease) infinite; animation-delay: var(--d); opacity: 0; }
@keyframes ab-back { 0% { opacity: 0; transform: translateY(-34px); } 7% { opacity: 1; transform: none; } 74% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; transform: none; } }
/* 2. the red block passes from product to product; each lights as it lands */
.iso .pass { animation: ab-pass 4.8s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes ab-pass {
  0%, 18% { opacity: 1; transform: translate(0, 25px); }
  27% { transform: translate(33px, 2px); }
  33%, 51% { transform: translate(66.5px, 57.6px); }
  60% { transform: translate(99.8px, 34px); }
  66%, 88% { opacity: 1; transform: translate(133px, 90px); }
  93% { opacity: 0; transform: translate(133px, 90px); }
  94% { opacity: 0; transform: translate(0, -20px); }
  100% { opacity: 1; transform: translate(0, 25px); }
}
.iso .lit .ft { animation: ab-lit 4.8s var(--ease) infinite; animation-delay: var(--d); }
@keyframes ab-lit { 0%, 4% { fill: #fff; } 10%, 30% { fill: #ffc7bd; } 42%, 100% { fill: #fff; } }
/* 3. the hour blocks light in turn around the person who answers */
.iso .tick .ft { animation: ab-tick 4.8s linear infinite; animation-delay: var(--d); }
@keyframes ab-tick { 0% { fill: #ffc7bd; } 8% { fill: #ff9d8f; } 30%, 100% { fill: #fff; } }
/* 4. done steps drop in once, the current one breathes */
.iso .now { animation: ab-now 2.4s ease-in-out infinite; }
@keyframes ab-now { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .iso .back, .iso .pass, .iso .lit .ft, .iso .tick .ft, .iso .now { animation: none; }
  .iso .back { opacity: 1; transform: none; }
}

/* 5. From the founder: one grey card, the office photo large, the quote beside it. */
/* Spacing (17 Nov): chapters are two section steps apart, as on the homepage and LMS; the founder card is one step
   from "Why clients stay" above (his words close it) and one step from the core team below (one people chapter). */
main > section.ab-founder { padding-block: 0; }
.ab-f-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 8px; margin: 0; padding: 8px; border-radius: calc(var(--r-l) + 4px); background: var(--surface); }
.ab-f-photo { position: relative; overflow: hidden; min-height: 440px; border-radius: var(--r-l); background: #2a2622; }
.ab-f-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.ab-f-text { display: grid; align-content: center; gap: 22px; padding: clamp(28px, 3.4vw, 56px) clamp(24px, 3vw, 48px); }
.ab-f-lead { max-width: 26em; font-size: var(--t-lead); line-height: 1.55; color: var(--muted); }
.ab-f-text blockquote { position: relative; margin: 0; }
.ab-f-text blockquote::before { content: ''; display: block; width: 28px; height: 28px; margin-bottom: 22px; border-radius: 4px; background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M0 28V14C0 5 4 1 12 0v6c-3.5 1-5 3.5-5 8h5v14H0Zm16 0V14c0-9 4-13 12-14v6c-3.5 1-5 3.5-5 8h5v14H16Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M0 28V14C0 5 4 1 12 0v6c-3.5 1-5 3.5-5 8h5v14H0Zm16 0V14c0-9 4-13 12-14v6c-3.5 1-5 3.5-5 8h5v14H16Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ab-f-text blockquote p { font-size: clamp(28px, 1.6vw + 14px, 44px); line-height: 1.08; letter-spacing: -.04em; color: var(--ink); text-wrap: pretty; }
.ab-f-text figcaption { display: grid; gap: 2px; padding-top: 18px; border-top: 1px solid rgb(23 25 25 / .09); }
.ab-f-text figcaption b { font-size: var(--t-h3); font-weight: 500; letter-spacing: -.015em; }
.ab-f-text figcaption span { font-size: var(--t-small); color: var(--muted); }

/* 6. The team: grey cards; each person cut out and standing on a warm stage with our dot grid and a soft red light. */
.ab-team { padding-top: var(--section); }
.ab-mates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.ab-mate { display: grid; grid-template-rows: auto 1fr; gap: 8px; padding: 8px; border-radius: calc(var(--r-l) + 4px); background: var(--surface); }
.ab-mate-stage { position: relative; isolation: isolate; overflow: hidden; margin: 0; aspect-ratio: 6 / 5; border-radius: var(--r-l);
  background: radial-gradient(56% 46% at 50% 40%, rgb(255 255 255 / .95), rgb(255 255 255 / 0) 72%), radial-gradient(60% 50% at 88% 100%, rgb(229 55 42 / .16), transparent 70%), linear-gradient(170deg, #f5f1ec, #e9e2d9); }
.ab-mate-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 1px 1px, #d6cdc2 1px, transparent 1.4px) 0 0 / 16px 16px; -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 80%); mask-image: linear-gradient(180deg, #000 10%, transparent 80%); }
.ab-mate-stage img { position: absolute; left: 50%; top: 0; width: 100%; height: auto; transform: translateX(-50%); filter: drop-shadow(0 16px 24px rgb(70 45 25 / .16)); }
.ab-mate-text { display: grid; align-content: start; gap: 8px; padding: 16px 16px 20px; }
.ab-mate h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: var(--t-h3); font-weight: 500; letter-spacing: -.015em; }
.ab-mate h3 span { font-size: var(--t-small); font-weight: 400; letter-spacing: 0; color: var(--muted); }
.ab-mate p { font-size: var(--t-small); line-height: 1.55; color: var(--ink-2); }
.ab-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap) clamp(24px, 3vw, 48px); margin-top: clamp(36px, 4vw, 56px); }
.ab-facts li { position: relative; display: grid; gap: 6px; padding: 20px 0 0 22px; border-top: 1px solid var(--hair); }
.ab-facts li::before { content: ''; position: absolute; left: 0; top: 27px; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
.ab-facts b { font-size: var(--t-h3); font-weight: 500; letter-spacing: -.015em; }
.ab-facts span { font-size: var(--t-small); line-height: 1.55; color: var(--muted); }

/* 7. Recognition and reviews: the award row needs no extra top margin under its own heading. */
.ab-recog .lms-awd { margin-top: 0; }
.ab-reviews { padding-top: 0; }

/* Tablet and phone -------------------------------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .ab-eras-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .ab-era:nth-child(2)::before { right: 0; }
  .ab-mates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-f-card { grid-template-columns: minmax(0, 1fr); }
  .ab-f-photo { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 760px) {
  .ab-who { grid-template-columns: minmax(0, 1fr); }
  .ab-who { padding-top: 56px; }
  .ab-who .lms-eyebrow { margin-top: 0; }
  .ab-manifesto { font-size: clamp(24px, 6.4vw, 30px); }
  .ab-reel-band { background: linear-gradient(180deg, var(--dark) 0, var(--dark) 26vw, transparent 26vw); }
  /* phone: the eras become a row you swipe, so the story stays one screen tall */
  .ab-eras-list { --eg: 14px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter); }
  .ab-eras-list::-webkit-scrollbar { display: none; }
  .ab-era { flex: 0 0 80%; scroll-snap-align: start; }
  .ab-era:nth-child(2)::before { right: calc(var(--eg) * -1); }
  .js .ab-era { transition-delay: 0s; }
  .ab-facts { grid-template-columns: minmax(0, 1fr); }
  .ab-f-photo { aspect-ratio: 4 / 3; }
  .ab-f-text { padding: 24px 16px 28px; }
}
@media (max-width: 560px) {
  .ab-mates { gap: 10px; }
  .ab-mate-text { padding: 12px 10px 14px; }
  .ab-mate h3 { font-size: 18px; }
}

/* 6c. Core team, 17 Nov (Eugene: cropped at the shoulders the four looked like passport photos "standing at attention").
   Tall cards: each person waist up with the whole pose, larger; one clean studio stage per card (no dot grid), a soft
   top light and a red rim glow on the right that picks up the red light already in the photos. Eugene 17 Nov: no stagger, the four stand in one even row. */
.ab-mates { align-items: start; }
.ab-mate-stage { aspect-ratio: 720 / 848 !important;
  background: radial-gradient(60% 46% at 50% 26%, #fff, rgb(255 255 255 / 0) 75%), radial-gradient(46% 60% at 104% 70%, rgb(229 55 42 / .2), transparent 70%), linear-gradient(180deg, #f3efea, #e7e1d9) !important; }
.ab-mate-stage::before { content: none !important; }
.ab-mate-stage img { top: auto !important; bottom: 0 !important; width: 100% !important; filter: drop-shadow(0 22px 30px rgb(70 45 25 / .16)); }

.ab-f-first { display: block; }
