/* about.css: About (src\pages\about.mjs). The page's unique element is #orlando (scene sbh-orlando). */

/* 1. Header: a split. The words on the ink at the left; the handshake full-bleed at the right, its left edge falling
   into the ink, the island over its shelves (scene about-island), the hands always below it. Under 1024 px the photo
   is a band above the words. */
.ab-top { min-height: clamp(600px, calc(100svh - 76px), 760px); }
.ab-top .hero__stage { left: 44%; }
.ab-top .hero__stage::after { background: linear-gradient(0deg, color-mix(in srgb, var(--c-ink) 42%, transparent), transparent 28%); }
.ab-top__photo { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%); mask-image: linear-gradient(90deg, transparent 0%, #000 24%); }
.ab-top__img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 72% 50%; }
.ab-top .ab-top__island { position: absolute; inset: 0; z-index: 4; --ai-x: .56; }
.ab-top__copy { max-width: min(560px, 40vw); }
.hero__words .ab-top__copy h1 { max-width: none; font-size: clamp(2rem, .6rem + 2.6vw, 3.15rem); }
@media (max-width: 1023px) {
  .ab-top { display: block; min-height: 0; }
  .ab-top .hero__stage { position: relative; inset: auto; height: clamp(300px, 52vw, 460px); }
  .ab-top__photo { -webkit-mask-image: none; mask-image: none; }
  .ab-top .hero__stage::after { background: linear-gradient(0deg, var(--c-ink) 0%, color-mix(in srgb, var(--c-ink) 30%, transparent) 22%, transparent 44%); }
  .ab-top__img { object-position: 70% 50%; }
  .ab-top__words { padding-block: var(--space-3) var(--space-5); margin-top: -8px; }
  .ab-top__copy { max-width: 36rem; }
  .hero__words .ab-top__copy h1 { font-size: clamp(1.8rem, 7.2vw, 2.6rem); }
  .ab-top .ab-top__stop { top: 14px; right: 14px; bottom: auto; left: auto; }
}

/* 2. Orlando's own hero (the page's unique element): the head in the column, the map full width on the ink. */
/* (the part fits one computer screen with its head: 52 + about 150 + 32 + 520 + 52) */
.ab-map { padding-block: clamp(2.75rem, 3.6vw, 3.25rem); }
.ab-map__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 4.5rem); align-items: end; margin-bottom: var(--space-4); }
.ab-map__head h2, .ab-map__head .lede { margin: 0; }
.ab-map__stage { position: relative; }
.ab-map .ab-map__scene { height: 520px; }
.ab-map__stop { position: absolute; z-index: 3; top: 14px; right: var(--gutter); }
@media (max-width: 899px) { .ab-map__head { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2); } }
@media (max-width: 999px) { .ab-map .ab-map__scene { height: 600px; } }
@media (max-width: 699px) { .ab-map .ab-map__scene { height: 620px; } .ab-map__stop { right: auto; left: 14px; } }

/* 3. Why we're here: the owner at her counter, framed; the three cards in glass at its left, over the plant and the
   bags, clear of her (her face 50 to 58% across). Under 900 px the frame is tall and the photo drawn from higher up:
   her face at its top, the cards over the counter below it. */
/* (the part fits one computer screen with its head: 48 + about 200 + 504 + 48) */
.ab-why { padding-block: 3rem; }
.ab-why__head { margin-bottom: var(--space-4); }
.ab-why__frame { position: relative; height: clamp(470px, 35vw, 504px); border-radius: var(--radius-l); overflow: hidden; background: var(--c-ink); box-shadow: var(--shadow-m); }
.ab-why__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.ab-why .ab-why__scene { position: absolute; left: clamp(18px, 2.4vw, 32px); top: clamp(18px, 2.4vw, 32px); bottom: clamp(18px, 2.4vw, 32px); width: min(380px, 34%); height: auto; }
.ab-why__stop { position: absolute; z-index: 3; top: clamp(18px, 2.4vw, 32px); left: calc(clamp(18px, 2.4vw, 32px) + min(380px, 34%) + 12px); }
@media (max-width: 899px) {
  .ab-why__frame { height: 880px; margin-inline: calc(12px - var(--gutter)); }
  .ab-why__img { top: -6%; height: calc(106% + 1px); object-position: 54% 50%; }
  .ab-why .ab-why__scene { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; height: 392px; --at-align: end; }
  .ab-why__stop { top: 432px; right: 14px; left: auto; } /* just above the cards, so the two stand in one view */
}
@media (min-width: 600px) and (max-width: 899px) { .ab-why .ab-why__scene { left: 50%; right: auto; width: 420px; margin-left: -210px; } }

/* 3b. F5b (Edgard, 24 Nov): his own section, his portrait as he sent it (its own square shape, nothing cropped but the
   frame's corners) beside his heading and three paragraphs; on the phone the portrait above the words. */
.ab-founder__in { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(var(--space-4), 5vw, 72px); align-items: start; }
.ab-founder__photo { position: sticky; top: 100px; margin: 0; }
.ab-founder__img { display: block; width: 100%; height: auto; border-radius: var(--radius-l); box-shadow: var(--shadow-m); }
.ab-founder__words { max-width: 42rem; }
.ab-founder__words h2 { margin-bottom: var(--space-3); }
.ab-founder__words p { margin: 0 0 1em; }
.ab-founder__words p:last-child { margin-bottom: 0; }
@media (max-width: 899px) {
  .ab-founder__in { grid-template-columns: minmax(0, 1fr); }
  .ab-founder__photo { position: static; width: min(100%, 360px); }
}

/* 4. Close: a customer turns back smiling at a flower shop's door as she leaves (her face about 64% across): the clip
   in the right 62%, its left edge into the ink, the words, the picker and the consultation at the left; under 1200 px
   the clip is a band above the words. */
.ab-close .close__in { z-index: 5; }
.ab-close .close__media { inset: 0 0 0 auto; width: 62%; }
.ab-close .close__video { object-position: 60% 35%; }
.ab-close .close__media::after { background: linear-gradient(90deg, var(--c-ink) 0%, color-mix(in srgb, var(--c-ink) 50%, transparent) 15%, transparent 34%), linear-gradient(0deg, color-mix(in srgb, var(--c-ink) 35%, transparent), transparent 30%); }
.ab-close .close__in h2 { max-width: 12em; }
.ab-close .close__in .lede { max-width: 30rem; }
@media (max-width: 1199px) {
  .ab-close { padding-block: 0 clamp(4.5rem, 8vw, 6.5rem); }
  .ab-close .close__media { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9; max-height: 520px; }
  .ab-close .close__media::after { background: linear-gradient(0deg, var(--c-ink) 0%, color-mix(in srgb, var(--c-ink) 35%, transparent) 24%, transparent 48%); }
  .ab-close .close__in { margin-top: calc(-1 * var(--space-4)); }
  .ab-close .close__stop { top: 16px; }
}
@media (max-width: 599px) { .ab-close .close__media { aspect-ratio: 4 / 5; } .ab-close .close__video { object-position: 62% 30%; } }
