/*
 * Only the home page loads this. Nothing else may use these classes.
 */
.aii-hero {
  padding-block: var(--aii-space-24) var(--aii-space-12);
  text-align: center;
}

.aii-hero__title {
  font-size: var(--aii-text-hero);
  margin: 0 auto var(--aii-space-6);
  max-width: 16ch;
}

/*
 * One word set in the italic of the display face. A single change of voice in
 * a headline is what separates a typeset page from a typed one; two would be
 * a ransom note.
 */
.aii-hero__title em {
  font-style: italic;
  color: var(--aii-accent-to);
}

.aii-display-poster .aii-hero__title em {
  font-style: normal;
  color: var(--aii-accent-to);
}

.aii-hero__lede {
  margin: 0 auto var(--aii-space-8);
  max-width: 46ch;
  color: var(--aii-ink-soft);
  font-size: 1.125rem;
}

/*
 * The panel, not a bare input. Tool tabs on top, the field in the middle, the
 * button on the right — one object a visitor understands at a glance, instead
 * of three controls that happen to be near each other.
 */
.aii-panel {
  max-width: 760px;
  margin-inline: auto;
  background: var(--aii-paper-raised);
  border: 1px solid var(--aii-line);
  border-radius: var(--aii-radius-panel);
  box-shadow: var(--aii-shadow-2);
  overflow: hidden;
  text-align: left;
}

.aii-panel__tabs {
  display: flex;
  gap: var(--aii-space-1);
  padding: var(--aii-space-2);
  border-bottom: 1px solid var(--aii-line);
  background: var(--aii-band);
  overflow-x: auto;
}

.aii-panel__tab {
  flex: 0 0 auto;
  padding: var(--aii-space-2) var(--aii-space-4);
  border: 0;
  border-radius: var(--aii-radius);
  background: transparent;
  color: var(--aii-ink-soft);
  font: inherit;
  font-size: var(--aii-text-small);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.aii-panel__tab:hover {
  color: var(--aii-ink);
}

.aii-panel__tab[aria-selected="true"] {
  background: var(--aii-paper-raised);
  color: var(--aii-ink);
  box-shadow: var(--aii-shadow-1);
}

/*
 * The body stacks. It used to be the flex row itself, from when the panel held
 * nothing but a field and a button — with the tool's own fields added, that
 * row put "Tool", "Your picture" and the button shoulder to shoulder. The row
 * is now only the last line, and .aii-panel__line owns it.
 */
.aii-panel__body {
  padding: var(--aii-space-6);
}

/*
 * input[type="text"] — an element plus an attribute — outweighs a bare class,
 * and GeneratePress styles every input that way. Our own rules simply never
 * arrived: the field kept the parent's grey fill, square corners and 15px of
 * padding. Naming the element as well as the class settles it.
 */
.aii-panel input.aii-panel__input {
  flex: 1 1 auto;
  /*
   * An input's default min-width comes from its size attribute, not zero.
   * Without this it refuses to shrink and pushes the page sideways — the
   * exact horizontal scroll the measurement hunts for.
   */
  min-width: 0;
  border: 0;
  background: transparent;
  padding: var(--aii-space-3) 0;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--aii-ink);
  resize: none;
}

.aii-panel input.aii-panel__input:focus {
  outline: none;
  box-shadow: none;
}

/*
 * The placeholder types itself. It is the only way to show five different
 * things a visitor could ask for without printing a list of five things.
 */
/*
 * The typing layer sits over the field and has to begin exactly where the
 * visitor's own text will, or the placeholder jumps sideways the moment they
 * start typing.
 *
 * Zero, not a comfortable inset: the field itself is transparent and
 * borderless inside the panel, so the panel's padding is already the margin.
 * It looked cramped against a border earlier only because GeneratePress's own
 * input styling was still winning and drawing one.
 */
.aii-typed {
  position: absolute;
  inset-block: 0;
  display: flex;
  align-items: center;
  padding-inline: 0;
  pointer-events: none;
  color: var(--aii-ink-soft);
}

.aii-typed__cursor {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  vertical-align: text-bottom;
  background: var(--aii-ink-soft);
  margin-left: 1px;
  animation: aii-blink 1s steps(1) infinite;
}

@keyframes aii-blink {
  0%, 50%   { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.aii-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--aii-space-2);
  justify-content: center;
  margin-top: var(--aii-space-6);
}

.aii-chip {
  padding: var(--aii-space-2) var(--aii-space-4);
  border: 1px solid var(--aii-line);
  border-radius: var(--aii-radius);
  background: var(--aii-paper-raised);
  color: var(--aii-ink-soft);
  font-size: var(--aii-text-small);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.aii-chip:hover {
  color: var(--aii-ink);
  border-color: var(--aii-ink-soft);
  transform: translateY(-1px);
}

.aii-hero__note {
  margin-top: var(--aii-space-6);
  font-size: var(--aii-text-small);
  color: var(--aii-ink-soft);
}

/*
 * Two rows of our own work, running in opposite directions. The track holds
 * the same pictures twice and is translated by exactly half its width, which
 * is what makes the loop seamless rather than jumping at the end.
 *
 * The edges fade out. The reference lets its rows collide with the page edge;
 * the fade is cheap and it is the difference between a band and a leak.
 */
.aii-marquee {
  padding-block: var(--aii-space-8);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--aii-mask-keep) 8%, var(--aii-mask-keep) 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, var(--aii-mask-keep) 8%, var(--aii-mask-keep) 92%, transparent);
}

.aii-marquee__row {
  display: flex;
  gap: var(--aii-space-4);
  width: max-content;
  margin-bottom: var(--aii-space-4);
}

.aii-marquee__row--left {
  animation: aii-marquee-left 64s linear infinite;
}

.aii-marquee__row--right {
  animation: aii-marquee-right 78s linear infinite;
  margin-bottom: 0;
}

.aii-marquee:hover .aii-marquee__row {
  animation-play-state: paused;
}

.aii-marquee img,
.aii-marquee video {
  display: block;
  height: 220px;
  width: auto;
  background: var(--aii-band);
  border-radius: var(--aii-radius-box);
  object-fit: cover;
  box-shadow: var(--aii-shadow-1);
}

@keyframes aii-marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@keyframes aii-marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

/*
 * An editorial grid, not a row of equal squares.
 *
 * Four columns and two rows: the clip holds a two-by-two tile and the four
 * pictures fill the rest exactly. Five equal squares left one orphan wrapping
 * onto a line of its own, which is what made the section look unfinished.
 */
.aii-examples {
  display: grid;
  gap: var(--aii-space-4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--aii-space-12);
}

.aii-examples__feature {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.aii-examples > * {
  min-width: 0;
}

.aii-examples figure {
  margin: 0;
}

/*
 * One shape for the whole gallery.
 *
 * The pictures are square, portrait and wide, and left at their own
 * proportions the row bottoms came out ragged and the captions sat at four
 * different heights. A single crop makes it a grid instead of a pile.
 *
 * height:auto is load-bearing. A video carries its height as an attribute,
 * and aspect-ratio only applies when one dimension is auto — without this the
 * clip stood 1608px tall as a grey column with a play button in the middle.
 */
.aii-examples img,
.aii-examples video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--aii-radius-box);
  box-shadow: var(--aii-shadow-1);
  /* Never a grey void while the file is still arriving. */
  background: var(--aii-band);
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.aii-examples figure {
  display: flex;
  flex-direction: column;
  margin: 0;
}

/*
 * The picture grows a little inside a frame that does not, so the crop moves
 * rather than the layout. Cheap, and the difference between a gallery that
 * responds and a gallery that is a list of files.
 */
.aii-examples__frame > img,
.aii-examples__frame > video {
  will-change: transform;
}

.aii-examples figure:hover .aii-examples__frame > img,
.aii-examples figure:hover .aii-examples__frame > video {
  transform: scale(1.03);
}

/*
 * The clip belongs to the frame, not to the figure.
 *
 * On the figure it also cut the caption below, and a clip is invisible until
 * something reaches it: the serif "a" of "afternoon light" leans a shade past
 * its own left edge, so that one caption arrived reading "ıfternoon" while
 * every other caption on the page was fine.
 */
.aii-examples__frame {
  display: block;
  overflow: clip;
  border-radius: var(--aii-radius-box);
}

.aii-examples figcaption {
  margin-top: var(--aii-space-3);
  font-family: var(--aii-font-display);
  font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--aii-ink-soft);
  overflow-wrap: anywhere;
}

/*
 * Sections arrive rather than being there. The starting state is set by the
 * script, never in CSS: if the script fails to run, everything must still be
 * visible instead of a page of invisible text.
 */
.aii-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.3, 1),
              transform 700ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.aii-reveal.is-in {
  opacity: 1;
  transform: none;
}

.aii-cta {
  text-align: center;
  padding-block: var(--aii-space-32);
}

.aii-cta h2 {
  font-size: var(--aii-text-h2);
  margin: 0 0 var(--aii-space-6);
}

/* Two columns, with the clip across the top. */
@media (max-width: 900px) {
  .aii-examples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aii-examples__feature {
    grid-column: 1 / span 2;
    grid-row: auto;
  }
}

@media (max-width: 700px) {
  .aii-hero {
    padding-block: var(--aii-space-12) var(--aii-space-8);
    text-align: left;
  }

  .aii-hero__title {
    max-width: none;
  }

  .aii-hero__lede {
    margin-inline: 0;
  }

  .aii-chips {
    justify-content: flex-start;
  }

  .aii-marquee img,
  .aii-marquee video {
    height: 140px;
  }
}

/*
 * The chain, told by scrolling.
 *
 * The default here is deliberately dull: three blocks stacked in reading
 * order, each with its own picture. That is what a visitor gets with no
 * script, with a script that failed, and with a system asked not to animate.
 *
 * Everything below .aii-story.is-live is the enhancement, and the script adds
 * that class only when it is going to work. The one thing this never does is
 * touch the scroll itself — a page that moves at a speed the reader did not
 * choose is a page they cannot leave.
 */
.aii-story {
  padding-block: var(--aii-space-12) var(--aii-space-16);
}

.aii-story__step + .aii-story__step {
  margin-top: var(--aii-space-16);
}

.aii-story__step h3 {
  font-size: 1.5rem;
  margin: var(--aii-space-2) 0 var(--aii-space-3);
}

.aii-story__step p {
  max-width: 46ch;
}

.aii-story__quote {
  font-family: var(--aii-font-display);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--aii-accent-to);
  margin-block: var(--aii-space-4) 0;
}

.aii-display-poster .aii-story__quote {
  font-style: normal;
}

.aii-story__inline img,
.aii-story__inline video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--aii-radius-box);
  box-shadow: var(--aii-shadow-1);
}

.aii-story__pack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--aii-space-3);
}

.aii-story__pack img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--aii-radius-box);
  box-shadow: var(--aii-shadow-1);
}

/* Without the script the stage is redundant — the steps carry their own. */
.aii-story__stage {
  display: none;
}

/* --- the enhancement ------------------------------------------------- */

/*
 * The two columns start together. The stage used to be pinned near the top
 * while the first step sat in the middle of its own screenful, so the section
 * opened with a wide empty band between the heading and anything to read.
 */
.aii-story.is-live .aii-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--aii-space-12);
  align-items: start;
}

.aii-story.is-live .aii-story__inline {
  display: none;
}

.aii-story.is-live .aii-story__stage {
  display: block;
  position: sticky;
  /* Clear of the sticky header, and centred in what is left. */
  top: 14vh;
  height: 68vh;
}

.aii-story.is-live .aii-story__frame {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 500ms cubic-bezier(0.2, 0.7, 0.3, 1),
              transform 500ms cubic-bezier(0.2, 0.7, 0.3, 1);
  pointer-events: none;
}

.aii-story.is-live .aii-story__frame.is-on {
  opacity: 1;
  transform: none;
}

.aii-story.is-live .aii-story__frame img,
.aii-story.is-live .aii-story__frame video {
  display: block;
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  border-radius: var(--aii-radius-box);
  box-shadow: var(--aii-shadow-2);
}

.aii-story.is-live .aii-story__frame .aii-story__pack {
  max-height: 76vh;
}

.aii-story.is-live .aii-story__frame .aii-story__pack img {
  max-height: 36vh;
  object-fit: cover;
  width: 100%;
}

/*
 * Each step is given a screenful of its own so there is something to scroll
 * through while the stage holds still. This is the whole mechanism: height,
 * not a hijacked wheel.
 */
/*
 * Each step gets enough height to scroll through while the stage holds still,
 * but not a whole screen each: at 88vh the reader met one short paragraph
 * floating in a screenful of nothing, three times over.
 *
 * The rail down the left carries the reading position. Only the step being
 * told is at full strength — with all three equally black, nothing on the
 * text side said which one the picture belonged to, and the section read as
 * three paragraphs that happened to sit near a photograph.
 */
.aii-story.is-live .aii-story__step {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: var(--aii-space-8);
  border-left: 2px solid var(--aii-line);
  opacity: 0.32;
  transition: opacity 450ms ease, border-color 450ms ease;
}

.aii-story.is-live .aii-story__step.is-current {
  opacity: 1;
  border-left-color: var(--aii-accent-to);
}

.aii-story.is-live .aii-story__step + .aii-story__step {
  margin-top: 0;
}

/*
 * Below this width there is no room for two columns, and a pinned stage on a
 * phone is a picture that refuses to go away. The plain stack is the answer,
 * and it is already the default.
 */
@media (max-width: 900px) {
  .aii-story.is-live .aii-story__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .aii-story.is-live .aii-story__stage {
    display: none;
  }

  .aii-story.is-live .aii-story__inline {
    display: block;
  }

  .aii-story.is-live .aii-story__step {
    min-height: 0;
    display: block;
    padding-left: 0;
    border-left: 0;
    opacity: 1;
  }

  .aii-story.is-live .aii-story__step + .aii-story__step {
    margin-top: var(--aii-space-24);
  }
}

/*
 * The home panel is a working tool, not a link dressed as one. The extra
 * fields stack above the line with the input and the button, and only the
 * ones the chosen tool uses are there at all.
 */
/*
 * The small settings sit in one quiet row above the line, label beside
 * control. Stacked as full-width fields they made "Shape" the first thing on
 * the page under the headline, which is not what the panel is for.
 */
.aii-panel__picks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--aii-space-4);
  margin-bottom: var(--aii-space-4);
}

.aii-panel__picks:empty {
  display: none;
}

.aii-panel__pick {
  display: flex;
  align-items: center;
  gap: var(--aii-space-2);
  margin: 0;
}

.aii-panel__pick > label {
  white-space: nowrap;
}

.aii-panel__pick select,
.aii-panel__pick input[type="file"] {
  width: auto;
  padding: var(--aii-space-2) var(--aii-space-3);
  font-size: var(--aii-text-small);
}

.aii-panel__line {
  display: flex;
  align-items: center;
  gap: var(--aii-space-4);
}

/*
 * The field needs to look like one.
 *
 * Transparent and borderless it disappeared into the panel: a wide blank space
 * beside a button, with nothing saying a visitor may type there. The padding
 * lives on this wrapper, so the typing placeholder and anything typed start at
 * the same point without either of them carrying an inset of its own.
 */
.aii-panel__words {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: var(--aii-space-3) var(--aii-space-5, var(--aii-space-4));
  background: var(--aii-band);
  border: 1px solid transparent;
  border-radius: var(--aii-radius);
  transition: border-color 160ms ease, background-color 160ms ease;
}

.aii-panel__words:focus-within {
  background: var(--aii-page);
  border-color: var(--aii-line);
}

.aii-panel__words input {
  width: 100%;
}

.aii-panel__state {
  margin: var(--aii-space-3) 0 0;
  font-size: var(--aii-text-small);
  color: var(--aii-ink-soft);
  min-height: 1.4em;
}

.aii-panel__results {
  max-width: 760px;
  margin: var(--aii-space-6) auto 0;
}

.aii-panel__results:empty {
  display: none;
}

.aii-panel__full {
  margin-top: var(--aii-space-4);
  font-size: var(--aii-text-small);
  color: var(--aii-ink-soft);
}

/*
 * A tab is a button here rather than a link, so it inherits nothing useful.
 */
button.aii-panel__tab {
  font-family: inherit;
}

@media (max-width: 700px) {
  .aii-panel__line {
    flex-direction: column;
    align-items: stretch;
  }
}

/*
 * The controls, spelled out. Four blocks rather than a table: each is a
 * sentence and a caveat, and a table would ask the eye to compare things that
 * are not comparable.
 */
/*
 * The controls, shown rather than described.
 *
 * Four blocks, and three of them carry a drawing: the shapes at their true
 * proportions, the looks as the same tiles the panel uses, the seed as two
 * frames with one word changed. Nothing here is a generated picture — every
 * mark is drawn by the browser, so the section costs nothing to keep.
 */
.aii-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--aii-space-12) var(--aii-space-8);
  margin-top: var(--aii-space-12);
}

.aii-controls__name {
  font-family: var(--aii-font-display);
  font-size: var(--aii-text-h3);
  margin: 0 0 var(--aii-space-4);
}

.aii-controls__note {
  margin: var(--aii-space-4) 0 0;
  color: var(--aii-ink-soft);
  font-size: var(--aii-text-small);
  line-height: 1.5;
}

/* The six looks, as the panel shows them. */
.aii-controls__looks {
  display: grid;
  gap: var(--aii-space-2);
}

.aii-controls__look {
  display: grid;
  padding: var(--aii-space-2) var(--aii-space-3);
  border: 1px solid var(--aii-line);
  border-radius: var(--aii-radius-box);
  background: var(--aii-paper-raised);
}

.aii-controls__look strong {
  font-size: var(--aii-text-small);
}

.aii-controls__look span {
  font-size: var(--aii-text-tiny);
  color: var(--aii-ink-soft);
}

/* The seed: the same picture twice, one word apart. */
.aii-controls__seed {
  display: flex;
  align-items: center;
  gap: var(--aii-space-3);
}

.aii-controls__frame {
  flex: 1;
  padding: var(--aii-space-3);
  border: 1px solid var(--aii-line);
  border-radius: var(--aii-radius-box);
  background: var(--aii-paper-raised);
  font-size: var(--aii-text-tiny);
  line-height: 1.4;
  min-height: 64px;
  display: flex;
  align-items: center;
}

.aii-controls__frame em {
  font-style: normal;
  color: var(--aii-ink-soft);
}

.aii-controls__frame--kept {
  border-color: var(--aii-accent-to);
  box-shadow: inset 3px 0 0 var(--aii-accent-to);
}

.aii-controls__frame b {
  color: var(--aii-accent-to);
}

.aii-controls__arrow {
  color: var(--aii-ink-soft);
}

/* The six shapes, at the proportions they actually produce. */
.aii-controls__shapes {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--aii-space-4);
}

.aii-controls__shape {
  display: grid;
  justify-items: center;
  gap: var(--aii-space-1);
}

.aii-controls__shape > span {
  display: block;
  border: 1px solid var(--aii-ink-soft);
  border-radius: 3px;
  background: var(--aii-band);
}

.aii-controls__shape small {
  font-size: var(--aii-text-tiny);
  color: var(--aii-ink-soft);
}

/* Careful against quick, as two lines rather than a sentence. */
.aii-controls__pair {
  margin: 0;
  display: grid;
  gap: var(--aii-space-3);
}

.aii-controls__pair dt {
  font-size: var(--aii-text-small);
  font-weight: 600;
}

.aii-controls__pair dd {
  margin: 0;
  font-size: var(--aii-text-small);
  color: var(--aii-ink-soft);
}

/*
 * The five tools, with times measured from this site's own finished work.
 *
 * The table scrolls inside its own box rather than pushing the page sideways.
 * A four-column table at 375px is the classic way a page acquires a
 * horizontal scrollbar, and that is exactly what the width measurement
 * exists to catch.
 */
.aii-tools {
  margin-block: var(--aii-space-32);
}

.aii-tools__head {
  margin-bottom: var(--aii-space-8);
}

.aii-tools__title {
  font-size: var(--aii-text-h2);
  margin: 0 0 var(--aii-space-4);
}

.aii-tools__scroll {
  overflow-x: auto;
  border: 1px solid var(--aii-line);
  border-radius: var(--aii-radius-panel);
  background: var(--aii-paper-raised);
  box-shadow: var(--aii-shadow-2);
}

.aii-tools__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

/*
 * No vertical rules. GeneratePress draws them by element name, and with a line
 * between every column the table read as a ledger — the eye stops five times
 * crossing one row. Horizontal rules alone are what make a table feel edited
 * rather than filled in.
 */
.aii-tools__table th,
.aii-tools__table td {
  padding: var(--aii-space-6);
  text-align: left;
  vertical-align: middle;
  border-left: 0;
  border-right: 0;
}

/*
 * The header carries no fill.
 *
 * A cream band across the top sat inside a rounded panel and made the corners
 * read as a mistake — the fill met the curve and the curve won. One rule under
 * the labels does the same work and lets the panel keep its shape.
 */
.aii-tools__table thead th {
  padding-block: var(--aii-space-4);
  font-size: var(--aii-text-tiny);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--aii-ink-soft);
  border-bottom: 1px solid var(--aii-ink);
}

.aii-tools__table tbody td,
.aii-tools__table tbody th {
  border-bottom: 1px solid var(--aii-line);
}

.aii-tools__table tbody tr:last-child th,
.aii-tools__table tbody tr:last-child td {
  border-bottom: 0;
}

/*
 * The row answers the cursor. On a table nobody can click this is not
 * navigation — it is the reading aid that keeps an eye on one line while it
 * travels four columns to the right.
 */
.aii-tools__table tbody tr {
  transition: background-color 160ms ease;
}

.aii-tools__table tbody tr:hover {
  background: var(--aii-band);
}

/* The name, in the display face, with the accent arriving under the cursor. */
.aii-tools__table tbody th {
  font-family: var(--aii-font-display);
  font-size: var(--aii-text-h3);
  font-weight: 400;
  color: var(--aii-ink);
  white-space: nowrap;
  box-shadow: inset 3px 0 0 transparent;
  transition: box-shadow 160ms ease;
}

.aii-tools__table tbody tr:hover th {
  box-shadow: inset 3px 0 0 var(--aii-accent-to);
}

/*
 * The two number columns share one shape: a figure, and its unit under it in
 * small grey. Before this the credits cell held a bare "4" beside "57 s / over
 * 2 runs" and read as an unfinished row.
 */
.aii-tools__credits,
.aii-tools__time {
  white-space: nowrap;
}

.aii-tools__credits strong,
.aii-tools__time strong {
  display: block;
  font-family: var(--aii-font-display);
  font-size: var(--aii-text-h3);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: var(--aii-ink);
}

.aii-tools__credits span,
.aii-tools__time span {
  display: block;
  margin-top: 2px;
  font-size: var(--aii-text-tiny);
  color: var(--aii-ink-soft);
}

.aii-tools__foot {
  margin-top: var(--aii-space-4);
  font-size: var(--aii-text-small);
  color: var(--aii-ink-soft);
}
