/* eZephyr v2 — /about/ visual prototype (Milestone 3C; About Us content round).
 * "One building, every floor busy": the agency as a Mumbai building where design,
 * technology and marketing share a roof, with a zephyr blowing through it; the story
 * with a dictionary card for the name; the journey as a local-train route; the people
 * as a line-up of portrait frames (initials until photos arrive); capabilities as a
 * three-tier tiffin; how we work told after dark; a conversation over cutting chai.
 * Uses tokens.css and components.css. Scoped to .ab.
 */

.page-about { background: var(--ez-sky-light); }
.ab { display: flow-root; background: var(--ez-paper); color: var(--ez-ink); }

/* ================= 1. Hero ================= */
.ab-hero { position: relative; overflow: hidden; background: var(--ez-yellow); }
.ab-hero__inner {
  display: grid;
  width: min(100% - 2 * var(--ez-gutter), var(--ez-max));
  margin-inline: auto;
  padding-top: clamp(20px, 3.5vw, 44px);
}
.ab-hero__title { margin-top: clamp(20px, 3vw, 36px); font-family: var(--ez-font-display); font-weight: 400; }
.ab-hero__line {
  display: block;
  font-size: clamp(2.9rem, 7vw, 6.5rem);
  line-height: 0.93;
  text-transform: uppercase;
}
.ab-hero__word { display: inline-block; }
.ab-hero__lead { max-width: 36rem; margin-top: clamp(16px, 2vw, 26px); }
.ab-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(20px, 2.6vw, 30px); }

/* The building stands on a street that runs the full width of the hero. */
.ab-building { position: relative; width: min(100%, 440px); margin: clamp(28px, 6vw, 48px) auto 0; }
.ab-building svg { display: block; width: 100%; height: auto; overflow: visible; }
.ab-sign {
  font-family: var(--ez-font-display);
  font-size: 19px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  fill: var(--ez-ink);
}
@media (min-width: 960px) {
  .ab-hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; }
  /* Leave room above the street for the copy. */
  .ab-hero__copy { padding-bottom: clamp(96px, 9vw, 130px); }
  .ab-building { width: 100%; max-width: 560px; margin: 0 0 0 auto; }
}

/* ================= 2. Our story ================= */
.ab-story { padding-block: clamp(56px, 8vw, 112px); scroll-margin-top: var(--header-h); }
.ab-story__inner { display: grid; gap: clamp(40px, 5vw, 72px); align-items: start; }
.ab-story__intro { max-width: 34rem; margin-top: clamp(16px, 2vw, 24px); font-weight: 600; }
.ab-story__text { max-width: 40rem; }
.ab-story__text p { margin-top: 14px; font-size: 1.125rem; line-height: 1.6; }
.ab-story__text strong { font-weight: 700; }
@media (min-width: 960px) {
  .ab-story__inner { grid-template-columns: 7fr 5fr; }
  .ab-name { margin-top: 12px; }
}

/* The name, as a dictionary entry pinned to the wall. */
.ab-name {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 2.6vw, 30px) clamp(20px, 2.6vw, 30px) 0;
  border: 3px solid var(--ez-ink);
  border-top-width: 12px;
  border-top-color: var(--ez-yellow);
  border-radius: var(--ez-radius);
  background: #fff;
  box-shadow: 8px 8px 0 var(--ez-ink);
  transform: rotate(-1.2deg);
}
.ab-name__gust { position: absolute; top: 14px; right: -6px; width: clamp(92px, 10vw, 128px); height: auto; }
.ab-name__label {
  padding-right: 96px;
  font-family: var(--ez-font-display);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ab-name__word { margin-top: clamp(14px, 2vw, 22px); font-family: var(--ez-font-display); font-size: clamp(3.4rem, 7vw, 5.25rem); line-height: 0.9; }
/* Pronunciation line and Hindi (founder-provided, 2026-10-26). The site's own fonts are Latin-only, so IPA
   and Devanagari use system fonts that cover them (no extra download; nothing from other servers). */
.ab-name__say { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 12px; font-size: 1.0625rem; line-height: 1.5; color: var(--ez-ink-soft); }
.ab-name__pron { font-weight: 600; color: var(--ez-ink); }
.ab-name__ipa { font-family: 'Segoe UI', 'Lucida Grande', Roboto, 'Noto Sans', 'DejaVu Sans', Arial, sans-serif; font-size: 0.9375em; }
.ab-name__sep { color: var(--ez-ink-soft); }
.ab-name__hi, .ab-name__def-hi [lang="hi"] { font-family: 'Noto Sans Devanagari', 'Nirmala UI', 'Kohinoor Devanagari', 'Devanagari Sangam MN', Mangal, sans-serif; }
.ab-name__hi { font-size: 1.0625em; color: var(--ez-ink); }
.ab-name__pos { margin-top: 6px; font: italic 1.0625rem/1.3 Georgia, 'Times New Roman', serif; color: var(--ez-ink-soft); }
.ab-name__def { margin-top: 12px; padding-left: 14px; border-left: 6px solid var(--ez-yellow); font-size: 1.25rem; line-height: 1.4; font-weight: 600; }
.ab-name__def-hi { display: block; margin-top: 4px; font-size: 1.0625rem; font-weight: 400; line-height: 1.6; color: var(--ez-ink-soft); }
.ab-name__story { margin-top: 16px; font-size: 1.0625rem; line-height: 1.55; }
.ab-name__story cite { font-style: italic; font-weight: 600; }
.ab-name__tagline {
  display: grid;
  gap: 4px;
  margin: clamp(20px, 2.6vw, 28px) calc(-1 * clamp(20px, 2.6vw, 30px)) 0;
  padding: 16px clamp(20px, 2.6vw, 30px) 20px;
  background: var(--ez-ink);
}
.ab-name__tagline-label { font: 600 0.8125rem/1.2 var(--ez-font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ez-sky-light); }
.ab-name__tagline-text { font: 400 clamp(2rem, 4vw, 3rem)/1 var(--ez-font-display); text-transform: uppercase; color: var(--ez-yellow); }

/* ================= 3. Our journey: the route ================= */
.ab-evo { padding-block: clamp(56px, 8vw, 112px); background: var(--ez-sky-light); scroll-margin-top: var(--header-h); }
.ab-evo__head { max-width: 46rem; }
.ab-evo__lead { max-width: 38rem; margin-top: 16px; font-size: var(--ez-text-lead); line-height: 1.45; }
.ab-evo__foot { display: grid; gap: 14px; justify-items: start; margin-top: clamp(28px, 4vw, 48px); }
.ab-evo__close { max-width: 40rem; font-size: var(--ez-text-lead); line-height: 1.45; }

.ab-route { position: relative; margin-top: clamp(32px, 5vw, 56px); }
.ab-route__line,
.ab-route__fill { display: block; background: var(--ez-ink-soft); border-radius: 4px; }
.ab-route__fill { background: var(--ez-lilac); }
.ab-route__track { display: none; }

.ab-station__dot {
  width: 30px;
  height: 30px;
  border: 5px solid var(--ez-ink);
  border-radius: 50%;
  background: var(--c);
}
.ab-station__board {
  position: relative;
  padding: 14px 16px 16px;
  border: 3px solid var(--ez-ink);
  border-top-width: 10px;
  border-top-color: var(--c);
  border-radius: 4px;
  background: #fff;
}
/* Every board gets an ink rule above its colour band, like a station sign's frame. */
.ab-station__board::before { content: ''; position: absolute; left: -3px; right: -3px; top: -13px; height: 3px; background: var(--ez-ink); border-radius: 4px 4px 0 0; }
.ab-station__icon { float: right; width: 34px; height: 34px; margin-left: 10px; }
/* The stop's "when": a station code. Only the first one is a date. */
.ab-station__when {
  display: inline-block;
  padding: 3px 9px 2px;
  background: var(--ez-ink);
  color: var(--ez-yellow);
  font: 400 0.875rem/1.2 var(--ez-font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ab-station:first-child .ab-station__when { font-size: 1.375rem; letter-spacing: 0.06em; }
.ab-station__name {
  clear: right;
  margin-top: 10px;
  font-family: var(--ez-font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.ab-station__text { margin-top: 6px; font-size: 1rem; line-height: 1.4; }

/* Mobile and tablet: a vertical line down the left. */
.ab-route__line, .ab-route__fill { position: absolute; left: 12px; top: 0; bottom: 0; width: 6px; }
.ab-route__fill { transform-origin: top center; }
.ab-stations { position: relative; display: grid; gap: 18px; padding-left: 52px; }
.ab-station { position: relative; }
.ab-station__dot { position: absolute; left: -52px; top: 26px; z-index: 1; }

/* Desktop: a horizontal line, signs alternating above and below, the train at the terminus. */
@media (min-width: 960px) {
  .ab-route {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) 150px;
    grid-template-rows: auto 44px auto;
    padding-left: 70px;
  }
  .ab-route__line, .ab-route__fill {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: center;
    width: auto;
    height: 8px;
    margin-left: -70px;
  }
  .ab-route__fill { transform-origin: left center; }
  .ab-route__track {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-left: -70px;
    pointer-events: none;
  }
  .ab-train { width: 136px; height: auto; margin-bottom: 10px; }
  .ab-stations {
    grid-column: 1 / 5;
    grid-row: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    gap: 0 16px;
    padding: 0;
  }
  .ab-station { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .ab-station__dot { position: static; grid-row: 2; align-self: center; }
  /* Signs are wider than their stop: they share space with the neighbour on the other side of the line. */
  .ab-station__board { grid-row: 1; align-self: end; width: calc(150% + 8px); margin-bottom: 18px; }
  .ab-station:nth-child(even) .ab-station__board { grid-row: 3; align-self: start; margin: 18px 0 0; }
  /* A short post from each sign to its stop. */
  .ab-station__board::after { content: ''; position: absolute; left: 50%; bottom: -21px; width: 4px; height: 18px; margin-left: -2px; background: var(--ez-ink); }
  .ab-station:nth-child(even) .ab-station__board::after { top: -31px; bottom: auto; }
}

/* ================= 4. People ================= */
.ab-people { padding-block: clamp(56px, 8vw, 112px); scroll-margin-top: var(--header-h); }
.ab-people__head { display: grid; gap: 12px 48px; }
.ab-people__lead { max-width: 30rem; }
@media (min-width: 1024px) {
  .ab-people__head { grid-template-columns: 1.6fr 1fr; align-items: end; }
  .ab-people__head .ez-eyebrow { grid-column: 1 / -1; }
  .ab-people__lead { justify-self: end; }
}

/* Group labels: a pill on a rule, like a platform sign. */
.ab-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(32px, 4.5vw, 56px) 0 clamp(18px, 2.2vw, 26px);
  font-family: var(--ez-font-display);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ab-group span { padding: 5px 14px 4px; border: 2px solid var(--ez-ink); border-radius: 999px; background: #fff; }
.ab-group::after { content: ''; flex: 1; height: 3px; background: var(--ez-ink); }

/* Portrait frame: the person's colour, a halftone, their initials. A photo, when added, covers the lot. */
.ab-person__photo {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 3px solid var(--ez-ink);
  border-radius: var(--ez-radius);
  background-color: var(--c);
  background-image: radial-gradient(rgba(49, 49, 50, 0.16) 1.4px, transparent 1.7px);
  background-size: 11px 11px;
  box-shadow: 6px 6px 0 var(--ez-ink);
}
.ab-person__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--ez-font-display);
  font-size: 4rem;
  font-size: 40cqi;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ez-ink);
  text-shadow: 0.05em 0.05em 0 var(--ez-paper);
}
.ab-person__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.ab-person__name {
  margin: 16px 0 6px; /* h4: base.css resets h1–h3 only */
  font-family: var(--ez-font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.05;
  text-transform: uppercase;
}
/* The role, marked in the person's colour with the logo's highlighter. Inline, so the mark follows each wrapped line. */
.ab-person__role {
  display: inline;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  background: linear-gradient(transparent 58%, var(--c) 58%, var(--c) 92%, transparent 92%);
}
.ab-person__note { margin-top: 12px; font-size: 1rem; line-height: 1.5; }

/* Founders: two wide cards. */
.ab-founders { display: grid; gap: clamp(20px, 3vw, 32px); }
.ab-person--founder {
  display: grid;
  grid-template-columns: clamp(118px, 40%, 250px) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: end;
  padding: clamp(16px, 2.2vw, 24px);
  border: 3px solid var(--ez-ink);
  border-radius: 10px;
  background: #fff;
}
.ab-person--founder .ab-person__name { margin: 0 0 10px; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 0.98; }
.ab-person--founder .ab-person__role { font-size: 1rem; }
@media (min-width: 760px) { .ab-founders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The team: a line-up, staggered like people on a platform. */
.ab-team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 40px) clamp(16px, 2vw, 24px);
}
@media (min-width: 720px) { .ab-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .ab-team { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ab-person:nth-child(even) { margin-top: 44px; }
  .ab-founders .ab-person:nth-child(even) { margin-top: 0; }
}

/* Extended circle: close to the team, but not on its roster — a double frame sets him apart. */
.ab-person--circle {
  display: grid;
  grid-template-columns: clamp(96px, 26%, 140px) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: center;
  max-width: 52rem;
  padding: clamp(14px, 2vw, 20px);
  border: 7px double var(--ez-ink);
  border-radius: 12px;
  background: var(--ez-sky-light);
}
.ab-person--circle .ab-person__photo { box-shadow: 4px 4px 0 var(--ez-ink); }
.ab-person--circle .ab-person__name { margin-top: 0; margin-bottom: 8px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.ab-person--circle .ab-person__role { --c: var(--ez-yellow); }
.ab-person--circle .ab-person__note { max-width: 46ch; }

/* ================= 5. What we do: the tiffin ================= */
.ab-do { padding-block: clamp(56px, 8vw, 112px); background: var(--ez-sky-light); }
.ab-do__inner { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.ab-do__lead { max-width: 30rem; margin: 18px 0 28px; }
@media (min-width: 960px) { .ab-do__inner { grid-template-columns: 5fr 7fr; } }

.ab-tiffin { position: relative; padding-top: 64px; }
.ab-tiffin__handle {
  position: absolute;
  top: 0;
  left: 24%;
  right: 24%;
  height: 84px;
  border: 8px solid var(--ez-ink);
  border-bottom: 0;
  border-radius: 44px 44px 0 0;
}
.ab-tiffin__handle::after {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  width: 46px;
  height: 14px;
  margin-left: -23px;
  border-radius: 6px;
  background: var(--ez-ink);
}
.ab-tiers { position: relative; display: grid; gap: 6px; }
.ab-tier {
  --c: var(--ez-yellow);
  --fg: var(--ez-ink);
  position: relative;
  display: grid;
  gap: 6px 24px;
  padding: clamp(18px, 2.4vw, 26px) clamp(20px, 3vw, 32px);
  border: 4px solid var(--ez-ink);
  border-radius: 22px;
  background: var(--c);
  color: var(--fg);
  transition: transform 0.35s var(--ez-ease-out);
}
.ab-tier--tech { --c: var(--ez-sky); }
.ab-tier--marketing { --c: var(--ez-red); --fg: #fff; }
/* The clips that hold the tiers together */
.ab-tier::before,
.ab-tier::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 12px;
  height: 36px;
  margin-top: -18px;
  background: var(--ez-ink);
}
.ab-tier::before { left: -16px; border-radius: 4px 0 0 4px; }
.ab-tier::after { right: -16px; border-radius: 0 4px 4px 0; }
.ab-tier__name {
  font-family: var(--ez-font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
}
.ab-tier__text { font-size: 1.0625rem; line-height: 1.4; }
.ab-tier__services { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ab-tier__services li {
  padding: 5px 11px 4px;
  border: 2px solid var(--ez-ink);
  border-radius: 999px;
  background: var(--ez-paper);
  color: var(--ez-ink);
  font: 400 0.875rem/1.2 var(--ez-font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ab-tiffin__base { display: block; height: 14px; margin: 6px 8% 0; border-radius: 0 0 18px 18px; background: var(--ez-ink); }
@media (min-width: 640px) {
  .ab-tier { grid-template-columns: minmax(9.5rem, auto) 1fr; align-items: center; }
  .ab-tier__name { grid-row: 1 / 3; }
}

/* ================= 6. How we work: after dark ================= */
.ab-think { background: var(--ez-ink); color: var(--ez-paper); }
.ab-night { background: var(--ez-sky-light); }
.ab-night svg { display: block; width: 100%; height: clamp(60px, 8vw, 120px); }
.ab-think__inner { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 104px); }
.ab .ab-think__eyebrow { background: var(--ez-yellow); color: var(--ez-ink); }
.ab-beliefs { margin-top: clamp(24px, 3.5vw, 44px); }
.ab-belief {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  padding-block: clamp(18px, 2.4vw, 28px);
  border-top: 2px solid var(--ez-ink-soft);
}
.ab-belief__num {
  font-family: var(--ez-font-display);
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  line-height: 0.9;
  color: var(--ez-yellow);
}
@supports (-webkit-text-stroke: 2px black) {
  .ab-belief__num { color: transparent; -webkit-text-stroke: 2px var(--ez-yellow); }
}
.ab-belief__title {
  font-family: var(--ez-font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}
.ab-belief__title em { font-style: normal; color: var(--ez-yellow); }
.ab-belief__copy p { max-width: 46ch; margin-top: 10px; font-size: 1.125rem; line-height: 1.5; color: var(--ez-sky-light); }
.ab-belief__glyph { display: none; width: 64px; height: 64px; }
@media (min-width: 760px) {
  .ab-belief { grid-template-columns: 7rem 1fr 72px; align-items: center; }
  .ab-belief__glyph { display: block; }
}
/* Wide screens: step and description side by side, so five steps stay compact. */
@media (min-width: 1024px) {
  .ab-belief__copy { display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: 8px 40px; align-items: center; }
  .ab-belief__copy p { margin-top: 0; }
}

/* ================= 7. Conversation over chai ================= */
.ab-cta { padding-block: clamp(56px, 8vw, 104px); background: var(--ez-lilac); }
.ab-cta__inner { display: grid; gap: 32px; align-items: center; }
.ab-cta__kicker {
  margin-bottom: 12px;
  font-family: var(--ez-font-display);
  font-size: 1.0625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ab-cta__title {
  max-width: 12ch;
  font-family: var(--ez-font-display);
  font-weight: 400;
  font-size: var(--ez-text-h2);
  line-height: 0.95;
  text-transform: uppercase;
}
.ab-cta__text { max-width: 34rem; margin: 18px 0 28px; }
.ab-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.ab-chai { width: min(52%, 240px); height: auto; justify-self: center; overflow: visible; }
.ab-chai__tea { fill: #c4823a; }
@media (min-width: 900px) {
  .ab-cta__inner { grid-template-columns: 1.4fr 1fr; }
  .ab-chai { width: min(100%, 260px); }
}

/* ================= Motion ================= */
@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance */
  .ab-hero .ez-eyebrow { animation: ez-rise 0.6s var(--ez-ease-out) both; }
  .ab-hero__word { animation: ez-rise 0.8s var(--ez-ease-out) both 0.08s; }
  .ab-hero__word:nth-child(2) { animation-delay: 0.16s; }
  .ab-hero__word:nth-child(3) { animation-delay: 0.24s; }
  .ab-hero .hl::before { animation: ez-wipe 0.55s var(--ez-ease-out) both 0.8s; }
  .ab-hero__lead { animation: ez-rise 0.8s var(--ez-ease-out) both 0.34s; }
  .ab-hero__actions { animation: ez-rise 0.8s var(--ez-ease-out) both 0.44s; }
  .ab-building { animation: ez-rise-sm 1s var(--ez-ease-out) both 0.3s; }

  /* Life in the building (loops; paused off-screen or on request) */
  .ab-kite { transform-box: view-box; transform-origin: 500px 76px; animation: ez-sway 2.6s ease-in-out infinite alternate; }
  .ab-cloth { transform-box: fill-box; transform-origin: 50% 0; animation: ab-flutter 2.2s ease-in-out infinite alternate var(--d, 0s); }
  .ab-lit { animation: ez-twinkle 3.6s ease-in-out infinite alternate var(--d, 0s); }
  .ab-steam { animation: ab-steam 3s ease-in-out infinite var(--d, 0s); }
  /* The zephyr: gusts drift across the roof. Without motion the lines simply stand still, whole. */
  .ab-breeze path { stroke-dasharray: 34 66; animation: ab-breeze 3.8s linear infinite var(--d, 0s); }

  /* The route: armed by js/prototype/about.js when it starts below the fold, run when it is reached. */
  .ab-route.is-armed:not(.is-running) .ab-route__fill { transform: scaleY(0); }
  .ab-route.is-armed:not(.is-running) .ab-station__dot { transform: scale(0); }
  .ab-route.is-armed:not(.is-running) .ab-station__board { opacity: 0; transform: translateY(16px); }
  .ab-route.is-running .ab-route__fill { transform: none; transition: transform 2.4s cubic-bezier(0.45, 0, 0.3, 1); }
  .ab-route.is-running .ab-station__dot { transform: none; transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1) calc(0.2s + var(--i) * 0.5s); }
  .ab-route.is-running .ab-station__board { opacity: 1; transform: none; transition: opacity 0.5s ease calc(0.3s + var(--i) * 0.5s), transform 0.5s var(--ez-ease-out) calc(0.3s + var(--i) * 0.5s); }
  @media (min-width: 960px) {
    .ab-route.is-armed:not(.is-running) .ab-route__fill { transform: scaleX(0); }
    .ab-route.is-armed:not(.is-running) .ab-route__track { transform: translateX(calc(-100% + 136px)); }
    .ab-route.is-running .ab-route__track { transform: none; transition: transform 2.4s cubic-bezier(0.45, 0, 0.3, 1); }
  }

  .ab-tier, .ab-belief__glyph, .ab-person__photo { transition: transform 0.35s var(--ez-ease-out), box-shadow 0.35s var(--ez-ease-out); }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* Tiers slide open a little, like a dabba being unpacked. */
  .ab-tier:hover { transform: translateX(12px); }
  .ab-belief:hover .ab-belief__glyph { transform: rotate(-10deg) scale(1.1); }
  /* Portraits catch the breeze. */
  .ab-person:hover .ab-person__photo { transform: translate(-3px, -3px) rotate(-1.5deg); box-shadow: 9px 9px 0 var(--ez-ink); }
}

@media (prefers-reduced-motion: reduce) {
  .ab *, .ab *::before, .ab *::after { animation: none !important; transition: none !important; }
  .ab .ez-btn:hover, .ab .ez-btn:active { transform: none; }
}

@keyframes ab-flutter { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes ab-steam {
  0% { opacity: 0; transform: translateY(10px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-14px); }
}
@keyframes ab-breeze {
  0% { stroke-dashoffset: 100; opacity: 0; }
  20%, 75% { opacity: 1; }
  100% { stroke-dashoffset: -34; opacity: 0; }
}
