/* About UXbeam: innovation history.
 * Stacked over home-parity.css (shared nav, footer, buttons, Lato) exactly as the
 * product landing pages are. Palette follows tree-testing-homepage.css; figure framing
 * follows the case studies (studies.css .ev-figure). Scoped under body.ab.
 * r12: one chronological timeline. A visible rail per year, dates in one column,
 * hot-pink markers for the eight signature releases, neutral dots for supporting releases,
 * every entry collapsed until opened, product imagery inline at restrained sizes.
 */
.ab {
  --ab-ink: #303030;
  --ab-body: #56514f;
  --ab-muted: #6f6a68;
  --ab-faint: #9a9391;
  --ab-purple: #643995;
  --ab-purple-dark: #4e2c74;
  --ab-pink: #F90473;
  --ab-lilac-line: #ecdff1;
  --ab-border: #e3dedd;
  --ab-hairline: #f2eeec;
  --ab-field: #fbf9fd;
  --ab-stem: #e5ddea;
  --ab-dot: #bbb2c4;
  --ab-shadow: 0 3px 14px rgba(48, 48, 48, .05);
  background: #fff;
  color: var(--ab-body);
  line-height: 1.6;
}
.ab .ab-wrap { max-width: 1080px; margin: 0 auto; padding: 0 38px; }
.ab .ab-sr { position: absolute; left: -9999px; }
.ab a:focus-visible, .ab summary:focus-visible { outline: 2px solid var(--ab-purple); outline-offset: 3px; border-radius: 3px; }

/* ---------- Hero: the landing pages' kicker + tagline, then the six-year ribbon ---------- */
.ab .ab-hero { padding: 62px 0 54px; background: linear-gradient(180deg, #fbf7fd 0%, #fff 70%); }
.ab .ab-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--ab-body); }
/* category identities: brand purple and pink for the two methods, brand green and link blue for workflow and platform */
.ab { --ab-tree-identity: #643995; --ab-card-identity: #cb176f; --ab-flow-identity: #0EAD83; --ab-flow-identity-text: #097a5c; --ab-platform-identity: #2463ae; }
/* the workflow marker keeps the brand green; its small-caps label uses a darker green (5.1:1 on the field, WCAG AA) */
.ab .ab-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.ab .ab-method-key { display: grid; gap: 8px; justify-self: end; padding-bottom: 6px; }
.ab .ab-method-key__item { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; line-height: 1.3; font-weight: 700; color: var(--ab-body); white-space: nowrap; }
.ab .ab-method-key__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--ab-muted); }
.ab .ab-method-key__item[data-kind="tree-testing"] .ab-method-key__dot { background: var(--ab-tree-identity); }
.ab .ab-method-key__item[data-kind="card-sorting"] .ab-method-key__dot { background: var(--ab-card-identity); }
.ab .ab-method-key__item[data-kind="workflow"] .ab-method-key__dot { background: var(--ab-flow-identity); }
.ab .ab-method-key__item[data-kind="platform"] .ab-method-key__dot { background: var(--ab-platform-identity); }
/* the signature marker in the key is the timeline marker itself: pink core, field-coloured gap, pink ring */
.ab .ab-method-key__item[data-kind="signature"] .ab-method-key__dot { width: 13px; height: 13px; margin: 0 -2px; box-sizing: border-box; background: var(--ab-pink); border: 3px solid var(--ab-field); box-shadow: 0 0 0 1px var(--ab-pink); }
.ab .ab-tagline { margin: 0; max-width: 640px; font-size: 34px; line-height: 1.2; font-weight: 700; color: var(--ab-ink); }

.ab .ab-ribbon { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 20px; position: relative; }
.ab .ab-ribbon::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: var(--ab-lilac-line); border-radius: 2px; }
.ab .ab-ribbon li { position: relative; padding-top: 26px; }
.ab .ab-ribbon li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--ab-purple); box-sizing: border-box; }
.ab .ab-ribbon li:last-child::before { background: var(--ab-purple); }
.ab .ab-ribbon__y { display: block; font-size: 15px; font-weight: 700; color: var(--ab-ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.ab .ab-ribbon__hl { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--ab-body); text-wrap: balance; }

/* ---------- Timeline field ---------- */
.ab .ab-field { background: var(--ab-field); border-top: 1px solid var(--ab-hairline); border-bottom: 1px solid var(--ab-hairline); }
.ab .ab-timeline { padding-top: 46px; padding-bottom: 68px; }

/* year sections: compact head, then the rail */
.ab .ab-year { padding: 0; }
.ab .ab-year + .ab-year { margin-top: 42px; }
.ab .ab-year__head { display: grid; grid-template-columns: 106px minmax(0, 1fr); gap: 0 24px; align-items: baseline; margin: 0 0 10px; padding: 0 0 14px; border-bottom: 1px solid #e6e0e7; }
.ab .ab-year__head h2 { margin: 0; color: #2a2730; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; font-variant-numeric: tabular-nums; }
.ab .ab-year__head p { margin: 0; color: #6c6674; font-size: 14px; line-height: 1.55; font-weight: 400; max-width: 79ch; }

/* the visible spine reconnects every release within a year */
.ab .ab-rail { position: relative; display: flex; flex-direction: column; gap: 0; padding-left: 130px; min-width: 0; }
.ab .ab-rail::before { content: ""; position: absolute; left: 109px; top: 13px; bottom: 18px; width: 2px; background: var(--ab-stem); border-radius: 999px; }

/* ---------- Entries: one grammar for every release ---------- */
.ab details.ab-entry { position: relative; display: block; margin: 0; border: 0; border-bottom: 1px solid #ece6ed; background: transparent; }
.ab details.ab-entry::before { content: ""; position: absolute; z-index: 2; left: -25px; top: 22px; width: 7px; height: 7px; box-sizing: border-box; border-radius: 50%; background: var(--ab-dot); }
.ab details.ab-entry[data-signature="1"]::before { left: -28px; top: 20px; width: 13px; height: 13px; background: var(--ab-pink); border: 3px solid var(--ab-field); box-shadow: 0 0 0 1px var(--ab-pink); }

.ab details.ab-entry > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 113px minmax(0, 1fr) 125px 16px; gap: 0 15px; align-items: center; padding: 14px 3px 14px 0; margin: 0; min-height: 54px; }
.ab details.ab-entry > summary::-webkit-details-marker { display: none; }
.ab details.ab-entry[data-signature="1"] > summary { padding-top: 18px; padding-bottom: 18px; min-height: 62px; }
.ab details.ab-entry > summary:hover { background: rgba(255, 255, 255, .62); }

.ab .ab-when { grid-column: 1; grid-row: 1; color: #6c6474; font-size: 13px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ab .ab-ttl { grid-column: 2; grid-row: 1; font-size: 15.5px; font-weight: 600; line-height: 1.45; color: #29252f; letter-spacing: -.005em; }
.ab details.ab-entry[data-signature="1"] .ab-ttl { font-size: 17.5px; font-weight: 800; line-height: 1.38; color: #231c2c; }
.ab details.ab-entry > summary:hover .ab-ttl { color: var(--ab-purple-dark); }
.ab .ab-tag { grid-column: 3; grid-row: 1; align-self: center; justify-self: end; color: #6f6878; font-size: 10px; line-height: 1.3; letter-spacing: .045em; font-weight: 700; text-transform: uppercase; text-align: right; }
.ab .ab-tag[data-kind="tree-testing"] { color: var(--ab-tree-identity); }
.ab .ab-tag[data-kind="card-sorting"] { color: var(--ab-card-identity); }
.ab .ab-tag[data-kind="workflow"] { color: var(--ab-flow-identity-text); }
.ab .ab-tag[data-kind="platform"] { color: var(--ab-platform-identity); }
.ab .ab-chev { grid-column: 4; grid-row: 1; width: 15px; height: 15px; align-self: center; justify-self: end; color: #a9a2af; transition: transform .18s ease, color .18s ease; }
.ab details.ab-entry > summary:hover .ab-chev { color: var(--ab-purple); }
.ab details[open] > summary .ab-chev { transform: rotate(90deg); color: #633399; }

/* expanded evidence is an inset continuation of the same timeline entry */
.ab .ab-body { display: block; padding: 3px 24px 26px 128px; margin: 0; }
.ab .ab-text { max-width: 70ch; }
.ab .ab-text p { margin: 0 0 12px; font-size: 15px; line-height: 1.68; color: #494351; }
.ab .ab-text p:last-child { margin-bottom: 0; }
.ab .ab-text a { color: var(--ab-purple); }

/* illustrations are evidence inline, not containers; restrained caps per asset */
.ab .ab-fig { margin: 20px 0 4px; width: fit-content; max-width: min(100%, 640px); padding: 0; }
.ab .ab-fig img { display: block; width: 100%; height: auto; max-width: 100%; border: 1px solid #e6dfea; border-radius: 7px; box-shadow: 0 2px 7px rgba(29, 22, 42, .045); background: transparent; }
.ab .ab-fig figcaption { margin: 7px 0 0; font-size: 12px; line-height: 1.5; color: #6f6878; max-width: 60ch; }
.ab .ab-fig.ab-fig--replay, .ab .ab-fig.scenario-figure, .ab #e-2024-05-02-shared-words .ab-fig, .ab #e-2023-02-19-card-sort-to-tree-test .ab-fig { width: 100%; }
.ab #e-2026-10-21-recruitment .ab-fig { max-width: 375px; }
.ab #e-2025-12-sitemap-plus .ab-fig { max-width: 390px; }
.ab #e-2025-07-20-task-paths .ab-fig { max-width: 385px; }
.ab .ab-fig--replay .tt6-adv__fig { max-width: 385px; }
.ab #e-2026-05-06-scenario-completion .ab-fig { max-width: 500px; }
.ab #e-2023-02-19-card-sort-to-tree-test .ab-fig img { border: 0; box-shadow: none; border-radius: 0; }

/* ---------- Retained motifs: language chips, scenario grid ---------- */
.ab .language-flags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 2px; }
.ab .language-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 9px; border: 1px solid var(--ab-border); border-radius: 999px; background: #fff; color: var(--ab-ink); font-size: 13px; font-weight: 700; line-height: 1.1; }
.ab .language-flag { font-family: system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif; font-size: 17px; line-height: 1; }

.ab .scenario-graphic { padding: 14px 16px 12px; background: #fff; border: 1px solid #e6dfea; border-radius: 7px; box-shadow: 0 2px 7px rgba(29, 22, 42, .045); }
.ab .sg-lead { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; margin-bottom: 12px; font-size: 13px; color: var(--ab-ink); }
.ab .sg-lead span { font-weight: 700; color: var(--ab-purple); }
.ab .scenario-matrix { border-collapse: separate; border-spacing: 3px; width: 100%; text-align: center; font-size: 12px; }
.ab .scenario-matrix th { font-weight: 700; color: var(--ab-muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.ab .scenario-matrix td { height: 28px; padding: 0; border-radius: 4px; background: #f3f2f4; }
.ab .scenario-matrix td.pass { background: #eef6f2; color: #2f8f73; }
.ab .scenario-matrix td.fail { background: #ffe9f1; color: #c51b65; }
.ab .scenario-matrix .status-icon { display: block; width: 14px; height: 14px; margin: auto; }
.ab .scenario-matrix td.pass .status-icon { opacity: .8; }
.ab .sg-note { font-size: 12.5px; color: var(--ab-muted); margin-top: 12px; }

/* ---------- Depth that compounds: the landing pages' hairline tiles ---------- */
.ab .ab-compounds { padding: 64px 0 56px; background: #fff; }
.ab .ab-compounds__head { max-width: 720px; margin: 0 0 32px; }
.ab .ab-compounds__head h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.22; color: var(--ab-ink); }
.ab .ab-compounds__head p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ab-body); }
.ab .ab-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.ab .ab-tiles li { border-top: 2px solid var(--ab-lilac-line); padding-top: 14px; }
.ab .ab-tiles h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; color: var(--ab-ink); }
.ab .ab-tiles p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ab-body); }
.ab .ab-colophon { margin: 56px 0 0; padding-top: 22px; border-top: 1px solid var(--ab-hairline); font-size: 13px; color: var(--ab-muted); max-width: 76ch; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .ab .ab-wrap { padding: 0 20px; }
  .ab .ab-hero { padding: 44px 0 40px; }
  .ab .ab-tagline { font-size: 28px; }
  .ab .ab-hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .ab .ab-method-key { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-self: start; padding-bottom: 0; }
  .ab .ab-method-key__item { font-size: 11.5px; }
  .ab .ab-ribbon { grid-template-columns: 1fr; gap: 0; margin-top: 36px; padding-left: 26px; }
  .ab .ab-ribbon::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .ab .ab-ribbon li { padding: 0 0 18px; }
  .ab .ab-ribbon li:last-child { padding-bottom: 0; }
  .ab .ab-ribbon li::before { left: -26px; top: 3px; }
  .ab .ab-ribbon__y { display: inline; margin-right: 8px; }
  .ab .ab-ribbon__hl { display: inline; }

  .ab .ab-timeline { padding-top: 30px; padding-bottom: 45px; }
  .ab .ab-year + .ab-year { margin-top: 35px; }
  .ab .ab-year__head { display: block; padding-bottom: 11px; margin-bottom: 6px; }
  .ab .ab-year__head h2 { font-size: 22px; margin: 0 0 5px; }
  .ab .ab-year__head p { font-size: 13.5px; line-height: 1.45; }
  .ab .ab-rail { padding-left: 19px; }
  .ab .ab-rail::before { left: 4px; top: 15px; bottom: 14px; width: 1px; }
  .ab details.ab-entry::before { left: -18px; top: 20px; width: 6px; height: 6px; }
  .ab details.ab-entry[data-signature="1"]::before { left: -21px; top: 19px; width: 12px; height: 12px; border-width: 2px; }
  .ab details.ab-entry > summary { grid-template-columns: minmax(0, 1fr) 16px; grid-template-rows: auto auto; column-gap: 10px; row-gap: 3px; padding: 13px 4px 13px 1px; align-items: start; min-height: 0; }
  .ab details.ab-entry[data-signature="1"] > summary { padding: 15px 4px 15px 1px; }
  .ab .ab-when { grid-column: 1; grid-row: 1; font-size: 12px; color: #726b78; }
  .ab .ab-ttl { grid-column: 1; grid-row: 2; font-size: 15px; line-height: 1.4; }
  .ab details.ab-entry[data-signature="1"] .ab-ttl { font-size: 16px; }
  .ab .ab-tag { display: none; }
  .ab .ab-chev { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .ab .ab-body { padding: 1px 10px 22px 1px; }
  .ab .ab-text p { font-size: 14.5px; line-height: 1.58; }
  .ab .ab-fig { margin-top: 15px; max-width: 100%; }
  .ab #e-2026-10-21-recruitment .ab-fig, .ab #e-2025-12-sitemap-plus .ab-fig, .ab #e-2025-07-20-task-paths .ab-fig, .ab .ab-fig--replay .tt6-adv__fig { max-width: 100%; }

  .ab .ab-compounds { padding: 48px 0 44px; }
  .ab .ab-compounds__head h2 { font-size: 25px; }
  .ab .ab-tiles { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  /* wide product captures scroll sideways on phones instead of shrinking to illegibility */
  .ab #e-2026-08-30-mental-model-detection .ab-fig, .ab #e-2026-08-23-uxbeam-review .ab-fig, .ab #e-2026-08-24-card-sort-results .ab-fig { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ab #e-2026-08-30-mental-model-detection .ab-fig img, .ab #e-2026-08-23-uxbeam-review .ab-fig img, .ab #e-2026-08-24-card-sort-results .ab-fig img { min-width: 560px; }
  .ab .ab-tiles { grid-template-columns: 1fr; }
  .ab .scenario-graphic { padding: 12px 10px; }
  .ab .scenario-matrix { border-spacing: 2px; }
  .ab .sg-lead { display: block; } .ab .sg-lead span { display: block; margin-top: 4px; }
  .ab .language-chip { font-size: 12px; padding: 6px 10px 6px 8px; }
}

/* ==================================================================
   Path Replay: verbatim from tree-testing-homepage.css (lines 1310-1332, 1334-1373,
   1401-1418, 1422-1425), so the About page shows the production animation, not a copy.
   Scoped by the figure's own .tt6 class.
   ================================================================== */
.tt6 { --tt6-border: #e3dedd; --tt6-shadow: 0 3px 14px rgba(48, 48, 48, .05); }
.tt6 .tt6-adv__fig--svg .tt6-viz {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--tt6-border); border-radius: 12px;
  background: #fff; box-shadow: var(--tt6-shadow);
  font-family: Lato, Helvetica, sans-serif;
}

/* --- shared tree --- */
.tt6 .tt6-viz__links path,
.tt6 .tt6-viz__link--unused {
  fill: none; stroke: #ded8d6; stroke-width: 1.6;
}
.tt6 .tt6-viz__link--unused { stroke: #efeae8; stroke-dasharray: 4 4; }
.tt6 .tt6-viz__n { fill: #fff; stroke: #c9c3c1; stroke-width: 1.6; }
.tt6 .tt6-viz__n--direct { fill: #4ADE80; stroke: #15803D; }
.tt6 .tt6-viz__n--else   { fill: #C084FC; stroke: #9333EA; }
.tt6 .tt6-viz__n--off    { fill: #fff; stroke: #e8e3e1; }
.tt6 .tt6-viz__counts text {
  font-size: 9.5px; font-weight: 700; fill: #fff; text-anchor: middle;
}
.tt6 .tt6-viz__labels text { font-size: 11.5px; fill: #6f6866; }
.tt6 .tt6-viz__label--key { font-weight: 700; fill: #2f2b2a; }
.tt6 .tt6-viz__label--off { fill: #cfc9c7; }
/* --- 1 · path replay: one dot per participant path, outcome-coloured --- */
.tt6 .tt6-viz__p { opacity: 0; offset-rotate: 0deg; }
.tt6 .tt6-viz__p--r1, .tt6 .tt6-viz__p--r2 { fill: #4ADE80; }
.tt6 .tt6-viz__p--r4 { fill: #86EFAC; }
.tt6 .tt6-viz__p--r3, .tt6 .tt6-viz__p--r5 { fill: #C084FC; }
.tt6 .tt6-viz__p--r1, .tt6 .tt6-viz__p--r2 {
  offset-path: path("M30 134 C 90 134, 110 216, 170 216 C 230 216, 262 190, 322 190");
}
.tt6 .tt6-viz__p--r5 {
  offset-path: path("M30 134 C 90 134, 110 216, 170 216 C 230 216, 262 246, 322 246");
}
.tt6 .tt6-viz__p--r3 {
  offset-path: path("M30 134 H 170 C 230 134, 262 92, 322 92");
}
/* the backtracker: into Shop, back to Home, out again through Help */
.tt6 .tt6-viz__p--r4 {
  offset-path: path("M30 134 C 90 134, 110 44, 170 44 C 110 44, 90 134, 30 134 C 90 134, 110 216, 170 216 C 230 216, 262 190, 322 190");
}
@keyframes tt6-walk {
  0%        { offset-distance: 0%;   opacity: 0; }
  8%        { opacity: 1; }
  88%       { opacity: 1; }
  100%      { offset-distance: 100%; opacity: 0; }
}
.tt6 .tt6-viz__p { animation: tt6-walk 6s linear infinite; }
.tt6 .tt6-viz__p--r2 { animation-delay: 1.1s; }
.tt6 .tt6-viz__p--r3 { animation-delay: 2.0s; }
.tt6 .tt6-viz__p--r4 { animation-delay: 0.5s; animation-duration: 8s; }
.tt6 .tt6-viz__p--r5 { animation-delay: 3.4s; }

/* Reduced motion: the product's own paused-replay state — every marker
   rests part-way along its route instead of moving. */
@media (prefers-reduced-motion: reduce) {
  .tt6 .tt6-viz__p { animation: none; opacity: 1; }
  .tt6 .tt6-viz__p--r1 { offset-distance: 74%; }
  .tt6 .tt6-viz__p--r2 { offset-distance: 41%; }
  .tt6 .tt6-viz__p--r3 { offset-distance: 63%; }
  .tt6 .tt6-viz__p--r4 { offset-distance: 22%; }
  .tt6 .tt6-viz__p--r5 { offset-distance: 55%; }
}
/* Accumulated replay traces: the routes the dots are walking, outcome-coloured,
   so the paused frame still reads as several different routes. */
.tt6 .tt6-viz__traces path {
  fill: none; stroke-width: 2.6; stroke-linecap: round; opacity: .42;
}
.tt6 .tt6-viz__tr--dir  { stroke: #4ADE80; }
.tt6 .tt6-viz__tr--ind  { stroke: #86EFAC; }
.tt6 .tt6-viz__tr--else { stroke: #C084FC; }
.tt6 .tt6-viz__p--r6 { fill: #4ADE80; animation-delay: 4.2s; }
.tt6 .tt6-viz__p--r7 { fill: #C084FC; animation-delay: 5.1s; }
.tt6 .tt6-viz__p--r6 {
  offset-path: path("M30 134 C 90 134, 110 216, 170 216 C 230 216, 262 190, 322 190");
}
.tt6 .tt6-viz__p--r7 { offset-path: path("M30 134 H 170 C 230 134, 262 92, 322 92"); }
@media (prefers-reduced-motion: reduce) {
  .tt6 .tt6-viz__p--r6 { offset-distance: 33%; }
  .tt6 .tt6-viz__p--r7 { offset-distance: 86%; }
}
   keeps the longest label ("Returns and refunds") inside 460 units. */
@media (max-width: 620px) {
  .tt6 .tt6-viz__labels text { font-size: 13.5px; }
  .tt6 .tt6-viz__counts text { font-size: 11px; }
}
