/* About, round 28 A1 "The people" (built in round 30), its two lower sections remade in rounds 31 and 33.
   Page-only rules (ab-*, .fl), on top of site.css, which carries the page head (.hw__head, .hw__sub), the panel
   (.holo) and the close. Tokens only: cyan is the one accent, amber only for "says yes". Mockups:
   /home/studio/clankford-ie-samples/round28/a1, round31/about (v1, records) and round33/floor (the drawing). */

.ab-top { padding: clamp(24px, 2.6vw, 34px) 0 clamp(48px, 5vw, 72px); }
.ab-top .hw__sub { max-width: 38ch; }

/* ── the team: one calm row of faces, first name and role under each ── */
.ab-team {
  list-style: none; margin: clamp(30px, 3.4vw, 48px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 28px clamp(12px, 1.4vw, 20px);
}
.ab-face { min-width: 0; }
/* each photo whole in a box of its own shape (400 x 307); nothing cropped, no filter */
.ab-face__pic, .ab-face__soon {
  display: block; position: relative; aspect-ratio: 400 / 307; overflow: hidden;
  border: 1px solid var(--hud-faint); border-radius: 8px; background: var(--hud-shell-far);
}
.ab-face__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ab-face__soon {
  display: block; width: 100%; height: auto; aspect-ratio: 400 / 307;
  border: 1px solid var(--hud-faint); border-radius: 8px; background: var(--hud-shell-far);
}
.ab-face__soon {
  display: grid; place-items: center; padding: 8px;
  border-style: dashed; border-color: var(--hud-soft);
  font-size: .8rem; line-height: 1.3; text-align: center; color: var(--hud-dim);
}
.ab-face__name { margin: 12px 0 0; font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.ab-face__role { margin: 3px 0 0; font-size: .84rem; line-height: 1.38; color: var(--hud-dim); }
@media (max-width: 1180px) { .ab-team { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ab-team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; } }

/* ── the agency in two lines ── */
.ab-agency { margin-top: clamp(40px, 4.6vw, 64px); padding-top: clamp(24px, 2.6vw, 34px); border-top: 1px solid var(--hud-faint); }
.ab-agency__line { max-width: none; font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 500; line-height: 1.42; text-wrap: pretty; }
.ab-agency__line + .ab-agency__line { margin-top: 8px; }
.ab-agency__line a { color: var(--hud-text); }
.ab-agency__line a:hover { color: var(--hud-bright); }

/* ── we run our own agency on it (round 31 v1, Michal 20 Oct 2026): the picture on the left, the heading and the
   counts beside it at the top, the words and the button at its foot. The picture sits whole in a frame of its own
   shape; the caption hangs under the frame, never on the picture. */
.ab-own { padding-top: clamp(64px, 7vw, 104px); }
.ab-own__count { max-width: 26ch; font-size: clamp(1.3rem, 2vw, 1.85rem); font-weight: 500; line-height: 1.32; text-wrap: balance; }
/* the counts in the headline face, the one accent, a size up: read first, still one sentence */
.ab-own__n { font-family: var(--display); font-size: 1.55em; font-weight: 600; line-height: 1; letter-spacing: 0.01em; color: var(--hud); }
.ab-own__fig { margin: 0; min-width: 0; }
.ab-own__frame {
  overflow: hidden;
  border: 1px solid var(--hud-soft); border-radius: 10px; background: var(--hud-shell-far);
  box-shadow: 0 0 0 1px var(--hud-faint), 0 0 30px var(--hud-wash);
}
.ab-own__cap { margin: 12px 0 0; font-size: 0.9rem; line-height: 1.45; color: var(--hud-dim); }
.ab-own__line { max-width: 30ch; font-size: clamp(1.1rem, 1.4vw, 1.3rem); font-weight: 500; line-height: 1.45; text-wrap: pretty; }
.ab-own__line + .ab-own__line { margin-top: 14px; }
/* "says yes": the dashboard's waiting-for-your-yes amber, as a small mark (data colour, not an accent) */
.ab-own__line--yes { display: flex; align-items: baseline; gap: 12px; }
.ab-own__line--yes::before {
  content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; transform: translateY(-1px);
  background: var(--state-wait); box-shadow: 0 0 10px rgba(255, 180, 84, 0.45); /* design-check-ignore: --hud-warn glow */
}
.ab-own .btn-row { margin-top: 26px; }

/* the picture on the left; beside it the heading and the counts at the top, the words and the
   button at the foot, level with the picture's bottom edge */
.ab-own--district .ab-own__body {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: auto 1fr;
  gap: 0 clamp(36px, 5vw, 80px);
}
.ab-own--district .ab-own__fig { grid-column: 1; grid-row: 1 / span 2; }
.ab-own--district .ab-own__top { grid-column: 2; grid-row: 1; }
.ab-own--district .ab-own__top h2 { max-width: 14ch; }
.ab-own--district .ab-own__count { margin-top: clamp(20px, 2.2vw, 30px); }
.ab-own--district .ab-own__say {
  grid-column: 2; grid-row: 2; align-self: end;
  margin-bottom: calc(0.9rem * 1.45 + 12px); padding-top: clamp(22px, 2.4vw, 30px); border-top: 1px solid var(--hud-faint);
}

/* ── round 33: the Clank Floor, remade as a designed floor plan (a hand-built SVG) ──
   The picture replaces round 31's screenshot of the Floor. One drawing of the whole floor above 720px; a phone
   gets its own drawing (the same rooms, set out in a column, with larger words). Sign words use the headline
   face. Motion: one pass of about three seconds when the picture first comes into view (the work walking to the
   "Your yes" desk, about.js), then still; with reduced motion, or no script, it is drawn still. */
.ab-own .fl { margin: 0; }
.fl__art { position: relative; line-height: 0; }
.fl svg { display: block; width: 100%; height: auto; }
.fl svg.fl__defs { position: absolute; width: 0; height: 0; }
.fl .fl__tall { display: none; }
.fl-t { font-family: var(--display); font-weight: 600; letter-spacing: 0.06em; }
.fl-t--aa { font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.ab-own--district .ab-own__fig.fl { align-self: start; }
@media (max-width: 720px) {
  .fl .fl__wide { display: none; }
  .fl .fl__tall { display: block; }
}
/* below 1100px the words go above and below the picture */
@media (max-width: 1100px) {
  .ab-own--district .ab-own__body { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .ab-own--district .ab-own__fig, .ab-own--district .ab-own__top, .ab-own--district .ab-own__say { grid-column: 1; grid-row: auto; }
  .ab-own--district .ab-own__top { margin-bottom: 32px; }
  .ab-own--district .ab-own__say { margin: 32px 0 0; }
  .ab-own--district .ab-own__fig.fl { max-width: 780px; }
}
@media (prefers-reduced-motion: no-preference) {
  .fl.is-armed .fl-a-walk { animation: fl-walk 3s cubic-bezier(0.4, 0, 0.25, 1) both paused; }
  .fl.is-play .fl-a-walk { animation-play-state: running; }
}
@keyframes fl-walk { from { transform: translateX(var(--d, 0)); } to { transform: none; } }

/* ── company details, for your records (round 31b): one calm holo panel, a letterhead, not a bare list ── */
.ab-co__row { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 2fr); gap: 28px clamp(36px, 6vw, 96px); align-items: start; }
.ab-co__head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.ab-co__card { min-width: 0; padding: clamp(24px, 3vw, 40px) clamp(22px, 3.2vw, 44px); }
/* the Clankford mark at the head of the panel, as on the site's header and footer */
.ab-co__mark {
  display: flex; align-items: center; gap: 12px; max-width: none;
  margin: 0 0 clamp(22px, 2.6vw, 30px); padding-bottom: clamp(18px, 2vw, 22px); border-bottom: 1px solid var(--hud-faint);
}
.ab-co__word { font-family: var(--display); font-size: 1.25rem; font-weight: 600; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; }
.ab-co__list { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
.ab-co__item { min-width: 0; padding: 18px 0 0; margin-top: 18px; border-top: 1px solid var(--hud-faint); }
.ab-co__item--name { grid-column: 1 / -1; margin-top: 0; padding-top: 0; border-top: 0; }
.ab-co__item--reach:last-child { grid-column: span 2; }
.ab-co__list dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hud-dim); }
.ab-co__list dd { margin: 8px 0 0; font-size: 1.05rem; line-height: 1.5; overflow-wrap: anywhere; }
/* the legal name big, in the headline face; the trading name under it */
.ab-co__legal { display: block; font-family: var(--display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 600; line-height: 1.08; letter-spacing: 0.005em; }
.ab-co__trading { display: block; margin-top: 6px; font-size: 1.1rem; color: var(--hud-dim); }
.ab-co__num { font-size: 1.25rem; font-weight: 600; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.ab-co__reach { display: inline-flex; align-items: center; gap: 12px; min-height: 30px; color: var(--hud-text); font-weight: 500; text-decoration: none; }
.ab-co__reach:hover { color: var(--hud-bright); text-decoration: underline; }
@media (max-width: 900px) {
  .ab-co__row { grid-template-columns: minmax(0, 1fr); }
  .ab-co__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-co__item--office { grid-column: 1 / -1; }
  .ab-co__item--reach:last-child { grid-column: auto; }
}
@media (max-width: 560px) {
  .ab-co__list { grid-template-columns: minmax(0, 1fr); }
  .ab-co__item--office, .ab-co__item--reach:last-child { grid-column: auto; }
}
