/* About Us: places and sizes its parts; the patterns are design\components.css's (plan.md, About Us). */

/* the header: one full-bleed photo, the conversation in glass at the left, the words in a white card at the right,
   the owner's face between them */
.ab-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: min(760px, calc(100svh - 76px)); background: var(--c-paper); }
.ab-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.ab-hero__media img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 53% 30%; }
.ab-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; box-sizing: border-box; width: 100%; max-width: calc(var(--max-w) + 2 * var(--gutter)); margin-inline: auto; padding: clamp(48px, 6vw, 88px) var(--gutter); }
.ab-hero__chat { justify-self: start; }
.ab-hero__card { justify-self: end; display: grid; gap: 16px; box-sizing: border-box; width: min(540px, 100%); padding: clamp(28px, 3.5vw, 44px); border-radius: var(--radius-l); background: var(--c-paper); box-shadow: var(--shadow-l); }
.ab-hero__card h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); text-wrap: balance; }
.ab-hero__grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-hero__line { font-size: 1.125rem; line-height: 1.6; color: var(--c-ink-soft); }
.ab-hero__card .cta-row { margin-top: var(--space-2, 8px); }
.ab-hero__stop { top: 16px; right: 16px; }
@media (max-width: 900px) {
  .ab-hero { min-height: 0; align-items: start; }
  .ab-hero__media { top: auto; bottom: 0; height: 800px; } /* the photo under the headline card: her face in the band between the card and the chat, the chat on her desk */
  .ab-hero__media img { object-position: 50% 22%; }
  .ab-hero__in { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .ab-hero__card { order: -1; } /* the headline and the button first, on the first screen */
  .ab-hero__chat { margin-top: 268px; } /* the band for her face */
  .ab-hero__stop { top: auto; bottom: 408px; right: calc(var(--gutter) + 12px); } /* in the chat's head row, in one view with it */
  .ab-hero__chat { justify-self: stretch; width: auto; box-sizing: border-box; min-height: 412px; } /* on the photo, under her face; as tall as its whole conversation (407 px at 360 wide), so the card under it never moves */
  .ab-hero__card { justify-self: stretch; width: auto; }
}

/* the approach: route-map on the designed ground, file 02's four steps under it */
.ab-approach__stage { position: relative; max-width: 1100px; margin-inline: auto; }
.scene.ab-approach__scene { width: 100%; height: 440px; }
.ab-approach__stop { top: -6px; right: -6px; }
.ab-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1100px; margin: var(--space-5) auto 0; padding: 0; list-style: none; counter-reset: none; }
.ab-steps li { display: grid; align-content: start; justify-items: start; gap: 8px; padding: 20px; border-radius: var(--radius-m); background: color-mix(in srgb, var(--c-paper) 92%, transparent); border: 1px solid var(--c-line); }
.ab-steps__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad-brand); color: var(--c-on-brand); font: var(--fw-bold) 0.9375rem/1 var(--font-display); }
.ab-steps b { font: var(--fw-bold) 1.125rem/1.2 var(--font-display); color: var(--c-ink); }
.ab-steps p { margin: 0; font-size: var(--fs-small); line-height: 1.55; color: var(--c-ink-soft); }
.ab-pill { padding: 6px 12px; border-radius: var(--radius-pill); background: var(--c-brand-light); color: var(--c-brand-text); font: var(--fw-semi) 0.8125rem/1.2 var(--font-ui); }
@media (max-width: 900px) { .ab-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .scene.ab-approach__scene { height: 680px; } }
@media (max-width: 560px) { .ab-steps { grid-template-columns: minmax(0, 1fr); } }

/* the people: Janina's portrait in a gradient frame, her card, Gaber's card (no picture slot) */
.ab-people__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.ab-people__photo { margin: 0; padding: 6px; border-radius: calc(var(--radius-l) + 6px); background: var(--grad-brand); box-shadow: var(--shadow-l); }
.ab-people__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: var(--radius-l); }
.ab-person { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-l); background: var(--c-paper); border: 1px solid var(--c-line); box-shadow: var(--shadow-m); }
.ab-person h3 { font-size: 1.5rem; }
.ab-person__role { margin: 0; font: var(--fw-semi) 0.9375rem/1.3 var(--font-ui); color: var(--c-accent-text); }
.ab-person p { margin: 0; line-height: 1.6; color: var(--c-ink-soft); }
.ab-person__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 4px !important; }
.ab-person__links a { display: inline-flex; align-items: center; gap: 6px; font: var(--fw-semi) 0.9375rem/1.2 var(--font-ui); color: var(--c-brand-text); }
.ab-person__links .ico { width: 16px; height: 16px; }
.ab-person__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--c-brand-light); }
.ab-person__mark .sparkle { width: 20px; }
@media (max-width: 1000px) { .ab-people__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ab-people__photo { grid-row: span 2; } }
@media (max-width: 640px) { .ab-people__grid { grid-template-columns: minmax(0, 1fr); } .ab-people__photo { grid-row: auto; max-width: 420px; } }

/* the interviews: five editorial cards on the designed ground, landing one after another (a kit sequence) */
.ab-stories__stage { position: relative; padding-top: 8px; }
.ab-stories__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.ab-story { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 10px; box-sizing: border-box; width: min(380px, 100%); padding: 24px; border-radius: var(--radius-l); background: var(--c-paper); border: 1px solid var(--c-line); box-shadow: var(--shadow-m);
  opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 16px)); }
.ab-story__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--c-brand-light); }
.ab-story__mark .sparkle { width: 16px; transform: rotate(calc((1 - var(--kit-in, 1)) * -90deg)); }
.ab-story__src { margin: 0; font: var(--fw-semi) 0.8125rem/1.3 var(--font-ui); color: var(--c-accent-text); }
.ab-story h3 { font-size: 1.0625rem; line-height: 1.35; }
.ab-story__by { margin: 0; font-size: 0.875rem; color: var(--c-ink-soft); }
.ab-story__link { display: inline-flex; align-items: center; gap: 6px; font: var(--fw-semi) 0.9375rem/1.2 var(--font-ui); color: var(--c-brand-text); }
.ab-story__link .ico { width: 16px; height: 16px; }
.ab-stories__stop { top: -36px; right: 0; }

/* the partner: the words beside a framed photo, two glass cards over its left joined by the line and the sparkle */
.ab-partner__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ab-partner__copy { display: grid; gap: 18px; }
.ab-partner__frame { position: relative; }
.ab-partner__media { aspect-ratio: 3 / 2; }
.ab-partner__media img { object-position: 62% 30%; }
.ab-partner__seq { position: absolute; z-index: 2; left: 4%; top: 50%; display: grid; justify-items: start; width: min(330px, 48%); transform: translateY(-50%); }
.ab-link { display: grid; gap: 4px; box-sizing: border-box; width: 100%; padding: 14px 16px; border-radius: var(--radius-m); background: color-mix(in srgb, var(--c-paper) 88%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border: 1px solid color-mix(in srgb, var(--c-paper) 70%, transparent); box-shadow: var(--shadow-m);
  opacity: var(--kit-in, 1); transform: translateY(calc((1 - var(--kit-in, 1)) * 12px)); }
.ab-link b { font: var(--fw-bold) 1rem/1.2 var(--font-display); color: var(--c-ink); }
.ab-link span { font-size: 0.9375rem; line-height: 1.45; color: var(--c-ink-soft); }
.ab-link--team b { color: var(--c-accent-text); }
.ab-link--call { grid-template-columns: 48px minmax(0, 1fr); align-items: center; column-gap: 12px; } /* the owner's call with Janina, her face in it */
.ab-link__face { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 2px var(--c-paper), 0 0 0 4px var(--c-brand); }
.ab-link__txt { display: grid; gap: 4px; }
.ab-partner__line { position: relative; justify-self: center; width: 3px; height: 44px; border-radius: 3px; background: var(--grad-brand); transform-origin: top; transform: scaleY(var(--kit-in, 1)); }
.ab-partner__line .sparkle { position: absolute; left: 50%; top: 50%; width: 18px; translate: -50% -50%; transform: scale(calc(1 / max(var(--kit-in, 1), 0.2))); opacity: var(--kit-in, 1); }
.ab-partner__stop { top: 14px; right: 14px; }
@media (max-width: 900px) {
  .ab-partner__in { grid-template-columns: minmax(0, 1fr); }
  .ab-partner__media { aspect-ratio: auto; height: 600px; }
  .ab-partner__media img { object-position: 66% 20%; }
  .ab-partner__seq { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; transform: none; } /* on the photo, under her face */
}

/* the close */
.ab-close .close-foot__media video { object-position: 72% 40%; }
