/* ============================================================
   Frontlion Company/About page visuals
   Hand-built graphic cards from the WebRefit 07 30 26 about
   mockup, scoped under .flv-ab so they cannot collide with any
   other page's cards. Section chrome (headers, quotes, stat
   tiles, timeline, contrast rows) comes from main.css +
   feature-refit.css — only the graphics live here.
   Colours resolve through the .flv --fl-* aliases defined in
   feature-visuals.css, so the mockup CSS ports verbatim.
   Enqueued on the About page only (see functions.php).
   ============================================================ */

/* ---- floating "associate next up" card, over the hero photo ----
   Mockup source: .fl-anu (assets/ui-cards/ui-cards.html, CARD:
   associate-next-up). The primary action is teal per client direction; the
   "Small business" chip keeps the card's warm coral tint. */
.flv-ab .flv-anu {
  width: 300px;
  max-width: 100%;
  background: var(--color-white);
  border: 1px solid var(--fl-line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 56px rgba(74, 67, 64, .22);
  padding: 20px;
  color: var(--fl-ink);
}
.flv-ab .flv-anu p { margin: 0; }
.flv-ab .flv-anu-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fl-gray);
  margin-bottom: 8px;
}
.flv-ab .flv-anu-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.flv-ab .flv-anu-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--fl-ink);
  line-height: 1.2;
}
.flv-ab .flv-anu-chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 11px;
  background: rgba(196, 98, 45, .12);
  color: var(--fl-coral-hover);
  font-size: 10.5px;
  font-weight: 600;
}
.flv-ab .flv-anu-reason {
  font-size: 14px;
  font-weight: 500;
  color: var(--fl-ink);
  margin-bottom: 4px;
}
.flv-ab .flv-anu-meta {
  font-size: 12px;
  color: var(--fl-gray);
  margin-bottom: 14px;
}
.flv-ab .flv-anu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--color-teal);
  color: var(--color-white);
  border: 0;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease;
}
.flv-ab .flv-anu-btn:hover { background: var(--color-teal-dark); }
.flv-ab .flv-anu-btn:focus-visible { outline: 3px solid var(--fl-ink); outline-offset: 2px; }

/* ---- hero stage: the photo with the card floating over its top-right ----
   Mockup source: .fl-hero-visual / .fl-hero-photo / .fl-anu. Photo and card are
   one composition in the hero's secondary column, so the card is positioned
   against the photo rather than the hero grid. */
.flv-ab .flv-hero-stage { position: relative; }
.flv-ab .flv-hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 44px rgba(74, 67, 64, .14);
}
/* The card sits at the BOTTOM of the photo, overhanging its right edge. */
.flv-ab .flv-hero-stage .flv-anu {
  position: absolute;
  right: -16px;
  bottom: 28px;
  max-width: 78%;
}

@media (max-width: 980px) {
  .flv-ab .flv-hero-stage .flv-anu { right: 16px; bottom: 16px; }
}
/* Below the mockup's 620px breakpoint the card stops floating and stacks under
   the photo, so a small screen never has it covering a face. */
@media (max-width: 620px) {
  .flv-ab .flv-hero-stage .flv-anu {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 14px;
    box-shadow: 0 1px 2px rgba(74, 67, 64, .08);
  }
}

/* ---- "the last great data blind spot" question tiles ----
   The four blind-spot questions are seeded as content_media bullets, but the
   mockup renders them as teal-edged tiles (.fl-question), not a checkmark
   list. Scoped to that one section so no other check-list is affected. */
#instrument-frontline .check-list { gap: 14px; }
#instrument-frontline .check-list__item {
  background: rgba(200, 230, 229, .45);
  border-left: 3px solid var(--color-teal);
  border-bottom: 0;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}
#instrument-frontline .check-list__icon { display: none; }
#instrument-frontline .check-list__title {
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-charcoal);
}

/* ---- "What We Believe" cards (mockup .fl-belief) ----
   The theme's feature-card is a two-column split with a full-height gradient
   icon panel down the left. The mockup's belief card is a plain white card
   with the icon in a small rounded coral-tinted tile ABOVE the copy, so the
   grid is flattened to one column and the panel is reduced to that tile.
   Scoped to this section; the feature-card treatment is untouched elsewhere. */
#beliefs .feature-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--color-warm-beige);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(74, 67, 64, .05);
}
#beliefs .feature-card:hover {
  transform: none;
  box-shadow: 0 1px 2px rgba(74, 67, 64, .05);
  border-color: var(--color-warm-beige);
}
#beliefs .feature-card__icon-bg {
  width: 48px;
  height: 48px;
  min-height: 0;
  border-radius: var(--radius-lg);
  background: rgba(232, 146, 106, .22);
  margin-bottom: 18px;
  cursor: default;
}
/* The gradient wash and the hover swap both live on ::before — neither belongs
   on a flat tinted tile. */
#beliefs .feature-card__icon-bg::before { display: none; }
#beliefs .feature-card__icon-bg i,
#beliefs .feature-card__icon-bg svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
}
#beliefs .feature-card:hover .feature-card__icon-bg i,
#beliefs .feature-card:hover .feature-card__icon-bg svg { color: var(--color-accent); }
#beliefs .feature-card__body { padding: 0; gap: var(--space-2); }
#beliefs .feature-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--color-charcoal);
}
#beliefs .feature-card__desc {
  margin: 0;
  font-size: .95rem;
  color: var(--color-charcoal);
}

/* ---- Leadership cards (mockup .fl-lead-card) ----
   Centered card, round 96px avatar, name, muted role, then the LinkedIn link.
   The LinkedIn ICON is kept as the link (client direction), coloured coral to
   match the mockup's text link. */
/* THREE columns (user-directed 2026-08-13). Yoni is the featured member and
   renders above the grid, leaving six cards: at four columns those fell 4 + 2,
   with a visibly short second row. Three columns splits them evenly 3 + 3. */
#leadership .team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
/* The base .team-card is a horizontal flex row (photo beside the text) with a
   3:4 portrait thumb. This card stacks instead, so the row layout and the
   photo's flex-basis + aspect-ratio all have to be undone, not just resized. */
#leadership .team-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--color-warm-beige);
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(74, 67, 64, .05);
}
#leadership .team-card__photo {
  flex: none;
  aspect-ratio: 1 / 1;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--color-warm-beige);
}
#leadership .team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#leadership .team-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--color-charcoal);
}
#leadership .team-card__role {
  margin: 0 0 10px;
  font-size: .88rem;
  color: var(--color-warm-gray);
}
#leadership .team-card__social { justify-content: center; display: flex; }
#leadership .team-card__social a { color: var(--color-accent); }
#leadership .team-card__social a:hover { color: var(--color-accent-hover); }

@media (max-width: 980px) {
  #leadership .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  #leadership .team-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   VISIT RECORD — "The last great data blind spot" (08/05 mockup)
   ==========================================================================
   Replaces the customer check-in phone embed. Written out by hand rather than
   run through the mockup-CSS port, which drops multi-line rule bodies. */
.flv-ab .flv-ab-record {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--color-warm-beige);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(74, 67, 64, .16);
  padding: 26px 28px;
}
.flv-ab .flv-ab-record-head {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-warm-gray);
  margin-bottom: 18px;
}
/* The rail runs down the left; each node hangs its dot into the padding. */
.flv-ab .flv-ab-tl {
  position: relative;
  display: grid;
  gap: 20px;
  padding-left: 26px;
}
.flv-ab .flv-ab-tl::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-teal-light);
  border-radius: 2px;
}
.flv-ab .flv-ab-tl-item { position: relative; }
.flv-ab .flv-ab-tl-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-teal-light);
  border: 3px solid var(--color-teal);
}
.flv-ab .flv-ab-tl-what { font-weight: 600; font-size: .95rem; }
.flv-ab .flv-ab-tl-when { font-size: .8rem; color: var(--color-warm-gray); }
.flv-ab .flv-ab-record-kv { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.flv-ab .flv-ab-kv-chip {
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-teal);
  background: var(--color-teal-light);
  border-radius: 999px;
  padding: 6px 12px;
}

/* ==========================================================================
   THE SHIFT — one comparison table (08/05 mockup)
   ==========================================================================
   Replaces five loose from/to cards. The header row names both columns so the
   direction of the shift reads without parsing a single row. */
.flv-ab .flv-ab-shift {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-warm-beige);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(74, 67, 64, .05);
  overflow: hidden;
}
.flv-ab .flv-ab-shift-heads,
.flv-ab .flv-ab-shift-row {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: center;
  gap: 14px;
}
.flv-ab .flv-ab-shift-heads {
  padding: 15px 30px;
  background: rgba(184, 218, 218, .30);
  border-bottom: 1px solid var(--color-warm-beige);
}
.flv-ab .flv-ab-shift-heads span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--color-teal);
}
.flv-ab .flv-ab-shift-heads .is-fromhead { text-align: right; }
.flv-ab .flv-ab-shift-row { padding: 19px 30px; border-top: 1px solid var(--color-warm-beige); }
.flv-ab .flv-ab-shift-row:first-of-type { border-top: 0; }
.flv-ab .flv-ab-shift-row .is-from { color: var(--color-warm-gray); font-size: 1rem; text-align: right; }
.flv-ab .flv-ab-shift-row .is-to { color: var(--color-charcoal); font-weight: 600; font-size: 1rem; }
.flv-ab .flv-ab-shift-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  justify-self: center;
  background: rgba(184, 218, 218, .55);
  color: var(--color-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.flv-ab .flv-ab-shift-arrow svg { width: 15px; height: 15px; }

@media (max-width: 980px) {
  .flv-ab .flv-ab-shift-heads,
  .flv-ab .flv-ab-shift-row { grid-template-columns: 1fr 48px 1fr; }
  .flv-ab .flv-ab-shift-heads { padding: 14px 22px; }
  .flv-ab .flv-ab-shift-row { padding: 17px 22px; }
}
@media (max-width: 620px) {
  /* The card keeps its pairs, stacked: quiet from-line, arrow turned down,
     then the claim. The column labels drop out with it. */
  .flv-ab .flv-ab-shift-heads { display: none; }
  .flv-ab .flv-ab-shift-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 20px; }
  .flv-ab .flv-ab-shift-row .is-from { text-align: left; }
  .flv-ab .flv-ab-shift-arrow { transform: rotate(90deg); justify-self: start; }
  .flv-ab .flv-ab-record { padding: 22px 18px; }
}
