/* written by components/tau/t2-assets.mjs from components/reference/tau/components/site/lib/tau.css. Edit the generator, not this file. */
:root{box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-padding-top:env(safe-area-inset-top,0px)}
/* Mechanics tokens.
   Two families (RAMTT, Neutral) and two modes (light, dark). Everything the
   components draw comes from these custom properties, so a site swaps the look
   by redefining them. The RAMTT values are taken from the Engineering token file. */

:root {
  /* type */
  --mx-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mx-font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mx-font-code: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --mx-features: "ss01", "ss04", "ss07", "ss08", "cv01", "cv02", "cv03", "cv04", "cv05", "cv06";
  --mx-w-body: 400; --mx-w-ui: 450; --mx-w-label: 500; --mx-w-head: 550; --mx-w-display: 500;
  --mx-track-display: -0.035em;

  /* surfaces, light to deep */
  --mx-raised: #ffffff;
  --mx-page: #fcfcfb;
  --mx-ground: #f4f3f0;
  --mx-well: #f1f0ed;
  --mx-pill: #eeede9;
  --mx-rule: #e9e8e4;
  --mx-hover: #f4f3ef;
  --mx-selected: #eceae4;

  /* inks */
  --mx-ink: #0b0b0b;
  --mx-ink2: #52514e;
  --mx-ink3: #6c6b69;
  --mx-faded: #97958d;         /* only at 24 px and up: 3 : 1 on the page */
  --mx-on-ink: #fcfcfb;
  --mx-line: rgb(11 11 11 / 10%);
  --mx-line-strong: rgb(11 11 11 / 20%);
  --mx-alpha-1: rgb(11 11 11 / 5%);
  --mx-alpha-2: rgb(11 11 11 / 8%);

  /* accent: violet 500 as a fill, 600 as text */
  --mx-accent: #6250d6;
  --mx-accent-hover: #5645be;
  --mx-accent-text: #4a3aa7;
  --mx-accent-bg: #dfdbfd;
  --mx-on-accent: #ffffff;
  --mx-focus: #6f62d9;

  /* glass: a surface that floats with the page blurred behind it */
  --mx-glass: rgb(255 255 255 / 78%);
  --mx-glass-strong: rgb(255 255 255 / 90%);
  --mx-glass-blur: 20px;

  /* shape law: the corner says what a thing is */
  --mx-r-press: 9999px;   /* anything you press */
  --mx-r-contain: 12px;   /* holds other things */
  --mx-r-value: 8px;      /* fields and rows */
  --mx-r-mark: 6px;       /* badges, labels */
  --mx-r-key: 4px;        /* keys and boxes */
  --mx-hair: .5px;

  /* elevation, three levels */
  --mx-e1: 0 3px 6px -2px rgb(0 0 0 / .02), 0 1px 1px rgb(0 0 0 / .04);
  --mx-e2: 0 0 0 .5px rgb(0 0 0 / .06), 0 6px 18px rgb(0 0 0 / .03), 0 3px 9px rgb(0 0 0 / .05), 0 1px 1px rgb(0 0 0 / .04);
  --mx-e3: 0 0 0 .5px rgb(0 0 0 / .06), 0 9px 48px rgb(0 0 0 / .08), 0 6px 24px rgb(0 0 0 / .10), 0 1px 1px rgb(0 0 0 / .04);
  --mx-backdrop: rgb(0 0 0 / .25);

  /* motion: one time constant */
  --mx-tau: 50ms;
  --mx-color: 150ms;     /* text colour on hover */
  --mx-op-in: 40ms;      /* opacity in, almost a snap */
  --mx-op-out: 120ms;
  --mx-backdrop-in: 1000ms;
  --mx-ease-backdrop: cubic-bezier(.4, 0, .6, 1);
  --mx-ease-tau: linear(0, 0.0234 0.39%, 0.0740 1.28%, 0.1420 2.54%, 0.2210 4.15%, 0.3058 6.06%, 0.3921 8.27%, 0.4764 10.75%, 0.5561 13.48%, 0.6294 16.47%, 0.6951 19.70%, 0.7528 23.17%, 0.8025 26.86%, 0.8443 30.78%, 0.8791 34.91%, 0.9074 39.26%, 0.9301 43.81%, 0.9481 48.56%, 0.9621 53.52%, 0.9728 58.67%, 0.9810 64.02%, 0.9870 69.55%, 0.9915 75.28%, 0.9948 81.19%, 0.9972 87.28%, 0.9988 93.55%, 1);
  --mx-d-tau: 300ms;     /* the ease written as a CSS easing, for the few places a transition is needed */
}

/* dark: the viewer's system setting, unless the page says light */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --mx-w-body: 370; --mx-w-ui: 420; --mx-w-label: 470; --mx-w-head: 520; --mx-w-display: 470;
    --mx-raised: #1a1a19; --mx-page: #0d0d0d; --mx-ground: #131313; --mx-well: #151515; --mx-pill: #1d1d1c; --mx-rule: rgb(255 255 255 / 10%);
    --mx-hover: #151514; --mx-selected: #1c1b19;
    --mx-ink: #f0efec; --mx-ink2: #c3c2b7; --mx-ink3: #8f8e89; --mx-faded: #6d6b67; --mx-on-ink: #0d0d0d;
    --mx-line: rgb(255 255 255 / 10%); --mx-line-strong: rgb(255 255 255 / 20%); --mx-alpha-1: rgb(255 255 255 / 5%); --mx-alpha-2: rgb(255 255 255 / 8%);
    --mx-accent-text: #a096eb; --mx-accent-bg: #1d1649; --mx-focus: #8173e3;
    --mx-glass: rgb(40 40 40 / 75%); --mx-glass-strong: rgb(51 51 51 / 82%);
    --mx-e1: 0 3px 6px -2px rgb(0 0 0 / .3), 0 1px 1px rgb(0 0 0 / .4);
    --mx-e2: 0 0 0 .5px rgb(255 255 255 / 8%), 0 6px 18px rgb(0 0 0 / .3), 0 3px 9px rgb(0 0 0 / .3), 0 1px 1px rgb(0 0 0 / .3);
    --mx-e3: 0 0 0 .5px rgb(255 255 255 / 9%), 0 9px 48px rgb(0 0 0 / .5), 0 6px 24px rgb(0 0 0 / .4), 0 1px 1px rgb(0 0 0 / .3);
    --mx-backdrop: rgb(0 0 0 / .5);
  }
}

/* an explicit choice, on the page or on any element inside it */
:root[data-theme="dark"], [data-theme="dark"] {
  color-scheme: dark;
  --mx-w-body: 370; --mx-w-ui: 420; --mx-w-label: 470; --mx-w-head: 520; --mx-w-display: 470;
  --mx-raised: #1a1a19; --mx-page: #0d0d0d; --mx-ground: #131313; --mx-well: #151515; --mx-pill: #1d1d1c; --mx-rule: rgb(255 255 255 / 10%);
  --mx-hover: #151514; --mx-selected: #1c1b19;
  --mx-ink: #f0efec; --mx-ink2: #c3c2b7; --mx-ink3: #8f8e89; --mx-faded: #6d6b67; --mx-on-ink: #0d0d0d;
  --mx-line: rgb(255 255 255 / 10%); --mx-line-strong: rgb(255 255 255 / 20%); --mx-alpha-1: rgb(255 255 255 / 5%); --mx-alpha-2: rgb(255 255 255 / 8%);
  --mx-accent-text: #a096eb; --mx-accent-bg: #1d1649; --mx-focus: #8173e3;
  --mx-glass: rgb(40 40 40 / 75%); --mx-glass-strong: rgb(51 51 51 / 82%);
  --mx-e1: 0 3px 6px -2px rgb(0 0 0 / .3), 0 1px 1px rgb(0 0 0 / .4);
  --mx-e2: 0 0 0 .5px rgb(255 255 255 / 8%), 0 6px 18px rgb(0 0 0 / .3), 0 3px 9px rgb(0 0 0 / .3), 0 1px 1px rgb(0 0 0 / .3);
  --mx-e3: 0 0 0 .5px rgb(255 255 255 / 9%), 0 9px 48px rgb(0 0 0 / .5), 0 6px 24px rgb(0 0 0 / .4), 0 1px 1px rgb(0 0 0 / .3);
  --mx-backdrop: rgb(0 0 0 / .5);
}
[data-theme="light"] {
  color-scheme: light;
  --mx-w-body: 400; --mx-w-ui: 450; --mx-w-label: 500; --mx-w-head: 550; --mx-w-display: 500;
  --mx-raised: #ffffff; --mx-page: #fcfcfb; --mx-ground: #f4f3f0; --mx-well: #f1f0ed; --mx-pill: #eeede9; --mx-rule: #e9e8e4;
  --mx-hover: #f4f3ef; --mx-selected: #eceae4;
  --mx-ink: #0b0b0b; --mx-ink2: #52514e; --mx-ink3: #6c6b69; --mx-faded: #97958d; --mx-on-ink: #fcfcfb;
  --mx-line: rgb(11 11 11 / 10%); --mx-line-strong: rgb(11 11 11 / 20%); --mx-alpha-1: rgb(11 11 11 / 5%); --mx-alpha-2: rgb(11 11 11 / 8%);
  --mx-accent-text: #4a3aa7; --mx-accent-bg: #dfdbfd; --mx-focus: #6f62d9;
  --mx-glass: rgb(255 255 255 / 78%); --mx-glass-strong: rgb(255 255 255 / 90%);
  --mx-e1: 0 3px 6px -2px rgb(0 0 0 / .02), 0 1px 1px rgb(0 0 0 / .04);
  --mx-e2: 0 0 0 .5px rgb(0 0 0 / .06), 0 6px 18px rgb(0 0 0 / .03), 0 3px 9px rgb(0 0 0 / .05), 0 1px 1px rgb(0 0 0 / .04);
  --mx-e3: 0 0 0 .5px rgb(0 0 0 / .06), 0 9px 48px rgb(0 0 0 / .08), 0 6px 24px rgb(0 0 0 / .10), 0 1px 1px rgb(0 0 0 / .04);
  --mx-backdrop: rgb(0 0 0 / .25);
}

/* Neutral: one grotesk, black and white, the work is the only colour */
[data-family="neutral"] {
  --mx-font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mx-font-display: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mx-font-code: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --mx-features: normal;
  --mx-track-display: -0.045em;
  --mx-raised: #ffffff; --mx-page: #ffffff; --mx-ground: #f3f3f3; --mx-well: #efefef; --mx-pill: #ececec; --mx-rule: #e6e6e6;
  --mx-hover: #f5f5f5; --mx-selected: #ebebeb;
  --mx-ink: #000000; --mx-ink2: #4a4a4a; --mx-ink3: #6b6b6b; --mx-faded: #949494; --mx-on-ink: #ffffff;
  --mx-line: rgb(0 0 0 / 10%); --mx-line-strong: rgb(0 0 0 / 22%);
  --mx-accent: #000000; --mx-accent-hover: #262626; --mx-accent-text: #000000; --mx-accent-bg: #ececec; --mx-on-accent: #ffffff; --mx-focus: #000000;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"])[data-family="neutral"], :root:not([data-theme="light"]) [data-family="neutral"]:not([data-theme="light"]) {
    --mx-raised: #121212; --mx-page: #000000; --mx-ground: #0d0d0d; --mx-well: #111111; --mx-pill: #1a1a1a; --mx-rule: rgb(255 255 255 / 12%);
    --mx-hover: #0f0f0f; --mx-selected: #1a1a1a;
    --mx-ink: #ffffff; --mx-ink2: #bdbdbd; --mx-ink3: #8f8f8f; --mx-faded: #666666; --mx-on-ink: #000000;
    --mx-line: rgb(255 255 255 / 12%); --mx-line-strong: rgb(255 255 255 / 24%);
    --mx-accent: #ffffff; --mx-accent-hover: #e6e6e6; --mx-accent-text: #ffffff; --mx-accent-bg: #1f1f1f; --mx-on-accent: #000000; --mx-focus: #ffffff;
  }
}
[data-family="neutral"][data-theme="dark"], [data-theme="dark"] [data-family="neutral"], [data-family="neutral"] [data-theme="dark"] {
  --mx-raised: #121212; --mx-page: #000000; --mx-ground: #0d0d0d; --mx-well: #111111; --mx-pill: #1a1a1a; --mx-rule: rgb(255 255 255 / 12%);
  --mx-hover: #0f0f0f; --mx-selected: #1a1a1a;
  --mx-ink: #ffffff; --mx-ink2: #bdbdbd; --mx-ink3: #8f8f8f; --mx-faded: #666666; --mx-on-ink: #000000;
  --mx-line: rgb(255 255 255 / 12%); --mx-line-strong: rgb(255 255 255 / 24%);
  --mx-accent: #ffffff; --mx-accent-hover: #e6e6e6; --mx-accent-text: #ffffff; --mx-accent-bg: #1f1f1f; --mx-on-accent: #000000; --mx-focus: #ffffff;
}
[data-family="neutral"] [data-theme="light"] {
  --mx-raised: #ffffff; --mx-page: #ffffff; --mx-ground: #f3f3f3; --mx-well: #efefef; --mx-pill: #ececec; --mx-rule: #e6e6e6;
  --mx-hover: #f5f5f5; --mx-selected: #ebebeb;
  --mx-ink: #000000; --mx-ink2: #4a4a4a; --mx-ink3: #6b6b6b; --mx-faded: #949494; --mx-on-ink: #ffffff;
  --mx-line: rgb(0 0 0 / 10%); --mx-line-strong: rgb(0 0 0 / 22%);
  --mx-accent: #000000; --mx-accent-hover: #262626; --mx-accent-text: #000000; --mx-accent-bg: #ececec; --mx-on-accent: #ffffff; --mx-focus: #000000;
}

/* the shared base every component relies on */
.mx-root, .mx-root * { box-sizing: border-box; }
.mx-root { font-family: var(--mx-font); font-feature-settings: var(--mx-features); color: var(--mx-ink); -webkit-font-smoothing: antialiased; }
:where(.mx-root) :where(button, input) { font: inherit; font-feature-settings: inherit; color: inherit; letter-spacing: inherit; }
.mx-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:where(.mx-root) :focus-visible { outline: 1.5px solid var(--mx-focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .mx-root *, .mx-root *::before, .mx-root *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* the hidden attribute always wins over a component's own display */
[class^="mx-"][hidden], [class*=" mx-"][hidden] { display: none !important; }

.mx-fit { display: block; white-space: nowrap; overflow: hidden; }

.mx-actions { position: relative; display: flex; justify-content: center; align-items: center; gap: 12px; }
.mx-round { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 9999px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--mx-ink) 9%, transparent); color: var(--mx-ink); text-decoration: none; }
.mx-round:is(:hover, [data-hover]) { background: color-mix(in srgb, var(--mx-ink) 14%, transparent); }
.mx-sw-pill { position: relative; height: 44px; overflow: hidden; border-radius: 9999px; flex-shrink: 0; background: color-mix(in srgb, var(--mx-ink) 9%, transparent); }
.mx-sw-pill > .mx-round { position: absolute; left: 0; top: 0; background: none; }
.mx-sw-inner { position: absolute; left: 4px; top: 0; height: 44px; display: flex; align-items: center; visibility: hidden; }
.mx-sw-pill.is-open .mx-sw-inner { visibility: visible; }
.mx-sw-pill.is-open > .mx-round { visibility: hidden; }
.mx-sw { width: 36px; height: 44px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; }
.mx-sw span { width: 26px; height: 26px; border-radius: 9999px; box-shadow: inset 0 0 0 1px var(--mx-line-strong); }
.mx-sw:is(:hover, [data-hover]) span { box-shadow: inset 0 0 0 1px var(--mx-line-strong), 0 0 0 2px var(--mx-page), 0 0 0 3px var(--mx-ink3); }
.mx-sw-close { width: 36px; height: 44px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; color: var(--mx-ink); }
.mx-actions-status { position: absolute; left: 0; right: 0; top: calc(100% + 8px); margin: 0; text-align: center; font-size: 13px; line-height: 18px; color: var(--mx-ink3); }

.mx-cf { display: flex; flex-direction: column; gap: 12px; }
.mx-cf-band { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 300px; padding: 56px 20px 88px; overflow: hidden; }
.mx-cf-no, .mx-cf-list { position: absolute; top: 16px; font-size: 13px; line-height: 20px; }
.mx-cf-no { left: 20px; font-weight: var(--mx-w-label); font-variant-numeric: tabular-nums; }
.mx-cf-list { right: 20px; max-width: 60%; text-align: right; }
.mx-cf-name { margin: 0; font-family: var(--mx-font-display); font-weight: 600; letter-spacing: -0.06em; line-height: .86; text-align: center; padding: 0 .02em; }
.mx-cf-slot { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; }
@media (max-width: 520px) { .mx-cf-band { min-height: 220px; padding-bottom: 76px; } .mx-cf-list { display: none; } }

.mx-cs { position: relative; }
.mx-cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--mx-cs-cell), 1fr)); column-gap: 16px; row-gap: 20px; }
.mx-cs-cell { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; outline: none; transition: opacity var(--mx-color) linear; }
.mx-cs-cell.is-dim { opacity: .18; }
.mx-cs-frame { width: var(--mx-cs-cell); height: var(--mx-cs-cell); display: flex; align-items: center; justify-content: center; }
.mx-cs-no { font-size: 11px; line-height: 16px; color: var(--mx-ink3); font-variant-numeric: tabular-nums; }
.mx-cs-ring { position: absolute; left: 0; top: 0; border: 1.5px solid var(--mx-focus); border-radius: 2px; pointer-events: none; opacity: 0; }
.mx-cs-ring.is-on { opacity: 1; }

.mx-cfilter { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 4px; font-size: 14px; line-height: 20px; }
.mx-cfilter-opt { display: flex; align-items: flex-start; padding: 0; border: 0; background: none; color: var(--mx-ink3); transition: color var(--mx-color) linear; }
.mx-cfilter-opt:is(:hover, [data-hover]), .mx-cfilter-opt[aria-pressed="true"] { color: var(--mx-ink); }
.mx-cfilter-n { margin-left: 2px; font-size: 10px; line-height: 13px; font-variant-numeric: tabular-nums; vertical-align: baseline; top: 0; }

.mx-crop { position: absolute; inset: 0; pointer-events: none; }
.mx-crop-h, .mx-crop-v { position: absolute; background: var(--mx-ink); }
.mx-crop-h { width: var(--mx-crop-l); height: 1px; }
.mx-crop-v { width: 1px; height: var(--mx-crop-l); }
.mx-crop-h.is-tl, .mx-crop-h.is-bl { left: calc(-1 * (var(--mx-crop-l) + var(--mx-crop-g))); }
.mx-crop-h.is-tr, .mx-crop-h.is-br { right: calc(-1 * (var(--mx-crop-l) + var(--mx-crop-g))); }
.mx-crop-h.is-tl, .mx-crop-h.is-tr { top: 0; }
.mx-crop-h.is-bl, .mx-crop-h.is-br { bottom: 0; }
.mx-crop-v.is-tl, .mx-crop-v.is-tr { top: calc(-1 * (var(--mx-crop-l) + var(--mx-crop-g))); }
.mx-crop-v.is-bl, .mx-crop-v.is-br { bottom: calc(-1 * (var(--mx-crop-l) + var(--mx-crop-g))); }
.mx-crop-v.is-tl, .mx-crop-v.is-bl { left: 0; }
.mx-crop-v.is-tr, .mx-crop-v.is-br { right: 0; }
.mx-crop-reg { position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 1px solid var(--mx-ink); border-radius: 9999px; }
.mx-crop-reg::before, .mx-crop-reg::after { content: ""; position: absolute; background: var(--mx-ink); }
.mx-crop-reg::before { left: -5px; right: -5px; top: 50%; height: 1px; margin-top: -.5px; }
.mx-crop-reg::after { top: -5px; bottom: -5px; left: 50%; width: 1px; margin-left: -.5px; }
.mx-crop-reg.is-l { left: calc(-1 * (var(--mx-crop-g) + 22px)); }
.mx-crop-reg.is-r { right: calc(-1 * (var(--mx-crop-g) + 22px)); }

.mx-clabel {
  font-family: var(--mx-font); font-weight: var(--mx-w-body); letter-spacing: normal; text-align: left; text-transform: none;
  position: absolute; left: 0; top: 0; z-index: 15; pointer-events: none;
  display: flex; gap: 6px; align-items: baseline;
  padding: 3px 8px; border-radius: var(--mx-r-mark);
  background: var(--mx-glass-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--mx-e1);
  font-size: 13px; line-height: 18px; white-space: nowrap;
  opacity: 0; transition: opacity var(--mx-op-out) linear;
}
.mx-clabel.is-on { opacity: 1; transition-duration: var(--mx-op-in); }
.mx-clabel-main { color: var(--mx-ink); font-weight: var(--mx-w-label); }
.mx-clabel-sub { color: var(--mx-ink3); }

.mx-ff { position: relative; width: 100%; font-size: 14px; line-height: 18px; }
.mx-ff-input { width: 100%; height: 40px; padding: 0 44px 0 12px; border: 0; border-radius: var(--mx-r-value); outline: none;
  background: var(--mx-alpha-1); -webkit-backdrop-filter: blur(50px); backdrop-filter: blur(50px); color: var(--mx-ink); }
.mx-ff-input::placeholder { color: var(--mx-ink3); opacity: 1; }
.mx-ff-input:focus-visible { box-shadow: inset 0 0 0 1.5px var(--mx-focus); }
.mx-ff-go { position: absolute; right: 0; top: 0; width: 40px; height: 40px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; color: var(--mx-ink); }
.mx-ff-panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 10; padding: 6px; border-radius: var(--mx-r-contain);
  background: var(--mx-glass-strong); -webkit-backdrop-filter: blur(50px); backdrop-filter: blur(50px); box-shadow: var(--mx-e2); }
.mx-ff-list { margin: 0; padding: 0; list-style: none; }
.mx-ff-opt { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: var(--mx-r-value); color: var(--mx-ink3); }
.mx-ff-opt[aria-selected="true"] { background: var(--mx-alpha-2); color: var(--mx-ink); }
.mx-ff-n { font-size: 12px; font-variant-numeric: tabular-nums; }
.mx-ff-empty { margin: 0; padding: 8px 10px; color: var(--mx-ink3); }

.mx-dock { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 9999px; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  background: var(--mx-glass); -webkit-backdrop-filter: blur(var(--mx-glass-blur)); backdrop-filter: blur(var(--mx-glass-blur)); box-shadow: 0 0 0 var(--mx-hair) var(--mx-line), var(--mx-e2); }
.mx-dock-thumb { position: absolute; left: 0; top: 4px; bottom: 4px; border-radius: 9999px; background: color-mix(in srgb, var(--mx-ink) 12%, transparent); }
.mx-dock-opt { position: relative; height: 36px; padding: 0 14px; border: 0; border-radius: 9999px; background: none; white-space: nowrap;
  font-size: 13px; line-height: 20px; font-weight: var(--mx-w-label); color: var(--mx-ink3); transition: color var(--mx-color) linear; outline: none; }
.mx-dock-opt:is(:hover, [data-hover]), .mx-dock-opt[aria-checked="true"] { color: var(--mx-ink); }
.mx-dock-opt:focus-visible { box-shadow: inset 0 0 0 1.5px var(--mx-focus); }

.mx-gp-layer { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.mx-gp-scrim { position: absolute; inset: 0; background: var(--mx-backdrop); opacity: 0; transition: opacity 190ms linear; }
.mx-gp-layer.is-open .mx-gp-scrim { opacity: 1; transition: opacity var(--mx-backdrop-in) var(--mx-ease-backdrop); }
.mx-gp { position: relative; width: min(422px, 100%); max-height: 100%; overflow-y: auto; padding: 40px; border-radius: var(--mx-r-contain);
  background: var(--mx-glass); -webkit-backdrop-filter: blur(var(--mx-glass-blur)); backdrop-filter: blur(var(--mx-glass-blur));
  box-shadow: 0 0 0 var(--mx-hair) var(--mx-line), var(--mx-e3); color: var(--mx-ink);
  opacity: 0; transition: opacity var(--mx-op-out) linear; }
.mx-gp-layer.is-open .mx-gp { opacity: 1; transition-duration: var(--mx-op-in); }
.mx-gp-title { margin: 0 0 16px; font-size: 16px; line-height: 22px; font-weight: var(--mx-w-head); }
.mx-gp-body { font-size: 16px; line-height: 22px; }
.mx-gp-body p { margin: 0 0 12px; }
.mx-gp-foot { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; color: var(--mx-ink3); font-size: 14px; }
.mx-gp-action { padding: 12px 24px; border: 0; border-radius: 9999px; background: color-mix(in srgb, var(--mx-ink) 10%, transparent); color: var(--mx-ink); }
.mx-gp-action:is(:hover, [data-hover]) { background: color-mix(in srgb, var(--mx-ink) 16%, transparent); }
@media (max-width: 520px) { .mx-gp { padding: 28px; } }

.mx-peek {
  font-family: var(--mx-font); font-weight: var(--mx-w-body); letter-spacing: normal; text-align: left; text-transform: none;
  position: absolute; left: 0; top: 0; z-index: 16; pointer-events: none;
  padding: 8px; border-radius: var(--mx-r-contain);
  background: var(--mx-raised); box-shadow: var(--mx-e2); font-size: 14px; line-height: 20px; color: var(--mx-ink);
  opacity: 0; transition: opacity var(--mx-op-out) linear;
}
.mx-peek.is-on { opacity: 1; transition-duration: var(--mx-op-in); }

.mx-ix { position: absolute; inset: 0; z-index: 25; overflow-y: auto; padding: 24px; background: var(--mx-page); animation: mx-in var(--mx-op-in) linear; }
.mx-ix-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px 24px; align-items: start; }
.mx-ix-group { display: flex; flex-direction: column; align-items: flex-start; }
.mx-ix-head { margin: 0 0 6px; font-size: 13px; line-height: 20px; font-weight: var(--mx-w-ui); color: var(--mx-ink3); }
.mx-ix-item { padding: 1px 0; border: 0; background: none; text-align: left; font-size: 16px; line-height: 24px; color: var(--mx-ink); transition: color var(--mx-color) linear; }
.mx-ix-item:is(:hover, [data-hover]) { color: var(--mx-ink3); }
.mx-ix-item.is-current { color: var(--mx-accent-text); }

.mx-ixp { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); column-gap: 32px; align-items: start; }
.mx-ixp-list { display: flex; flex-direction: column; }
.mx-ixp-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 160px); align-items: baseline; gap: 12px; width: 100%;
  padding: 10px 12px; border: 0; border-bottom: var(--mx-hair) solid var(--mx-line-strong); background: none; text-align: left; color: var(--mx-ink); outline: none; }
.mx-ixp-head { padding-block: 8px; font-size: 12px; line-height: 16px; color: var(--mx-ink3); border-bottom-color: var(--mx-ink); }
.mx-ixp-no, .mx-ixp-group { font-size: 13px; line-height: 20px; color: var(--mx-ink3); font-variant-numeric: tabular-nums; }
.mx-ixp-name { font-family: var(--mx-font-display); font-size: 26px; line-height: 32px; letter-spacing: -0.02em; font-weight: var(--mx-w-display); }
.mx-ixp-row.is-on { background: var(--mx-ink); color: var(--mx-on-ink); border-bottom-color: var(--mx-ink); }
.mx-ixp-row.is-on .mx-ixp-no, .mx-ixp-row.is-on .mx-ixp-group { color: color-mix(in srgb, var(--mx-on-ink) 64%, transparent); }
.mx-ixp-row:focus-visible { box-shadow: inset 0 0 0 1.5px var(--mx-focus); }
.mx-ixp-aside { position: sticky; top: 24px; }
@media (max-width: 760px) {
  .mx-ixp { grid-template-columns: 1fr; row-gap: 24px; }
  .mx-ixp-aside { position: static; order: -1; }
  .mx-ixp-row { grid-template-columns: 44px minmax(0, 1fr); }
  .mx-ixp-group { display: none; }
  .mx-ixp-name { font-size: 20px; line-height: 26px; }
}

.mx-field { position: relative; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; }
.mx-field:focus-visible { box-shadow: inset 0 0 0 1.5px var(--mx-focus); }
.mx-field-plane { position: absolute; inset: 0; transform-origin: 50% 50%; }
.mx-field-tile { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; }

.mx-loupe {
  position: absolute; left: 0; top: 0; z-index: 20;
  overflow: hidden; border-radius: 9999px; pointer-events: none;
  background: var(--mx-page);
  box-shadow: 0 0 0 1px var(--mx-line-strong), var(--mx-e3);
  opacity: 0; transition: opacity var(--mx-op-out) linear;
}
.mx-loupe.is-on { opacity: 1; transition-duration: var(--mx-op-in); }
.mx-loupe-copy { position: absolute !important; left: 0 !important; top: 0 !important; margin: 0 !important; transform-origin: 0 0; }

.mx-masonry { position: relative; }
.mx-masonry-item { position: absolute; left: 0; top: 0; }
.mx-masonry-item.is-in { animation: mx-in var(--mx-op-in) linear; }
@keyframes mx-in { from { opacity: 0; } to { opacity: 1; } }

.mx-morph { position: absolute; inset: 0; z-index: 30; }
.mx-morph-scrim { position: absolute; inset: 0; padding: 0; border: 0; background: color-mix(in srgb, var(--mx-page) 94%, transparent); }
.mx-morph-frame { position: absolute; display: flex; align-items: center; justify-content: center; transform-origin: 50% 50%; pointer-events: none; }
.mx-morph-side { position: absolute; display: flex; flex-direction: column; outline: none; }
.mx-morph-close { align-self: flex-end; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9999px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; background: var(--mx-pill); color: var(--mx-ink); }
.mx-morph-close:is(:hover, [data-hover]) { background: var(--mx-selected); }
.mx-morph-side.is-below .mx-morph-close { position: absolute; right: 0; top: -8px; transform: translateY(-100%); }
.mx-morph-caption { flex-grow: 1; display: flex; flex-direction: column; min-height: 0; }

.mx-wall { display: flex; flex-wrap: wrap; column-gap: .3em; margin: 0; padding: 0;
  font-family: var(--mx-font-display); font-size: var(--mx-wall-size, 52px); line-height: 1.08;
  font-weight: var(--mx-w-display); letter-spacing: var(--mx-track-display); }
.mx-wall-item { display: flex; }
.mx-wall-name { display: flex; align-items: flex-start; padding: 0; border: 0; background: none; text-align: left;
  font: inherit; letter-spacing: inherit; color: var(--mx-ink); outline: none; transition: color var(--mx-color) linear; }
.mx-wall-name.is-out { color: var(--mx-faded); }
.mx-wall-name:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; text-decoration-color: var(--mx-focus); }
.mx-wall-no { margin: .16em 0 0 .08em; font-family: var(--mx-font); font-size: max(11px, .25em); line-height: 1; font-weight: var(--mx-w-ui);
  letter-spacing: 0; font-variant-numeric: tabular-nums; vertical-align: baseline; top: 0; }

.mx-odo { display: inline-flex; font-variant-numeric: tabular-nums; }
.mx-odo-digits { display: inline-flex; }
.mx-odo-col { display: inline-block; height: 1em; line-height: 1; overflow: hidden; }
.mx-odo-strip { display: flex; flex-direction: column; }
.mx-odo-strip > span { display: block; height: 1em; line-height: 1; text-align: center; }

.mx-ps { position: relative; width: 100%; max-width: 500px; font-size: 16px; line-height: 20px; }
.mx-ps-wrap { overflow: hidden; border-radius: 32px; background: var(--mx-glass); -webkit-backdrop-filter: blur(var(--mx-glass-blur)); backdrop-filter: blur(var(--mx-glass-blur)); box-shadow: 0 0 0 var(--mx-hair) var(--mx-line); }
.mx-ps-wrap.is-open { border-radius: var(--mx-r-contain); background: var(--mx-glass-strong); }
.mx-ps-row { position: relative; height: 64px; margin: 0; display: flex; align-items: center; }
.mx-ps-prefix { margin: 0 5px 0 24px; flex-shrink: 0; color: var(--mx-ink3); user-select: none; }
.mx-ps-field { position: relative; flex-grow: 1; align-self: stretch; display: flex; align-items: center; min-width: 0; }
.mx-ps-ghost { position: absolute; left: 0; top: 0; bottom: 0; max-width: calc(100% - 96px); display: flex; align-items: center; pointer-events: none; color: var(--mx-ink); white-space: nowrap; }
.mx-ps-typed { overflow: hidden; text-overflow: ellipsis; }
.mx-ps-caret { width: 1px; height: 22px; margin-left: 2px; flex-shrink: 0; background: var(--mx-ink); }
.mx-ps-ghost.is-resting .mx-ps-caret { animation: mx-caret 1s steps(1) infinite; }
@keyframes mx-caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.mx-ps-input { position: relative; width: 100%; height: 64px; padding: 0 104px 0 0; border: 0; outline: none; background: transparent; color: var(--mx-ink); }
.mx-ps-clear, .mx-ps-submit { position: absolute; top: 10px; width: 44px; height: 44px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; }
.mx-ps-clear { right: 56px; color: var(--mx-ink3); }
.mx-ps-clear > span { width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 9999px; display: flex; align-items: center; justify-content: center; }
.mx-ps-submit { right: 10px; }
.mx-ps-submit > span { width: 28px; height: 28px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background: var(--mx-ink3); color: var(--mx-page); transition: box-shadow var(--mx-color) linear; }
.mx-ps-submit.is-full > span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--mx-ink3) 24%, transparent); }
.mx-ps-submit:focus-visible, .mx-ps-clear:focus-visible { outline: none; }
.mx-ps-submit:focus-visible > span, .mx-ps-clear:focus-visible > span { box-shadow: 0 0 0 1.5px var(--mx-focus); }
.mx-ps-shell { position: relative; height: 279px; border-top: var(--mx-hair) solid var(--mx-line); }
.mx-ps-list { height: 100%; margin: 0; padding: 20px 24px 46px; list-style: none; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.mx-ps-sug { padding: 3px 0; border: 0; background: none; text-align: left; color: var(--mx-ink3); transition: color var(--mx-color) linear; }
.mx-ps-sug:is(:hover, [data-hover]), .mx-ps-sug:focus-visible { color: var(--mx-ink); outline: none; }
.mx-ps-shell::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; pointer-events: none; background: linear-gradient(to top, var(--mx-glass-strong), transparent); }
.mx-ps-toggle { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); width: 72px; height: 44px; padding: 8px 0 16px; border: 0; background: none; display: flex; justify-content: center; }
.mx-ps-toggle > span { width: 72px; height: 20px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; color: var(--mx-ink3);
  background: var(--mx-glass); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); box-shadow: 0 0 0 var(--mx-hair) var(--mx-line); }
.mx-ps-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mx-ps-toggle:focus-visible { outline: none; }
.mx-ps-toggle:focus-visible > span { box-shadow: 0 0 0 1.5px var(--mx-focus); }
@media (max-width: 520px) { .mx-ps { font-size: 15px; } .mx-ps-prefix { margin-left: 18px; } }

.mx-scrub { position: relative; height: 56px; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; }
.mx-scrub:focus-visible { box-shadow: 0 0 0 1.5px var(--mx-focus); border-radius: 2px; }
.mx-scrub-labels { position: absolute; left: 0; right: 0; top: 0; height: 16px; }
.mx-scrub-label { position: absolute; top: 0; font-size: 11px; line-height: 14px; color: var(--mx-ink3); white-space: nowrap; }
.mx-scrub-label.is-on { color: var(--mx-ink); }
.mx-scrub-ticks { position: absolute; left: 0; right: 0; top: 20px; bottom: 2px; }
.mx-scrub-tick { position: absolute; bottom: 0; width: 1px; height: 8px; background: var(--mx-ink3); }
.mx-scrub-tick.is-start { height: 14px; }
.mx-scrub-tick.is-on { width: 2px; margin-left: -.5px; height: 100%; background: var(--mx-ink); }
.mx-scrub-tip { position: absolute; bottom: calc(100% + 4px); transform: translateX(-50%); padding: 2px 7px; border-radius: var(--mx-r-mark);
  background: var(--mx-ink); color: var(--mx-on-ink); font-size: 12px; line-height: 18px; white-space: nowrap; pointer-events: none; opacity: 0; }
.mx-scrub-tip.is-on { opacity: 1; }

.mx-sheet-layer { position: absolute; inset: 0; z-index: 30; overflow: hidden; }
.mx-sheet-layer.is-fixed { position: fixed; }
.mx-sheet-scrim { position: absolute; inset: 0; background: var(--mx-backdrop); opacity: 0; transition: opacity 190ms linear; }
.mx-sheet-layer.is-open .mx-sheet-scrim { opacity: 1; transition: opacity var(--mx-backdrop-in) var(--mx-ease-backdrop); }
.mx-sheet { position: absolute; left: 12px; right: 12px; bottom: 0; max-height: calc(100% - 48px); display: flex; flex-direction: column;
  border-radius: var(--mx-r-contain) var(--mx-r-contain) 0 0; background: var(--mx-raised); box-shadow: var(--mx-e3); outline: none; }
.mx-sheet-grip { flex-shrink: 0; height: 22px; display: flex; align-items: center; justify-content: center; touch-action: none; }
.mx-sheet-grip span { width: 36px; height: 4px; border-radius: 9999px; background: var(--mx-line-strong); }
.mx-sheet-close { position: absolute; right: 16px; top: 16px; z-index: 1; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center; background: var(--mx-pill); color: var(--mx-ink); }
.mx-sheet-close:is(:hover, [data-hover]) { background: var(--mx-selected); }
.mx-sheet-body { overflow-y: auto; padding: 8px 24px 28px; }

.mx-slides { position: relative; overflow: hidden; outline: none; touch-action: pan-y; }
.mx-slides:focus-visible { box-shadow: inset 0 0 0 1.5px var(--mx-focus); }
.mx-slides-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.mx-slides-nav { position: absolute; top: 0; bottom: 0; width: 50%; display: flex; align-items: center; padding: 0 20px;
  border: 0; background: none; font-size: 14px; line-height: 20px; color: var(--mx-ink3); transition: color var(--mx-color) linear; }
.mx-slides-nav:is(:hover, [data-hover]) { color: var(--mx-ink); }
.mx-slides-nav.is-prev { left: 0; justify-content: flex-start; }
.mx-slides-nav.is-next { right: 0; justify-content: flex-end; }

.mx-pager { display: flex; justify-content: space-between; gap: 24px; }
.mx-pager-link { display: flex; flex-direction: column; gap: 2px; padding: 0; border: 0; background: none; text-align: left; font-size: 15px; line-height: 22px; color: var(--mx-ink); transition: color var(--mx-color) linear; }
.mx-pager-link.is-next { margin-left: auto; text-align: right; align-items: flex-end; }
.mx-pager-link:is(:hover, [data-hover]) { color: var(--mx-ink3); }
.mx-pager-dir { font-size: 12px; line-height: 16px; color: var(--mx-ink3); }

.mx-theme { width: 62px; height: 38px; padding: 3px; border: 0; border-radius: 9999px; background: color-mix(in srgb, var(--mx-ink) 8%, transparent);
  -webkit-backdrop-filter: blur(50px); backdrop-filter: blur(50px); display: flex; outline: none; }
.mx-theme:is(:hover, [data-hover]) { background: color-mix(in srgb, var(--mx-ink) 12%, transparent); }
.mx-theme:focus-visible { box-shadow: 0 0 0 1.5px var(--mx-focus); }
.mx-theme-knob { width: 32px; height: 32px; border-radius: 9999px; background: var(--mx-raised); box-shadow: var(--mx-e1), 0 0 0 var(--mx-hair) var(--mx-line); }
.mx-theme[aria-checked="true"] .mx-theme-knob { background: color-mix(in srgb, var(--mx-ink) 16%, transparent); box-shadow: none; }

/* The library page. Everything it draws comes from the same tokens as the parts. */
html { background: var(--mx-page); scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px)); }
body { margin: 0; background: var(--mx-page); color: var(--mx-ink); }
.page { font-size: 15px; line-height: 24px; font-weight: var(--mx-w-body); letter-spacing: -0.011em; padding-inline: 24px; }
.page a { color: inherit; }

/* bar */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; height: 64px; margin-inline: -24px; padding: 0 24px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: color-mix(in srgb, var(--mx-page) 88%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 var(--mx-hair) 0 var(--mx-line); }
.bar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: var(--mx-w-label); }
.bar-count { font-size: 13px; color: var(--mx-ink3); }
.bar-tools { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.bar-tools .mx-dock { box-shadow: 0 0 0 var(--mx-hair) var(--mx-line); padding: 3px; }
.bar-tools .mx-dock-thumb { top: 3px; bottom: 3px; }
.bar-tools .mx-dock-opt { height: 32px; padding: 0 12px; }

/* hero: the index is a name wall */
.hero { padding: 72px 0 96px; display: flex; flex-direction: column; gap: 28px; }
.hero-lede { margin: 0; max-width: 58ch; font-size: 17px; line-height: 26px; color: var(--mx-ink2); text-wrap: pretty; }
.hero-wall { --mx-wall-size: clamp(34px, 6.2vw, 92px); position: relative; }
.hero-peek { display: flex; flex-direction: column; gap: 6px; padding: 6px; }
.hero-peek p { margin: 0; font-size: 14px; line-height: 20px; color: var(--mx-ink2); }
.hero-peek-g { font-size: 12px; line-height: 16px; color: var(--mx-ink3); font-variant-numeric: tabular-nums; }

/* a part */
.parts { display: flex; flex-direction: column; gap: 120px; padding-bottom: 120px; }
.part { scroll-margin-top: 80px; display: flex; flex-direction: column; }
.part-head { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--mx-ink); }
.part-no { font-size: 13px; color: var(--mx-ink3); font-variant-numeric: tabular-nums; }
.part-name { margin: 0; font-family: var(--mx-font-display); font-size: 44px; line-height: 48px; font-weight: var(--mx-w-display); letter-spacing: var(--mx-track-display); }
.part-group { font-size: 13px; color: var(--mx-ink3); }
.part-intro { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 360px); gap: 16px 16px; padding: 20px 0 28px; }
.part-lede { grid-column: 2; margin: 0; max-width: 60ch; font-size: 17px; line-height: 26px; color: var(--mx-ink2); text-wrap: pretty; }
.facts { grid-column: 3; margin: 0; display: flex; flex-direction: column; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: var(--mx-hair) solid var(--mx-line-strong); font-size: 13px; line-height: 20px; }
.facts div:first-child { border-top: var(--mx-hair) solid var(--mx-line-strong); }
.facts dt { color: var(--mx-ink3); }
.facts dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.hint { margin: 10px 0 0; font-size: 13px; line-height: 20px; color: var(--mx-ink3); min-height: 20px; }
.part-code { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.tabs.mx-dock { background: var(--mx-pill); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; padding: 3px; }
.tabs .mx-dock-thumb { top: 3px; bottom: 3px; background: var(--mx-raised); box-shadow: var(--mx-e1), 0 0 0 var(--mx-hair) var(--mx-line); }
.tabs .mx-dock-opt { height: 30px; padding: 0 12px; }
.code-wrap { position: relative; }
.code { margin: 0; max-height: 440px; overflow: auto; padding: 16px 18px; border-radius: var(--mx-r-contain); background: var(--mx-well);
  font-family: var(--mx-font-code); font-size: 12.5px; line-height: 19px; color: var(--mx-ink); tab-size: 2; }
.code code { font: inherit; white-space: pre; }
.code-copy { position: absolute; right: 10px; top: 10px; height: 28px; padding: 0 12px; border: 0; border-radius: 9999px;
  background: var(--mx-raised); box-shadow: var(--mx-e1), 0 0 0 var(--mx-hair) var(--mx-line); font-size: 12px; color: var(--mx-ink); }

/* the stage every demo runs in */
.stage { position: relative; overflow: hidden; border-radius: var(--mx-r-contain); background: var(--mx-ground); color: var(--mx-ink); isolation: isolate; }
.stage[data-theme="dark"] { background: #000; }
[data-family="neutral"] .stage[data-theme="dark"] { background: #000; }
.stage.is-flush { background: none; }
.fill { position: absolute; inset: 0; }

/* plates and the small shared pieces */
.mx-plate { position: relative; overflow: hidden; flex-shrink: 0; }
.mx-plate-in { position: absolute; left: 0; top: 0; transform-origin: 0 0; display: flex; align-items: center; justify-content: center; }
.mx-round.small { width: 40px; height: 40px; }
.peek-card { display: flex; flex-direction: column; gap: 8px; }
.peek-plate { display: flex; justify-content: center; align-items: center; min-height: 80px; }
.peek-name { margin: 0; display: flex; justify-content: space-between; font-size: 14px; line-height: 20px; font-weight: var(--mx-w-label); }
.peek-no { color: var(--mx-ink3); font-weight: var(--mx-w-ui); font-variant-numeric: tabular-nums; }
.peek-note { margin: 0; font-size: 13px; line-height: 18px; color: var(--mx-ink2); }
.detail { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: start; }
.detail-plate { display: flex; }
.detail-text { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; max-width: 520px; }
.detail-no { font-size: 13px; color: var(--mx-ink3); font-variant-numeric: tabular-nums; }
.detail-name { margin: 0; font-family: var(--mx-font-display); font-size: 40px; line-height: 44px; font-weight: var(--mx-w-display); letter-spacing: var(--mx-track-display); }
.detail-note { margin: 8px 0 0; font-size: 15px; line-height: 23px; color: var(--mx-ink2); }
.detail-pager { margin-top: 28px; padding-top: 16px; border-top: var(--mx-hair) solid var(--mx-line-strong); }

/* demos */
.stage-loupe { padding: 32px; }
.fine { max-height: 520px; overflow: hidden; columns: 240px; column-gap: 28px; font-size: 6.5px; line-height: 9px; color: var(--mx-ink2); background: var(--mx-ground); }
.fine p { margin: 0 0 4px; break-inside: avoid; }
.fine b { color: var(--mx-ink); font-weight: 600; }

.stage-cursor-label { padding: 32px; }
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 16px; justify-items: center; align-items: center; }
.results-cell { width: 150px; height: 150px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; }

.stage-hover-peek { padding: 48px 40px; }
.prose { max-width: 60ch; font-size: 22px; line-height: 34px; letter-spacing: -0.015em; }
.prose p { margin: 0 0 20px; }
.peek-link { color: var(--mx-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--mx-line-strong); }
.peek-link:is(:hover, [data-hover]) { text-decoration-color: var(--mx-ink); }

.stage-infinite-field { height: 560px; }
.stage-masonry { padding: 8px; background: var(--mx-raised); }
.gal-bar { display: grid; grid-template-columns: minmax(0, 360px) 1fr auto; align-items: center; gap: 12px; margin-bottom: 20px; position: relative; z-index: 5; }
.gal-count { margin: 0; font-size: 13px; color: var(--mx-ink3); font-variant-numeric: tabular-nums; }
.gal-card h3 { margin: 6px 0 0; font-size: 14px; line-height: 18px; font-weight: var(--mx-w-ui); }
.gal-card p { margin: 0; font-size: 14px; line-height: 18px; color: var(--mx-ink3); transition: color var(--mx-color) linear; }
.gal-card:is(:hover, [data-hover]) p { color: var(--mx-ink); }
.gal-media { border-radius: var(--mx-r-value); overflow: hidden; display: flex; }

.stage-contact-sheet { padding: 32px 32px 104px; }
.cs-dock { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; padding: 0 16px; z-index: 22; }

.stage-name-wall { padding: 28px 28px 48px; min-height: 720px; }
.nw-filter { margin-bottom: 28px; }
.nw-host { --mx-wall-size: clamp(26px, 3.6vw, 48px); position: relative; }

.stage-index-preview { padding: 32px; background: var(--mx-raised); }
.ixp-prev { display: flex; flex-direction: column; gap: 6px; }
.ixp-figwrap { display: flex; justify-content: center; padding: 36px 0 32px; }
.ixp-fig { display: flex; }
.ixp-name { margin: 0; font-size: 14px; line-height: 20px; font-weight: var(--mx-w-label); }
.ixp-note { margin: 0; font-size: 14px; line-height: 20px; color: var(--mx-ink2); }

.stage-slideshow { height: 660px; background: var(--mx-raised); }
.sl-counter { position: absolute; left: 24px; bottom: 96px; display: flex; align-items: flex-start; gap: 10px; pointer-events: none; }
.sl-count { font-family: var(--mx-font-display); font-size: 120px; line-height: 1; font-weight: var(--mx-w-display); letter-spacing: -0.045em; }
.sl-total { margin-top: 12px; font-size: 14px; color: var(--mx-ink3); font-variant-numeric: tabular-nums; }
.sl-cap { position: absolute; right: 24px; bottom: 96px; width: min(400px, 40%); pointer-events: none; }
.sl-name { margin: 0; font-family: var(--mx-font-display); font-size: 32px; line-height: 36px; font-weight: var(--mx-w-display); letter-spacing: -0.03em; }
.sl-meta { margin: 6px 0 0; font-size: 14px; color: var(--mx-ink3); }
.sl-note { margin: 6px 0 0; font-size: 14px; line-height: 20px; color: var(--mx-ink2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sl-scrub { position: absolute; left: 24px; right: 24px; bottom: 16px; }
.sl-index { position: absolute; right: 16px; top: 12px; z-index: 26; height: 36px; padding: 0 14px; border: 0; border-radius: 9999px; background: var(--mx-pill); font-size: 14px; font-weight: var(--mx-w-label); color: var(--mx-ink); }
.sl-index:is(:hover, [data-hover]) { background: var(--mx-selected); }

.stage-prompt-search { height: 560px; }
.ps-center { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; justify-content: center; padding: 0 16px; z-index: 3; pointer-events: none; }
.ps-center .mx-ps { pointer-events: auto; transform: translateY(-40px); }
.ps-status { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 3; margin: 0; text-align: center; font-size: 13px; line-height: 20px; color: var(--mx-ink2); text-shadow: 0 1px 12px #000; }

.stage-filter-field { padding: 32px; }
.ff-host { max-width: 380px; position: relative; z-index: 5; }
.ff-count { margin: 16px 0 8px; font-size: 13px; color: var(--mx-ink3); font-variant-numeric: tabular-nums; }
.ff-list { margin: 0; padding: 0; list-style: none; max-height: 340px; overflow-y: auto; columns: 280px; column-gap: 32px; }
.ff-list li { display: flex; gap: 12px; padding: 4px 0; font-size: 14px; line-height: 20px; break-inside: avoid; }
.ff-no { color: var(--mx-ink3); font-variant-numeric: tabular-nums; }
.ff-g { margin-left: auto; color: var(--mx-ink3); font-size: 13px; }

.stage-count-filter { padding: 32px; }
.cf-list { margin: 24px 0 0; max-width: 90ch; font-size: 17px; line-height: 28px; color: var(--mx-ink); }
.cf-list span { transition: color var(--mx-color) linear; }
.cf-list span.is-out { color: var(--mx-faded); }

.stage-glass-dock { height: 380px; background: var(--mx-raised); }
.dock-grid { position: absolute; inset: -20px; display: grid; grid-template-columns: repeat(auto-fill, 120px); gap: 8px; justify-content: center; align-content: start; }
.dock-cell { width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; transition: opacity var(--mx-color) linear; }
.dock-cell.is-dim { opacity: .15; }
.dock-host { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; padding: 0 16px; }

.stage-sheet { height: 600px; padding: 24px; }
.sh-list { display: flex; flex-direction: column; max-width: 760px; }
.sh-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 24px; align-items: baseline; gap: 12px; padding: 12px 8px; border: 0; border-bottom: var(--mx-hair) solid var(--mx-line-strong);
  background: none; text-align: left; border-radius: 0; }
.sh-row:is(:hover, [data-hover]) { background: var(--mx-hover); }
.sh-no, .sh-g { font-size: 13px; color: var(--mx-ink3); font-variant-numeric: tabular-nums; }
.sh-name { font-family: var(--mx-font-display); font-size: 24px; line-height: 30px; letter-spacing: -0.02em; font-weight: var(--mx-w-display); }
.sh-go { color: var(--mx-ink3); }

.stage-morph { padding: 32px; min-height: 620px; background: var(--mx-raised); }
.mo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; justify-items: center; align-items: center; }
.mo-cell { width: 150px; height: 150px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; cursor: zoom-in; }
.cap { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.cap-no { font-size: 13px; color: var(--mx-ink3); font-variant-numeric: tabular-nums; }
.cap-name { margin: 0; font-family: var(--mx-font-display); font-size: 40px; line-height: 44px; font-weight: var(--mx-w-display); letter-spacing: var(--mx-track-display); }
.cap-note { margin: 8px 0 0; font-size: 15px; line-height: 23px; color: var(--mx-ink2); }

.stage-glass-panel { height: 540px; }
.gp-open { position: absolute; right: 16px; top: 16px; z-index: 2; height: 36px; padding: 0 16px; border: 0; border-radius: 9999px;
  background: var(--mx-glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--mx-ink); font-size: 14px; font-weight: var(--mx-w-label); box-shadow: 0 0 0 var(--mx-hair) var(--mx-line); }

.stage-index-overlay { height: 520px; background: var(--mx-raised); }
.io-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 0 24px; text-align: center; }
.io-name { margin: 0; font-family: var(--mx-font-display); font-size: clamp(40px, 7vw, 96px); line-height: 1; font-weight: var(--mx-w-display); letter-spacing: var(--mx-track-display); }
.io-meta { margin: 0; color: var(--mx-ink3); }

.stage-odometer { height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; background: var(--mx-raised); }
.od-num { font-family: var(--mx-font-display); font-size: clamp(96px, 16vw, 200px); font-weight: var(--mx-w-display); letter-spacing: -0.045em; }
.od-row { display: flex; gap: 8px; }
.od-btn { height: 36px; min-width: 56px; padding: 0 14px; border: 0; border-radius: 9999px; background: var(--mx-pill); font-weight: var(--mx-w-label); font-variant-numeric: tabular-nums; }
.od-btn:is(:hover, [data-hover]) { background: var(--mx-selected); }

.stage-scrub-timeline { padding: 40px 32px 32px; background: var(--mx-raised); }
.sc-top { margin-bottom: 48px; }
.sc-name { margin: 0; font-family: var(--mx-font-display); font-size: 48px; line-height: 52px; font-weight: var(--mx-w-display); letter-spacing: var(--mx-track-display); }
.sc-meta { margin: 6px 0 0; color: var(--mx-ink3); }

.stage-fit-text { padding: 24px 32px 40px; background: var(--mx-raised); }
.fit-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.fit-label { font-size: 13px; color: var(--mx-ink3); }
.fit-input { width: min(320px, 100%); height: 36px; padding: 0 12px; border: 0; border-radius: var(--mx-r-value); background: var(--mx-alpha-1); outline: none; box-shadow: inset 0 0 0 var(--mx-hair) var(--mx-line-strong); }
.fit-input:focus-visible { box-shadow: inset 0 0 0 1.5px var(--mx-focus); }
.fit-size { margin-left: auto; font-size: 13px; color: var(--mx-ink3); font-variant-numeric: tabular-nums; }
.fit-line { font-family: var(--mx-font-display); font-weight: 600; letter-spacing: -0.055em; line-height: .9; }

.stage-colour-field .mx-cf { gap: 8px; }
.cf-track { position: relative; width: 240px; height: 20px; padding: 0; border: 0; border-radius: 9999px; background: rgb(11 11 11 / 14%); }
.cf-dot { position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 9999px; background: #0b0b0b; }
.cf-ramp { display: flex; }
.cf-ramp span { width: 36px; height: 36px; }

.stage-crop-marks { height: 540px; background: var(--mx-raised); }
.crop-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.crop-fig { display: flex; }
.crop-cap { margin: 0; font-size: 13px; color: var(--mx-ink3); }
.crop-toggle { position: absolute; left: 20px; bottom: 16px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mx-ink2); }
.crop-toggle input { accent-color: var(--mx-accent); width: 16px; height: 16px; margin: 0; }

.stage-theme-switch { padding: 24px; }
.th-panel { position: relative; padding: 32px; border-radius: var(--mx-r-contain); background: var(--mx-page); color: var(--mx-ink); transition: background-color var(--mx-color) linear, color var(--mx-color) linear; }
.th-switch { position: absolute; right: 20px; top: 20px; }
.th-card .detail-name { font-size: 32px; line-height: 36px; }

.stage-action-row { height: 620px; }
.ac-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0 16px; }
.ac-name { margin: 20px 0 0; font-size: 16px; line-height: 22px; }
.ac-meta { margin: 0 0 20px; color: var(--mx-ink3); }
.ac-row { position: relative; }
.ac-picked { min-height: 20px; margin: 44px 0 0; font-size: 13px; color: var(--mx-ink2); }

.stage-text-pager { padding: 40px 32px 32px; background: var(--mx-raised); }
.pg-top { min-height: 150px; }
.pg-name { margin: 0; font-family: var(--mx-font-display); font-size: 56px; line-height: 60px; font-weight: var(--mx-w-display); letter-spacing: var(--mx-track-display); }
.pg-note { margin: 10px 0 0; max-width: 60ch; color: var(--mx-ink2); }
.pg-host { margin-top: 24px; padding-top: 16px; border-top: var(--mx-hair) solid var(--mx-line-strong); }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 32px; border-top: 1px solid var(--mx-ink); font-size: 13px; color: var(--mx-ink3); }

/* narrow screens */
@media (max-width: 900px) {
  .part-intro { grid-template-columns: 1fr; }
  .part-lede, .facts { grid-column: 1; }
  .part-head { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .bar { grid-template-columns: 1fr auto; }
  .bar-count { display: none; }
  .sl-cap { width: auto; left: 24px; bottom: 90px; }
  .sl-counter { top: 16px; bottom: auto; }
  .sl-count { font-size: 56px; }
  .sl-total { margin-top: 6px; }
  .sl-note { display: none; }
}
@media (max-width: 640px) {
  .page { padding-inline: 16px; }
  .bar { margin-inline: -16px; padding: 0 16px; }
  .part-name { font-size: 32px; line-height: 36px; }
  .hero { padding: 40px 0 64px; }
  .parts { gap: 88px; }
  .stage-loupe, .stage-cursor-label, .stage-index-preview, .stage-filter-field, .stage-count-filter, .stage-morph, .stage-scrub-timeline, .stage-fit-text, .stage-text-pager { padding: 20px; }
  .stage-hover-peek { padding: 24px 20px; }
  .prose { font-size: 18px; line-height: 28px; }
  .stage-infinite-field, .stage-prompt-search { height: 440px; }
  .stage-slideshow { height: 600px; }
  .results { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .results-cell { width: 100px; height: 100px; }
  .mo-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .mo-cell { width: 96px; height: 96px; }
  .gal-bar { grid-template-columns: 1fr auto; }
  .gal-count { display: none; }
  .detail { grid-template-columns: 1fr; }
  .detail-name { font-size: 32px; line-height: 36px; }
  .sc-name, .pg-name { font-size: 36px; line-height: 40px; }
  .stage-contact-sheet { padding: 20px 16px 96px; }
  .bar-tools .mx-dock-opt { padding: 0 10px; }
}

/* ==================================================================== Tau
   The site layer. It sits on the Mechanics tokens above, so every colour, weight,
   corner and duration comes from a --mx custom property: the RAMTT and Neutral looks
   and both themes follow from the same rules. Site classes start with t-. */

:root {
  --t-m: clamp(16px, 2.8vw, 40px);        /* page margin */
  --t-g: clamp(12px, 1.6vw, 24px);        /* gutter */
  --t-sec: clamp(104px, 12vw, 184px);     /* between sections */
  --t-bar: 64px;
  --t-handle: #6250d6;                    /* the Zibaldone handle keeps the selection violet in every look */
  --t-max: 1760px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --t-handle: #8173e3; } }
:root[data-theme="dark"] { --t-handle: #8173e3; }

html { background: var(--mx-page); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--t-bar) + 16px); }
body { margin: 0; background: var(--mx-page); color: var(--mx-ink); }
[hidden]:not([hidden="until-found" i]) { display: none !important; }
.t-site { min-height: 100vh; display: flex; flex-direction: column; font-size: 15px; line-height: 24px; font-weight: var(--mx-w-body); letter-spacing: -0.011em; overflow-x: clip; }
[data-family="neutral"] .t-site { letter-spacing: -0.005em; }
.t-site main { flex: 1; }
.t-site a { color: inherit; text-decoration: none; }
.t-site img { display: block; max-width: 100%; height: auto; }
.t-site ::selection { background: color-mix(in srgb, var(--mx-accent) 24%, transparent); }
[data-family="neutral"] .t-site ::selection { background: color-mix(in srgb, var(--mx-ink) 16%, transparent); }
.t-site a, .t-site button, .t-site label, .t-site summary { cursor: default; }

.t-wrap { width: 100%; max-width: var(--t-max); margin-inline: auto; padding-inline: var(--t-m); box-sizing: border-box; }
.t-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--t-g); }

/* ------------------------------------------------------------------ type: seven steps */
.t-d1 { margin: 0; font-family: var(--mx-font-display); font-size: clamp(60px, 11vw, 184px); line-height: .9; font-weight: var(--mx-w-display); letter-spacing: -0.05em; text-wrap: balance; }
.t-d2 { margin: 0; font-family: var(--mx-font-display); font-size: clamp(38px, 5.2vw, 80px); line-height: 1.02; font-weight: var(--mx-w-display); letter-spacing: -0.04em; text-wrap: balance; }
.t-d3 { margin: 0; font-family: var(--mx-font-display); font-size: clamp(28px, 2.7vw, 40px); line-height: 1.1; font-weight: var(--mx-w-display); letter-spacing: -0.03em; text-wrap: balance; }
.t-lede { margin: 0; font-size: 20px; line-height: 30px; letter-spacing: -0.014em; color: var(--mx-ink); text-wrap: pretty; max-width: 40em; }
.t-body { font-size: 17px; line-height: 27px; letter-spacing: -0.013em; color: var(--mx-ink2); max-width: 36em; }
.t-body p { margin: 0 0 14px; text-wrap: pretty; }
.t-body p:last-child { margin-bottom: 0; }
.t-h { margin: 0; font-size: 17px; line-height: 24px; font-weight: var(--mx-w-label); letter-spacing: -0.013em; color: var(--mx-ink); }
.t-small { margin: 0; font-size: 13px; line-height: 20px; letter-spacing: 0; color: var(--mx-ink3); }
[data-family="neutral"] .t-d1 { letter-spacing: -0.055em; }

/* links inside text: a hairline that turns to ink under the hand */
.t-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--mx-line-strong); transition: text-decoration-color var(--mx-color) linear; }
.t-link:is(:hover, [data-hover]) { text-decoration-color: currentColor; transition-duration: 0s; }
.t-more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; line-height: 22px; color: var(--mx-ink); font-weight: var(--mx-w-label); }
.t-more::after { content: ""; width: 18px; height: 1px; background: currentColor; transform-origin: left; transition: width var(--mx-color) linear; }
.t-more:is(:hover, [data-hover])::after { width: 28px; transition-duration: 0s; }

/* anything you press is a pill */
.t-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: var(--mx-r-press);
  background: var(--mx-ink); color: var(--mx-on-ink); font: inherit; font-size: 15px; font-weight: var(--mx-w-label); letter-spacing: -0.011em; white-space: nowrap; }
.t-btn:is(:hover, [data-hover]) { background: color-mix(in srgb, var(--mx-ink) 86%, var(--mx-page)); }
.t-btn.is-accent { background: var(--mx-accent); color: var(--mx-on-accent); }
.t-btn.is-accent:is(:hover, [data-hover]) { background: var(--mx-accent-hover); }
.t-btn.is-quiet { background: var(--mx-pill); color: var(--mx-ink); }
.t-btn.is-quiet:is(:hover, [data-hover]) { background: var(--mx-selected); }
.t-btn:focus-visible { outline: 1.5px solid var(--mx-focus); outline-offset: 2px; }

/* facts: a definition list set as hairline rows */
.t-facts { margin: 0; display: flex; flex-direction: column; }
.t-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 7px 0; border-bottom: var(--mx-hair) solid var(--mx-line-strong); font-size: 13px; line-height: 20px; letter-spacing: 0; }
.t-facts > div:first-child { border-top: var(--mx-hair) solid var(--mx-line-strong); }
.t-facts dt { color: var(--mx-ink3); flex: none; }
.t-facts dd { margin: 0; text-align: right; color: var(--mx-ink); font-variant-numeric: tabular-nums; text-wrap: balance; }

/* ------------------------------------------------------------------ top bar */
.t-top { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); background: color-mix(in srgb, var(--mx-page) 86%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 var(--mx-hair) 0 transparent; transition: box-shadow var(--mx-color) linear; }
.t-top.is-stuck { box-shadow: 0 var(--mx-hair) 0 var(--mx-line); }
.t-top-in { height: var(--t-bar); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.t-brand { justify-self: start; display: inline-flex; align-items: center; gap: 9px; height: 36px; font-size: 17px; line-height: 1; font-weight: var(--mx-w-head); letter-spacing: -0.02em; }
.t-mark { width: 22px; height: 22px; flex: none; overflow: visible; }
.t-mark .t-mark-target { stroke: var(--mx-accent); }
[data-family="neutral"] .t-mark .t-mark-target { stroke: currentColor; opacity: .45; }
.t-nav { position: relative; display: flex; align-items: center; gap: 2px; }
.t-nav a { position: relative; z-index: 1; height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: var(--mx-r-press); font-size: 14px; font-weight: var(--mx-w-ui); color: var(--mx-ink2); transition: color var(--mx-color) linear; }
.t-nav a:is(:hover, [data-hover]), .t-nav a[aria-current="page"] { color: var(--mx-ink); transition-duration: 0s; }
.t-nav a:focus-visible { outline: 1.5px solid var(--mx-focus); outline-offset: 0; }
.t-nav-thumb { position: absolute; left: 0; top: 0; height: 32px; border-radius: var(--mx-r-press); background: var(--mx-pill); pointer-events: none; }
.t-top-tools { justify-self: end; display: flex; align-items: center; gap: 6px; }
.t-icon-btn { width: 36px; height: 36px; padding: 0; border: 0; border-radius: var(--mx-r-press); display: inline-flex; align-items: center; justify-content: center; background: none; color: var(--mx-ink); }
.t-icon-btn:is(:hover, [data-hover]) { background: var(--mx-pill); }
.t-icon-btn:focus-visible { outline: 1.5px solid var(--mx-focus); outline-offset: 0; }

/* ------------------------------------------------------------------ views and the page change */
.t-view { display: block; }
@keyframes t-out { to { opacity: 0; } }
@keyframes t-in { from { opacity: 0; } }
::view-transition-old(root) { animation: 100ms linear both t-out; }
::view-transition-new(root) { animation: 40ms linear both t-in; }
::view-transition-group(t-shot) { animation-duration: 320ms; animation-timing-function: var(--mx-ease-tau); z-index: 60; }
::view-transition-old(t-shot) { animation: 120ms linear both t-out; }
::view-transition-new(t-shot) { animation: 40ms linear both t-in; }
::view-transition-old(t-shot), ::view-transition-new(t-shot) { height: 100%; object-fit: cover; object-position: top; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* ------------------------------------------------------------------ home: statement */
.t-hero { padding-top: clamp(40px, 7vw, 120px); }
.t-hero-grid { align-items: end; row-gap: 32px; }
.t-hero-title { grid-column: 1 / 10; }
.t-hero-side { grid-column: 10 / 13; display: flex; flex-direction: column; gap: 18px; padding-bottom: 6px; }
.t-hero-side p { margin: 0; font-size: 15px; line-height: 23px; color: var(--mx-ink2); text-wrap: pretty; }
.t-now { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; padding-top: 14px; border-top: var(--mx-hair) solid var(--mx-line-strong); font-size: 13px; line-height: 20px; letter-spacing: 0; }
.t-now-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mx-accent); transform: translateY(-1px); }
.t-now span:last-child { color: var(--mx-ink2); }

/* ------------------------------------------------------------------ the tau scope */
.t-scope { margin-top: clamp(40px, 5.6vw, 88px); }
.t-scope-plot { position: relative; height: clamp(232px, 25vw, 380px); border-block: var(--mx-hair) solid var(--mx-line-strong); touch-action: pan-y; outline: none; -webkit-tap-highlight-color: transparent; }
.t-scope-plot:focus-visible { box-shadow: 0 0 0 1.5px var(--mx-focus); }
.t-scope-plot canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.t-scope-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 14px; }
.t-scope-read { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 13px; line-height: 20px; letter-spacing: 0; }
.t-scope-read div { display: flex; gap: 8px; align-items: baseline; }
.t-scope-read dt { color: var(--mx-ink3); }
.t-scope-read dd { margin: 0; color: var(--mx-ink); font-variant-numeric: tabular-nums; min-width: 4ch; }
.t-scope-tools { display: flex; align-items: center; gap: 16px; }
.t-scope-note { margin: 0; font-size: 13px; line-height: 20px; color: var(--mx-ink3); letter-spacing: 0; }
.t-seg.mx-dock { padding: 3px; background: var(--mx-pill); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.t-seg .mx-dock-thumb { top: 3px; bottom: 3px; background: var(--mx-raised); box-shadow: var(--mx-e1), 0 0 0 var(--mx-hair) var(--mx-line); }
.t-seg .mx-dock-opt { height: 28px; padding: 0 12px; font-size: 13px; }

/* ------------------------------------------------------------------ sections */
.t-section { padding-top: var(--t-sec); }
.t-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 20px; }

/* ------------------------------------------------------------------ plates: a picture of the work on its ground */
.t-plate { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--mx-r-contain); background: var(--mx-ground); overflow: hidden; isolation: isolate; }
.t-shot { position: absolute; left: 7%; right: 7%; top: 50%; aspect-ratio: 16 / 10; transform: translateY(-50%); border-radius: var(--mx-r-value); overflow: hidden;
  background: var(--mx-raised); box-shadow: 0 0 0 var(--mx-hair) var(--mx-line), var(--mx-e2); }
.t-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.t-ticks { position: absolute; left: 50%; bottom: 3.4%; transform: translateX(-50%); display: flex; gap: 4px; }
.t-ticks i { width: 14px; height: 2px; border-radius: 1px; background: color-mix(in srgb, var(--mx-ink) 16%, transparent); }
.t-ticks i.is-on { background: var(--mx-ink); }
a.t-plate:focus-visible, .t-tile:focus-visible .t-plate { outline: 1.5px solid var(--mx-focus); outline-offset: 3px; }

/* ------------------------------------------------------------------ home: the four projects */
.t-cases { display: flex; flex-direction: column; gap: clamp(64px, 7vw, 112px); }
.t-case { align-items: stretch; padding-top: 20px; border-top: var(--mx-hair) solid var(--mx-line-strong); row-gap: 24px; }
.t-case-text { grid-column: 1 / 5; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; }
.t-case-text .t-d3 a:is(:hover, [data-hover]) { color: var(--mx-ink2); }
.t-case-line { margin: 14px 0 0; font-size: 17px; line-height: 26px; color: var(--mx-ink2); max-width: 26em; text-wrap: pretty; }
.t-case-foot { display: flex; flex-direction: column; gap: 20px; }
.t-case-media { grid-column: 5 / 13; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.t-case-cap { min-height: 20px; }

/* the index of all the work */
.t-index { margin: 0; padding: 0; list-style: none; border-top: var(--mx-hair) solid var(--mx-ink); position: relative; }
.t-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr); column-gap: var(--t-g); align-items: baseline;
  padding: 14px 0 13px; border-bottom: var(--mx-hair) solid var(--mx-line-strong); font-size: 13px; line-height: 20px; letter-spacing: 0; color: var(--mx-ink3); }
.t-row:is(:hover, [data-hover]) { background: var(--mx-hover); }
.t-row-name { font-family: var(--mx-font-display); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; font-weight: var(--mx-w-display); letter-spacing: -0.025em; color: var(--mx-ink); }
.t-row-end { text-align: right; font-variant-numeric: tabular-nums; }
.t-row:focus-visible { outline: 1.5px solid var(--mx-focus); outline-offset: -1.5px; }
.t-peek { display: flex; flex-direction: column; gap: 8px; padding: 4px; }
.t-peek .t-shot-inline { border-radius: var(--mx-r-value); overflow: hidden; box-shadow: 0 0 0 var(--mx-hair) var(--mx-line); aspect-ratio: 16 / 10; background: var(--mx-ground); }
.t-peek .t-shot-inline img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.t-peek p { margin: 0; font-size: 13px; line-height: 19px; color: var(--mx-ink2); letter-spacing: 0; }

/* how a project runs: a real sequence, so it is numbered */
.t-steps { margin: 0; padding: 0; list-style: none; border-top: var(--mx-hair) solid var(--mx-ink); row-gap: 32px; counter-reset: step; }
.t-steps li { grid-column: span 3; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.t-steps li::before { counter-increment: step; content: counter(step); font-size: 13px; line-height: 20px; color: var(--mx-ink3); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.t-steps p { margin: 0; font-size: 15px; line-height: 23px; color: var(--mx-ink2); max-width: 28em; text-wrap: pretty; }

/* the last word on a page */
.t-close { padding-top: var(--t-sec); }
.t-close-in { align-items: end; row-gap: 28px; padding-top: 24px; border-top: var(--mx-hair) solid var(--mx-ink); }
.t-close .t-d2 { grid-column: 1 / 9; }
.t-close-side { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding-bottom: 8px; }
.t-close-side p { margin: 0; font-size: 15px; line-height: 23px; color: var(--mx-ink2); }
.t-close-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.t-email { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; line-height: 22px; }
.t-copy { height: 28px; padding: 0 12px; border: 0; border-radius: var(--mx-r-press); background: var(--mx-pill); color: var(--mx-ink); font: inherit; font-size: 12px; }
.t-copy:is(:hover, [data-hover]) { background: var(--mx-selected); }

/* ------------------------------------------------------------------ footer */
.t-foot { margin-top: calc(var(--t-sec) * .6); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
.t-foot-in { padding-top: 28px; border-top: var(--mx-hair) solid var(--mx-line-strong); row-gap: 32px; }
.t-foot-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 22px; min-width: 0; }
.t-foot-col:nth-child(1) { grid-column: 1 / 4; }
.t-foot-col:nth-child(2) { grid-column: 4 / 6; }
.t-foot-col:nth-child(3) { grid-column: 6 / 10; }
.t-foot-col:nth-child(4) { grid-column: 10 / 13; }
.t-foot-col p { margin: 0; color: var(--mx-ink2); max-width: 30em; }
.t-foot-label { font-size: 13px; line-height: 20px; color: var(--mx-ink3); letter-spacing: 0; }
.t-foot-nav { display: flex; flex-direction: column; gap: 2px; }
.t-foot-nav a { color: var(--mx-ink); transition: color var(--mx-color) linear; }
.t-foot-nav a:is(:hover, [data-hover]) { color: var(--mx-ink3); transition-duration: 0s; }
.t-foot-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.t-foot-tools .mx-theme { transform: scale(.84); transform-origin: left center; margin-right: -8px; }
.t-foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; font-size: 13px; line-height: 20px; color: var(--mx-ink3); letter-spacing: 0; }

/* ------------------------------------------------------------------ page heads */
.t-head { padding-top: clamp(40px, 7vw, 120px); }
.t-head-title { display: flex; align-items: flex-start; gap: .12em; }
.t-count { font-family: var(--mx-font); font-size: clamp(15px, 1.5vw, 22px); line-height: 1; font-weight: var(--mx-w-ui); letter-spacing: 0; color: var(--mx-ink3); padding-top: .5em; font-variant-numeric: tabular-nums; }
.t-head .t-lede { margin-top: clamp(24px, 3vw, 40px); max-width: 34em; }
.t-crumb { display: flex; gap: 8px; margin: 0 0 clamp(20px, 2.4vw, 32px); font-size: 13px; line-height: 20px; color: var(--mx-ink3); letter-spacing: 0; }
.t-crumb a { color: var(--mx-ink3); transition: color var(--mx-color) linear; }
.t-crumb a:is(:hover, [data-hover]) { color: var(--mx-ink); transition-duration: 0s; }

/* ------------------------------------------------------------------ work */
.t-work-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(40px, 5vw, 72px); padding-bottom: 20px; }
.t-work-bar .mx-dock { padding: 3px; box-shadow: none; background: var(--mx-pill); -webkit-backdrop-filter: none; backdrop-filter: none; }
.t-work-bar .mx-dock-thumb { top: 3px; bottom: 3px; background: var(--mx-raised); box-shadow: var(--mx-e1), 0 0 0 var(--mx-hair) var(--mx-line); }
.t-work-bar .mx-dock-opt { height: 30px; padding: 0 13px; font-size: 14px; }
.t-tile { display: flex; flex-direction: column; gap: 12px; }
.t-tile:is(:hover, [data-hover]) .t-plate { background: var(--mx-selected); }
.t-tile-text { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.t-tile-name { margin: 0; font-size: 17px; line-height: 24px; font-weight: var(--mx-w-label); letter-spacing: -0.013em; }
.t-tile-type { flex: none; font-size: 13px; line-height: 20px; color: var(--mx-ink3); letter-spacing: 0; }
.t-tile-line { margin: -6px 0 0; font-size: 14px; line-height: 21px; color: var(--mx-ink2); max-width: 40em; text-wrap: pretty; }
.t-names { position: relative; padding-top: 8px; --mx-wall-size: clamp(34px, 5.6vw, 88px); }

/* ------------------------------------------------------------------ case pages */
.t-intro { margin-top: clamp(28px, 3.6vw, 56px); row-gap: 32px; align-items: start; }
.t-intro .t-lede { grid-column: 1 / 8; }
.t-intro .t-facts { grid-column: 9 / 13; }
.t-lead { margin: clamp(48px, 6vw, 96px) 0 0; display: flex; flex-direction: column; gap: 12px; }
.t-fig { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.t-pic { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--mx-r-contain); overflow: hidden; background: var(--mx-ground); box-shadow: 0 0 0 var(--mx-hair) var(--mx-line); }
.t-pic img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.t-fig figcaption, .t-lead figcaption { max-width: 60ch; font-size: 13px; line-height: 20px; color: var(--mx-ink3); letter-spacing: 0; text-wrap: pretty; }
.t-case-body { margin-top: clamp(24px, 4vw, 64px); align-items: start; }
.t-rail { grid-column: 1 / 4; position: sticky; top: calc(var(--t-bar) + 32px); padding-top: calc(var(--t-sec) * .55); }
.t-rail nav { position: relative; display: flex; flex-direction: column; padding-left: 16px; border-left: var(--mx-hair) solid var(--mx-line-strong); }
.t-rail a { padding: 5px 0; font-size: 14px; line-height: 20px; color: var(--mx-ink3); transition: color var(--mx-color) linear; }
.t-rail a:is(:hover, [data-hover]), .t-rail a.is-on { color: var(--mx-ink); transition-duration: 0s; }
.t-rail-bar { position: absolute; left: -1px; top: 0; width: 2px; border-radius: 1px; background: var(--mx-ink); }
.t-rail-title { margin: 0 0 12px; font-size: 13px; line-height: 20px; color: var(--mx-ink); font-weight: var(--mx-w-label); letter-spacing: 0; }
.t-chapters { grid-column: 4 / 13; min-width: 0; }
.t-chapter { padding-top: calc(var(--t-sec) * .55); scroll-margin-top: calc(var(--t-bar) + 8px); }
.t-chapter-head { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--t-g); row-gap: 24px; align-items: start; }
.t-chapter-head .t-d3 { grid-column: 1 / -1; }
.t-chapter-head .t-body { grid-column: 1 / 6; }
.t-chapter-aside { grid-column: 6 / 10; padding-left: var(--t-g); display: flex; flex-direction: column; gap: 16px; }
.t-list { margin: 0; padding: 0; list-style: none; }
.t-list li { display: grid; grid-template-columns: minmax(0, 7em) minmax(0, 1fr); gap: 12px; padding: 7px 0; border-bottom: var(--mx-hair) solid var(--mx-line-strong); font-size: 13px; line-height: 20px; letter-spacing: 0; color: var(--mx-ink2); }
.t-list li:first-child { border-top: var(--mx-hair) solid var(--mx-line-strong); }
.t-list b { font-weight: var(--mx-w-label); color: var(--mx-ink); }
.t-list li:has(.is-key) { grid-template-columns: 32px minmax(0, 1fr); }
.t-list.is-pairs li { display: flex; justify-content: space-between; gap: 20px; }
.t-list.is-pairs b { font-weight: var(--mx-w-body); color: var(--mx-ink3); }
.t-list.is-pairs span { color: var(--mx-ink); text-align: right; font-variant-numeric: tabular-nums; }
.t-list b.is-key { justify-self: start; min-width: 22px; height: 20px; padding: 0 6px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--mx-r-key); background: var(--mx-pill); box-shadow: inset 0 -1px 0 var(--mx-line); font-size: 12px; }
.t-ref { margin: 0; font-size: 13px; line-height: 20px; color: var(--mx-ink3); letter-spacing: 0; }
.t-figs { margin-top: clamp(32px, 3.6vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--t-g); }
.t-figs .is-wide { grid-column: 1 / -1; }
.t-next { margin-top: var(--t-sec); padding-top: 24px; border-top: var(--mx-hair) solid var(--mx-ink); align-items: end; row-gap: 20px; }
.t-next-text { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 14px; padding-bottom: 6px; }
.t-next-text .t-small { display: flex; gap: 16px; }
.t-next .t-plate { grid-column: 5 / 13; }
.t-next-name:is(:hover, [data-hover]) { color: var(--mx-ink2); }

/* chapters as a row of pills where the rail has no room */
.t-chapnav { display: none; gap: 6px; margin-top: 40px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--t-m) * -1); padding-inline: var(--t-m); }
.t-chapnav::-webkit-scrollbar { display: none; }
.t-chapnav a { flex: none; height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: var(--mx-r-press); background: var(--mx-pill); font-size: 14px; color: var(--mx-ink); }
.t-chapnav a:is(:hover, [data-hover]) { background: var(--mx-selected); }

/* the Zibaldone viewer and marks */
.t-zv { margin-top: clamp(32px, 3.6vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.t-zv-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.t-zv-bar .mx-dock { padding: 3px; background: var(--mx-pill); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.t-zv-bar .mx-dock-thumb { top: 3px; bottom: 3px; background: var(--mx-raised); box-shadow: var(--mx-e1), 0 0 0 var(--mx-hair) var(--mx-line); }
.t-zv-bar .mx-dock-opt { height: 30px; padding: 0 13px; font-size: 14px; }
.t-marks { margin-top: clamp(32px, 3.6vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--t-g); }
.t-markfig { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.t-markplate { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: var(--mx-r-contain); background: var(--mx-ground); color: var(--mx-ink); }
.t-markplate > span { display: block; width: 44%; }
.t-markplate svg { display: block; width: 100%; height: auto; }
.t-markplate.is-ink { background: var(--mx-ink); color: var(--mx-page); }
.z-handle { fill: var(--t-handle); }
.t-marksizes { position: absolute; left: 16px; bottom: 14px; display: flex; align-items: flex-end; gap: 14px; }
.t-marksizes span { display: block; }
.t-markfig h3 { margin: 0; display: flex; justify-content: space-between; gap: 12px; font-size: 16px; line-height: 22px; font-weight: var(--mx-w-label); }
.t-markfig h3 span { font-size: 13px; color: var(--mx-ink3); font-weight: var(--mx-w-body); letter-spacing: 0; }
.t-markfig p { margin: 0; font-size: 14px; line-height: 21px; color: var(--mx-ink2); max-width: 46ch; }

/* identity studies: each direction running with its parts */
.t-demo { margin-top: clamp(32px, 3.6vw, 48px); }
.t-demo .hint { margin: 10px 0 0; font-size: 13px; line-height: 20px; color: var(--mx-ink3); }

/* ------------------------------------------------------------------ lab: the Mechanics page inside the site */
.t-lab .page { padding-inline: 0; font-size: 15px; }
.t-lab .hero { padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 8vw, 120px); }
.t-lab .parts { padding-bottom: 0; }

/* ------------------------------------------------------------------ services, about */
.t-svc { border-top: var(--mx-hair) solid var(--mx-ink); }
.t-svc-row { padding: 28px 0 36px; border-bottom: var(--mx-hair) solid var(--mx-line-strong); row-gap: 20px; align-items: start; }
.t-svc-row .t-d3 { grid-column: 1 / 5; }
.t-svc-row .t-body { grid-column: 5 / 10; }
.t-svc-ex { grid-column: 10 / 13; position: relative; display: flex; flex-direction: column; gap: 6px; }
.t-svc-ex a { font-size: 14px; line-height: 22px; color: var(--mx-ink); width: fit-content; }
.t-gets { margin: 0; padding: 0; list-style: none; border-top: var(--mx-hair) solid var(--mx-ink); row-gap: 28px; }
.t-gets li { grid-column: span 3; padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.t-gets p { margin: 0; font-size: 15px; line-height: 23px; color: var(--mx-ink2); max-width: 28em; }
.t-principles { margin: 0; padding: 0; list-style: none; border-top: var(--mx-hair) solid var(--mx-ink); }
.t-principles li { padding: 22px 0 24px; border-bottom: var(--mx-hair) solid var(--mx-line-strong); align-items: baseline; row-gap: 8px; }
.t-principles h3 { grid-column: 1 / 6; margin: 0; font-family: var(--mx-font-display); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; font-weight: var(--mx-w-display); letter-spacing: -0.025em; }
.t-principles p { grid-column: 7 / 12; margin: 0; font-size: 15px; line-height: 23px; color: var(--mx-ink2); max-width: 34em; }
.t-about-intro { margin-top: clamp(32px, 4vw, 56px); align-items: start; row-gap: 32px; }
.t-about-intro .t-body { grid-column: 1 / 7; }
.t-about-intro .t-facts { grid-column: 9 / 13; }

/* ------------------------------------------------------------------ contact */
.t-contact { margin-top: clamp(32px, 4vw, 56px); align-items: start; row-gap: 40px; }
.t-contact-side { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 28px; }
.t-contact-main { grid-column: 6 / 13; }
.t-form { display: flex; flex-direction: column; gap: 22px; }
.t-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.t-in { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 20px; color: var(--mx-ink3); letter-spacing: 0; }
.t-in input, .t-in textarea { box-sizing: border-box; width: 100%; height: 44px; padding: 0 14px; border: 0; border-radius: var(--mx-r-value); background: var(--mx-well);
  box-shadow: inset 0 0 0 var(--mx-hair) var(--mx-line); font: inherit; font-size: 15px; line-height: 22px; letter-spacing: -0.011em; color: var(--mx-ink); outline: none; }
.t-in textarea { height: 168px; padding: 11px 14px; resize: vertical; }
.t-in input::placeholder, .t-in textarea::placeholder { color: var(--mx-faded); }
.t-in input:focus-visible, .t-in textarea:focus-visible { box-shadow: inset 0 0 0 1.5px var(--mx-focus); }
.t-form.is-checked :invalid { box-shadow: inset 0 0 0 1px #c9362c; }
.t-kinds { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
.t-kinds legend { padding: 0 0 8px; font-size: 13px; line-height: 20px; color: var(--mx-ink3); letter-spacing: 0; }
.t-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.t-chip { position: relative; }
.t-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.t-chip span { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: var(--mx-r-press); background: var(--mx-pill); font-size: 14px; color: var(--mx-ink2); }
.t-chip:is(:hover, [data-hover]) span { color: var(--mx-ink); }
.t-chip input:checked + span { background: var(--mx-ink); color: var(--mx-on-ink); }
.t-chip input:focus-visible + span { box-shadow: 0 0 0 1.5px var(--mx-focus); }
.t-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.t-brief { display: flex; flex-direction: column; gap: 16px; }
.t-brief pre { margin: 0; padding: 20px 22px; border-radius: var(--mx-r-contain); background: var(--mx-well); font-family: var(--mx-font); font-size: 15px; line-height: 24px; white-space: pre-wrap; color: var(--mx-ink); }

/* ------------------------------------------------------------------ zoom (the part from src/zoom) */
.s-zoom { position: fixed; inset: 0; z-index: 80; }
.s-zoom-scrim { position: absolute; inset: 0; padding: 0; border: 0; background: color-mix(in srgb, var(--mx-page) 96%, transparent); cursor: zoom-out; }
.s-zoom-img { position: absolute; left: 0; top: 0; transform-origin: 0 0; border-radius: var(--mx-r-value); box-shadow: 0 0 0 var(--mx-hair) var(--mx-line), var(--mx-e3); cursor: zoom-out; max-width: none; background: var(--mx-ground); }
.s-zoom-bar { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-inline: 40px; }
.s-zoom-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.s-zoom-count { font-size: 12px; line-height: 16px; color: var(--mx-ink3); font-variant-numeric: tabular-nums; }
.s-zoom-cap { margin: 0; max-width: 80ch; font-size: 14px; line-height: 20px; color: var(--mx-ink2); }
.s-zoom-ctl { display: flex; gap: 6px; flex: none; }
.s-zoom-btn { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background: var(--mx-pill); color: var(--mx-ink); font-size: 15px; }
.s-zoom-btn:is(:hover, [data-hover]) { background: var(--mx-selected); }

/* ------------------------------------------------------------------ tracks: the marquee and the slider */
.t-mq { position: relative; overflow: hidden; margin-top: clamp(32px, 4vw, 56px); user-select: none; -webkit-user-select: none; }
.t-mq-move { display: flex; cursor: grab; touch-action: pan-y; }
.t-mq-move.is-dragging { cursor: grabbing; }
.t-mq-item { flex: none; width: clamp(220px, 19.6vw, 300px); padding: 0 10px; box-sizing: border-box; will-change: transform; }
.t-mq-part { position: relative; height: 112px; padding: 0 22px; display: flex; flex-direction: column; justify-content: center; gap: 4px; color: var(--mx-ink);
  --c: var(--mx-line-strong);
  background:
    linear-gradient(var(--c), var(--c)) left top / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1px 12px no-repeat;
  transition: color var(--mx-color) linear; }
.t-mq-part:is(:hover, [data-hover]) { --c: var(--mx-ink); transition-duration: 0s; }
.t-mq-name { font-family: var(--mx-font-display); font-size: clamp(22px, 2vw, 30px); line-height: 1.1; font-weight: var(--mx-w-display); letter-spacing: -0.03em; white-space: nowrap; }
.t-mq-name sup { margin-left: 3px; font-family: var(--mx-font); font-size: 11px; font-weight: var(--mx-w-ui); letter-spacing: 0; color: var(--mx-ink3); vertical-align: super; font-variant-numeric: tabular-nums; }
.t-mq-group { font-size: 13px; line-height: 20px; letter-spacing: 0; color: var(--mx-ink3); }
.t-mq-fade { position: absolute; top: 0; bottom: 0; left: 0; z-index: 2; width: min(240px, 16vw); pointer-events: none; background: linear-gradient(90deg, var(--mx-page), color-mix(in srgb, var(--mx-page) 0%, transparent)); }
.t-mq-fade.is-right { left: auto; right: 0; transform: scaleX(-1); }
.t-mq-part:focus-visible { outline: 1.5px solid var(--mx-focus); outline-offset: 2px; }

.t-sl { margin-top: clamp(40px, 5vw, 72px); }
.t-sl-wrap { display: flex; overflow: hidden; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; padding-inline: calc(50% - 15vw); outline: none; }
.t-sl-wrap.is-dragging { cursor: grabbing; }
.t-sl-wrap:focus-visible { box-shadow: inset 0 0 0 1.5px var(--mx-focus); }
.t-sl-slide { flex: none; width: 42.5vw; padding-right: 20px; box-sizing: border-box; will-change: transform; }
.t-sl-inner { will-change: transform; }
.t-sl-frame { position: relative; display: block; aspect-ratio: 578 / 400; overflow: hidden; border-radius: var(--mx-r-value); background: var(--mx-ground); -webkit-user-drag: none; }
.t-sl-frame:focus-visible { outline: 1.5px solid var(--mx-focus); outline-offset: 3px; }
.t-sl-imgwrap { position: absolute; top: 0; bottom: 0; left: -10%; width: 120%; will-change: transform; backface-visibility: hidden; }
.t-sl-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.t-sl-info { display: flex; flex-direction: column; gap: 2px; padding-top: 18px; }
.t-sl-name { margin: 0; font-family: var(--mx-font-display); font-size: clamp(22px, 2.1vw, 32px); line-height: 1.1; font-weight: var(--mx-w-display); letter-spacing: -0.03em; }
.t-sl-type { margin: 0; font-size: 14px; line-height: 20px; color: var(--mx-ink3); }
.t-sl-lines { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.t-sl-line { position: relative; width: 20px; height: 2px; padding: 0; border: 0; border-radius: 1px; background: var(--mx-line-strong); transition: width var(--mx-d-tau) var(--mx-ease-tau), background-color var(--mx-color) linear; }
.t-sl-line::after { content: ""; position: absolute; inset: -9px -3px; }
.t-sl-line:is(:hover, [data-hover]) { background: var(--mx-ink3); }
.t-sl-line.is-active { width: 64px; background: var(--mx-ink); }
.t-sl-line:focus-visible { outline: 1.5px solid var(--mx-focus); outline-offset: 4px; }
@media (max-width: 768px) {
  .t-sl-wrap { padding-inline: calc(50% - 40vw); }
  .t-sl-slide { width: 80vw; padding-right: 12px; }
}

/* ------------------------------------------------------------------ archive */
/* Field fills the window under the bar, so the footer steps aside while it is shown. */
.t-site[data-page="archive"][data-archive="field"] .t-foot { display: none; }
.t-af { position: relative; height: calc(100svh - var(--t-bar) - env(safe-area-inset-top, 0px)); min-height: 420px; overflow: hidden; background: var(--mx-page); }
.t-af-field { position: absolute; inset: 0; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; }
.t-af-field:focus-visible { box-shadow: inset 0 0 0 1.5px var(--mx-focus); }
.t-af-plane { position: absolute; inset: 0; transform-origin: 50% 50%; }
.t-af-plane.is-in { animation: t-in var(--mx-op-in) linear; }
/* a square cell with the picture small in its middle, in one of three shapes, white all round */
.t-af-tile { position: absolute; left: 0; top: 0; width: var(--cell); height: var(--cell); display: flex; align-items: center; justify-content: center; contain: layout size; pointer-events: none; }
.t-af-media { position: relative; flex: none; max-width: var(--in); max-height: var(--in); border-radius: 6px; overflow: hidden; background: var(--mx-ground);
  transition: transform var(--mx-d-tau) var(--mx-ease-tau); will-change: transform; pointer-events: auto; }
.t-af-media[data-shape="full"] { width: var(--in); aspect-ratio: 16 / 10; }
.t-af-media[data-shape="plate"] { width: calc(var(--in) * .9); aspect-ratio: 5 / 4; }
.t-af-media[data-shape="detail"] { height: var(--in); aspect-ratio: 4 / 5; }
.t-af-shot { position: absolute; inset: 0; overflow: hidden; background: var(--mx-raised); box-shadow: inset 0 0 0 var(--mx-hair) var(--mx-line); }
.t-af-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
[data-shape="plate"] > .t-af-shot { inset: auto 10%; top: 50%; aspect-ratio: 16 / 10; transform: translateY(-50%); border-radius: 3px; box-shadow: 0 0 0 var(--mx-hair) var(--mx-line), var(--mx-e1); }
[data-shape="detail"] > .t-af-shot img { object-position: 30% top; }
.t-af-field:not(.is-dragging) .t-af-tile:is(:hover, [data-hover]) { z-index: 3; }
.t-af-field:not(.is-dragging) .t-af-tile:is(:hover, [data-hover]) .t-af-media { transform: scale(1.14); }
.t-af-head, .t-af-hint { position: absolute; top: 16px; z-index: 2; margin: 0; height: 32px; padding: 0 14px; display: flex; align-items: center; gap: 10px; pointer-events: none;
  border-radius: var(--mx-r-press); background: var(--mx-glass-strong); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 0 0 var(--mx-hair) var(--mx-line); }
.t-af-head { left: var(--t-m); }
.t-af-hint { right: var(--t-m); font-size: 13px; line-height: 20px; letter-spacing: 0; color: var(--mx-ink2); }
.t-af-title { margin: 0; font-size: 14px; line-height: 20px; font-weight: var(--mx-w-label); letter-spacing: -0.006em; }
.t-af-count { font-size: 13px; line-height: 20px; letter-spacing: 0; color: var(--mx-ink3); font-variant-numeric: tabular-nums; }
.t-af-empty { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: min(420px, calc(100% - 32px)); margin: 0; text-align: center; font-size: 15px; line-height: 23px; color: var(--mx-ink2); text-wrap: pretty; }

/* Gallery: the pictures in columns, each on one of three grounds so the columns fall unevenly */
.t-ag { padding-bottom: 72px; }
.t-ag-body { margin-top: clamp(40px, 5vw, 72px); }
.t-ag-card { display: flex; flex-direction: column; gap: 10px; }
.t-ag-media { position: relative; border-radius: var(--mx-r-value); overflow: hidden; background: var(--mx-ground); transition: background-color var(--mx-color) linear; }
.t-ag-media[data-shape="full"] { aspect-ratio: 16 / 10; }
.t-ag-media[data-shape="plate"] { aspect-ratio: 5 / 4; }
.t-ag-media[data-shape="detail"] { aspect-ratio: 4 / 5; }
.t-ag-shot { position: absolute; inset: 0; overflow: hidden; background: var(--mx-raised); box-shadow: inset 0 0 0 var(--mx-hair) var(--mx-line); }
.t-ag-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
[data-shape="plate"] .t-ag-shot { inset: auto 9%; top: 50%; aspect-ratio: 16 / 10; transform: translateY(-50%); border-radius: 6px; box-shadow: 0 0 0 var(--mx-hair) var(--mx-line), var(--mx-e2); }
[data-shape="detail"] .t-ag-shot img { object-position: 30% top; }
.t-ag-card:is(:hover, [data-hover]) .t-ag-media { background: var(--mx-selected); transition-duration: 0s; }
.t-ag-card:focus-visible { outline: none; }
.t-ag-card:focus-visible .t-ag-media { outline: 1.5px solid var(--mx-focus); outline-offset: 3px; }
.t-ag-text { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 14px; line-height: 20px; }
.t-ag-no { flex: none; font-size: 12px; color: var(--mx-ink3); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.t-ag-name { min-width: 0; font-weight: var(--mx-w-label); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-ag-proj { flex: none; margin-left: auto; font-size: 13px; color: var(--mx-ink3); letter-spacing: 0; }
.t-ag-cap { margin: -4px 0 0; font-size: 14px; line-height: 21px; color: var(--mx-ink3); text-wrap: pretty; transition: color var(--mx-color) linear; }
.t-ag-card:is(:hover, [data-hover]) .t-ag-cap { color: var(--mx-ink); transition-duration: 0s; }
.t-ag-empty { margin: 0; padding: 24px 0 120px; font-size: 15px; line-height: 23px; color: var(--mx-ink2); max-width: 40em; }

/* the controls: Collins' geometry, durations and spring, drawn in the site's tokens */
.t-ac {
  --a-spring: linear(0 0%,.005927 1%,.022466 2%,.047872 3%,.080554 4%,.119068 5%,.162116 6%,.208536 7%,.2573 8%,.3075 9%,.358346 10%,.409157 11%,.45935 12%,.508438 13%,.556014 14%,.601751 15%,.645389 16%,.686733 17%,.72564 18%,.762019 19%,.795818 20%,.827026 21%,.855662 22%,.881772 23%,.905423 24%,.926704 25%,.945714 26%,.962568 27%,.977386 28%,.990295 29%,1.00143 30%,1.01091 31%,1.01888 32%,1.02547 33%,1.03079 34%,1.03498 35%,1.03816 36%,1.04042 37%,1.04189 38%,1.04266 39%,1.04283 40%,1.04247 41%,1.04168 42%,1.04052 43%,1.03907 44%,1.03737 45%,1.03549 46%,1.03348 47%,1.03138 48%,1.02922 49%,1.02704 50%,1.02486 51%,1.02272 52%,1.02063 53%,1.01861 54%,1.01667 55%,1.01482 56%,1.01307 57%,1.01142 58%,1.00989 59%,1.00846 60%,1.00715 61%,1.00594 62%,1.00485 63%,1.00386 64%,1.00296 65%,1.00217 66%,1.00147 67%,1.00085 68%,1.00031 69%,.999849 70%,.999457 71%,.999128 72%,.998858 73%,.99864 74%,.99847 75%,.998342 76%,.998253 77%,.998196 78%,.998169 79%,.998167 80%,.998186 81%,.998224 82%,.998276 83%,.998341 84%,.998415 85%,.998497 86%,.998584 87%,.998675 88%,.998768 89%,.998861 90%,.998954 91%,.999045 92%,.999134 93%,.99922 94%,.999303 95%,.999381 96%,.999455 97%,.999525 98%,.999589 99%,.99965 100%);
  --iconsize: 1.15rem; --duration: 1s; --ease: var(--a-spring); --duration-clip-path: .65s; --ease-clip-path: var(--a-spring);
  --size: 2.5rem; --gap: 1rem;
  position: fixed; left: 50%; translate: -50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 45;
  display: grid; align-items: center; gap: var(--gap); height: var(--size);
  grid-template-columns: calc(var(--size) * .5) var(--size) min(8rem, calc(100vw - var(--size) * 3 - 2rem - var(--gap) * 4)) var(--size) calc(var(--size) * .5);
  transition-delay: .1s;
}
@media (width < 768px) { .t-ac { --size: 2.875rem; bottom: max(1rem, env(safe-area-inset-bottom, 0px)); } }

.t-ac-toggle { grid-area: 1 / 2 / 2 / 4; position: relative; height: 100%; display: grid; grid-template-columns: repeat(2, 1fr); align-items: center;
  border-radius: 4rem; clip-path: inset(0 round 4rem); color: var(--mx-ink); font: 500 .8125rem/1 var(--mx-font); letter-spacing: 0;
  background: var(--mx-glass-strong); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--mx-line);
  transition: var(--duration) clip-path var(--ease), var(--duration) transform var(--ease), .01s visibility linear 0s; }
@media (width < 768px) { .t-ac-toggle { font-size: .875rem; } }
.t-ac-toggle::before, .t-ac-toggle::after { content: ""; position: absolute; left: 0; top: 0; z-index: 0; width: calc(50% + .75rem); height: 100%;
  border-radius: inherit; background: var(--mx-ink); transition: var(--duration-clip-path) transform var(--ease); }
.t-ac-toggle::after { transition-delay: .05s; }
.t-ac-toggle:has(label:nth-of-type(2) input:checked)::before, .t-ac-toggle:has(label:nth-of-type(2) input:checked)::after { transform: translate(calc(100% - 1.5rem)); }
.t-ac-toggle[data-collapsed="true"] { clip-path: inset(0 calc(100% - var(--size)) 0 0 round 4rem); transform: translate(-3.5rem);
  transition: var(--duration) clip-path var(--ease), var(--duration) transform var(--ease), .01s visibility linear .2s; }
.t-ac-toggle[data-collapsed="true"]::before, .t-ac-toggle[data-collapsed="true"]::after { transition: none; transition-delay: 0s; transform: translate(-4rem) !important; }
.t-ac-toggle[data-collapsed="true"] label { opacity: 0; transform: translate(-20%); visibility: hidden; }
.t-ac-toggle label { --offsetX: 0rem; position: relative; z-index: 1; height: 100%; display: flex; align-items: center; gap: .5rem; padding: 0 1.25rem 0 .75rem;
  border-radius: 4rem; cursor: default;
  transition: var(--duration) color var(--ease), .4s opacity var(--ease), var(--duration) transform var(--ease), var(--duration) visibility; }
.t-ac-toggle label:first-child { --offsetX: var(--iconsize); }
.t-ac-toggle label span { transition: var(--duration) transform var(--ease); }
.t-ac-toggle label:has(input:checked) { color: var(--mx-on-ink); }
.t-ac-toggle label:has(input:focus-visible) { box-shadow: inset 0 0 0 1.5px var(--mx-focus); }
.t-ac-toggle label input { appearance: none; -webkit-appearance: none; width: 0; height: 0; margin: 0; position: absolute; opacity: 0; }
.t-ac-toggle .t-ac-icon { display: block; flex: none; font-size: var(--iconsize); width: 1em; height: 1em; margin-right: calc(var(--iconsize) * -1); transform: scale(0); }
.t-ac-icon svg { display: block; width: 100%; height: 100%; overflow: visible; }
.t-ac-icon rect { transform-box: fill-box; transform-origin: center; }
.t-ac-toggle label input:checked ~ .t-ac-icon { transform: scale(1) translate(calc(var(--iconsize) * -1 + var(--offsetX))); }
.t-ac-toggle label input:checked ~ .t-ac-icon ~ span { transform: translate(var(--offsetX)); }
.t-ac-toggle label input:checked ~ .t-ac-icon rect { animation: t-ac-build 1s var(--a-spring) both; animation-delay: calc(var(--k) * 60ms); }
@keyframes t-ac-build { from { transform: scale(0); } }

.t-ac-search { grid-area: 1 / 2 / 2 / 6; position: relative; height: 100%; display: flex; align-items: center; gap: 1rem; border-radius: 4rem; pointer-events: none; }
.t-ac-form { pointer-events: auto; position: relative; width: 100%; height: 100%; margin: 0; display: grid; grid-template-columns: var(--size) 1fr; align-items: center;
  overflow: clip; border-radius: 4rem; clip-path: inset(0 round 4rem); color: var(--mx-ink);
  background: var(--mx-glass-strong); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--mx-line);
  transition: var(--duration-clip-path) clip-path var(--ease-clip-path), var(--duration) transform var(--ease); }
.t-ac-search[data-collapsed="true"] .t-ac-form { clip-path: inset(0 calc(100% - var(--size)) 0 0 round 4rem); transform: translate(calc(100% - var(--size) * 1.5 - 1rem)); }
.t-ac-search[data-collapsed="true"] .t-ac-glass { transform: translate(calc(var(--size) * -.05)); }
.t-ac-glass { position: relative; left: 4%; width: var(--size); height: var(--size); padding: 0; border: 0; background: none; color: inherit;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; border-radius: 4rem; transition: var(--duration) transform var(--ease); }
.t-ac-glass svg { width: 1em; height: 1em; }
.t-ac-glass:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--mx-focus); }
.t-ac-search input { min-width: 0; height: 100%; padding: 0 1rem 0 0; border: none; background: none; outline: none; -webkit-appearance: none; appearance: none;
  color: var(--mx-ink); font: 500 .8125rem/1 var(--mx-font); letter-spacing: 0; }
.t-ac-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.t-ac-search input::placeholder { color: var(--mx-ink); opacity: 0; }
.t-ac-search input:not(:placeholder-shown) ~ .t-ac-ph { visibility: hidden; }
@media (hover: none) { .t-ac-search input, .t-ac-ph { font-size: 16px; } }
.t-ac-ph { position: absolute; left: var(--size); top: 50%; width: calc(100% - var(--size) - 1rem); transform: translateY(-50%); clip-path: inset(0);
  color: var(--mx-ink); opacity: .5; font: 500 .8125rem/2 var(--mx-font); letter-spacing: 0; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  pointer-events: none; will-change: filter; }
.t-ac-close { position: absolute; left: -3.5rem; top: 0; width: var(--size); height: var(--size); aspect-ratio: 1; padding: 0; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: .8rem; pointer-events: auto; background: var(--mx-ink); color: var(--mx-on-ink);
  transition: .2s opacity var(--ease) .12s, calc(var(--duration) * .8) transform var(--ease), var(--duration) visibility; }
.t-ac-close svg { width: 1em; height: 1em; }
.t-ac-close:focus-visible { outline: 1.5px solid var(--mx-focus); outline-offset: 2px; }
.t-ac-search[data-collapsed="true"] .t-ac-close { opacity: 0; transform: translate(10rem); visibility: hidden;
  transition: .5s opacity var(--ease) 0s, var(--duration) transform var(--ease), var(--duration) visibility; }



/* zoom and drift: round buttons at the lower right; the name of a picture follows the pointer */
.t-af-zoom { position: absolute; right: var(--t-m); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 2; display: flex; gap: 6px; }
.t-af-zbtn { width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--mx-r-press); display: flex; align-items: center; justify-content: center;
  background: var(--mx-glass-strong); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--mx-line);
  color: var(--mx-ink); font: inherit; font-size: 18px; line-height: 1; }
.t-af-zbtn:is(:hover, [data-hover]) { background: var(--mx-raised); }
.t-af-zbtn:disabled { color: var(--mx-faded); }
.t-af-zbtn:focus-visible { outline: 1.5px solid var(--mx-focus); outline-offset: 2px; }
.t-af-field.is-dragging .mx-clabel { display: none; }

/* the viewer's link to the chapter */
.t-av-link { margin-top: 6px; font-size: 14px; }

@media (max-width: 720px) {
  .t-af-zoom { top: 12px; right: 12px; bottom: auto; }
  .t-af-zoom .t-af-zbtn:not(:first-child) { display: none; }
  .t-af-hint { display: none; }
  .t-af-head { left: 12px; top: 12px; }
  .t-nav .is-wide2 { display: none; }
}


/* ------------------------------------------------------------------ narrower screens */
@media (max-width: 1100px) {
  .t-hero-title { grid-column: 1 / -1; }
  .t-hero-side { grid-column: 1 / 8; }
  .t-case-text { grid-column: 1 / -1; }
  .t-case-media { grid-column: 1 / -1; }
  .t-close .t-d2, .t-close-side { grid-column: 1 / -1; }
  .t-rail { display: none; }
  .t-chapnav { display: flex; }
  .t-chapters { grid-column: 1 / -1; }
  .t-steps li, .t-gets li { grid-column: span 6; }
  .t-svc-row .t-d3 { grid-column: 1 / -1; }
  .t-svc-row .t-body { grid-column: 1 / 9; }
  .t-svc-ex { grid-column: 9 / 13; }
}
@media (max-width: 720px) {
  :root { --t-bar: 56px; }
  .t-site { font-size: 15px; }
  .t-nav a { padding: 0 9px; }
  .t-nav .is-wide { display: none; }
  .t-top-in { grid-template-columns: auto 1fr auto; column-gap: 4px; }
  .t-nav { justify-self: end; }
  .t-lede { font-size: 18px; line-height: 27px; }
  .t-body { font-size: 16px; line-height: 25px; }
  .t-hero-side { grid-column: 1 / -1; }
  .t-scope-bar { flex-direction: column; align-items: flex-start; }
  .t-scope-read { gap: 4px 20px; }
  .t-row { grid-template-columns: minmax(0, 1fr) auto; }
  .t-row > :nth-child(2), .t-row > :nth-child(3) { display: none; }
  .t-intro .t-lede, .t-intro .t-facts, .t-about-intro .t-body, .t-about-intro .t-facts { grid-column: 1 / -1; }
  .t-chapter-head .t-body, .t-chapter-aside { grid-column: 1 / -1; padding-left: 0; }
  .t-figs { grid-template-columns: 1fr; gap: 28px; }
  .t-marks { grid-template-columns: 1fr; }
  .t-next-text, .t-next .t-plate { grid-column: 1 / -1; }
  .t-steps li, .t-gets li { grid-column: 1 / -1; }
  .t-svc-row .t-body, .t-svc-ex { grid-column: 1 / -1; }
  .t-principles h3, .t-principles p { grid-column: 1 / -1; }
  .t-contact-side, .t-contact-main { grid-column: 1 / -1; }
  .t-form-row { grid-template-columns: 1fr; }
  .t-foot-col:nth-child(n) { grid-column: 1 / -1; }
  .t-foot-col:nth-child(2), .t-foot-col:nth-child(3) { grid-column: span 6; }
  .t-foot-col:nth-child(3) { grid-column: 1 / -1; }
  .s-zoom-bar { padding-inline: 12px; }
  .t-plate { aspect-ratio: 4 / 3; }
  .t-case-text { display: contents; }
  .t-case-text > div:first-child { grid-column: 1 / -1; order: 0; }
  .t-case-media { order: 1; }
  .t-case-foot { grid-column: 1 / -1; order: 2; }
  .t-shot { left: 5%; right: 5%; }
}
@media (max-width: 380px) {
  .t-brand span { display: none; }
}

/* ------------------------------------------------------------------ top bar: one floating pill */
:root { --t-bar: 76px; }
#view { padding-top: var(--t-bar); }
.t-top { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); left: 50%; z-index: 50; max-width: calc(100vw - 24px);
  transform: translateX(-50%); transition: transform var(--mx-d-tau) var(--mx-ease-tau), opacity var(--mx-op-out) linear;
  background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; }
.t-top.is-away { transform: translate(-50%, calc(-100% - 24px)); opacity: 0; pointer-events: none; }
.t-pill { border-radius: 24px; padding: 4px; background: var(--mx-glass-strong); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 0 0 var(--mx-hair) var(--mx-line-strong), var(--mx-e2); }
.t-pill-row { display: flex; align-items: center; height: 40px; gap: 2px; }
.t-top .t-brand { height: 40px; padding: 0 14px 0 10px; gap: 8px; font-size: 15px; border-radius: var(--mx-r-press); }
.t-top .t-brand:focus-visible { outline: 1.5px solid var(--mx-focus); outline-offset: -2px; }
.t-top .t-mark { width: 20px; height: 20px; }
.t-top .t-nav { gap: 0; }
.t-top .t-nav a { height: 32px; padding: 0 12px; font-size: 14px; }
.t-pill-tools { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.t-top .t-icon-btn { width: 32px; height: 32px; }
.t-cta { height: 32px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: var(--mx-r-press); background: var(--mx-ink); color: var(--mx-on-ink); font-size: 14px; font-weight: var(--mx-w-label); letter-spacing: -0.006em; white-space: nowrap; }
.t-site a.t-cta, .t-site a.t-btn { color: var(--mx-on-ink); }
.t-site a.t-btn.is-accent, .t-site a.t-cta[aria-current="page"] { color: var(--mx-on-accent); }
.t-cta:is(:hover, [data-hover]) { background: color-mix(in srgb, var(--mx-ink) 84%, var(--mx-page)); }
.t-cta[aria-current="page"] { background: var(--mx-accent); color: var(--mx-on-accent); }
.t-cta:focus-visible, .t-menu-btn:focus-visible { outline: 1.5px solid var(--mx-focus); outline-offset: 2px; }
.t-menu-btn { display: none; height: 32px; padding: 0 14px; border: 0; border-radius: var(--mx-r-press); background: var(--mx-pill); color: var(--mx-ink); font: inherit; font-size: 14px; font-weight: var(--mx-w-label); }
.t-menu { display: flex; flex-direction: column; padding: 10px 14px 14px; }
.t-menu a { font-family: var(--mx-font-display); font-size: 30px; line-height: 42px; font-weight: var(--mx-w-display); letter-spacing: -0.035em; color: var(--mx-ink3); }
.t-menu a[aria-current="page"], .t-menu a:is(:hover, [data-hover]) { color: var(--mx-ink); }
@media (max-width: 760px) {
  .t-top { left: 12px; right: 12px; max-width: none; transform: none; }
  .t-top.is-away { transform: translateY(calc(-100% - 24px)); }
  .t-top .t-nav { display: none; }
  .t-pill-row { justify-content: space-between; }
  .t-pill-tools { margin-left: auto; }
  .t-menu-btn { display: inline-flex; align-items: center; }
  .t-top .t-brand span { display: inline; }
}

/* ------------------------------------------------------------------ home: the new hero */
.t-hero2 { padding-top: clamp(40px, 6.4vw, 104px); }
.t-hero2-now { margin: 0 0 clamp(24px, 3vw, 40px); display: inline-flex; align-items: center; gap: 10px; font-size: 13px; line-height: 20px; letter-spacing: 0; color: var(--mx-ink2); }
.t-hero2-title { margin: 0; max-width: 16em; font-family: var(--mx-font-display); font-size: clamp(40px, 5.8vw, 100px); line-height: .98; font-weight: var(--mx-w-display); letter-spacing: -0.052em; text-wrap: balance; }
[data-family="neutral"] .t-hero2-title { letter-spacing: -0.06em; }
.t-w { display: inline-block; overflow: clip; overflow-clip-margin: .12em; padding-bottom: .06em; margin-bottom: -.06em; vertical-align: top; }
.t-w > span { display: inline-block; transform: translateY(105%); transition: transform 700ms var(--mx-ease-tau); transition-delay: calc(var(--i) * 28ms); }
.t-hero2-title.is-in .t-w > span { transform: none; }
.t-w.is-quiet { color: var(--mx-ink3); }
@media (prefers-reduced-motion: reduce) { .t-w > span { transform: none; transition: none; } }
.t-hero2-foot { margin-top: clamp(28px, 3.4vw, 52px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.t-hero2-side { margin: 0; max-width: 34em; font-size: 17px; line-height: 26px; color: var(--mx-ink2); text-wrap: pretty; }
.t-hero2-actions { display: flex; align-items: center; gap: 24px; }
.t-trace-note { margin: 12px 0 0; max-width: 60ch; font-size: 13px; line-height: 20px; letter-spacing: 0; color: var(--mx-ink3); }

/* ------------------------------------------------------------------ home: selected work as cards in two sizes */
.t-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 6vw, 96px) var(--t-g); }
.t-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.t-card.is-wide { grid-column: 1 / -1; }
.t-plate.is-wide { aspect-ratio: 2 / 1; }
.t-plate.is-wide .t-shot { left: 19%; right: 19%; }
.t-plate.is-half { aspect-ratio: 5 / 4; }
.t-plate.is-half .t-shot { left: 9%; right: 9%; }
.t-card-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 8px var(--t-g); align-items: baseline; }
.t-card.is-half .t-card-meta { grid-template-columns: minmax(0, 1fr) auto; }
.t-card.is-half .t-card-line { grid-column: 1 / -1; grid-row: 2; }
.t-card-name { margin: 0; font-family: var(--mx-font-display); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; font-weight: var(--mx-w-display); letter-spacing: -0.03em; }
.t-card-name a:is(:hover, [data-hover]) { color: var(--mx-ink2); }
.t-card-line { margin: 0; max-width: 46em; font-size: 15px; line-height: 23px; color: var(--mx-ink2); text-wrap: pretty; }
.t-card-type { font-size: 13px; line-height: 20px; letter-spacing: 0; color: var(--mx-ink3); text-align: right; white-space: nowrap; }
@media (max-width: 760px) {
  .t-cards { grid-template-columns: 1fr; }
  .t-plate.is-wide { aspect-ratio: 4 / 3; }
  .t-plate.is-wide .t-shot, .t-plate.is-half .t-shot { left: 6%; right: 6%; }
  .t-card-meta, .t-card.is-half .t-card-meta { grid-template-columns: minmax(0, 1fr) auto; }
  .t-card-line { grid-column: 1 / -1; grid-row: 2; }
  .t-hero2-actions { width: 100%; justify-content: space-between; }
}

/* ------------------------------------------------------------------ calmer everywhere: less weight on page titles, more air */
.t-d1 { font-size: clamp(56px, 9.4vw, 156px); letter-spacing: -0.052em; }
.t-head { padding-top: clamp(40px, 6.4vw, 110px); }
.t-foot-in { border-top-color: var(--mx-line); }
.t-close-in { border-top-width: var(--mx-hair); }

.t-top.is-stuck { box-shadow: none; }

/* Archive: the field runs under the floating bar, from the top of the window to the bottom */
.t-af { margin-top: calc(-1 * var(--t-bar)); height: 100svh; }
.t-af-head { top: calc(18px + env(safe-area-inset-top, 0px)); }
.t-af-hint { top: auto; right: auto; left: var(--t-m); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 1180px) { .t-af-hint { display: none; } }
@media (max-width: 760px) {
  .t-af-head { top: calc(var(--t-bar) + 4px); left: 12px; }
  .t-af-zoom { top: calc(var(--t-bar) + 4px); }
}
/* ------------------------------------------------------------------ type: the ramtt.com scale */
/* The scale of ramtt.com (apps/website/app/tokens.css, measured on linear.app, decision
   2026-09-25). Display in Inter 500: 72 for an ending, 64 for a page title, 48 for a chapter,
   26 to 32 for a subtitle, stepping down at 1279 and 639 px, tracked -0.022 em from 32 px up.
   Headings 15, 17 and 20 at 550. Text 15/24, a lede of 17/26, meta 13/20, small 12/16. */
:root {
  --ty-xl: 72px/1; --ty-l: 64px/1; --ty-m: 48px/1; --ty-s: clamp(26px, 2.6vw, 32px)/1.2;
  --ty-ls: -0.022em;
}
@media (max-width: 1279px) { :root { --ty-xl: 40px/1.1; --ty-l: 56px/1.1; --ty-m: 40px/1.1; } }
@media (max-width: 639px) { :root { --ty-xl: 38px/1.1; --ty-l: 38px/1.1; --ty-m: 24px/1.33; } }
:root:not([data-family="neutral"]) { --mx-font-display: var(--mx-font); }
.t-site { font-optical-sizing: auto; }
[data-family="neutral"] { --ty-ls: -0.03em; }

/* display */
.t-hero2-title { font: var(--mx-w-display) var(--ty-l) var(--mx-font-display); letter-spacing: var(--ty-ls); max-width: 16em; }
.t-d1, [data-family="neutral"] .t-d1 { font: var(--mx-w-display) var(--ty-l) var(--mx-font-display); letter-spacing: var(--ty-ls); }
.t-d2 { font: var(--mx-w-display) var(--ty-m) var(--mx-font-display); letter-spacing: var(--ty-ls); }
.t-d3 { font: var(--mx-w-display) var(--ty-s) var(--mx-font-display); letter-spacing: var(--ty-ls); }
.t-lab .part-name, .detail-name { font: var(--mx-w-display) var(--ty-s) var(--mx-font-display); letter-spacing: var(--ty-ls); }
.t-names, .t-lab .hero-wall, .nw-host { --mx-wall-size: clamp(24px, 2.6vw, 32px); }
.t-count { font-size: 13px; padding-top: .35em; }

/* headings: 20, 17 and 15 at 550 */
.t-card-name, .t-row-name, .t-principles h3, .t-sl-name, .t-mq-name, .t-svc-row .t-d3 { font: var(--mx-w-head) 20px/28px var(--mx-font); letter-spacing: -0.012em; }
.t-mq-name { white-space: nowrap; }
.t-h, .t-tile-name, .t-markfig h3 { font-size: 17px; line-height: 24px; font-weight: var(--mx-w-head); letter-spacing: -0.011em; }

/* text: a lede of 17/26, body 15/24 */
.t-lede, .t-hero2-side, .t-case-line { font-size: 17px; line-height: 26px; letter-spacing: -0.011em; }
.t-body, .t-card-line, .t-close-side p, .t-hero-side p, .t-steps p, .t-gets p, .t-principles p { font-size: 15px; line-height: 24px; letter-spacing: -0.011em; }
.t-body p { margin-bottom: 12px; }

/* the bar and its menu speak at 13 */
.t-top .t-nav a, .t-cta, .t-menu-btn, .t-top .t-brand { font-size: 13px; }
.t-top .t-brand { font-weight: var(--mx-w-head); font-size: 14px; }
.t-menu a { font: var(--mx-w-display) 24px/36px var(--mx-font-display); letter-spacing: var(--ty-ls); }
.t-btn { height: 40px; padding: 0 18px; font-size: 14px; }
.t-more { font-size: 14px; }

/* less space around smaller type */
.t-hero2 { padding-top: clamp(48px, 7vw, 120px); }
.t-hero2-foot { margin-top: 28px; }
.t-head .t-lede { margin-top: 24px; }
.t-sec-head { padding-bottom: 24px; }
/* ------------------------------------------------------------------ type: the studio register on top */
/* Measured on 15 award-winning studio sites at 1440 px (2026-09-30): the largest display
   has a median of 80 px (52 to 288), set light (400 most often) and tight (-0.015 to -0.02 em,
   line 1.07); section titles 29 to 32; body 16; navigation 14; meta 12; about 7 sizes; the
   largest type about 5 times the body. Tau keeps the ramtt.com scale for headings, navigation
   and meta, and adds four display steps above it for the few large moments. */
:root {
  --st-statement: clamp(38px, 6.4vw, 96px);   /* the hero and the closing line, 92 at 1440 */
  --st-title:     clamp(40px, 5vw, 72px);     /* a page title, 72 at 1440 */
  --st-chapter:   clamp(28px, 3.1vw, 48px);   /* a section or chapter, 45 at 1440 */
  --st-sub:       clamp(22px, 2.1vw, 32px);   /* a project name in a list, 30 at 1440 */
  --st-w: calc(var(--mx-w-display) - 50);     /* 450 in light, 420 in dark */
}
.t-hero2-title, .t-close .t-d2 { font: var(--st-w) var(--st-statement)/1 var(--mx-font-display); letter-spacing: -0.032em; }
.t-hero2-title { max-width: 15em; }
.t-d1, [data-family="neutral"] .t-d1, .t-d2 { font: var(--st-w) var(--st-title)/1 var(--mx-font-display); letter-spacing: -0.03em; }
.t-d3, .t-lab .part-name, .detail-name { font: var(--st-w) var(--st-chapter)/1.06 var(--mx-font-display); letter-spacing: -0.026em; }
.t-card-name, .t-sl-name, .t-row-name, .t-principles h3, .t-svc-row .t-d3 { font: var(--st-w) var(--st-sub)/1.15 var(--mx-font-display); letter-spacing: -0.02em; }
.t-mq-name { font: var(--mx-w-display) clamp(20px, 1.7vw, 26px)/1.15 var(--mx-font-display); letter-spacing: -0.018em; }
.t-names, .t-lab .hero-wall, .nw-host { --mx-wall-size: clamp(28px, 3.4vw, 52px); }
[data-family="neutral"] .t-hero2-title, [data-family="neutral"] .t-close .t-d2, [data-family="neutral"] .t-d1, [data-family="neutral"] .t-d2 { letter-spacing: -0.04em; }

/* text: a lede of 20/30 at 1440, body 16/26 */
.t-lede, .t-hero2-side { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; letter-spacing: -0.012em; }
.t-body, .t-card-line, .t-close-side p, .t-steps p, .t-gets p, .t-principles p, .t-case-line { font-size: 16px; line-height: 26px; letter-spacing: -0.011em; }

/* the large moments get their air back */
.t-hero2 { padding-top: clamp(48px, 8vw, 136px); }
.t-hero2-foot { margin-top: clamp(28px, 3vw, 44px); }
.t-head { padding-top: clamp(40px, 7vw, 120px); }
.t-head .t-lede { margin-top: clamp(20px, 2.4vw, 32px); }
.t-sec-head { padding-bottom: clamp(24px, 2.4vw, 36px); }
.t-count { font-size: 14px; padding-top: .3em; }
.t-hero2 { padding-top: clamp(40px, 5vw, 80px); }
.t-hero2-now { margin-bottom: clamp(20px, 2.2vw, 32px); }
.t-hero2-side { max-width: 40em; }
/* ------------------------------------------------------------------ home: the hero is the mark at work */
/* The title sits on the left and its side column ends on the title's last line. Under them a
   window on the ground shows the work one picture at a time; the column of pictures moves as
   a first-order ease and the line along the bottom draws that same position. */
.t-h3 { padding-top: clamp(40px, 5vw, 80px); }
.t-h3-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--t-g); row-gap: 28px; align-items: end; }
.t-h3 .t-hero2-title { grid-column: 1 / 10; max-width: 12.4em; }
.t-h3-side { grid-column: 10 / 13; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: .4em; }
.t-h3-side .t-hero2-now { margin: 0; align-items: baseline; }
.t-h3-side .t-now-dot { flex-shrink: 0; transform: translateY(-1px); }
.t-h3-lede { margin: 0; font-size: 15px; line-height: 24px; letter-spacing: -0.011em; color: var(--mx-ink2); text-wrap: pretty; }
.t-h3-side .t-hero2-actions { margin-top: 8px; }
.t-noun { color: inherit; text-decoration: none; outline: none; transition: color var(--mx-color) linear; }
.t-hero2-title.is-cycling .t-noun:not(.is-on) { color: var(--mx-faded); }
.t-noun:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; text-decoration-color: var(--mx-focus); }
@media (max-width: 1099px) {
  .t-h3 .t-hero2-title { grid-column: 1 / -1; }
  .t-h3-side { grid-column: 1 / -1; max-width: 36em; padding-bottom: 0; }
}

.t-reel { --reel-gap: 24px; --reel-ww: 54cqw; container-type: inline-size; position: relative; margin-top: clamp(32px, 3.6vw, 56px);
  border-radius: var(--mx-r-contain); background: var(--mx-ground); overflow: hidden; isolation: isolate; }
.t-reel-head { position: relative; z-index: 2; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 10px 0 24px; }
.t-reel-label { margin: 0; font-size: 13px; line-height: 20px; color: var(--mx-ink2); }
.t-reel-tau { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--mx-ink3); }
.t-reel-tau .mx-dock { box-shadow: 0 0 0 var(--mx-hair) var(--mx-line); padding: 3px; }
.t-reel-tau .mx-dock-thumb { top: 3px; bottom: 3px; }
.t-reel-tau .mx-dock-opt { height: 30px; padding: 0 12px; font-variant-numeric: tabular-nums; }
.t-reel-body { display: grid; grid-template-columns: minmax(0, 1fr) var(--reel-ww); column-gap: clamp(24px, 3cqw, 56px); padding: 0 24px 24px; }
.t-reel-side { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; }
.t-reel-caps { position: relative; height: 172px; overflow: hidden; }
.t-reel-win { position: relative; height: calc(var(--reel-ww) / 1.6); overflow: hidden; }
.t-reel-strip { position: absolute; inset: 0; will-change: transform; }
.t-frame { position: absolute; left: 0; right: 0; height: 100%; display: block; color: inherit; text-decoration: none; outline: none; }
.t-frame-text { position: absolute; left: 0; right: 0; height: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.t-frame-meta { margin: 0 0 12px; display: flex; gap: 12px; font-size: 13px; line-height: 20px; color: var(--mx-ink3); font-variant-numeric: tabular-nums; }
.t-frame-name { margin: 0; display: flex; flex-wrap: wrap; column-gap: .3em; font: var(--st-w) var(--st-sub)/1.15 var(--mx-font-display); letter-spacing: -0.02em; }
.t-frame-name span { color: var(--mx-ink3); }
.t-frame-cap { margin: 12px 0 0; max-width: 36ch; font-size: 15px; line-height: 24px; letter-spacing: -0.011em; color: var(--mx-ink2); text-wrap: pretty;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.t-frame-shot { position: absolute; inset: 0; border-radius: var(--mx-r-value); overflow: hidden; background: var(--mx-raised); box-shadow: inset 0 0 0 var(--mx-hair) var(--mx-line); }
.t-frame-shot img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; object-position: top; will-change: transform; }
.t-frame:focus-visible .t-frame-shot { box-shadow: inset 0 0 0 1.5px var(--mx-focus); }
.t-reel-trace { position: relative; flex: 1; min-height: 120px; max-height: 260px; cursor: crosshair; }
.t-reel-trace canvas { position: absolute; inset: 0; display: block; }
.t-h3 .t-trace-note { margin-top: 14px; }
@media (max-width: 759px) {
  .t-reel { --reel-ww: calc(100cqw - 32px); --reel-gap: 16px; }
  .t-reel-head { height: 56px; padding: 0 6px 0 16px; }
  .t-reel-tau .mx-dock-opt { padding: 0 10px; }
  .t-reel-body { grid-template-columns: minmax(0, 1fr); padding: 0 16px 16px; }
  .t-reel-win { grid-row: 1; }
  .t-reel-side { grid-row: 2; gap: 8px; padding-top: 14px; }
  .t-reel-caps { height: 26px; }
  .t-frame-meta, .t-frame-cap { display: none; }
  .t-frame-name { font-size: 20px; flex-wrap: nowrap; white-space: nowrap; }
  .t-reel-trace { flex: none; height: 96px; min-height: 0; }
}