/* The Community page's own CSS: the header's footage window on the left and the words with the two buttons on the right,
   the month on the designed ground, joining as a route over the shop owner's photo, the close. Tokens of
   design\system.css only. */

/* the header: the footage window first, the words after it */
.hero--flip { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.hero--flip .hero__media { grid-column: 1; grid-row: 1; margin: 20px 0 20px 20px; }
.hero--flip .hero__text { grid-column: 2; grid-row: 1; padding-left: clamp(24px, 4vw, 56px); }
.page-com .hero__slide--1 video { object-position: 46% 50%; }
.page-com .hero__slide--2 video { object-position: 50% 30%; }
.hero__chip { position: absolute; right: 16px; bottom: 16px; z-index: 3; width: min(290px, calc(100% - 32px)); }
.hero__chipscene { position: relative; width: 100%; }
.hero--flip .hero__media > .stop { top: 16px; right: 16px; bottom: auto; z-index: 4; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 0; list-style: none; font: var(--fw-semi) 15px/1.3 var(--font-ui); color: var(--c-on-ink-soft); }
.hero__ticks li { display: inline-flex; align-items: center; gap: 7px; }
.hero__ticks svg { width: 16px; height: 16px; color: var(--c-brand-on-ink); }
@media (max-width: 899px) {
  .hero--flip { grid-template-columns: minmax(0, 1fr); }
  .hero--flip .hero__media { grid-column: 1; grid-row: 1; margin: 10px 10px 0; }
  .hero--flip .hero__text { grid-column: 1; grid-row: 2; padding-left: var(--gutter); }
  .hero__chip { right: 10px; bottom: 10px; width: min(280px, calc(100% - 20px)); }
  .hero--flip .hero__media > .stop { top: 10px; right: 10px; }
  .hero__actions { margin-top: 20px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* the month: a little shorter on the phone */
@media (max-width: 719px) { .month .sig__stage { aspect-ratio: auto; min-height: 600px; } }

/* joining: the route in a glass column over the shelves, the owner and her phone at the photo's right */
.join__media { aspect-ratio: auto; height: clamp(700px, 56vw, 780px); --pos: 50%; }
.join__media > .join__scene { left: 0; right: auto; width: 50%; }
.join__media > .stop { top: 14px; right: 14px; bottom: auto; }
.join__cta { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 899px) { .join__media > .join__scene { width: 56%; } }
/* on the phone: her face over the top of the route, her phone and hands behind its glass */
@media (max-width: 759px) {
  .join__media { height: 1000px; }
  .join__media > img { bottom: auto; height: 760px; object-position: 70% 50%; }
  .join__media > .join__scene { top: 400px; bottom: auto; width: 100%; height: 600px; }
  .join__media > .stop { top: 412px; right: 12px; }
}

/* the close: the owner and her customer in the photo's upper half, the words centered under them (as on the Call
   Answering page); the chip on the left, over the clothing rail, clear of every face and of the words */
.close--low { padding-top: clamp(330px, 32vw, 430px); }
.close--low .band__bg img { object-position: 50% 0%; }
.close--low .band__bg::after { background: linear-gradient(0deg, color-mix(in srgb, var(--c-ink) 96%, transparent) 0%, color-mix(in srgb, var(--c-ink) 90%, transparent) 46%, color-mix(in srgb, var(--c-ink) 40%, transparent) 64%, transparent 80%); }
.close--low .wrap { display: flex; justify-content: center; }
.close--low .close__text { max-width: 640px; text-align: center; }
.close--low .close__text .picker { margin-inline: auto; text-align: left; }
.page-com .close { --chip-x: 4%; --chip-y: 40%; --pos-m: 52%; }
.page-com .close__chip { width: min(280px, 22%); }
@media (max-width: 899px) {
  .close--low { padding-top: 0; }
  .close--low .band__bg::after { background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--c-ink) 55%, transparent)); }
  .page-com .close__chip { width: min(300px, calc(100% - 70px)); }
}
