:root {
  --m-in: 150ms;
  --m-out: 120ms;
  --m-press: 90ms;
  --m-panel: 200ms;
  --m-close: 120ms;
  --m-slide: 240ms;
  --m-image: 600ms;
  --m-image-out: 400ms;
  --m-ease: var(--ease, cubic-bezier(.2, .8, .2, 1));
  --m-ease-io: cubic-bezier(.65, 0, .35, 1);
  --m-ease-enter: cubic-bezier(.22, 1, .36, 1);
  --m-cycle: 3.2s;
  --m-lift: -2px;
}
html:not([data-motion="off"]) .btn {
  position: relative;
  transition: background-color var(--m-out) var(--m-ease), color var(--m-out) var(--m-ease),
              border-color var(--m-out) var(--m-ease), box-shadow var(--m-out) var(--m-ease),
              transform var(--m-press) var(--m-ease);
}
html:not([data-motion="off"]) .btn--primary:hover { background: color-mix(in oklab, var(--action) 84%, var(--bg)); }
html:not([data-motion="off"]) .btn--secondary:hover {
  background: color-mix(in oklab, var(--bg) 92%, var(--ink));
  border-color: color-mix(in oklab, var(--ink) 32%, transparent);
}
html:not([data-motion="off"]) .btn:hover { transition-duration: var(--m-in), var(--m-in), var(--m-in), var(--m-in), var(--m-press); }
html:not([data-motion="off"]) .btn:active { transform: translateY(1px) scale(.985); }
@media (hover: hover) and (pointer: fine) {
  html:not([data-motion="off"]) .btn:hover { transform: translateY(-1px); }
  html:not([data-motion="off"]) .btn--xl:hover { transform: translateY(-2px); }
  html:not([data-motion="off"]):is([data-buttons="arrow"], [data-buttons="block"]) .btn--secondary:hover { transform: none; }
  html:not([data-motion="off"]) .btn:active { transform: translateY(1px) scale(.985); }
  html:not([data-motion="off"]):is([data-buttons="arrow"], [data-buttons="block"]) .btn--secondary:active { transform: scale(.985); }
}
html:not([data-motion="off"]) :is(.btn--arrow, .link)::after { transition: transform var(--m-out) var(--m-ease); }
html:not([data-motion="off"]) :is(.btn--arrow, .link):focus-visible::after { transform: translateX(3px); transition-duration: var(--m-in); }
.m-arrow { width: 12px; height: 12px; flex: none; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6;
           stroke-linecap: round; stroke-linejoin: round; }
.m-arrow__stem { opacity: 0; transform: scaleX(.2); transform-origin: 1px 50%; transform-box: fill-box;
                 transition: opacity var(--m-out) var(--m-ease), transform var(--m-out) var(--m-ease); }
.m-arrow__head { transition: transform var(--m-out) var(--m-ease); }
:is(a, button):focus-visible > .m-arrow .m-arrow__stem { opacity: 1; transform: none; transition-duration: var(--m-in); }
:is(a, button):focus-visible > .m-arrow .m-arrow__head { transform: translateX(3px); transition-duration: var(--m-in); }
@media (hover: hover) and (pointer: fine) {
  html:not([data-motion="off"]) :is(.btn--arrow, .link):hover::after { transform: translateX(3px); transition-duration: var(--m-in); }
  :is(a, button):hover > .m-arrow .m-arrow__stem { opacity: 1; transform: none; transition-duration: var(--m-in); }
  :is(a, button):hover > .m-arrow .m-arrow__head { transform: translateX(3px); transition-duration: var(--m-in); }
}
html:not([data-motion="off"]) a.pill { transition: background-color var(--m-out) var(--m-ease), border-color var(--m-out) var(--m-ease); }
html:not([data-motion="off"]) a.pill:hover { background: color-mix(in oklab, var(--card) 90%, var(--ink)); border-color: var(--line-strong); transition-duration: var(--m-in); }
html:not([data-motion="off"]) :is(.link, .m-link, p a:not([class]), .footer ul a, .footer .link) {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(var(--m-rest, var(--line-strong)), var(--m-rest, var(--line-strong)));
  background-repeat: no-repeat; background-size: 0% 1px, 100% 1px;
  background-position: right 0 bottom 0, 0 100%;
  transition: background-size var(--m-out) var(--m-ease), color var(--m-out) var(--m-ease);
  padding-bottom: 2px;
}
html:not([data-motion="off"]) p a:not([class]) { --m-rest: color-mix(in oklab, currentColor 45%, transparent); }
html:not([data-motion="off"]) :is(.footer ul a, .m-link--bare):not(:hover, :focus-visible) { background-size: 0% 1px, 0% 1px; }
html:not([data-motion="off"]) :is(.link, .m-link, p a:not([class]), .footer ul a, .footer .link):is(:hover, :focus-visible) {
  background-size: 100% 1px, 100% 1px; background-position: left 0 bottom 0, 0 100%; transition-duration: var(--m-in);
}
html:not([data-motion="off"]) .link { background-size: 0% 1px, calc(100% - 1em - var(--s-2)) 1px; }
html:not([data-motion="off"]) .link:is(:hover, :focus-visible) { background-size: calc(100% - 1em - var(--s-2)) 1px, calc(100% - 1em - var(--s-2)) 1px; }
html:not([data-motion="off"]) .link, html:not([data-motion="off"]) .link:is(:hover, :focus-visible) { background-position: 0 100%, 0 100%; }
html:not([data-motion="off"]) .footer ul a:hover { color: var(--ink); }
@media (min-width: 1024px) {
  html:not([data-motion="off"]) .nav__menu {
    transform: translateY(-6px);
    transition: opacity var(--m-close) var(--m-ease), transform var(--m-close) var(--m-ease), visibility 0s linear var(--m-close);
  }
  html:not([data-motion="off"]) .nav__item:is(:hover, :focus-within) > .nav__menu {
    transition: opacity var(--m-panel) var(--m-ease) 150ms, transform var(--m-panel) var(--m-ease) 150ms, visibility 0s linear 150ms;
  }
  html:not([data-motion="off"]) .nav.m-menu-open .nav__menu,
  html:not([data-motion="off"]) .nav.m-menu-open .nav__item:is(:hover, :focus-within) > .nav__menu { transition-duration: 0s; transition-delay: 0s; }
  html:not([data-motion="off"]) .menu-col a { transition: color var(--m-out) var(--m-ease); }
  html:not([data-motion="off"]) .menu-col a:hover { transition-duration: var(--m-in); }
  html:not([data-motion="off"]) .menu-card .panel { transition: border-color var(--m-out) var(--m-ease); }
}
/* The phone sheet. system.js sets is-open (laid out, at its hidden start) then is-shown (run in);
   closing drops is-shown and keeps is-open for the 400ms the exit takes. The sheet unrolls down
   from the masthead's rule, the words drift in after it one by one, the bar at the bottom rises
   from the edge, and the toggle's two bars turn into the cross. Every curve eases in as well as
   out, so nothing starts with a jolt; the exit runs the same path back, a little quicker. */
@media (max-width: 1023px) {
  .nav {
    --m-nav-in: cubic-bezier(.22, 1, .36, 1);     /* soft start, long settle */
    --m-nav-io: cubic-bezier(.65, 0, .35, 1);     /* symmetric, for the exit and the icon */
    --m-nav-sheet: 680ms; --m-nav-exit: 400ms;
  }
  html:not([data-motion="off"]) .nav.is-open .nav__links {
    clip-path: inset(0 0 100% 0);
    transition: clip-path var(--m-nav-exit) var(--m-nav-io) 60ms;
  }
  html:not([data-motion="off"]) .nav.is-shown .nav__links {
    clip-path: inset(0); transition: clip-path var(--m-nav-sheet) var(--m-nav-io);
  }
  html:not([data-motion="off"]) .nav.is-open .nav__item {
    opacity: 0; transform: translateY(-14px);
    transition: opacity 240ms ease-in, transform 320ms var(--m-nav-io);
  }
  html:not([data-motion="off"]) .nav.is-shown .nav__item {
    opacity: 1; transform: none;
    transition: opacity 520ms ease-out calc(200ms + var(--m-i, 0) * 70ms),
                transform 760ms var(--m-nav-in) calc(160ms + var(--m-i, 0) * 70ms);
  }
  .nav__item:nth-child(2) { --m-i: 1; } .nav__item:nth-child(3) { --m-i: 2; }
  .nav__item:nth-child(4) { --m-i: 3; } .nav__item:nth-child(n+5) { --m-i: 4; }
  html:not([data-motion="off"]) .nav.is-open .nav__actions {
    opacity: 0; transform: translateY(100%);
    transition: transform 340ms var(--m-nav-io), opacity 240ms ease-in;
  }
  html:not([data-motion="off"]) .nav.is-shown .nav__actions {
    opacity: 1; transform: none;
    transition: transform 720ms var(--m-nav-in) 280ms, opacity 480ms ease-out 280ms;
  }

  /* Hover, focus and press on a word in the sheet: the word steps right and takes the accent,
     and its rule fills in with the accent from the left, the way the desktop words underline.
     Leaving runs back slower than arriving, so a finger or pointer passing over reads as a wave. */
  .nav.is-open .nav__item { position: relative; }
  .nav.is-open .nav__item::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--p-link, var(--accent));
    transform: scaleX(0); transform-origin: right; pointer-events: none;
  }
  html:not([data-motion="off"]) .nav.is-open .nav__item::after { transition: transform 520ms var(--m-nav-io); }
  html:not([data-motion="off"]) .nav.is-open .nav__link {
    transition: color 360ms ease, transform 520ms var(--m-nav-io);
  }
  .nav.is-open .nav__item:is(:focus-within, :active)::after { transform: scaleX(1); transform-origin: left; }
  .nav.is-open .nav__item:is(:focus-within, :active) > .nav__link { color: var(--p-link, var(--accent)); transform: translateX(8px); }
  @media (hover: hover) and (pointer: fine) {
    .nav.is-open .nav__item:hover::after { transform: scaleX(1); transform-origin: left; }
    .nav.is-open .nav__item:hover > .nav__link { color: var(--p-link, var(--accent)); transform: translateX(8px); }
  }
  html:not([data-motion="off"]) .nav.is-open .nav__item:is(:hover, :focus-within, :active)::after { transition-duration: 420ms; }
  html:not([data-motion="off"]) .nav.is-open .nav__item:is(:hover, :focus-within, :active) > .nav__link {
    transition: color 200ms ease, transform 420ms var(--m-nav-in);
  }

  html:not([data-motion="off"]) .nav__toggle { transition: transform var(--m-press) var(--m-ease); }
  html:not([data-motion="off"]) .nav__toggle:active { transform: scale(.94); }
  html:not([data-motion="off"]) .nav__toggle-line { transform-box: view-box; transform-origin: 9px 9px; transition: transform 520ms var(--m-nav-io); }
  .nav.is-shown .nav__toggle-line--top { transform-box: view-box; transform-origin: 9px 9px; transform: rotate(45deg) translateY(4px); }
  .nav.is-shown .nav__toggle-line--bottom { transform-box: view-box; transform-origin: 9px 9px; transform: rotate(-45deg) translateY(-4px); }
}
/* Reduced motion keeps the change legible as a short cross-fade with nothing moving. Durations
   carry !important because the kit's global reduce rule zeroes every transition. */
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  html:not([data-motion="off"]) .nav.is-open :is(.nav__links, .nav__actions) {
    clip-path: none; transform: none; opacity: 0; transition: opacity 140ms linear !important;
  }
  html:not([data-motion="off"]) .nav.is-shown :is(.nav__links, .nav__actions) { opacity: 1; transition: opacity 160ms linear !important; }
  html:not([data-motion="off"]) .nav.is-open .nav__item { opacity: 1; transform: none; }
  html:not([data-motion="off"]) .nav__toggle-line { transition: transform 140ms linear !important; }
  html:not([data-motion="off"]) .nav.is-open .nav__link { transform: none !important; }
}
html:not([data-motion="off"]) .tabs.m-has-ind { position: relative; isolation: isolate; }
html:not([data-motion="off"]) .tabs.m-has-ind .tab { position: relative; z-index: 1; }
html:not([data-motion="off"]) .tabs.m-has-ind .tab[aria-selected="true"] { background: transparent; border-color: transparent; }
.m-tab-ind {
  position: absolute; left: 0; top: 0; z-index: 0; width: var(--w, 0px); height: var(--h, 0px);
  border-radius: var(--r-btn); background: var(--ink); pointer-events: none;
  transform: translate(var(--x, 0px), var(--y, 0px)) scale(var(--sx, 1), var(--sy, 1)); transform-origin: 0 0;
  transition: transform var(--m-slide) var(--m-ease-io);
}
.m-tab-ind.is-jump { transition: none; }
html:not([data-motion="off"]) .tab { transition: color var(--m-slide) var(--m-ease), border-color var(--m-out) var(--m-ease), background-color var(--m-out) var(--m-ease); }
html:not([data-motion="off"]) .card:not(.card--open, .card--plan) {
  transition: transform var(--m-out) var(--m-ease), border-color var(--m-out) var(--m-ease), box-shadow var(--m-out) var(--m-ease);
}
html:not([data-motion="off"]) .card--open > .panel { transition: transform var(--m-out) var(--m-ease), box-shadow var(--m-out) var(--m-ease); }
@media (hover: hover) and (pointer: fine) {
  html:not([data-motion="off"]) .card:not(.card--open, .card--plan, .m-nolift):hover {
    transform: translateY(var(--m-lift));
    border-color: color-mix(in oklab, var(--ink) 16%, transparent);
    box-shadow: inset 0 1px 0 var(--c-hi, transparent), 0 1px 2px rgb(0 0 0 / .06),
                0 14px 32px -18px oklch(from var(--card, #fff) 0 0 0 / calc(0.75 - l * 0.55));
    transition-duration: 180ms;
  }
  html:not([data-motion="off"]) .card--open:not(.m-nolift):hover > .panel {
    transform: translateY(var(--m-lift)); box-shadow: 0 14px 32px -18px oklch(from var(--bg, #fff) 0 0 0 / calc(0.75 - l * 0.55)); transition-duration: 180ms;
  }
}
.m-zoom { overflow: clip; }
html:not([data-motion="off"]) :is(.frame__img, .tile__media > img, .m-zoom img, .m-zoom > video) {
  transition: transform var(--m-image-out) var(--m-ease);
}
@media (hover: hover) and (pointer: fine) {
  html:not([data-motion="off"]) :is(a, .card:has(a), .m-zoom):hover :is(.frame__img, .tile__media > img),
  html:not([data-motion="off"]) .m-zoom:hover :is(img, video) { transform: scale(1.03); transition-duration: var(--m-image); }
}
html:not([data-motion="off"]) .field :is(input, select, textarea), .m-input {
  transition: border-color var(--m-out) var(--m-ease), box-shadow var(--m-out) var(--m-ease), background-color var(--m-out) var(--m-ease);
}
html:not([data-motion="off"]) .field :is(input, select, textarea):hover, .m-input:hover { border-color: color-mix(in oklab, var(--ink) 48%, transparent); }
html:not([data-motion="off"]) .field :is(input, select, textarea):focus, .m-input:focus {
  outline: none; border-color: var(--action);
  box-shadow: 0 0 0 1px var(--action), 0 0 0 4px color-mix(in oklab, var(--action) 20%, transparent); transition-duration: 0s;
}
.m-switch {
  position: relative; flex: none; width: 40px; height: 24px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: color-mix(in oklab, var(--ink) 48%, var(--bg));
  transition: background-color 180ms var(--m-ease);
}
.m-switch::before {
  content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 999px;
  background: var(--bg); box-shadow: 0 1px 3px rgb(0 0 0 / .25);
  transform-origin: 0 50%; transition: transform 180ms var(--m-ease);
}
.m-switch[aria-checked="true"] { background: var(--action); }
.m-switch[aria-checked="true"]::before { transform: translateX(16px); background: var(--action-ink); }
.m-switch:active::before { transform: scaleX(1.22); transition-duration: var(--m-press); }
.m-switch[aria-checked="true"]:active::before { transform: translateX(12px) scaleX(1.22); }
.m-switch:hover:not([aria-checked="true"]) { background: color-mix(in oklab, var(--ink) 58%, var(--bg)); }
.m-check {
  appearance: none; -webkit-appearance: none; flex: none; margin: 0; width: 20px; height: 20px; border-radius: 6px; cursor: pointer;
  border: 1px solid color-mix(in oklab, var(--ink) 48%, var(--bg)); background: var(--bg) no-repeat center / 14px 14px;
  display: inline-grid; place-items: center;
  transition: background-color var(--m-in) var(--m-ease), border-color var(--m-in) var(--m-ease);
}
.m-check::before {
  content: ""; width: 10px; height: 6px; margin-top: -2px; border: solid var(--action-ink); border-width: 0 0 2px 2px;
  opacity: 0; transform: rotate(-45deg) scale(.7); transform-origin: 50% 50%;
  transition: transform 160ms var(--m-ease), opacity 100ms var(--m-ease);
}
.m-check:hover:not(:checked) { border-color: color-mix(in oklab, var(--ink) 64%, var(--bg)); }
.m-check:checked { background-color: var(--action); border-color: var(--action); }
.m-check:checked::before { opacity: 1; transform: rotate(-45deg) scale(1); }
[data-m-count] { font-variant-numeric: tabular-nums; }
[data-m-loop] { --m-cycle: 3.2s; --m-still: 0.6; --m-safe: 48px; }
[data-m-loop]:not(:has(> .stage)) { padding-bottom: var(--m-safe); }
[data-m-loop] > .stage:is(.stage--fade-b, .stage--fade-br) { bottom: var(--m-safe); }
@media (max-width: 639px) {
  [data-m-loop] * { animation-duration: var(--m-cycle) !important; animation-delay: calc(-1 * var(--m-still) * var(--m-cycle)) !important;
                    animation-play-state: paused !important; }
}
[data-m-loop].is-m-off *, [data-m-loop].is-m-paused * { animation-play-state: paused !important; }
@media screen and (prefers-reduced-motion: no-preference) {
  html.m-enter:not(.m-enter-done, [data-motion="off"]) .hero[data-enter]:not([data-enter="off"], .is-entering, .is-entered)
    :is(h1, h1 ~ *, :has(> h1) ~ *, :has(~ h1)):not([data-enter-media], .hero__bg, .hero__media, .hero__stage, .hero__art, .hero__window, .hero-visual, .ly-collage,
         :has([data-enter-media], .hero__bg, .hero__media, .hero__stage, .hero__art, .hero__window, .hero-visual, .ly-collage)) { opacity: 0; }
  html.m-enter.m-enter-done:not([data-motion="off"]) .hero[data-enter]:not([data-enter="off"], .is-entering, .is-entered)
    :is(h1, h1 ~ *, :has(> h1) ~ *, :has(~ h1)) { transition: opacity 400ms var(--m-ease); }
  html.m-enter:not([data-motion="off"]) .hero[data-enter]:not([data-enter="off"], .is-still)
    :is(:is([data-enter-media], .hero__bg, .hero__media, .hero__stage, .hero__art, .hero__window, .hero-visual, .ly-collage):is(img, picture, video),
        :is([data-enter-media], .hero__bg, .hero__media, .hero__stage, .hero__art, .hero__window, .hero-visual, .ly-collage) > :is(img, picture, video, .frame__img)) {
    transition: scale 1100ms var(--m-ease-enter), clip-path 1100ms var(--m-ease-enter);
  }
  .hero[data-enter] :is([data-enter-media], .hero__bg, .hero__media, .hero__stage, .hero__art, .hero__window, .hero-visual, .ly-collage):is(img, picture, video) { clip-path: inset(0); }
  html.m-enter:not([data-motion="off"]) .hero[data-enter]:not([data-enter="off"], .is-still)
    :is([data-enter-media], .hero__bg, .hero__media, .hero__stage, .hero__art, .hero__window, .hero-visual, .ly-collage):not(img, picture, video, :has(> :is(img, picture, video, .frame__img))) {
    transition: scale 900ms var(--m-ease-enter);
  }
  html.m-enter:not(.m-enter-done, [data-motion="off"]) .hero[data-enter]:not([data-enter="off"], .is-entering, .is-entered)
    :is(:is([data-enter-media], .hero__bg, .hero__media, .hero__stage, .hero__art, .hero__window, .hero-visual, .ly-collage):is(img, picture, video),
        :is([data-enter-media], .hero__bg, .hero__media, .hero__stage, .hero__art, .hero__window, .hero-visual, .ly-collage) > :is(img, picture, video, .frame__img)) { scale: 1.05; }
  html.m-enter:not(.m-enter-done, [data-motion="off"]) .hero[data-enter]:not([data-enter="off"], .is-entering, .is-entered)
    :is([data-enter-media], .hero__bg, .hero__media, .hero__stage, .hero__art, .hero__window, .hero-visual, .ly-collage):is(img, picture, video) { clip-path: inset(2.381%); }
  html.m-enter:not(.m-enter-done, [data-motion="off"]) .hero[data-enter]:not([data-enter="off"], .is-entering, .is-entered)
    :is([data-enter-media], .hero__bg, .hero__media, .hero__stage, .hero__art, .hero__window, .hero-visual, .ly-collage):not(img, picture, video, :has(> :is(img, picture, video, .frame__img))) { scale: .98; }
  html.m-enter:not([data-motion="off"]) .hero[data-enter]:not([data-enter="off"], .is-entered) { overflow: clip; }
}
.hero[data-enter] .m-w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero[data-enter] .m-w__in { display: inline-block; }
/* ------------------------------------------------------------- hover, one idea
   Every hover on the site is ink arriving: a word takes the link colour while a line draws in
   under it from the left, a filled button takes a darker wash from the left, a photograph leans
   in slowly. Arriving runs about 400ms on a soft settle; leaving runs back a little quicker,
   from the other side, so a pointer passing over leaves a wave rather than a flicker. */
:root { --m-hover-in: 420ms; --m-hover-out: 300ms; --m-settle: cubic-bezier(.22, 1, .36, 1); }

/* Primary buttons: the wash. Painted under the label, over the button's own fill. */
html:not([data-motion="off"]) .btn--primary { isolation: isolate; overflow: hidden; }
html:not([data-motion="off"]) .btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: color-mix(in oklab, var(--action) 78%, var(--ink));
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--m-hover-out) var(--m-settle);
}
html:not([data-motion="off"]) .ground-brand .btn--primary::before { background: color-mix(in oklab, var(--action) 84%, var(--bg)); }
html:not([data-motion="off"]) .btn--primary:is(:hover, :focus-visible) { background: var(--action); }
html:not([data-motion="off"]) .btn--primary:is(:hover, :focus-visible)::before {
  transform: scaleX(1); transform-origin: left; transition-duration: var(--m-hover-in);
}

/* Text buttons ("Read issue No. 3"): the underline tightens to the word, thickens and darkens. */
html:not([data-motion="off"]):is([data-buttons="arrow"], [data-buttons="block"]) .btn--secondary {
  text-decoration-thickness: 1px;
  transition: color var(--m-hover-out) ease, text-decoration-color var(--m-hover-out) ease,
              text-underline-offset var(--m-hover-out) var(--m-settle), text-decoration-thickness var(--m-hover-out) var(--m-settle),
              transform var(--m-press) var(--m-ease);
}
html:not([data-motion="off"]):is([data-buttons="arrow"], [data-buttons="block"]) .btn--secondary:is(:hover, :focus-visible) {
  text-decoration-color: currentColor; text-underline-offset: 2px; text-decoration-thickness: 2px;
  transition-duration: var(--m-hover-in), var(--m-hover-in), var(--m-hover-in), var(--m-hover-in), var(--m-press);
}

/* The register's entries (the previous animals): the photograph leans in, the name takes the
   link colour and steps right, "Read issue" draws its line, and the arrow steps as before. */
html:not([data-motion="off"]) .reg__entry :is(.reg__animal, .reg__state) {
  transition: color var(--m-hover-out) ease, transform var(--m-hover-out) var(--m-settle), background-size var(--m-hover-out) var(--m-settle);
}
html:not([data-motion="off"]) .reg__entry .reg__state {
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) no-repeat right 0 bottom 0 / 0% 1px;
}
html:not([data-motion="off"]) a.reg__entry:is(:hover, :focus-visible) .reg__animal { color: var(--p-link, var(--action)); transform: translateX(6px); }
html:not([data-motion="off"]) a.reg__entry:is(:hover, :focus-visible) .reg__state { color: var(--p-link, var(--action)); background-size: 100% 1px; background-position: left 0 bottom 0; }
html:not([data-motion="off"]) a.reg__entry:is(:hover, :focus-visible) :is(.reg__animal, .reg__state) { transition-duration: var(--m-hover-in); }
@media (hover: hover) and (pointer: fine) {
  html:not([data-motion="off"]) a.reg__entry:hover .reg__plate .frame__img { transform: scale(1.06); transition: transform 900ms var(--m-settle); }
}

/* The desktop bar and the footer's columns: the word takes the link colour and its line draws. */
@media (min-width: 1024px) {
  html:not([data-motion="off"]) .nav__link {
    transition: color var(--m-hover-out) ease, background-color var(--m-hover-out) ease;
  }
  html:not([data-motion="off"]) .nav__link::before { transition: transform var(--m-hover-out) var(--m-settle); }
  html:not([data-motion="off"]) :is(.nav__link:is(:hover, :focus-visible), .nav__item:is(:hover, :focus-within) > .nav__link) {
    color: var(--p-link, var(--action)); transition-duration: var(--m-hover-in);
  }
  html:not([data-motion="off"]) :is(.nav__link:is(:hover, :focus-visible), .nav__item:is(:hover, :focus-within) > .nav__link)::before {
    transition-duration: var(--m-hover-in);
  }
}
html:not([data-motion="off"]) .footer .footer__col a {
  transition: background-size var(--m-hover-out) var(--m-settle), color var(--m-hover-out) ease;
}
html:not([data-motion="off"]) .footer .footer__col a:is(:hover, :focus-visible) {
  color: var(--p-link, var(--action)); transition-duration: var(--m-hover-in);
}

/* The menu button. Closed, its two bars draw towards each other, a hint of the cross they turn
   into; open, the cross turns a quarter. The frame firms up either way. */
html:not([data-motion="off"]) .nav__toggle {
  transition: border-color var(--m-hover-out) ease, background-color var(--m-hover-out) ease, transform var(--m-press) var(--m-ease);
}
html:not([data-motion="off"]) .nav__toggle > svg { transition: transform 520ms var(--m-settle); }
@media (hover: hover) and (pointer: fine) {
  html:not([data-motion="off"]) .nav__toggle:hover {
    border-color: var(--ink); background-color: color-mix(in oklab, var(--bg) 94%, var(--ink)); transition-duration: var(--m-hover-in);
  }
  html:not([data-motion="off"]) .nav:not(.is-shown) .nav__toggle:hover .nav__toggle-line--top { transform: translateY(1.5px) scaleX(.82); }
  html:not([data-motion="off"]) .nav:not(.is-shown) .nav__toggle:hover .nav__toggle-line--bottom { transform: translateY(-1.5px) scaleX(.82); }
  html:not([data-motion="off"]) .nav.is-shown .nav__toggle:hover > svg { transform: rotate(90deg); }
}
html:not([data-motion="off"]) .nav__toggle:focus-visible { border-color: var(--ink); }
/* The register's spotlight. While the pointer (or the keyboard) is on one entry, the rest of the
   register goes to the back of a dark stage: every other photograph falls to a dim grey and the
   other entries' words step back. The chosen photograph takes its colour back as a circle of
   light opening from where the pointer came in, and keeps a pool of that light on it: a warm
   glow where it falls, the corners left in shade. The pool follows the pointer along the row,
   gliding rather than snapping (motion.js sets --spot-x/--spot-y; they are registered so they
   can be eased). At rest nothing is grey and nothing is lit.

   Layers on a plate: the photograph, ::after the grey (a backdrop filter whose mask has the hole
   the light makes), ::before the pool of light over both. */
@property --m-spot { syntax: "<percentage>"; inherits: false; initial-value: -30%; }
@property --spot-x { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --spot-y { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@media (hover: hover) and (pointer: fine) {
  html:not([data-motion="off"]) .reg__plate {
    position: relative;
    transition: --spot-x 650ms cubic-bezier(.22, 1, .36, 1), --spot-y 650ms cubic-bezier(.22, 1, .36, 1);
  }
  html:not([data-motion="off"]) .reg__plate::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    -webkit-backdrop-filter: grayscale(1) brightness(.78) contrast(.94);
    backdrop-filter: grayscale(1) brightness(.78) contrast(.94);
    --m-spot: -30%;   /* the light closed: the 30% soft edge starts below zero, so no colour is left at the centre */
    -webkit-mask: radial-gradient(circle at var(--spot-x) var(--spot-y), transparent var(--m-spot), #000 calc(var(--m-spot) + 30%));
    mask: radial-gradient(circle at var(--spot-x) var(--spot-y), transparent var(--m-spot), #000 calc(var(--m-spot) + 30%));
    opacity: 0;
    transition: opacity 560ms ease, --m-spot 420ms cubic-bezier(.65, 0, .35, 1);
  }
  html:not([data-motion="off"]) .reg__plate::before {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background:
      radial-gradient(circle at var(--spot-x) var(--spot-y), rgb(255 241 222 / .26), rgb(255 241 222 / .08) 30%, transparent 55%),
      radial-gradient(circle at var(--spot-x) var(--spot-y), transparent 45%, rgb(12 8 6 / .34) 105%);
    opacity: 0;
    transition: opacity 380ms ease;
  }
  html:not([data-motion="off"]) main:has(a.reg__entry:is(:hover, :focus-visible)) .reg__plate::after { opacity: 1; }
  html:not([data-motion="off"]) a.reg__entry:is(:hover, :focus-visible) .reg__plate::after {
    --m-spot: 160%;
    transition: opacity 560ms ease, --m-spot 1200ms cubic-bezier(.22, 1, .36, 1) 80ms;
  }
  html:not([data-motion="off"]) a.reg__entry:is(:hover, :focus-visible) .reg__plate::before {
    opacity: 1; transition: opacity 900ms ease 160ms;
  }
  /* The rest of the stage: the other entries' words step back, never so far that they stop
     reading, and come forward again with the light. */
  html:not([data-motion="off"]) .reg__entry :is(.reg__text, .reg__side) { transition: opacity 560ms ease; }
  html:not([data-motion="off"]) main:has(a.reg__entry:is(:hover, :focus-visible)) .reg__entry:not(:hover, :focus-visible) :is(.reg__text, .reg__side) {
    opacity: .62;
  }
}


@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="off"]) .card:hover, html:not([data-motion="off"]) .card--open:hover > .panel,
  html:not([data-motion="off"]) :is(a, .card:has(a), .m-zoom):hover :is(.frame__img, .tile__media > img, img, video),
  html:not([data-motion="off"]) .btn:is(:hover, :active), html:not([data-motion="off"]) :is(.btn--arrow, .link):hover::after,
  :is(a, button):hover > .m-arrow :is(.m-arrow__head, .m-arrow__stem) { transform: none !important; }
  html:not([data-motion="off"]) a.reg__entry .reg__animal, html:not([data-motion="off"]) .nav__toggle :is(svg, .nav__toggle-line) { transform: none !important; }
  html:not([data-motion="off"]) .nav.is-shown .nav__toggle-line--top { transform: rotate(45deg) translateY(4px) !important; }
  html:not([data-motion="off"]) .nav.is-shown .nav__toggle-line--bottom { transform: rotate(-45deg) translateY(-4px) !important; }
  .m-arrow__stem { opacity: 1; transform: none; }
  html:not([data-motion="off"]) .nav__menu { transform: none !important; }
  .m-tab-ind { transition: none; }
  .m-switch::before { transition-property: background-color; }
  .m-switch:active::before { transform: none; }
  .m-switch[aria-checked="true"]::before, .m-switch[aria-checked="true"]:active::before { transform: translateX(16px); }
  .m-check::before { transform: rotate(-45deg) scale(1); transition-property: opacity; }
  html:not([data-motion="off"]) :is(.link, .m-link, p a:not([class]), .footer ul a, .footer .link) { transition-property: color, opacity, background-color, border-color; }
  html:not([data-motion="off"]) .btn--primary:active { background: color-mix(in oklab, var(--action) 74%, var(--bg)); }
  html:not([data-motion="off"]) .btn--secondary:active { background: color-mix(in oklab, var(--bg) 86%, var(--ink)); }
  [data-m-loop] * { animation-duration: var(--m-cycle) !important; animation-iteration-count: infinite !important;
                    animation-delay: calc(-1 * var(--m-still) * var(--m-cycle)) !important; animation-play-state: paused !important; }
}
