/* The site's own layout, on Daybook's tokens (db.dist.css). Recipes come from Daybook; this
   only places them. */

/* No icon moves: Daybook slides the chip's arrow through on hover; here it stays put. */
.db-btn__chip > svg,
.db-btn:hover .db-btn__chip > svg {
  translate: none;
  transition: none;
}

.um-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.um-skip {
  position: absolute;
  left: var(--spacing-db-gutter);
  top: -100px;
  z-index: 30;
}
.um-skip:focus-visible {
  top: 12px;
}

/* The wordmark, centred in the bar. */
.um-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

/* The wordmark in two inks, as on the old site: "una" in the muted ink, "motion" in full ink. */
.db-brand {
  gap: 0;
}
.um-una {
  color: var(--db-fg-3);
}

/* The bar: Menu | wordmark | calls, the wordmark held in the middle by the equal side columns. No rule under it. */
.um-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  box-shadow: none;
}
.um-bar__brand {
  grid-column: 2;
}
.um-bar__end {
  grid-column: 3;
  justify-content: flex-end;
  gap: 20px;
}
.um-bar__menu {
  justify-self: start;
}

/* The menu: a popover under its button in Daybook's dark page colour (data-db-theme="dark" on it; the page itself
   stays light), four columns as wide as their names, ruled apart (the 1px gaps show the edge colour); two by two
   across the page on a phone. It is only as tall as its links: left to itself Safari stretches it to the foot of the
   screen, and the rows with it. */
#um-menu-btn { anchor-name: --um-menu; }
.um-pop {
  position-anchor: --um-menu;
  position-area: block-end span-inline-end;
  inset: auto;
  width: max-content;
  max-width: calc(100vw - 2 * var(--spacing-db-gutter));
  height: max-content;
  max-height: calc(100svh - 80px);
  align-self: start;
  margin: 8px 0 0;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-db-media);
  background: linear-gradient(var(--db-edge) 0 0), var(--db-bg);
  color: var(--db-fg);
  box-shadow: var(--shadow-db-float);
}
.um-pop:popover-open {
  display: grid;
  grid-template-columns: repeat(4, minmax(10rem, auto));
  gap: 1px;
  animation: db-rise var(--duration-db) var(--ease-db);
}
.um-col {
  padding: 24px 28px 24px 24px;
  background: var(--db-bg);
}
.um-col__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font: 500 var(--db-size-ui)/1.2 var(--font-db);
}
.um-col__square {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--db-field);
}
.um-col__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.um-col__link {
  color: var(--db-fg-2);
  font: 350 var(--db-size-ui)/1.3 var(--font-db);
  text-decoration: none;
  transition: color var(--duration-db-fast) var(--ease-db);
}
.um-col__link:is(:hover, :focus-visible, [aria-current]) {
  color: var(--db-fg);
}

.um-line {
  display: block;
}

/* The first screen: the pitch, centred in the room between the bar and the frieze along the foot of the screen. */
.um-first {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 64px);
}

.um-hero {
  flex: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: var(--spacing-db-card);
  padding: var(--spacing-db-section) var(--spacing-db-gutter);
}
.um-hero .ty-display {
  font-size: calc(var(--db-size-display) * 0.8);
}

/* The frieze, as demos/hero-frieze/pan.html chose it: about 45% of the loop strip in view (its height is the
   screen's width over 0.45 times the strip's 12.09:1, up to 360px), gliding left at 60px/s for a 300px-tall
   frieze, so a loop takes 12.09 × 300 / 60 = 60.46s at any size. Two copies end to end: -50% is one strip.
   On a phone that would leave the figures too small to read, so it never goes under 170px (Frieze's sizes knows). */
.um-frieze {
  height: min(max(18.38vw, 170px), 360px);
  margin-top: auto;
  overflow: hidden;
}
.um-frieze__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: um-pan 60.46s linear infinite;
}
.um-frieze__track img {
  display: block;
  width: auto;
  height: 100%;
  user-select: none;
  -webkit-user-drag: none;
}
.um-frieze:hover .um-frieze__track {
  animation-play-state: paused;
}
@keyframes um-pan {
  to {
    translate: -50% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .um-frieze__track {
    animation: none;
  }
  .um-frieze {
    overflow-x: auto;
  }
}

/* The homepage's sections after the first screen, each in the page's column. */
.um-sec {
  max-width: 80rem;
  margin-inline: auto;
  padding: var(--spacing-db-section) var(--spacing-db-gutter);
}
.um-sec__title {
  margin: 0 0 var(--spacing-db-card);
}
.um-nowrap {
  white-space: nowrap;
}

/* The statement: what most studios juggle, in muted ink and struck through, then what unamotion is, in full ink. */
.um-say {
  max-width: 60rem;
  text-align: center;
}
.um-say__was,
.um-say__now {
  margin: 0;
  font: 400 var(--db-size-heading)/1.25 var(--font-db);
  letter-spacing: -0.02em;
}
.um-say__was {
  color: var(--db-fg-3);
}
.um-say__was s {
  text-decoration-thickness: 2px;
}
.um-say__now {
  margin-top: var(--spacing-db-card);
  color: var(--db-fg);
}

/* The features' carousel: the heading and its arrows in the page's column; the track the page's whole width, its
   first card in line with the column (--in) and snapping there. On a phone, no arrows: the track is swiped. */
.um-shelf {
  --in: max(var(--spacing-db-gutter), (100% - 80rem) / 2 + var(--spacing-db-gutter));
  padding-block: var(--spacing-db-section);
}
.um-shelf__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-inline: var(--in);
}
.um-shelf__head > h2 {
  margin: 0;
}
.um-shelf__nav {
  display: flex;
  gap: 8px;
}
.um-shelf__nav .db-icon-btn > svg {
  width: 20px;
  height: 20px;
}
.um-shelf__nav .db-icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.um-shelf__track {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: var(--spacing-db-card) var(--in) 8px;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--in);
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.um-shelf__track::-webkit-scrollbar {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .um-shelf__track {
    scroll-behavior: auto;
  }
}

/* A feature: the frame its motion will play in, its title and words, and the link to its page, whose box covers
   the card so the whole card opens it; its underline fills in when the card is pointed at. The cards stretch to
   the tallest, and each link sits at its card's foot, so the links line up whatever the words above them. */
.um-feat {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: clamp(272px, 27vw, 380px);
  scroll-snap-align: start;
}
.um-feat > :is(h3, p) {
  margin: 0;
}
.um-feat > h3 {
  margin-top: 8px;
}
.um-feat__stage {
  aspect-ratio: 1 / 0.92;
  border-radius: var(--radius-db-media);
  background: var(--db-card);
}
.um-feat__text {
  color: var(--db-fg-3);
}
.um-feat__more {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 4px;
  color: var(--db-fg);
  text-decoration: underline 1px var(--db-card-3);
  text-underline-offset: 0.25em;
}
.um-feat__more::after {
  content: "";
  position: absolute;
  inset: 0;
}
.um-feat:hover .um-feat__more,
.um-feat__more:focus-visible {
  text-decoration-color: currentColor;
}
.um-feat:has(.um-feat__more:focus-visible) .um-feat__stage {
  outline: 2px solid var(--db-focus);
  outline-offset: 3px;
}
.um-feat__more:focus-visible {
  outline: none;
}

/* The kinds of studio: the heading and the kinds on one side, the open kind's two photos on the other. A kind is a
   row, its small photo and its name; the open one is a card with what that kind gets, and on a wide screen a bar
   fills along its foot, then the next one opens (the bar's animationend, views/home.templ). The bar waits while the
   section is out of view or the pointer or focus is in it, and goes once a kind is pressed. Every kind's word, line
   and photos are in place from the start; the open one's rise in as the one before fades where it is. */
.um-kinds {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: 64px;
}
.um-kinds__title {
  margin: 0;
}
/* the heading's last word: the three words in one place, as wide as the widest */
.um-kinds__who {
  display: inline-grid;
  color: var(--db-field-text);
}
.um-kinds__who > span {
  grid-area: 1 / 1;
  opacity: 0;
  translate: 0 0.4em;
  transition:
    opacity var(--duration-db) var(--ease-db),
    translate 0s var(--duration-db);
}
.um-kinds__who > .is-on {
  opacity: 1;
  translate: none;
  transition:
    opacity var(--duration-db-slow) var(--ease-db) 0.1s,
    translate var(--duration-db-slow) var(--ease-db) 0.1s;
}
.um-kinds__list {
  display: grid;
  gap: 4px;
  margin: var(--spacing-db-card) 0 0;
  padding: 0;
  list-style: none;
}
.um-kind {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-db-card);
  transition: background-color var(--duration-db) var(--ease-db);
}
.um-kind.is-on {
  background: var(--db-card);
}
.um-kind__head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-radius: inherit;
  background: none;
  color: var(--db-fg-3);
  font: 500 var(--db-size-title) / 1.25 var(--font-db);
  letter-spacing: -0.01em;
  text-align: start;
  cursor: pointer;
  transition: color var(--duration-db) var(--ease-db);
}
.um-kind__head:hover,
.um-kind.is-on .um-kind__head {
  color: var(--db-fg);
}
.um-kind__head:focus-visible {
  outline: 2px solid var(--db-focus);
  outline-offset: -2px;
}
.um-kind__thumb {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-db-media);
  object-fit: cover;
  background: var(--db-card-2);
  opacity: 0.55;
  filter: grayscale(1);
  transition:
    opacity var(--duration-db) var(--ease-db),
    filter var(--duration-db) var(--ease-db);
}
.um-kind__head:hover .um-kind__thumb,
.um-kind.is-on .um-kind__thumb {
  opacity: 1;
  filter: none;
}
/* what the kind gets: opens under its name, in line with it */
.um-kind__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-db) var(--ease-db);
}
.um-kind.is-on .um-kind__panel {
  grid-template-rows: 1fr;
}
.um-kind__in {
  min-height: 0;
  overflow: hidden;
  padding-inline: 68px 14px;
  visibility: hidden;
  transition: visibility 0s var(--duration-db);
}
.um-kind.is-on .um-kind__in {
  visibility: visible;
  transition: none;
}
.um-kind__gets {
  margin: 0;
  padding-bottom: 16px;
  color: var(--db-fg-2);
}
.um-kind__photo {
  display: none;
}
.um-kind__bar {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--db-field);
  opacity: 0;
  scale: 0 1;
  transform-origin: left;
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .um-kinds:not(.is-picked) .um-kind.is-on .um-kind__bar {
    opacity: 1;
    animation: um-kind-run 6s linear forwards paused;
  }
  .um-kinds.is-seen:not(.is-held, .is-picked) .um-kind.is-on .um-kind__bar {
    animation-play-state: running;
  }
}
@keyframes um-kind-run {
  to {
    scale: 1 1;
  }
}
/* the photos: the large one in the top right, the small one over its bottom left corner in a frame of the page */
.um-kinds__pics {
  display: grid;
}
.um-kinds__pair {
  position: relative;
  grid-area: 1 / 1;
  aspect-ratio: 1 / 1;
}
.um-kinds__pair.is-on {
  z-index: 1;
}
.um-kinds__pair > img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius-db-media);
  background: var(--db-card);
  opacity: 0;
  transition:
    opacity var(--duration-db-slow) var(--ease-db),
    scale var(--duration-db-slow) var(--ease-db);
}
.um-kinds__big {
  top: 0;
  right: 0;
  width: 78%;
  height: 86%;
  scale: 1.03;
}
.um-kinds__small {
  left: 0;
  bottom: 0;
  width: 44%;
  height: 38%;
  box-shadow: 0 0 0 8px var(--db-bg);
}
.um-kinds__pair.is-on > img {
  opacity: 1;
  scale: 1;
}
.um-kinds__pair.is-on > .um-kinds__small {
  transition-delay: 0.12s;
}
/* the dots under the row of cards on a phone: the one in view is long and in the field */
.um-kinds__dots {
  display: none;
}
/* a phone or a narrow window: the kinds are a row of cards running to the screen's edges, the first in line with the
   column and each snapping there, a card its photo, then its name and line, all of them open; the next card peeks in
   at the side. The large photos across the way, the small ones and the bar go. */
@media (max-width: 899px) {
  .um-kinds {
    grid-template-columns: minmax(0, 1fr);
  }
  .um-kinds__pics,
  .um-kind__thumb,
  .um-kind__bar {
    display: none;
  }
  .um-kinds__list {
    display: flex;
    gap: 12px;
    margin-inline: calc(-1 * var(--spacing-db-gutter));
    padding: 0 var(--spacing-db-gutter) 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--spacing-db-gutter);
    scrollbar-width: none;
  }
  .um-kinds__list::-webkit-scrollbar {
    display: none;
  }
  .um-kind {
    flex: none;
    display: flex;
    flex-direction: column;
    width: min(78vw, 340px);
    background: var(--db-card);
    scroll-snap-align: start;
  }
  .um-kind__panel,
  .um-kind__in {
    display: contents;
  }
  .um-kind__in {
    visibility: visible;
  }
  .um-kind__photo {
    display: block;
    order: -1;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--db-card-2);
  }
  .um-kind__head {
    padding: 14px 16px 4px;
    color: var(--db-fg);
  }
  .um-kind__gets {
    padding: 0 16px 16px;
  }
  .um-kinds__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
  }
  .um-kinds__dots > i {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-db-full);
    background: var(--db-card-3);
    transition:
      width var(--duration-db) var(--ease-db),
      background-color var(--duration-db) var(--ease-db);
  }
  .um-kinds__dots > .is-on {
    width: 18px;
    background: var(--db-field);
  }
}
@media (prefers-reduced-motion: reduce) {
  .um-kinds * {
    transition: none !important;
  }
}

/* The cards' scenes (static/feats.js) draw inside the stage, sized to it (cqw). */
.um-feat__stage {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}

/* 01 website: a desktop browser with a black frame, the gym's site in its field (data-db-field on .fd). Its pages are
   laid out on 64em across the view (1em = the view's width / 64), so they read as desktop pages: the home page, then
   the schedule page (a week calendar), which feats.js zooms (a transform from its top left) and scrolls (.fd__grid).
   The modal sits over the view, unzoomed. */
.fd {
  position: absolute;
  inset: 0;
}
.fd.is-jump,
.fd.is-jump * {
  transition: none !important;
}
.fd p {
  margin: 0;
}
.fd img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fd__win {
  position: absolute;
  inset: 9% 5% 8%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0.32em solid var(--db-fg);
  border-radius: 0.8em;
  background: var(--db-raised);
  box-shadow: var(--shadow-db-float);
  color: var(--db-fg);
  font: 400 clamp(8px, 2.9cqw, 11px)/1.2 var(--font-db);
  transition: opacity 0.4s var(--ease-db);
}
.fd.is-fade .fd__win {
  opacity: 0;
}
.fd__bar {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.35em;
  padding: 0.5em 0.7em;
  border-bottom: 1px solid var(--db-edge);
  background: var(--db-bg);
}
.fd__bar > i {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--db-card-3);
}
.fd__url {
  display: inline-flex;
  margin-inline: auto;
  padding: 0.2em 0.9em;
  border-radius: var(--radius-db-full);
  background: var(--db-raised);
  box-shadow: 0 0 0 1px var(--db-edge);
  color: var(--db-fg-2);
  white-space: nowrap;
}
.fd__path {
  color: var(--db-fg);
}
.fd__view {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  container-type: inline-size;
}
.fd__page {
  position: relative;
  width: 100%;
  font: 400 calc(100cqw / 64)/1.3 var(--font-db);
  transform-origin: 0 0;
  transition: transform 1s var(--ease-db);
}

/* the home page, over the schedule page until the cursor leaves it */
.fd__home {
  position: absolute;
  inset: 0 0 auto;
  background: var(--db-raised);
  transition: opacity 0.45s var(--ease-db), transform 0.6s var(--ease-db);
}
.fd.is-sched .fd__home {
  opacity: 0;
  transform: translateX(-3%);
  pointer-events: none;
}
.fd__nav {
  display: flex;
  align-items: center;
  gap: 2.4em;
  padding: 1.3em 3em;
}
.fd__logo {
  font-size: 1.4em;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.fd__links {
  display: flex;
  flex: 1;
  gap: 2.2em;
  color: var(--db-fg-2);
  font-size: 1.05em;
}
.fd__btn {
  padding: 0.6em 1.4em;
  border-radius: var(--radius-db-full);
  background: var(--db-field);
  color: var(--db-field-ink);
  font-size: 1.05em;
  font-weight: 500;
  white-space: nowrap;
}
.fd__btn--sm {
  padding: 0.5em 1.2em;
  font-size: 0.95em;
}
.fd__btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--db-card-3);
  color: var(--db-fg);
}
.fd__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1em;
  padding: 3.6em 4em 3.2em;
  text-align: center;
}
.fd__kicker {
  color: var(--db-fg-3);
  font-size: 1em;
  letter-spacing: 0.02em;
}
.fd__h {
  font-size: 4.4em;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.fd__lede {
  color: var(--db-fg-2);
  font-size: 1.25em;
}
.fd__ctas {
  display: flex;
  gap: 0.8em;
  margin-top: 0.4em !important;
}
.fd__photo {
  height: 26em;
  margin: 0 3em 3em;
  overflow: hidden;
  border-radius: 1.2em;
}

/* the schedule page: its head, the week's bar, then the calendar (the days, the hours, the classes' cards) */
.fd__sch {
  padding: 2.4em 3em;
  opacity: 0;
  transform: translateX(3%);
  transition: opacity 0.45s var(--ease-db) 0.1s, transform 0.6s var(--ease-db) 0.1s;
}
.fd.is-sched .fd__sch {
  opacity: 1;
  transform: none;
}
.fd__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.fd__cal {
  margin-top: 2.4em;
}
.fd__gym {
  color: var(--db-fg-3);
  font-size: 1.2em;
}
.fd__title {
  margin-top: 0.15em !important;
  font-size: 3em;
  line-height: 1;
  letter-spacing: -0.03em;
}
.fd__week {
  display: flex;
  align-items: center;
  gap: 1em;
  font-size: 1.2em;
  white-space: nowrap;
}
.fd__week i {
  display: grid;
  width: 1.9em;
  height: 1.9em;
  place-items: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--db-card-3);
}
.fd__week svg {
  width: 1em;
  height: 1em;
}
.fd__days,
.fd__grid {
  display: grid;
  grid-template-columns: 4.8em repeat(7, minmax(0, 1fr));
}
.fd__days {
  align-items: end;
  height: 3.6em;
  border-bottom: 1px solid var(--db-edge);
}
.fd__days span {
  padding: 0 0.6em 0.55em;
  color: var(--db-fg-2);
  font-size: 1.15em;
  white-space: nowrap;
}
.fd__days b {
  color: var(--db-fg);
  font-size: 1.4em;
  font-weight: 400;
}
.fd__days .is-today {
  box-shadow: inset 0 -2px 0 var(--db-fg);
}
.fd__body {
  height: 30em;
  overflow: hidden;
}
.fd__grid {
  position: relative;
  height: calc(var(--hours) * 4em);
  background: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--db-edge) 55%, transparent) 0 1px, transparent 1px 4em);
  transition: transform 0.7s var(--ease-db);
}
.fd__rail {
  position: relative;
  background: var(--db-raised);
}
.fd__rail span {
  position: absolute;
  top: calc(var(--t) * 4em + 0.3em);
  right: 0.8em;
  color: var(--db-fg-3);
  white-space: nowrap;
}
.fd__col {
  position: relative;
}
.fd__card {
  position: absolute;
  top: calc(var(--t) * 4em + 0.3em);
  right: 0.35em;
  left: 0.35em;
  display: flex;
  flex-direction: column;
  min-height: calc(var(--h) * 4em - 0.6em);
  gap: 0.05em;
  padding: 0.45em 0.6em;
  border-radius: 0.5em;
  background: var(--db-card);
  color: var(--db-fg-2);
  line-height: 1.25;
  white-space: nowrap;
  transition: box-shadow 0.25s var(--ease-db), background-color 0.4s var(--ease-db);
}
.fd__card > * {
  overflow: hidden;
  font-size: 0.9em;
  text-overflow: ellipsis;
}
.fd__card b {
  color: var(--db-fg);
  font-weight: 500;
}
.fd__card.is-hover {
  box-shadow: 0 0 0 1.5px var(--db-field);
}
.fd.is-reserved .fd__pick {
  background: var(--db-field-soft);
}
.fd__card .fd__spots {
  display: none;
}
.fd.is-reserved .fd__pick .fd__spots {
  display: block;
  color: var(--db-field-text);
  font-weight: 500;
}

/* the modal over the view: the class and Reserve; the button fills, then Reserved */
.fd__modal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--db-fg) 30%, transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease-db);
}
.fd.is-modal .fd__modal {
  opacity: 1;
}
.fd__box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35em;
  width: 64%;
  padding: 1.2em 1.3em 1.3em;
  border-radius: 0.9em;
  background: var(--db-raised);
  box-shadow: var(--shadow-db-float);
  transform: translateY(0.8em) scale(0.96);
  transition: transform 0.45s var(--ease-db);
}
.fd.is-modal .fd__box {
  transform: none;
}
.fd__eyebrow {
  color: var(--db-fg-3);
  font-size: 0.9em;
}
.fd__name {
  font-size: 1.6em;
  letter-spacing: -0.025em;
}
.fd__meta {
  display: grid;
  margin-bottom: 0.7em !important;
  color: var(--db-fg-2);
}
.fd__meta > span,
.fd__res > span {
  position: relative;
  grid-area: 1 / 1;
  transition: opacity 0.3s var(--ease-db);
}
.fd__meta-b,
.fd__res-b,
.fd.is-reserved .fd__meta-a,
.fd.is-reserved .fd__res-a {
  opacity: 0;
}
.fd.is-reserved .fd__meta-b,
.fd.is-reserved .fd__res-b {
  opacity: 1;
}
.fd__res {
  position: relative;
  display: grid;
  align-self: stretch;
  overflow: hidden;
  padding: 0.7em 1em;
  border-radius: var(--radius-db-full);
  background: var(--db-field);
  color: var(--db-field-ink);
  font-weight: 500;
  text-align: center;
}
.fd__res-b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
}
.fd__res-b svg {
  width: 1.1em;
  height: 1.1em;
}
.fd__fill {
  position: absolute;
  inset: 0;
  background: var(--db-field-hover);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.fd__res.is-busy .fd__fill {
  transform: scaleX(1);
  transition: transform 0.75s var(--ease-db);
}
.fd.is-reserved .fd__fill {
  opacity: 0;
  transition: opacity 0.3s var(--ease-db);
}

/* the cursor: an arrow whose tip is the point it glides to (--x, --y), a press a little squeeze */
.fd__cursor {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  width: clamp(11px, 4.2cqw, 16px);
  color: var(--db-fg);
  opacity: 0;
  transform: translate(var(--x, 78cqw), var(--y, 78cqw));
  transform-origin: 0 0;
  transition: transform 0.7s var(--ease-db), opacity 0.3s var(--ease-db);
  pointer-events: none;
}
.fd__cursor svg {
  display: block;
  width: 100%;
  overflow: visible;
}
.fd__cursor.is-on {
  opacity: 1;
}
.fd__cursor.is-press {
  transform: translate(var(--x), var(--y)) scale(0.85);
  transition-duration: 0.18s;
}

/* a word that changes in place: the old rises out as the new rises in */
.fw-swap {
  display: inline-grid;
}
.fw-swap > * {
  grid-area: 1 / 1;
  transition: opacity 0.35s var(--ease-db), transform 0.45s var(--ease-db);
}
.fw-swap > .is-in {
  opacity: 0;
  transform: translateY(0.4em);
  transition: none;
}
.fw-swap > .is-out {
  opacity: 0;
  transform: translateY(-0.4em);
}

/* the tap: a soft dot that glides to what it presses */
.fw__tap {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--db-fg) 16%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--db-fg) 28%, transparent);
  opacity: 0;
  transform: translate(var(--x, 50cqw), var(--y, 100cqw));
  transition: transform 0.7s var(--ease-db), opacity 0.3s var(--ease-db);
  pointer-events: none;
}
.fw__tap.is-on {
  opacity: 1;
}
.fw__tap.is-press {
  transform: translate(var(--x), var(--y)) scale(0.75);
  transition-duration: 0.18s;
}
@media (prefers-reduced-motion: reduce) {
  .fd *,
  .fw-swap > * {
    transition: none !important;
  }
}

/* 02 links: a phone standing in the stage, running off its foot, in the studio's field (data-db-field on .fl);
   the week's count of bookings from the bio above it. Its screens: the profile, the link page rising over it in the
   app's browser, the booking sheet rising over that. */
.fl {
  position: absolute;
  inset: 0;
}
.fl__count {
  position: absolute;
  top: 5%;
  left: 50%;
  margin: 0;
  padding: 0.35em 0.85em;
  border-radius: var(--radius-db-full);
  background: var(--db-raised);
  box-shadow: 0 0 0 1px var(--db-edge);
  color: var(--db-fg-2);
  font: 400 clamp(10px, 3.4cqw, 13px)/1.2 var(--font-db);
  white-space: nowrap;
  translate: -50% 0;
}
.fl__count b {
  font: 500 1.05em/1 var(--font-db);
  font-variant-numeric: tabular-nums;
  color: var(--db-fg);
  transition: color 0.3s var(--ease-db);
}
.fl.is-counted .fl__count b {
  color: var(--db-field-text);
}
.fl__phone {
  position: absolute;
  top: 17%;
  right: 19%;
  bottom: -30%;
  left: 19%;
  overflow: hidden;
  border: 0.4em solid var(--db-fg);
  border-bottom: 0;
  border-radius: 1.7em 1.7em 0 0;
  background: var(--db-raised);
  box-shadow: var(--shadow-db-float);
  color: var(--db-fg);
  font: 400 clamp(8px, 3cqw, 11px)/1.25 var(--font-db);
}
.fl__screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: opacity 0.4s var(--ease-db);
}
.fl__screen.is-fade {
  opacity: 0;
}
.fl__screen.is-jump,
.fl__screen.is-jump * {
  transition: none !important;
}
.fl img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fl p {
  margin: 0;
}

/* the profile */
.fl__prof {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55em;
  padding: 1em;
}
.fl__handle {
  padding-bottom: 0.2em;
  font-weight: 500;
  text-align: center;
}
.fl__row {
  display: flex;
  align-items: center;
  gap: 0.8em;
}
.fl__av {
  flex: none;
  width: 4em;
  height: 4em;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 0.15em var(--db-raised), 0 0 0 0.3em var(--db-field);
}
.fl__stats {
  display: flex;
  flex: 1;
  justify-content: space-around;
  text-align: center;
}
.fl__stats span {
  display: flex;
  flex-direction: column;
  color: var(--db-fg-3);
  font-size: 0.8em;
}
.fl__stats b {
  color: var(--db-fg);
  font: 500 1.25em/1.1 var(--font-db);
  font-variant-numeric: tabular-nums;
}
.fl__name {
  font-weight: 500;
}
.fl__bio {
  margin-top: -0.45em !important;
  color: var(--db-fg-2);
}
.fl__link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.3em;
  margin-top: -0.3em !important;
  color: var(--db-field-text);
  font-weight: 500;
}
.fl__link svg {
  width: 1.1em;
  height: 1.1em;
}
.fl__btns {
  display: flex;
  gap: 0.4em;
}
.fl__btns span {
  flex: 1;
  padding: 0.5em;
  border-radius: 0.6em;
  background: var(--db-card);
  font-size: 0.9em;
  font-weight: 500;
  text-align: center;
}
.fl__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 0.2em -1em 0;
}
.fl__grid img {
  aspect-ratio: 1;
  height: auto;
}

/* the link page, in the app's browser */
.fl__page {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--db-bg);
  transform: translateY(100%);
  transition: transform 0.6s var(--ease-db);
}
.fl__screen.is-page .fl__page {
  transform: none;
}
.fl__bar {
  padding: 0.7em 1em;
  border-bottom: 1px solid var(--db-edge);
  background: var(--db-raised);
  color: var(--db-fg-2);
  font-size: 0.85em;
  text-align: center;
}
.fl__bar span {
  padding: 0.2em 0.8em;
  border-radius: var(--radius-db-full);
  background: var(--db-card);
}
.fl__lp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45em;
  padding: 1em;
  text-align: center;
}
.fl__av--lg {
  width: 3.4em;
  height: 3.4em;
  box-shadow: none;
}
.fl__lp .fl__bio {
  margin-top: -0.35em !important;
}
.fl__hero {
  align-self: stretch;
  margin-top: 0.3em;
  overflow: hidden;
  border-radius: 0.8em;
  background: var(--db-field);
  color: var(--db-field-ink);
  text-align: left;
}
.fl__pic {
  aspect-ratio: 2 / 1;
}
.fl__band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  padding: 0.55em 0.7em;
}
.fl__band span {
  display: flex;
  flex-direction: column;
  font-size: 0.85em;
}
.fl__band b {
  font-size: 1.15em;
  font-weight: 500;
}
.fl__book {
  flex: none;
  padding: 0.45em 0.9em;
  border-radius: var(--radius-db-full);
  background: var(--db-field-ink);
  color: var(--db-field);
  font-size: 0.9em;
  font-style: normal;
  font-weight: 500;
}
.fl__item {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 0.6em;
  padding: 0.4em;
  border-radius: 0.8em;
  background: var(--db-raised);
  box-shadow: 0 0 0 1px var(--db-edge);
  text-align: left;
}
.fl__item > span:last-child {
  display: flex;
  flex-direction: column;
  color: var(--db-fg-3);
  font-size: 0.85em;
}
.fl__item b {
  color: var(--db-fg);
  font-size: 1.15em;
  font-weight: 500;
}
.fl__cover {
  flex: none;
  width: 2.6em;
  height: 2.6em;
  overflow: hidden;
  border-radius: 0.5em;
}

/* the booking sheet over the page: the intro offer chosen, then the booking done */
.fl__sheet {
  position: absolute;
  top: 30%;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  align-content: start;
  padding: 1.1em 1em;
  border-radius: 1.2em 1.2em 0 0;
  background: var(--db-raised);
  box-shadow: var(--shadow-db-float);
  transform: translateY(105%);
  transition: transform 0.55s var(--ease-db);
}
.fl__screen.is-sheet .fl__sheet {
  transform: none;
}
.fl__step {
  display: flex;
  flex-direction: column;
  grid-area: 1 / 1;
  gap: 0.55em;
  transition: opacity 0.35s var(--ease-db);
}
.fl__step--done {
  align-items: center;
  padding-top: 0.6em;
  opacity: 0;
  text-align: center;
}
.fl__screen.is-done .fl__step--offer {
  opacity: 0;
}
.fl__screen.is-done .fl__step--done {
  opacity: 1;
}
.fl__cls {
  display: flex;
  flex-direction: column;
  color: var(--db-fg-3);
  font-size: 0.85em;
}
.fl__cls b {
  color: var(--db-fg);
  font-size: 1.2em;
  font-weight: 500;
}
.fl__opt {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.6em 0.7em;
  border-radius: 0.7em;
  box-shadow: 0 0 0 1px var(--db-edge);
}
.fl__opt.is-chosen {
  box-shadow: 0 0 0 1.5px var(--db-field);
}
.fl__opt i {
  flex: none;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--db-card-3);
}
.fl__opt.is-chosen i {
  box-shadow: inset 0 0 0 0.3em var(--db-field);
}
.fl__opt span {
  display: flex;
  flex: 1;
  flex-direction: column;
  color: var(--db-fg-3);
  font-size: 0.85em;
}
.fl__opt span b {
  color: var(--db-fg);
  font-size: 1.15em;
  font-weight: 500;
}
.fl__opt > b {
  font: 500 1em/1 var(--font-db);
  font-variant-numeric: tabular-nums;
}
.fl__go {
  padding: 0.65em;
  border-radius: var(--radius-db-full);
  background: var(--db-field);
  color: var(--db-field-ink);
  font-weight: 500;
  text-align: center;
}
.fl__ok {
  display: grid;
  width: 2.3em;
  height: 2.3em;
  place-items: center;
  border-radius: 50%;
  background: var(--db-field);
  color: var(--db-field-ink);
}
.fl__ok svg {
  width: 1.2em;
  height: 1.2em;
}
.fl__step--done > b {
  font-size: 1.3em;
  font-weight: 500;
}
.fl__step--done > span:last-child {
  color: var(--db-fg-3);
  font-size: 0.9em;
}
@media (prefers-reduced-motion: reduce) {
  .fl * {
    transition: none !important;
  }
}

/* 03 stories: the studio's schedule on the left (tomorrow's classes, Post to story under it), a phone on the right
   with a black frame, its story in the studio's look (data-db-field on .fs__phone): the photo, clean, on top, the
   words on the field below, the classes in a timetable card. A class's row looks the same in both, so the copy that
   flies from one to the other lands as the row itself. */
.fs {
  position: absolute;
  inset: 0;
  color: var(--db-fg);
  font: 400 clamp(8px, 2.9cqw, 11px)/1.25 var(--font-db);
}
.fs.is-jump,
.fs.is-jump * {
  transition: none !important;
}
.fs p {
  margin: 0;
}
.fs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fs__side {
  position: absolute;
  top: 50%;
  left: 6%;
  width: 38%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9em;
  translate: 0 -50%;
}
.fs__sch {
  align-self: stretch;
  padding: 0.8em 0.8em 0.4em;
  border-radius: 0.9em;
  background: var(--db-raised);
  box-shadow: var(--shadow-db-float);
}
.fs__day {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.3em;
  font-size: 1.1em;
}
.fs__day b {
  font-weight: 500;
}
.fs__day span {
  color: var(--db-fg-3);
  font-size: 0.85em;
}

/* a class: its time, then its name over its spots */
.fs__row {
  display: flex;
  gap: 0.6em;
  padding: 0.4em 0.2em;
  border-radius: 0.5em;
  background: var(--db-raised);
  transition: background-color 0.3s var(--ease-db), opacity 0.35s var(--ease-db);
}
.fs__row + .fs__row {
  box-shadow: 0 -1px 0 var(--db-edge);
}
.fs__row b {
  flex: none;
  width: 2.7em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.fs__row span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  white-space: nowrap;
}
.fs__row i {
  color: var(--db-fg-3);
  font-size: 0.85em;
  font-style: normal;
}
.fs__row.is-lift {
  background: var(--db-card);
}
.fs__fly {
  position: absolute;
  z-index: 3;
  margin: 0;
  box-shadow: var(--shadow-db-float) !important;
  transform-origin: 0 0;
  pointer-events: none;
}

/* Post to story: comes once the story is made; Posted once tapped */
.fs__post {
  padding: 0.6em 1.1em;
  border-radius: var(--radius-db-full);
  background: var(--db-fg);
  color: var(--db-raised);
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.4s var(--ease-db), transform 0.5s var(--ease-db), background-color 0.35s var(--ease-db), color 0.35s var(--ease-db);
}
.fs.is-ready .fs__post {
  opacity: 1;
  transform: none;
}
.fs.is-posted .fs__post {
  background: var(--db-card-2);
  color: var(--db-fg);
}
.fs.is-fade .fs__post {
  opacity: 0;
}

/* the phone and its story */
.fs__phone {
  position: absolute;
  top: 5%;
  right: 6%;
  bottom: 4%;
  width: 44%;
  overflow: hidden;
  border: 0.4em solid var(--db-fg);
  border-radius: 1.7em;
  background: var(--db-card);
  box-shadow: var(--shadow-db-float);
}
.fs__story {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  transition: opacity 0.4s var(--ease-db);
}
.fs.is-fade .fs__story {
  opacity: 0;
}
.fs__bar {
  position: absolute;
  z-index: 1;
  top: 0.7em;
  right: 0.8em;
  left: 0.8em;
  height: 2px;
  overflow: hidden;
  border-radius: var(--radius-db-full);
  background: color-mix(in srgb, var(--db-raised) 45%, transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease-db);
}
.fs__bar i {
  display: block;
  height: 100%;
  background: var(--db-raised);
  transform: scaleX(0);
  transform-origin: 0 0;
}
.fs.is-posted .fs__bar {
  opacity: 1;
}
.fs.is-posted .fs__bar i {
  transform: scaleX(1);
  transition: transform 6s linear;
}
.fs.is-still .fs__bar i {
  transform: scaleX(0.4);
}
.fs__pic {
  flex: none;
  height: 29%;
  opacity: 0;
  transition: opacity 0.5s var(--ease-db);
}
.fs__in {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4em;
  padding: 0.75em 0.7em 0.65em;
  background: var(--db-field);
  color: var(--db-field-ink);
  opacity: 0;
  transform: translateY(1.5em);
  transition: opacity 0.45s var(--ease-db), transform 0.6s var(--ease-db);
}
.fs.is-made :is(.fs__pic, .fs__in) {
  opacity: 1;
  transform: none;
}
.fs__kick {
  font-size: 0.85em;
  opacity: 0.8;
}
.fs__h {
  margin-top: -0.35em !important;
  font-size: 1.3em;
  font-weight: 500;
  line-height: 1.15;
}
.fs__card {
  align-self: stretch;
  padding: 0.15em 0.45em;
  border-radius: 0.6em;
  background: var(--db-raised);
  color: var(--db-fg);
}
.fs__card .fs__row {
  opacity: 0;
}
.fs__card .fs__row.is-in {
  opacity: 1;
}
.fs__card .fs__row i {
  color: var(--db-field-text);
}

/* its link sticker and the studio's name, once its classes are in */
.fs__link,
.fs__brand {
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.4s var(--ease-db), transform 0.5s var(--ease-db);
}
.fs.is-ready :is(.fs__link, .fs__brand) {
  opacity: 1;
  transform: none;
}
.fs__link {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 0.3em;
  padding: 0.35em 0.8em;
  border-radius: 0.5em;
  background: var(--db-raised);
  color: var(--db-field-text);
  font-weight: 500;
}
.fs__link svg {
  width: 1.05em;
  height: 1.05em;
}
.fs__brand {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin-top: auto;
  font-size: 0.85em;
  font-weight: 500;
  transition-delay: 0.1s;
}
.fs__brand span {
  display: grid;
  width: 1.7em;
  height: 1.7em;
  place-items: center;
  border-radius: 50%;
  background: var(--db-field-ink);
  color: var(--db-field);
}
@media (prefers-reduced-motion: reduce) {
  .fs * {
    transition: none !important;
  }
}

/* A key word in a heading, in the field's text (a kind of business's headline): Daybook's headings are never bold */
.um-key {
  color: var(--db-field-text);
}

/* The page kit (views/kit.templ), the same on every page; only the page's field changes its colours. The
   opening: the words and calls beside two photos, the small one over the large one's corner in a frame of the page
   (where a page has several pairs, the one shown is-on rises in); then the features, a stack of cards, each its
   words beside a photo with a raised Daybook card on its corner; then the closing cards, two columns. On a phone
   everything is one column, the words before their photo. */
.pg-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}
.pg-hero__words {
  display: grid;
  justify-items: start;
  gap: var(--spacing-db-card);
}
.pg-hero__title {
  margin: 0;
  font-size: calc(var(--db-size-display) * 0.72);
}
.pg-hero__words > p {
  margin: 0;
  color: var(--db-fg-2);
}
.pg-hero__calls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pg-pair,
.pg-trio {
  position: relative;
  aspect-ratio: 1 / 1;
}
.pg-pair > img,
.pg-trio__pic > img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius-db-media);
  background: var(--db-card);
}
.pg-pair__big {
  top: 0;
  right: 0;
  width: 80%;
  height: 86%;
}
.pg-pair__small {
  left: 0;
  bottom: 0;
  width: 44%;
  height: 38%;
  box-shadow: 0 0 0 8px var(--db-bg);
}
/* the trio: the first photo large across the top right, the second under it on the left and the third on the
   right, each laid over the one before in a frame of the page, its label a badge in the field on its top left
   corner (the one corner no later photo covers) */
.pg-trio__pic {
  position: absolute;
  margin: 0;
}
.pg-trio__pic > img {
  inset: 0;
  width: 100%;
  height: 100%;
}
.pg-trio__pic--1 {
  top: 0;
  right: 0;
  width: 70%;
  height: 56%;
}
.pg-trio__pic--2 {
  left: 0;
  bottom: 4%;
  width: 54%;
  height: 50%;
}
.pg-trio__pic--3 {
  right: 4%;
  bottom: 0;
  width: 40%;
  height: 40%;
}
.pg-trio__pic--2 > img,
.pg-trio__pic--3 > img {
  box-shadow: 0 0 0 8px var(--db-bg);
}
.pg-trio__pic > .db-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}
/* the features: each a card in the page's surface that sticks under the bar, a little lower than the one before, and
   the next slides up over it with Daybook's float shadow, so they pile into a deck; the section's end lets them all
   go together */
.pg-feats {
  display: grid;
  gap: 32px;
}
.pg-feats__title {
  margin: 0;
}
.pg-feats__item {
  position: sticky;
  top: calc(80px + var(--i) * 16px);
}
.pg-feat {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: 64px;
  padding: clamp(24px, 3.5vw, 56px);
  border-radius: calc(var(--radius-db-card) * 1.5);
  background: var(--db-card);
  box-shadow: var(--shadow-db-float);
}
.pg-feat__words {
  display: grid;
  justify-items: start;
  gap: 12px;
}
.pg-feat__words > :is(h3, p) {
  margin: 0;
}
.pg-feat__words > p {
  color: var(--db-fg-2);
}
.pg-vis {
  position: relative;
  margin: 0;
}
.pg-vis > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-db-media);
  object-fit: cover;
  background: var(--db-card);
}
.pg-vis__card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  max-width: min(80%, 360px);
  gap: 4px;
  padding: 16px 18px;
}
.pg-vis__head {
  color: var(--db-fg);
  font: 500 var(--db-size-body) / 1.3 var(--font-db);
}
.pg-vis__sub {
  color: var(--db-fg-3);
  font-size: var(--db-size-ui);
}
.pg-vis__note {
  align-self: flex-start;
  margin-top: 6px;
}
.pg-cards > h2 {
  margin: 0;
}
.pg-cards__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: var(--spacing-db-card) 0 0;
}
.pg-cards__list dt {
  color: var(--db-fg);
}
.pg-cards__list dd {
  margin: 0;
}
@media (max-width: 899px) {
  .pg-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .pg-vis__card {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }
  /* the stack on a phone: shallower offsets and a wider photo, so a card fits under the bar */
  .pg-feats__item {
    top: calc(72px + var(--i) * 10px);
  }
  .pg-feat {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .pg-vis > img {
    aspect-ratio: 16 / 10;
  }
  .pg-cards__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The close, before the footer on every page (views/close.templ): one centred column, the sentence in two tones on the
   page's ground, and under it the demo's first question in a saffron card, each answer a row on the field with its
   arrow chip. The rows are the field's ink at a whisper, a little more under the pointer; the chip is the ink, its
   arrow the field. */
.um-close {
  display: grid;
  justify-items: center;
  gap: 40px;
  text-align: center;
}
.um-close__title {
  max-width: 20ch;
  margin: 0;
  text-wrap: balance;
}
.um-close__card {
  gap: 20px;
  width: 100%;
  max-width: 36rem;
  text-align: left;
}
.um-close__q {
  margin: 0;
}
.um-close__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.um-close__go {
  --_h: 52px;
  --_chip: var(--db-field-ink);
  --_chip-fg: var(--db-field);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 10px 10px 10px 20px;
  border-radius: var(--radius-db-card);
  background: color-mix(in srgb, currentColor 8%, transparent);
  color: inherit;
  font-size: var(--db-size-lead);
  text-decoration: none;
  transition: background-color var(--duration-db) var(--ease-db);
}
.um-close__go:hover {
  background: color-mix(in srgb, currentColor 14%, transparent);
}
.um-close__go:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
@media (max-width: 899px) {
  .um-close {
    gap: var(--spacing-db-card);
  }
  .um-close__go {
    font-size: var(--db-size-body);
  }
}
@media (prefers-reduced-motion: reduce) {
  .um-close__go {
    transition: none;
  }
}

/* The footer: the wordmark beside the menu's columns, then the scene across the whole width (its paper is
   transparent, so it sits on the page's cream), then the year and the other language under a hairline. */
.um-foot__top,
.um-foot__base {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: var(--spacing-db-gutter);
}
.um-foot__top {
  display: grid;
  grid-template-columns: 1.4fr 4fr;
  gap: 32px var(--spacing-db-card);
  padding-block: var(--spacing-db-section) clamp(8px, 2vw, 24px);
}
.um-foot__brand .db-brand {
  font-size: 1.375rem;
}
.um-foot__brand p {
  max-width: 24ch;
  margin: 10px 0 0;
  color: var(--db-fg-3);
}
.um-foot__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px var(--spacing-db-card);
}
.um-foot__cols .um-col {   /* the menu gives its columns a panel; the footer's sit on the page */
  padding: 0;
  background: none;
}
.um-foot__scene {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.um-foot__base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px 28px;
  color: var(--db-fg-3);
  font: 350 var(--db-size-ui)/1.4 var(--font-db);
}
.um-foot__base::before {   /* the hairline, inside the gutters */
  content: "";
  flex-basis: 100%;
  margin-bottom: 12px;
  border-top: 1px solid var(--db-edge);
}
.um-foot__base p {
  margin: 0;
}
.um-foot__base a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-db-fast) var(--ease-db);
}
.um-foot__base a:is(:hover, :focus-visible) {
  color: var(--db-fg);
}
@media (max-width: 899px) {
  .um-foot__top {
    grid-template-columns: 1fr;
  }
  .um-foot__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .um-foot__base a {
    transition: none;
  }
}

/* Phones: Log in moves into the menu, and Book a demo says Demo. */
.um-only-sm {
  display: none;
}
@media (max-width: 720px) {
  .um-hide-sm {
    display: none;
  }
  .um-only-sm {
    display: revert;
  }
  .um-pop {
    width: calc(100vw - 2 * var(--spacing-db-gutter));
  }
  .um-pop:popover-open {
    grid-template-columns: 1fr 1fr;
  }
  .um-col {
    padding: 18px 20px 18px 18px;
  }
  .um-shelf__nav {
    display: none;
  }
  .um-shelf__track {
    gap: 16px;
  }
}

/* 04 media: a desktop browser with a black frame, a yoga studio's videos page on its own site, in its field
   (data-db-field on .fm). The page is laid out on 64em across the view (1em = the view's width / 64), as the website
   card's are, so it reads as a desktop page: the nav, the title, then the videos six to a row, each upright with its
   title and length under it; feats.js zooms it (a transform from its top left) onto its right side. A phone stands
   in front, running off the stage's foot, its reel playing, until it slides away. */
.fm {
  position: absolute;
  inset: 0;
}
.fm.is-jump,
.fm.is-jump * {
  transition: none !important;
  animation: none !important;
}
.fm p {
  margin: 0;
}
.fm img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fm__win {
  position: absolute;
  inset: 9% 5% 8%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0.32em solid var(--db-fg);
  border-radius: 0.8em;
  background: var(--db-raised);
  box-shadow: var(--shadow-db-float);
  color: var(--db-fg);
  font: 400 clamp(8px, 2.9cqw, 11px)/1.2 var(--font-db);
  transition: opacity 0.4s var(--ease-db);
}
.fm__bar {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.35em;
  padding: 0.5em 0.7em;
  border-bottom: 1px solid var(--db-edge);
  background: var(--db-bg);
}
.fm__bar > i {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--db-card-3);
}
.fm__url {
  margin-inline: auto;
  padding: 0.2em 0.9em;
  border-radius: var(--radius-db-full);
  background: var(--db-raised);
  box-shadow: 0 0 0 1px var(--db-edge);
  color: var(--db-fg-2);
  white-space: nowrap;
}
.fm__url b {
  color: var(--db-fg);
  font-weight: 400;
}
.fm__view {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  container-type: inline-size;
}
.fm__page {
  position: relative;
  padding: 0 2.6em;
  font: 400 calc(100cqw / 64)/1.3 var(--font-db);
  transform-origin: 0 0;
  transition: transform 1s var(--ease-db);
}

/* the nav: the studio, then its pages (Videos the one shown) */
.fm__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4em 0;
}
.fm__logo {
  font-size: 1.7em;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.fm__links {
  display: flex;
  gap: 2.2em;
  color: var(--db-fg-2);
  font-size: 1.25em;
}
.fm__links .is-here {
  color: var(--db-fg);
  text-decoration: underline 0.12em var(--db-field);
  text-underline-offset: 0.4em;
}

/* the title, and across from it the members' line with Sign in, which becomes Maya; then the videos */
.fm__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.2em 0 2.2em;
}
.fm__mem {
  display: flex;
  align-items: center;
  gap: 1.1em;
  color: var(--db-fg-3);
  font-size: 1.15em;
}
.fm__in {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 1.2em;
  border-radius: var(--radius-db-full);
  box-shadow: inset 0 0 0 1px var(--db-card-3);
  color: var(--db-fg);
  font-weight: 500;
}
.fm__me {
  display: grid;
  width: 0;
  height: 1.6em;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--db-field);
  color: var(--db-field-ink);
  font-size: 0.8em;
  font-style: normal;
  transition: width 0.4s var(--ease-db), margin 0.4s var(--ease-db);
}
.fm.is-member .fm__me {
  width: 1.6em;
  margin: 0 0.6em 0 -0.6em;
}
.fm__h {
  font-size: 3.6em;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.fm__sub {
  margin-top: 0.5em !important;
  color: var(--db-fg-3);
  font-size: 1.3em;
}
.fm__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.2em 1.2em;
}
.fm__vid {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  min-width: 0;
}
.fm__pic {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 1em;
  background: var(--db-card);
  transition: box-shadow 0.35s var(--ease-db);
}
.fm__pic img {
  transition: filter 0.7s var(--ease-db), scale 0.7s var(--ease-db);
}
.fm__cap {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}
.fm__cap b {
  overflow: hidden;
  font-size: 1.15em;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.fm__cap span {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: var(--db-fg-3);
  font-size: 1em;
  font-variant-numeric: tabular-nums;
}
.fm__tag {
  padding: 0.1em 0.65em;
  border-radius: var(--radius-db-full);
  background: var(--db-field-soft);
  color: var(--db-field-text);
  font-size: 0.9em;
  font-style: normal;
  font-weight: 500;
}

/* the empty place, which the reel lands in: its picture and words come once it has */
.fm__slot .fm__pic {
  box-shadow: inset 0 0 0 1px var(--db-edge);
}
.fm__slot img {
  opacity: 0;
}
.fm__slot.is-full img {
  opacity: 1;
}
.fm__slot .fm__cap {
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 0.4s var(--ease-db), transform 0.5s var(--ease-db);
}
.fm__slot.is-full .fm__cap {
  opacity: 1;
  transform: none;
}

/* the members' videos: blurred, a lock on them, until a member signs in */
.fm__vid.is-locked img {
  filter: blur(0.8em) saturate(0.7);
  scale: 1.15;
}
.fm.is-member .fm__vid.is-locked img {
  filter: none;
  scale: 1;
}
.fm__lock {
  position: absolute;
  inset: 0;
  display: grid;
  width: 3em;
  height: 3em;
  margin: auto;
  place-items: center;
  border-radius: 50%;
  background: var(--db-raised);
  color: var(--db-fg);
  transition: opacity 0.4s var(--ease-db);
}
.fm__lock svg {
  width: 1.4em;
  height: 1.4em;
}
.fm.is-member .fm__lock {
  opacity: 0;
}

/* a video playing: its picture comes slowly closer as its bar runs along its foot */
.fm__run {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.3em;
  background: var(--db-field);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.fm__vid.is-play .fm__pic {
  box-shadow: 0 0 0 0.25em var(--db-field);
}
.fm__vid.is-play img {
  animation: fm-closer 4s var(--ease-db) forwards;
}
.fm__vid.is-play .fm__run {
  animation: fm-run 24s linear forwards;
}
@keyframes fm-closer {
  to {
    transform: scale(1.08);
  }
}
@keyframes fm-run {
  to {
    transform: none;
  }
}

/* the phone, whole, in a phone's proportions: the studio's profile in a social app, its reels three to a row; the
   newest is lifted, then flies to the site, and the phone slides away */
.fm__phone {
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: 4%;
  height: 66%;
  aspect-ratio: 9 / 19;
  overflow: hidden;
  border: 0.45em solid var(--db-fg);
  border-radius: 2.4em;
  background: var(--db-raised);
  box-shadow: var(--shadow-db-float);
  color: var(--db-fg);
  font: 400 clamp(6px, 2.3cqw, 9px)/1.25 var(--font-db);
  transition: transform 0.7s var(--ease-db), opacity 0.4s var(--ease-db);
}
.fm__phone::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 50%;
  width: 3.4em;
  height: 1em;
  border-radius: var(--radius-db-full);
  background: var(--db-fg);
  translate: -50% 0;
}
.fm.is-gone .fm__phone {
  transform: translateY(115%);
}
.fm.is-fade :is(.fm__win, .fm__phone) {
  opacity: 0;
}
.fm__status {
  padding: 0.6em 1.6em 0;
  font-size: 0.85em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.fm__handle {
  padding: 0.9em 0 0.5em;
  font-weight: 500;
  text-align: center;
}
.fm__prof {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.2em 0.9em 0.8em;
}
.fm__prof span {
  display: flex;
  flex-direction: column;
  color: var(--db-fg-3);
  font-size: 0.85em;
}
.fm__prof b {
  color: var(--db-fg);
  font-size: 1.15em;
  font-weight: 500;
}
.fm__av {
  display: grid;
  flex: none;
  width: 2.8em;
  height: 2.8em;
  place-items: center;
  border-radius: 50%;
  background: var(--db-field);
  color: var(--db-field-ink);
  font-style: normal;
  font-weight: 500;
}
.fm__reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
.fm__rt {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
}
.fm__rt::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0.25em var(--db-field);
  opacity: 0;
  transition: opacity 0.3s var(--ease-db);
}
.fm__rt.is-play::after {
  opacity: 1;
}
.fm__rt.is-play img {
  animation: fm-closer 3s var(--ease-db) forwards;
}

/* the reel's copy, on its way from the phone to the site */
.fm__fly {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  box-shadow: var(--shadow-db-float);
  transform-origin: 0 0;
  transition: transform 0.9s var(--ease-db), border-radius 0.9s var(--ease-db);
  pointer-events: none;
}

/* the cursor: an arrow whose tip is the point it glides to (--x, --y), a press a little squeeze */
.fm__cursor {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  width: clamp(11px, 4.2cqw, 16px);
  color: var(--db-fg);
  opacity: 0;
  transform: translate(var(--x, 60cqw), var(--y, 80cqw));
  transform-origin: 0 0;
  transition: transform 0.7s var(--ease-db), opacity 0.3s var(--ease-db);
  pointer-events: none;
}
.fm__cursor svg {
  display: block;
  width: 100%;
  overflow: visible;
}
.fm__cursor.is-on {
  opacity: 1;
}
.fm__cursor.is-press {
  transform: translate(var(--x), var(--y)) scale(0.85);
  transition-duration: 0.18s;
}
@media (prefers-reduced-motion: reduce) {
  .fm * {
    transition: none !important;
    animation: none !important;
  }
}

/* 05 community: a phone with a black frame, standing in the stage and running off its foot, a member's lock screen
   in white: the date and time, then the studio's mail notifications under them, each in its own field (data-db-field
   on .fc__mail), each opening from nothing at the top so the ones before move down. The owner's list rises in front
   of it, lower left, as the phone steps aside, in the studio's field (on .fc): who hasn't been in for two weeks,
   then Send a note, which becomes Sent. */
.fc {
  position: absolute;
  inset: 0;
  color: var(--db-fg);
  font: 400 clamp(7px, 2.8cqw, 10.5px)/1.25 var(--font-db);
}
.fc.is-jump,
.fc.is-jump * {
  transition: none !important;
}
.fc p {
  margin: 0;
}
.fc__phone {
  position: absolute;
  top: 7%;
  right: 20%;
  bottom: -30%;
  left: 20%;
  overflow: hidden;
  border: 0.4em solid var(--db-fg);
  border-bottom: 0;
  border-radius: 1.7em 1.7em 0 0;
  background: var(--db-raised);
  box-shadow: var(--shadow-db-float);
  transition: transform 0.7s var(--ease-db), opacity 0.4s var(--ease-db);
}
.fc.is-owner .fc__phone {
  transform: translateX(16cqw);
}
.fc__lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.1em 0.7em;
}
.fc__date {
  font-size: 0.95em;
  font-weight: 500;
  opacity: 0.85;
}
.fc__time {
  font: 400 3.3em/1.05 var(--font-db);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.fc__stack {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  margin-top: 0.9em;
}

/* a notification: opens from nothing (its row grows from 0fr), dropping a little as it comes in */
.fc__note {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-db);
}
.fc__note.is-in {
  grid-template-rows: 1fr;
}
.fc__clip {
  min-height: 0;
  overflow: hidden;
}
.fc__mail {
  display: flex;
  gap: 0.55em;
  margin-bottom: 0.4em;
  padding: 0.6em 0.65em;
  border-radius: 1em;
  background: var(--db-field);
  color: var(--db-field-ink);
  opacity: 0;
  transform: translateY(-0.8em) scale(0.97);
  transition: opacity 0.4s var(--ease-db), transform 0.55s var(--ease-db);
}
.fc__note.is-in .fc__mail {
  opacity: 1;
  transform: none;
}
.fc__mark {
  display: grid;
  flex: none;
  width: 2em;
  height: 2em;
  place-items: center;
  border-radius: 50%;
  background: var(--db-field-ink);
  color: var(--db-field);
  font-size: 0.9em;
  font-style: normal;
  font-weight: 500;
}
.fc__txt {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}
.fc__from {
  display: flex;
  justify-content: space-between;
  gap: 0.5em;
  font-size: 0.85em;
}
.fc__from span {
  opacity: 0.8;
}
.fc__from b {
  font-weight: 500;
}
.fc__s {
  margin-top: 0.1em;
  font-weight: 500;
}
.fc__l {
  overflow: hidden;
  opacity: 0.85;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* the owner's list: who hasn't been in for two weeks, the days since each came, Send a note */
.fc__own {
  position: absolute;
  z-index: 2;
  bottom: 5%;
  left: 5%;
  width: 46%;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  padding: 0.85em 0.85em 0.8em;
  border-radius: 0.9em;
  background: var(--db-raised);
  box-shadow: var(--shadow-db-float);
  opacity: 0;
  transform: translateY(1.5em);
  transition: opacity 0.45s var(--ease-db), transform 0.6s var(--ease-db);
}
.fc.is-owner .fc__own {
  opacity: 1;
  transform: none;
}
.fc.is-fade :is(.fc__phone, .fc__own) {
  opacity: 0;
}
.fc__h {
  padding-bottom: 0.35em;
  font-size: 1.1em;
  font-weight: 500;
}
.fc__who {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.25em 0;
}
.fc__who + .fc__who {
  box-shadow: 0 -1px 0 var(--db-edge);
}
.fc__who i {
  display: grid;
  flex: none;
  width: 2em;
  height: 2em;
  place-items: center;
  border-radius: 50%;
  background: var(--db-field-soft);
  color: var(--db-field-text);
  font-size: 0.85em;
  font-style: normal;
  font-weight: 500;
}
.fc__who b {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fc__who span {
  color: var(--db-fg-3);
  font-size: 0.9em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fc__send {
  margin-top: 0.5em;
  padding: 0.6em;
  border-radius: var(--radius-db-full);
  background: var(--db-field);
  color: var(--db-field-ink);
  font-weight: 500;
  text-align: center;
  transition: background-color 0.35s var(--ease-db), color 0.35s var(--ease-db);
}
.fc.is-sent .fc__send {
  background: var(--db-card-2);
  color: var(--db-fg);
}
@media (prefers-reduced-motion: reduce) {
  .fc * {
    transition: none !important;
  }
}

/* 06 levels: a phone with a black frame, standing in the stage and running off its foot, a parent's view of Léo's
   account at a taekwondo school, in the school's field (data-db-field on .fv): his belts on a card-coloured ladder,
   each belt in a Daybook field (white the raised neutral), then the class that needs the next one, shut until he has
   it. His instructor's card rises in front of it, lower left, as the phone steps aside: Léo, the orange belt, Record,
   which becomes Recorded. Then the orange belt fills from its left end, the class opens and Book becomes Booked. */
.fv {
  position: absolute;
  inset: 0;
  color: var(--db-fg);
  font: 400 clamp(7px, 2.8cqw, 10.5px)/1.25 var(--font-db);
}
.fv.is-jump,
.fv.is-jump *,
.fv.is-jump *::after {
  transition: none !important;
}
:where(.fv) p {
  margin: 0;
}
:where(.fv) i {
  font-style: normal;
}
.fv__phone {
  position: absolute;
  top: 7%;
  right: 21%;
  bottom: -30%;
  left: 21%;
  overflow: hidden;
  border: 0.4em solid var(--db-fg);
  border-bottom: 0;
  border-radius: 1.7em 1.7em 0 0;
  background: var(--db-raised);
  box-shadow: var(--shadow-db-float);
  transition: transform 0.7s var(--ease-db), opacity 0.4s var(--ease-db);
}
.fv.is-coach .fv__phone {
  transform: translateX(15cqw);
}
.fv__acct {
  display: flex;
  flex-direction: column;
  padding: 1.1em 0.9em;
}
.fv__school {
  margin-bottom: 0.9em;
  color: var(--db-fg-3);
  font-size: 0.85em;
  font-weight: 500;
  text-align: center;
}
.fv__who,
.fv__from {
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.fv__who > span,
.fv__from > span {
  display: flex;
  flex-direction: column;
  color: var(--db-fg-3);
  font-size: 0.9em;
}
.fv__who b,
.fv__from b {
  color: var(--db-fg);
  font-size: 1.2em;
  font-weight: 500;
}
.fv__av {
  display: grid;
  flex: none;
  width: 2.4em;
  height: 2.4em;
  place-items: center;
  border-radius: 50%;
  background: var(--db-field-soft);
  color: var(--db-field-text);
  font-weight: 500;
}
.fv__label {
  margin: 1.1em 0 0.4em;
  color: var(--db-fg-3);
  font-size: 0.85em;
  font-weight: 500;
}

/* his belts: reached ones in their colour, the rest an outline; the one recorded fills from its left end */
.fv__ladder {
  margin: 0;
  padding: 0.2em 0.75em;
  border-radius: 0.9em;
  background: var(--db-card);
  list-style: none;
}
.fv__ladder li {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.42em 0;
  color: var(--db-fg-3);
  transition: color 0.4s var(--ease-db);
}
.fv__ladder li + li {
  box-shadow: 0 -1px 0 var(--db-edge);
}
.fv__ladder li.is-got,
.fv.is-belt .fv__next {
  color: var(--db-fg);
}
.fv__ladder span {
  flex: 1;
}
.fv__ladder em {
  color: var(--db-fg-3);
  font-size: 0.9em;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.fv__next em {
  color: var(--db-field-text);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.4s var(--ease-db) 0.5s;
}
.fv.is-belt .fv__next em {
  opacity: 1;
}
.fv__belt {
  position: relative;
  flex: none;
  width: 2.7em;
  height: 0.65em;
  overflow: hidden;
  border-radius: 0.2em;
  box-shadow: inset 0 0 0 1px var(--db-card-3);
}
.fv__belt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--db-field);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-db);
}
.fv__belt:not([data-db-field])::after {
  background: var(--db-raised);
  box-shadow: inset 0 0 0 1px var(--db-edge-2);
}
.fv__ladder .is-got .fv__belt::after,
.fv.is-belt .fv__next .fv__belt::after,
.fv__coach .fv__belt::after {
  transform: none;
}

/* the class that needs the next belt: its picture beside its words, faded while it is shut; then Book */
.fv__cls {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-top: 0.9em;
  padding: 0.55em;
  border-radius: 0.9em;
  box-shadow: 0 0 0 1px var(--db-edge);
}
.fv__pic {
  flex: none;
  width: 3.8em;
  height: 3.8em;
  overflow: hidden;
  border-radius: 0.6em;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.6s var(--ease-db), opacity 0.6s var(--ease-db);
}
.fv.is-open .fv__pic {
  filter: none;
  opacity: 1;
}
.fv__pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fv__txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--db-fg-3);
  font-size: 0.9em;
}
.fv__txt b {
  color: var(--db-fg);
  font-size: 1.2em;
  font-weight: 500;
}
.fv__need {
  margin-top: 0.2em;
  white-space: nowrap;
  transition: color 0.4s var(--ease-db);
}
.fv.is-open .fv__need {
  color: var(--db-field-text);
  font-weight: 500;
}
.fv__book {
  display: grid;
  margin-top: 0.65em;
  padding: 0.65em;
  border-radius: var(--radius-db-full);
  background: var(--db-card-2);
  color: var(--db-fg-3);
  font-weight: 500;
  text-align: center;
  transition: background-color 0.4s var(--ease-db), color 0.4s var(--ease-db);
}
.fv.is-open .fv__book {
  background: var(--db-field);
  color: var(--db-field-ink);
}
.fv.is-booked .fv__book {
  background: var(--db-field-soft);
  color: var(--db-field-text);
}
.fv__book > * {
  grid-area: 1 / 1;
  transition: opacity 0.3s var(--ease-db);
}
.fv__book-b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  opacity: 0;
}
.fv__book-b svg {
  width: 1.15em;
  height: 1.15em;
}
.fv.is-booked .fv__book-a {
  opacity: 0;
}
.fv.is-booked .fv__book-b {
  opacity: 1;
}

/* the instructor's card: who records it, Léo and the orange belt, Record */
.fv__coach {
  position: absolute;
  z-index: 2;
  bottom: 8%;
  left: 5%;
  width: 44%;
  padding: 0.85em;
  border-radius: 0.9em;
  background: var(--db-raised);
  box-shadow: var(--shadow-db-float);
  opacity: 0;
  transform: translateY(1.5em);
  transition: opacity 0.45s var(--ease-db), transform 0.6s var(--ease-db);
}
.fv.is-coach .fv__coach {
  opacity: 1;
  transform: none;
}
.fv.is-fade :is(.fv__phone, .fv__coach) {
  opacity: 0;
}
.fv__rec {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  margin-top: 0.75em;
  padding-top: 0.65em;
  box-shadow: 0 -1px 0 var(--db-edge);
}
.fv__rec b {
  font-size: 1.1em;
  font-weight: 500;
}
.fv__rec span {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--db-fg-2);
}
.fv__rec .fv__belt {
  width: 2.2em;
}
.fv__go {
  display: block;
  margin-top: 0.75em;
  padding: 0.6em;
  border-radius: var(--radius-db-full);
  background: var(--db-field);
  color: var(--db-field-ink);
  font-weight: 500;
  text-align: center;
  transition: background-color 0.35s var(--ease-db), color 0.35s var(--ease-db);
}
.fv.is-recorded .fv__go {
  background: var(--db-card-2);
  color: var(--db-fg);
}
@media (prefers-reduced-motion: reduce) {
  .fv *,
  .fv *::after {
    transition: none !important;
  }
}

/* 07 instructors: her link above, then a phone with a black frame standing in the stage and running off its foot,
   her own page in the business's field (data-db-field on .fa): her on the field, then her Wednesday, an hour to
   2.6em (--t in hours from its first): her classes in the hours' grey, the open times in the field's soft colour,
   the one booked in the field itself. */
.fa {
  position: absolute;
  inset: 0;
  color: var(--db-fg);
  font: 400 clamp(7px, 2.8cqw, 10.5px)/1.25 var(--font-db);
}
.fa.is-jump,
.fa.is-jump * {
  transition: none !important;
}
:where(.fa) p {
  margin: 0;
}
.fa img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fa__link {
  position: absolute;
  top: 5%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.35em 0.9em 0.35em 0.7em;
  border-radius: var(--radius-db-full);
  background: var(--db-raised);
  box-shadow: 0 0 0 1px var(--db-edge);
  color: var(--db-fg-2);
  font-size: 1.2em;
  white-space: nowrap;
  translate: -50% 0;
}
.fa__link svg {
  width: 1.1em;
  height: 1.1em;
  color: var(--db-field-text);
}
.fa__link b {
  color: var(--db-field-text);
  font-weight: 500;
}
.fa__phone {
  position: absolute;
  top: 17%;
  right: 19%;
  bottom: -30%;
  left: 19%;
  overflow: hidden;
  border: 0.4em solid var(--db-fg);
  border-bottom: 0;
  border-radius: 1.7em 1.7em 0 0;
  background: var(--db-raised);
  box-shadow: var(--shadow-db-float);
}
.fa__screen {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s var(--ease-db);
}
.fa.is-fade .fa__screen {
  opacity: 0;
}

/* her, on the field */
.fa__me {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 1.1em 1em 1em;
  background: var(--db-field);
  color: var(--db-field-ink);
}
.fa__me > span:last-child {
  display: flex;
  flex-direction: column;
  font-size: 0.9em;
}
.fa__me b {
  font-size: 1.3em;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.fa__av {
  flex: none;
  width: 3.2em;
  height: 3.2em;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 0.18em var(--db-raised);
}
.fa__av img {
  object-position: 58% 40%;
  transform: scale(1.9);
  transform-origin: 58% 42%;
}

/* her Wednesday */
.fa__day {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.9em 1em 0.7em;
}
.fa__day b {
  font-size: 1.1em;
  font-weight: 500;
}
.fa__day span {
  color: var(--db-fg-3);
  font-size: 0.85em;
}
.fa__cal {
  position: relative;
  height: calc(var(--hours) * 2.6em);
  margin: 0.2em 1em 0 0.6em;
  background: linear-gradient(var(--db-edge) 0 1px, transparent 1px) 3.4em 0 / 100% 2.6em repeat-y;
}
.fa__h {
  position: absolute;
  top: calc(var(--t) * 2.6em / 0.72);
  left: 0;
  width: calc(2.9em / 0.72);
  color: var(--db-fg-3);
  font-size: 0.72em;
  font-variant-numeric: tabular-nums;
  text-align: right;
  translate: 0 -50%;
  white-space: nowrap;
}
.fa__cls,
.fa__slot {
  position: absolute;
  top: calc(var(--t) * 2.6em + 0.25em);
  right: 0;
  left: 3.4em;
  display: flex;
  align-items: center;
  gap: 0.45em;
  height: 2.1em;
  padding: 0 0.7em;
  border-radius: 0.55em;
  white-space: nowrap;
}
.fa__cls {
  background: var(--db-card-2);
  color: var(--db-fg-3);
  font-size: 1em;
}
.fa__cls b {
  color: var(--db-fg);
  font-weight: 500;
}

/* an open time: comes in softly; the one booked fills with the field, and the others go */
.fa__slot {
  background: var(--db-field-soft);
  color: var(--db-field-text);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity 0.45s var(--ease-db), transform 0.5s var(--ease-db), background-color 0.35s var(--ease-db), color 0.35s var(--ease-db);
}
.fa__slot.is-in {
  opacity: 1;
  transform: none;
}
.fa.is-booked .fa__pick {
  background: var(--db-field);
  color: var(--db-field-ink);
}
.fa.is-done .fa__slot:not(.fa__pick) {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .fa * {
    transition: none !important;
  }
}

/* 08 more: the basics, ten of them in two columns on one raised sheet in the middle of the stage, all built in rising
   under it once all are lit. Each row is a small square (as the menu's columns have, .um-col__square) and a name;
   lit, the square takes its row's field (data-db-field on the li) and the name comes up from muted to ink. The
   foot's words take the scene's field (data-db-field on .fe). */
.fe {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.3em;
  padding: 0 5cqw;
  font: 400 clamp(10px, 4.2cqw, 16px)/1.3 var(--font-db);
}
.fe.is-jump,
.fe.is-jump * {
  transition: none !important;
}
.fe__sheet {
  display: grid;
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  column-gap: 1.3em;
  row-gap: 0.85em;
  margin: 0;
  padding: 1.4em 1.2em;
  border-radius: var(--radius-db-media);
  background: var(--db-raised);
  box-shadow: 0 0 0 1px var(--db-edge);
  list-style: none;
}
.fe__sheet li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: var(--db-fg-3);
  white-space: nowrap;
  transition: color 0.45s var(--ease-db);
}
.fe__square {
  flex: none;
  width: 0.62em;
  height: 0.62em;
  border-radius: 0.2em;
  background: var(--db-card-2);
  transform: scale(0.8);
  transition: background-color 0.45s var(--ease-db), transform 0.45s var(--ease-db);
}
.fe__sheet li.is-lit {
  color: var(--db-fg);
}
.fe__sheet li.is-lit .fe__square {
  background: var(--db-field);
  transform: none;
}
.fe__foot {
  margin: 0;
  color: var(--db-fg-2);
  text-align: center;
  opacity: 0;
  transform: translateY(0.5em);
  transition: opacity 0.5s var(--ease-db), transform 0.6s var(--ease-db);
}
.fe__foot b {
  color: var(--db-field-text);
  font-weight: 500;
}
.fe.is-all .fe__foot {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fe * {
    transition: none !important;
  }
}

/* The launch strip above the bar on every page until launch day is over (LaunchBanner): ink, the date in cream, a
   saffron dot. One line at a fixed height, so pages that lay their bar over art (contact) can sit it just below. */
:root:has(.um-launch) {
  --um-launch-h: 36px;
}
.um-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--um-launch-h);
  margin: 0;
  padding: 0 16px;
  background: var(--db-fg);
  color: var(--db-bg);
  font-family: var(--font-db-sans, "Inter Tight"), system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
}
.um-launch__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--db-field);
  flex-shrink: 0;
}
