﻿/* ==========================================================================
   HARDLINE WEB CO. / THE CUT
   Bone stock, black ink plates, one red line.
   The red slash in the HL monogram is the structural device: it runs the
   left spine of every page and cuts every headline it passes.
   ========================================================================== */

@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

:root {
  /* stock + ink */
  --stock: #ece8df;
  --stock-raise: #f6f3ec;
  --ink: #0e0f10;
  --ink-plate: #101113;
  --paper: #f4f1e8;
  --red: #ff1c23;
  --red-ink: #c4090f;

  /* contextual tokens, re-declared by .plate--dark */
  --bg: var(--stock);
  --fg: var(--ink);
  --fg-soft: rgba(14, 15, 16, 0.66);
  --fg-dim: rgba(14, 15, 16, 0.62);
  --hair: rgba(14, 15, 16, 0.16);
  --hair-strong: rgba(14, 15, 16, 0.34);
  --accent-text: var(--red-ink);

  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --wrap: 1400px;
  --spine-w: 0px;
  --masthead-h: 68px;
  --ease: cubic-bezier(0.16, 0.84, 0.3, 1);
}

.plate--dark {
  --bg: var(--ink-plate);
  --fg: var(--paper);
  --fg-soft: rgba(244, 241, 232, 0.64);
  --fg-dim: rgba(244, 241, 232, 0.56);
  --hair: rgba(244, 241, 232, 0.14);
  --hair-strong: rgba(244, 241, 232, 0.32);
  --accent-text: var(--red);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--masthead-h) + 24px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.shot *, html.shot *::before, html.shot *::after {
  animation: none !important;
  transition: none !important;
}

body {
  background: var(--stock);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-variation-settings: "wdth" 100;
  line-height: 1.62;
  min-width: 320px;
  overflow-x: hidden;
  padding-left: var(--spine-w);
}
body.menu-open { overflow: hidden; }

::selection { background: var(--red); color: var(--paper); }

img { display: block; height: auto; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Type primitives
   -------------------------------------------------------------------------- */

.display {
  font-family: var(--font-sans);
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 0.88;
  text-transform: uppercase;
}
h1, h2, h3 { font-weight: 800; }

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tag {
  align-items: center;
  color: var(--accent-text);
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  gap: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.tag::before {
  background: currentColor;
  content: "";
  height: 7px;
  width: 7px;
}

.wrap {
  margin-inline: auto;
  max-width: var(--wrap);
  padding-inline: clamp(18px, 4.4vw, 52px);
  width: 100%;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link {
  background: var(--red);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  left: 14px;
  letter-spacing: 0.12em;
  padding: 12px 18px;
  position: fixed;
  text-decoration: none;
  text-transform: uppercase;
  top: 12px;
  transform: translateY(-200%);
  z-index: 400;
}
.skip-link:focus { transform: translateY(0); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  align-items: center;
  background: var(--fg);
  border: 1px solid var(--fg);
  color: var(--bg);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  gap: 12px;
  justify-content: center;
  letter-spacing: 0.16em;
  min-height: 54px;
  padding: 15px 26px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms var(--ease), background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.btn::after {
  background: var(--red);
  bottom: -5px;
  content: "";
  left: 5px;
  opacity: 0;
  position: absolute;
  right: -5px;
  top: 5px;
  transition: opacity 160ms var(--ease);
  z-index: -1;
}
.btn:hover { transform: translate(-4px, -4px); }
.btn:hover::after { opacity: 1; }
.btn--ghost {
  background: transparent;
  border-color: var(--hair-strong);
  color: var(--fg);
}
.btn--ghost:hover { border-color: var(--fg); }
.btn--red { background: var(--red); border-color: var(--red); color: var(--ink); }
.btn--red::after { background: var(--fg); }

/* --------------------------------------------------------------------------
   Spine: the red line, fixed to the left margin of every page
   -------------------------------------------------------------------------- */

.spine {
  bottom: 0;
  display: none;
  left: 0;
  position: fixed;
  top: var(--masthead-h);
  width: var(--spine-w);
  z-index: 60;
}
.spine::before {
  background: var(--hair);
  content: "";
  left: 50%;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
}
.spine-run {
  background: var(--red);
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-1px) scaleY(var(--run, 0));
  transform-origin: top;
  height: 100%;
  width: 3px;
}
.spine-head {
  background: var(--red);
  height: 9px;
  left: 50%;
  position: absolute;
  top: calc(var(--run, 0) * 100%);
  transform: translate(-4px, -4px) rotate(45deg);
  width: 9px;
}
.spine-nav {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  inset: 0;
  justify-content: center;
  position: absolute;
}
.spine-nav a {
  background: var(--stock);
  color: rgba(14, 15, 16, 0.62);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 9px 0;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: color 160ms var(--ease);
  width: 34px;
}
.spine-nav a::before {
  background: currentColor;
  content: "";
  height: 1px;
  left: -12px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transition: opacity 160ms var(--ease), width 200ms var(--ease);
  width: 6px;
}
.spine-nav a:hover { color: var(--ink); }
.spine-nav a[aria-current="true"] {
  color: var(--red-ink);
  font-weight: 700;
}
.spine-nav a[aria-current="true"]::before { opacity: 1; width: 10px; }

@media (min-width: 1140px) {
  :root { --spine-w: 74px; }
  .spine { display: block; }
}

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.masthead {
  background: var(--ink-plate);
  border-bottom: 1px solid rgba(244, 241, 232, 0.12);
  left: 0;
  overflow: hidden;
  padding-left: var(--spine-w);
  position: fixed;
  right: 0;
  top: 0;
  transition: transform 260ms var(--ease);
  z-index: 200;
}
.masthead.is-hidden { transform: translateY(-101%); }
.masthead-bar {
  align-items: stretch;
  display: flex;
  max-width: var(--wrap);
  margin-inline: auto;
  min-height: var(--masthead-h);
  padding-left: clamp(18px, 4.4vw, 52px);
  width: 100%;
}
.masthead-brand {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  margin-right: auto;
  padding-block: 14px;
}
.masthead-brand img { width: clamp(148px, 15vw, 186px); }
.masthead-nav { align-items: stretch; display: flex; }
.masthead-nav a {
  align-items: center;
  color: rgba(244, 241, 232, 0.66);
  display: flex;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  padding-inline: 16px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 150ms var(--ease);
}
.masthead-nav a::after {
  background: var(--red);
  bottom: 0;
  content: "";
  height: 3px;
  left: 16px;
  position: absolute;
  right: 16px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}
.masthead-nav a:hover, .masthead-nav a[aria-current="page"] { color: var(--paper); }
.masthead-nav a:hover::after, .masthead-nav a[aria-current="page"]::after { transform: none; }
.masthead-cta {
  align-items: center;
  align-self: stretch;
  background: var(--red);
  color: var(--ink);
  display: flex;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.16em;
  margin-left: 22px;
  padding-inline: clamp(18px, 2.4vw, 30px);
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 150ms var(--ease);
}
/* the cell bleeds off the right edge of the sheet */
.masthead-cta::after {
  background: var(--red);
  bottom: 0;
  content: "";
  left: 100%;
  position: absolute;
  top: 0;
  transition: background 150ms var(--ease);
  width: 50vw;
}
.masthead-cta:hover, .masthead-cta:hover::after { background: var(--paper); }
.masthead-cta:hover { color: var(--ink); }
.masthead-progress {
  background: var(--red);
  bottom: -1px;
  display: none;
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(var(--run, 0));
  transform-origin: left;
  width: 100%;
}
@media (max-width: 1139px) { .masthead-progress { display: block; } }

.menu-toggle {
  align-self: center;
  background: transparent;
  border: 1px solid rgba(244, 241, 232, 0.3);
  cursor: pointer;
  display: none;
  height: 44px;
  margin-left: 12px;
  position: relative;
  width: 50px;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  background: var(--paper);
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  top: 50%;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
  width: 20px;
}
.menu-icon { transform: translate(-50%, -50%); }
.menu-icon::before { left: 0; top: -6px; }
.menu-icon::after { left: 0; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  align-content: start;
  background: var(--ink-plate);
  display: grid;
  gap: 28px;
  inset: 0;
  opacity: 0;
  padding: calc(var(--masthead-h) + 40px) clamp(18px, 6vw, 40px) 40px;
  pointer-events: none;
  position: fixed;
  transition: opacity 200ms var(--ease);
  z-index: 190;
}
.mobile-panel.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav { display: grid; }
.mobile-nav a {
  border-bottom: 1px solid rgba(244, 241, 232, 0.14);
  color: var(--paper);
  font-variation-settings: "wdth" 112;
  font-size: clamp(30px, 8vw, 46px);
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 16px 0;
  text-decoration: none;
  text-transform: uppercase;
}
.mobile-nav a:hover { color: var(--red); }
.mobile-panel .btn { background: var(--red); border-color: var(--red); color: var(--paper); }

/* --------------------------------------------------------------------------
   Plates
   -------------------------------------------------------------------------- */

.plate {
  background: var(--bg);
  color: var(--fg);
  padding-block: clamp(70px, 9vw, 128px);
  position: relative;
}
.plate--dark { background: var(--ink-plate); }
.plate--flush { padding-block: 0; }

.plate-head {
  align-items: end;
  border-bottom: 1px solid var(--hair);
  display: grid;
  gap: clamp(18px, 3vw, 48px);
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  margin-bottom: clamp(34px, 4.4vw, 58px);
  padding-bottom: clamp(20px, 2.6vw, 30px);
}
.plate-index {
  color: var(--fg-dim);
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.plate-index b { color: var(--accent-text); font-weight: 700; }
.plate-title {
  font-variation-settings: "wdth" 118;
  font-size: clamp(38px, 5.4vw, 78px);
  letter-spacing: -0.015em;
  line-height: 0.88;
  text-transform: uppercase;
}
.plate-lede {
  color: var(--fg-soft);
  font-size: clamp(14.5px, 1.2vw, 16px);
  line-height: 1.7;
  max-width: 42ch;
}
.plate-lede strong { color: var(--fg); font-weight: 600; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  border-bottom: 1px solid var(--hair);
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: min(920px, 94svh);
  overflow: hidden;
  padding-top: var(--masthead-h);
  position: relative;
}
html.shot .hero { min-height: 0 !important; }
.hero::before {
  background-image:
    linear-gradient(90deg, rgba(14, 15, 16, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(14, 15, 16, 0.05) 1px, transparent 1px);
  background-size: 104px 104px;
  content: "";
  inset: 0;
  mask-image: radial-gradient(120% 90% at 15% 0%, #000 0%, transparent 74%);
  -webkit-mask-image: radial-gradient(120% 90% at 15% 0%, #000 0%, transparent 74%);
  pointer-events: none;
  position: absolute;
}
.hero-inner {
  align-content: center;
  display: grid;
  padding-block: clamp(46px, 6vw, 76px);
  position: relative;
  z-index: 2;
}
.hero-title {
  font-variation-settings: "wdth" 118;
  font-size: clamp(42px, calc(8.2vw - 15px), 106px);
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 0.88;
  margin-top: 22px;
  text-transform: uppercase;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: block; }
.hero-title .dot { color: var(--red); }

.hero-cut {
  background: var(--red);
  height: 12px;
  margin: clamp(24px, 3vw, 38px) 0 clamp(22px, 2.6vw, 32px);
  max-width: 560px;
  transform-origin: left;
}
.hero-lede {
  color: var(--fg-soft);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.62;
  max-width: 50ch;
}
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 3vw, 36px); }

.hero-spec {
  border-top: 1px solid var(--hair);
  position: relative;
  z-index: 2;
}
.hero-spec-row {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hero-spec-row div {
  border-left: 1px solid var(--hair);
  padding: clamp(14px, 1.8vw, 20px) clamp(12px, 1.6vw, 22px);
}
.hero-spec-row div:first-child { border-left: 0; padding-left: 0; }
.hero-spec-row dt {
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-spec-row dd {
  font-variation-settings: "wdth" 112;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-top: 6px;
  text-transform: uppercase;
}
.hero-spec-row dd .unit { color: var(--fg-dim); font-size: 0.5em; font-weight: 500; letter-spacing: 0.1em; margin-left: 4px; }
[data-clock] { font-variant-numeric: tabular-nums; }

/* corner registration marks */
.marks span {
  height: 16px;
  pointer-events: none;
  position: absolute;
  width: 16px;
  z-index: 3;
}
.marks span:nth-child(1) { border-left: 2px solid var(--red); border-top: 2px solid var(--red); left: 14px; top: calc(var(--masthead-h) + 16px); }
.marks span:nth-child(2) { border-right: 2px solid var(--red); border-top: 2px solid var(--red); right: 14px; top: calc(var(--masthead-h) + 16px); }
.marks span:nth-child(3) { border-bottom: 2px solid var(--red); border-left: 2px solid var(--red); bottom: 16px; left: 14px; }
.marks span:nth-child(4) { border-bottom: 2px solid var(--red); border-right: 2px solid var(--red); bottom: 16px; right: 14px; }

/* --------------------------------------------------------------------------
   Standards
   -------------------------------------------------------------------------- */

.standards { border-bottom: 1px solid var(--hair); padding-block: 0; }
.standards-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.standards-item {
  border-left: 1px solid var(--hair);
  padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px);
  position: relative;
}
.standards-item:first-child { border-left: 0; padding-left: 0; }
.standards-item::before {
  background: var(--red);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
  width: 100%;
}
.standards-item:hover::before { transform: none; }
.standards-item b {
  color: var(--red-ink);
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
}
.standards-item strong {
  display: block;
  font-variation-settings: "wdth" 114;
  font-size: clamp(17px, 1.9vw, 23px);
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 14px 0 8px;
  text-transform: uppercase;
}
.standards-item p { color: var(--fg-soft); font-size: 13.5px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Work: index + stage
   -------------------------------------------------------------------------- */

.work-layout {
  align-items: start;
  display: grid;
  gap: clamp(24px, 3.4vw, 56px);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.work-stage {
  position: sticky;
  top: calc(var(--masthead-h) + 26px);
}
.stage-frame {
  background: #08090a;
  border: 1px solid var(--hair);
  display: block;
  position: relative;
}
.stage-frame::before {
  background: var(--stage-accent, var(--red));
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: background 200ms var(--ease);
  z-index: 3;
}
.stage-bar {
  align-items: center;
  border-bottom: 1px solid var(--hair);
  display: flex;
  gap: 12px;
  padding: 13px 16px;
}
.stage-dot {
  background: var(--stage-accent, var(--red));
  flex: 0 0 auto;
  height: 8px;
  transition: background 200ms var(--ease);
  width: 8px;
}
.stage-url {
  color: var(--fg-soft);
  flex: 1 1 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stage-status {
  color: var(--fg-dim);
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.stage-status[data-status="progress"] { background: var(--red); color: var(--ink); font-weight: 700; padding: 3px 7px; }
.stage-shot { aspect-ratio: 8 / 5; background: #08090a; display: block; overflow: hidden; position: relative; }
.stage-shot img {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  transition: opacity 140ms linear;
  width: 100%;
}
.stage-shot.is-swapping img { opacity: 0; }
.stage-foot {
  align-items: baseline;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 16px;
}
.stage-name {
  font-variation-settings: "wdth" 114;
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-right: auto;
  text-transform: uppercase;
}
.stage-kicker { color: var(--fg-dim); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.stage-open {
  align-items: center;
  color: var(--paper);
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  gap: 8px;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}
.stage-open span:last-child { color: var(--red); transition: transform 160ms var(--ease); }
.stage-open:hover span:last-child { transform: translate(3px, -3px); }
.stage-count {
  color: var(--fg-dim);
  display: flex;
  font-family: var(--font-mono);
  font-size: 10.5px;
  justify-content: space-between;
  letter-spacing: 0.18em;
  padding-top: 12px;
  text-transform: uppercase;
}
.stage-count b { color: var(--paper); font-weight: 600; }
.stage-hint [data-hint-touch] { display: none; }
@media (hover: none) {
  .stage-hint [data-hint-hover] { display: none; }
  .stage-hint [data-hint-touch] { display: inline; }
}

.work-list { border-top: 1px solid var(--hair); }
.work-row {
  align-items: center;
  border-bottom: 1px solid var(--hair);
  display: grid;
  gap: 14px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  padding: 13px 0 13px 0;
  position: relative;
  text-decoration: none;
  transition: padding-left 220ms var(--ease);
}
.work-row::before {
  background: var(--row-accent, var(--red));
  content: "";
  bottom: 0;
  left: 0;
  position: absolute;
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
  width: 3px;
}
.work-row.is-active { padding-left: 16px; }
.work-row.is-active::before { transform: none; }
.work-row-num { color: var(--fg-dim); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; }
.work-row-name {
  color: var(--fg-soft);
  font-variation-settings: "wdth" 110;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 600;
  letter-spacing: -0.005em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  transition: color 180ms var(--ease);
  white-space: nowrap;
}
.work-row.is-active .work-row-name { color: var(--fg); }
.work-row.is-active .work-row-num { color: var(--row-accent, var(--red)); }
.work-row-kicker {
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}
.work-foot {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-top: clamp(28px, 3.4vw, 44px);
}
.work-note { color: var(--fg-dim); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.service-list { margin-top: -6px; }
.service-row {
  align-items: baseline;
  border-bottom: 1px solid var(--hair);
  display: grid;
  gap: clamp(14px, 3vw, 48px);
  grid-template-columns: 62px minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding: clamp(22px, 3vw, 36px) 0;
  position: relative;
}
.service-row::before {
  background: var(--red);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
  width: 3px;
}
.service-row:hover::before { transform: none; }
.service-row:hover { padding-left: 18px; }
.service-row { transition: padding-left 260ms var(--ease); }
.service-num { color: var(--red-ink); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; }
.service-name {
  font-variation-settings: "wdth" 116;
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
}
.service-copy { color: var(--fg-soft); font-size: 15px; line-height: 1.68; max-width: 54ch; }

/* --------------------------------------------------------------------------
   The line (manifesto)
   -------------------------------------------------------------------------- */

.manifesto { display: grid; gap: clamp(30px, 5vw, 76px); grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr); }
.manifesto-list { display: grid; gap: clamp(14px, 2vw, 22px); }
.manifesto-item { position: relative; }
.manifesto-item h3 {
  font-variation-settings: "wdth" 120;
  font-size: clamp(34px, 6.4vw, 88px);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 0.9;
  text-transform: uppercase;
}
.manifesto-item .strike {
  background: var(--red);
  display: block;
  height: 6px;
  margin-top: 12px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 620ms var(--ease) var(--delay, 0ms);
  width: 100%;
}
.manifesto-item.is-visible .strike, html:not(.motion) .manifesto-item .strike { transform: none; }
.manifesto-side { align-self: end; display: grid; gap: 22px; }
.manifesto-side p { color: var(--fg-soft); font-size: 15.5px; line-height: 1.72; }
.manifesto-side p strong { color: var(--fg); font-weight: 600; }

/* --------------------------------------------------------------------------
   Process ruler
   -------------------------------------------------------------------------- */

.ruler { margin-bottom: clamp(24px, 3vw, 40px); position: relative; }
.ruler-track {
  background-image: repeating-linear-gradient(90deg, var(--hair-strong) 0 1px, transparent 1px 100%);
  background-size: 2.5% 100%;
  border-bottom: 1px solid var(--hair-strong);
  height: 26px;
  position: relative;
}
.ruler-fill {
  background: var(--red);
  bottom: -1px;
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(var(--fill, 0));
  transform-origin: left;
  transition: transform 120ms linear;
  width: 100%;
}
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-step {
  border-left: 1px solid var(--hair);
  padding: 0 clamp(14px, 2vw, 26px) 0;
  position: relative;
}
.process-step:first-child { border-left: 0; padding-left: 0; }
.process-step b {
  color: var(--red-ink);
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.process-step h3 {
  font-variation-settings: "wdth" 114;
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 14px 0 10px;
  text-transform: uppercase;
}
.process-step p { color: var(--fg-soft); font-size: 13.5px; line-height: 1.62; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact { overflow: hidden; position: relative; }
.contact-grid { display: grid; gap: clamp(30px, 5vw, 72px); grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); position: relative; }
.contact-title {
  font-variation-settings: "wdth" 118;
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.9;
  max-width: 13ch;
  text-transform: uppercase;
}
.contact-title em { color: var(--red); font-style: normal; }
.contact-note { color: var(--fg-soft); font-size: 15.5px; line-height: 1.7; max-width: 46ch; }
.contact-email {
  border-bottom: 1px solid var(--hair-strong);
  border-top: 1px solid var(--hair-strong);
  color: var(--fg);
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.9vw, 20px);
  font-weight: 600;
  margin: 24px 0;
  padding: 18px 0;
  text-decoration: none;
  transition: color 160ms var(--ease);
  word-break: break-word;
}
.contact-email:hover { color: var(--red); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.brief { border-top: 1px solid var(--hair); display: grid; gap: 12px; margin-top: 28px; padding-top: 22px; }
.brief span { color: var(--fg-soft); font-size: 14px; }
.brief b { color: var(--accent-text); font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; margin-right: 12px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink-plate);
  border-top: 1px solid rgba(244, 241, 232, 0.14);
  color: var(--paper);
  padding-top: clamp(40px, 5vw, 62px);
  --fg: var(--paper);
  --fg-soft: rgba(244, 241, 232, 0.62);
  --fg-dim: rgba(244, 241, 232, 0.56);
  --hair: rgba(244, 241, 232, 0.14);
}
.footer-grid {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(140px, 0.55fr));
  padding-bottom: clamp(32px, 4vw, 48px);
}
.footer-brand img { width: min(210px, 60vw); }
.footer-brand p { color: var(--fg-soft); font-size: 13.5px; line-height: 1.7; margin-top: 18px; max-width: 34ch; }
.footer-col { align-content: start; display: grid; gap: 10px; justify-items: start; }
.footer-label {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.footer-col a { color: var(--fg-soft); font-size: 13.5px; text-decoration: none; transition: color 150ms var(--ease); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  border-top: 1px solid var(--hair);
  color: var(--fg-dim);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 6px 26px;
  justify-content: space-between;
  padding-block: 20px 26px;
}
.footer-bottom p:last-child { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Work index page
   -------------------------------------------------------------------------- */

.page-hero {
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
  padding: calc(var(--masthead-h) + clamp(52px, 7vw, 96px)) 0 clamp(34px, 4vw, 52px);
  position: relative;
}
.page-hero::before {
  background-image:
    linear-gradient(90deg, rgba(14, 15, 16, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(14, 15, 16, 0.05) 1px, transparent 1px);
  background-size: 104px 104px;
  content: "";
  inset: 0;
  mask-image: radial-gradient(110% 100% at 10% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(110% 100% at 10% 0%, #000 0%, transparent 72%);
  position: absolute;
}
.page-hero-inner { position: relative; }
.page-title {
  font-variation-settings: "wdth" 116;
  font-size: clamp(38px, 5.9vw, 82px);
  font-weight: 800;
  hyphens: none;
  letter-spacing: -0.018em;
  line-height: 0.9;
  margin: 20px 0 0;
  max-width: 17ch;
  text-transform: uppercase;
  text-wrap: balance;
}
.page-title .dot { color: var(--red); }
.page-lede { color: var(--fg-soft); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.68; margin-top: 26px; max-width: 60ch; }
.page-lede strong { color: var(--ink); font-weight: 600; }
.page-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(28px, 3.4vw, 42px); max-width: 620px; }
.page-stat { border-left: 1px solid var(--hair); padding: 0 18px; }
.page-stat:first-child { border-left: 0; padding-left: 0; }
.page-stat dt { color: var(--fg-dim); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; }
.page-stat dd {
  font-variation-settings: "wdth" 116;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 6px;
}

.toolbar {
  align-items: end;
  border-bottom: 1px solid var(--hair);
  display: grid;
  gap: 18px clamp(20px, 3vw, 44px);
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: clamp(20px, 2.6vw, 30px) 0;
}
.field-label { color: var(--fg-dim); display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.2em; margin-bottom: 10px; text-transform: uppercase; }
.search-field {
  background: var(--stock-raise);
  border: 1px solid var(--hair-strong);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  min-height: 50px;
  padding: 13px 15px;
  width: 100%;
}
.search-field::placeholder { color: rgba(14, 15, 16, 0.5); }
.search-field:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 28, 35, 0.16); outline: none; }
.filters { display: flex; gap: 0; }
.filter-btn {
  background: transparent;
  border: 1px solid var(--hair-strong);
  border-right: 0;
  color: var(--fg-soft);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  min-height: 50px;
  padding: 12px 18px;
  text-transform: uppercase;
  transition: background 150ms var(--ease), color 150ms var(--ease);
}
.filter-btn:last-child { border-right: 1px solid var(--hair-strong); }
.filter-btn:hover { background: rgba(14, 15, 16, 0.05); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter-btn[aria-pressed="true"] + .filter-btn { border-left-color: var(--ink); }
.project-count { color: var(--fg-dim); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }

.project-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: clamp(28px, 3.4vw, 44px);
}
.proof {
  background: var(--stock-raise);
  border: 1px solid var(--hair);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  position: relative;
  text-decoration: none;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
.proof[hidden] { display: none; }
.proof::before {
  background: var(--project-accent, var(--red));
  content: "";
  height: 3px;
  left: -1px;
  position: absolute;
  right: -1px;
  top: -1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
  z-index: 2;
}
.proof:hover, .proof:focus-visible {
  border-color: var(--hair-strong);
  box-shadow: 14px 14px 0 -1px rgba(14, 15, 16, 0.1);
  transform: translate(-5px, -5px);
}
.proof:hover::before, .proof:focus-visible::before { transform: none; }
.proof-bar {
  align-items: center;
  border-bottom: 1px solid var(--hair);
  display: flex;
  gap: 10px;
  padding: 11px 14px;
}
.proof-dot { background: var(--project-accent, var(--red)); flex: 0 0 auto; height: 7px; width: 7px; }
.proof-url {
  color: var(--fg-soft);
  flex: 1 1 auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.proof-status { color: var(--fg-dim); flex: 0 0 auto; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; }
.proof-status[data-status="progress"] { background: var(--red); color: var(--ink); font-weight: 700; padding: 3px 6px; }
.proof-shot { background: #0e0f10; display: block; overflow: hidden; }
.proof-shot img { transition: transform 420ms var(--ease); width: 100%; }
.proof:hover .proof-shot img { transform: scale(1.035); }
.proof-copy { align-content: start; display: grid; gap: 7px; grid-template-columns: minmax(0, 1fr); padding: 16px 16px 18px; }
.proof-kicker { color: var(--red-ink); font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.proof-name {
  font-variation-settings: "wdth" 114;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1;
  text-transform: uppercase;
}
.proof-desc { color: var(--fg-soft); font-size: 13px; line-height: 1.55; }
.proof-cue {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  gap: 8px;
  letter-spacing: 0.16em;
  margin-top: 8px;
  text-transform: uppercase;
}
.proof-cue span:last-child { color: var(--red); transition: transform 180ms var(--ease); }
.proof:hover .proof-cue span:last-child { transform: translate(3px, -3px); }
.no-results { color: var(--fg-soft); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em; padding: 56px 0; text-align: center; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-plate {
  align-content: center;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--masthead-h) + 60px) 0 60px;
  position: relative;
}
html.shot .error-plate { min-height: 0 !important; }
.error-code {
  font-variation-settings: "wdth" 122;
  font-size: clamp(96px, 22vw, 280px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.82;
}
.error-cut { background: var(--red); height: 12px; margin: 26px 0 30px; max-width: 460px; }
.error-title { font-variation-settings: "wdth" 116; font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.012em; text-transform: uppercase; }
.error-copy { color: var(--fg-soft); font-size: 16px; line-height: 1.68; margin-top: 14px; max-width: 46ch; }
.error-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */

html.motion .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms var(--ease) var(--delay, 0ms), transform 620ms var(--ease) var(--delay, 0ms);
}
html.motion .reveal.is-visible { opacity: 1; transform: none; }
html.shot .reveal { opacity: 1 !important; transform: none !important; }

/* hero entrance */
html.motion .hero-title .line > span {
  transform: translateY(105%);
  transition: transform 760ms var(--ease) var(--delay, 0ms);
}
html.motion .hero.is-live .hero-title .line > span { transform: none; }
html.motion .hero-cut { transform: scaleX(0); transition: transform 760ms var(--ease) 420ms; }
html.motion .hero.is-live .hero-cut { transform: none; }
html.shot .hero-title .line > span, html.shot .hero-cut { transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .work-layout { grid-template-columns: minmax(0, 1fr); }
  .work-stage { position: static; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .masthead-nav, .masthead-cta { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: 0; padding-bottom: 0; }
  .hero-inner { padding-block: clamp(44px, 9vw, 70px); }
  .plate-head { grid-template-columns: minmax(0, 1fr); }
  .hero-spec-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-spec-row div:nth-child(3), .hero-spec-row div:nth-child(4) { border-top: 1px solid var(--hair); }
  .hero-spec-row div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .standards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .standards-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .standards-item:nth-child(n + 3) { border-top: 1px solid var(--hair); }
  .service-row { grid-template-columns: 52px minmax(0, 1fr); }
  .service-copy { grid-column: 2; }
  .manifesto, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .process-step:nth-child(3) { border-left: 0; padding-left: 0; }
  .toolbar { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .page-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-spec-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .standards-grid { grid-template-columns: minmax(0, 1fr); }
  .standards-item { border-left: 0; border-top: 1px solid var(--hair); padding-left: 0; }
  .standards-item:first-child { border-top: 0; }
  .service-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .service-copy { grid-column: 1; }
  .process-grid { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .process-step { border-left: 0; padding-left: 0; }
  .project-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-actions { display: grid; }
  .contact-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; }
  .page-stats { gap: 0; }
  .page-stat { padding-inline: 12px; }
  .work-row { grid-template-columns: 30px minmax(0, 1fr); }
  .work-row-kicker { display: none; }
}

/* --------------------------------------------------------------------------
   The blade layer
   The mat, the guides, the kerf, the trim. Everything a paste-up artist
   does to a sheet before it ships. All motion lives behind html.motion,
   which only exists when the visitor allows motion and shot mode is off.
   -------------------------------------------------------------------------- */

[data-count] { font-variant-numeric: tabular-nums; }
[data-cut-title] { position: relative; }

/* section titles get cut free of the sheet, blade riding the reveal edge */
html.motion [data-cut-title] { clip-path: inset(-8% 101% -12% -2%); }
html.motion [data-cut-title].is-cut { animation: title-cut 720ms var(--ease) forwards; }
html.motion [data-cut-title]::after {
  background: var(--red);
  content: "";
  height: 120%;
  left: -1%;
  opacity: 0;
  position: absolute;
  top: -10%;
  width: 3px;
}
html.motion [data-cut-title].is-cut::after { animation: title-blade 720ms var(--ease) forwards; }
@keyframes title-cut {
  to { clip-path: inset(-8% -2% -12% -2%); }
}
@keyframes title-blade {
  0% { left: -1%; opacity: 1; }
  82% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* cutting mat: pointer-tracked hairline guides + plotter readout, hero only */
.mat-guides, .mat-readout { display: none; }
@media (min-width: 1140px) and (hover: hover) and (pointer: fine) {
  html.motion .hero { cursor: crosshair; }
  html.motion .mat-guides {
    display: block;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 300ms var(--ease);
    z-index: 1;
  }
  html.motion .mat-readout {
    align-items: center;
    color: var(--fg-dim);
    display: inline-flex;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 500;
    gap: 9px;
    letter-spacing: 0.18em;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 16px;
    top: calc(var(--masthead-h) + 42px);
    transition: opacity 300ms var(--ease);
    z-index: 2;
  }
  html.motion .mat-readout::before { background: var(--red); content: ""; height: 6px; width: 6px; }
  html.motion .hero.is-tracking .mat-guides,
  html.motion .hero.is-tracking .mat-readout { opacity: 1; }
  html.motion .mat-gx {
    background: rgba(196, 9, 15, 0.3);
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(var(--my, -30px));
  }
  html.motion .mat-gy {
    background: rgba(196, 9, 15, 0.3);
    bottom: 0;
    left: 0;
    position: absolute;
    top: 0;
    transform: translateX(var(--mx, -30px));
    width: 1px;
  }
  html.motion .mat-dot {
    border: 1.5px solid var(--red);
    height: 11px;
    left: 0;
    position: absolute;
    top: 0;
    transform: translate(calc(var(--mx, -30px) - 5.5px), calc(var(--my, -30px) - 5.5px));
    width: 11px;
  }
}

/* the kerf: hovering the headline opens the cut between its two lines */
@media (hover: hover) and (pointer: fine) {
  html.motion .hero-title { position: relative; }
  html.motion .hero-title .line { transition: transform 320ms var(--ease); }
  html.motion .hero-title:hover .line:first-child { transform: translateX(9px); }
  html.motion .hero-title:hover .line:last-child { transform: translateX(-7px); }
  html.motion .hero-title::after {
    background: var(--red);
    content: "";
    height: 2px;
    left: -2%;
    opacity: 0;
    position: absolute;
    right: 12%;
    top: 50.5%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 360ms var(--ease), opacity 180ms var(--ease);
  }
  html.motion .hero-title:hover::after { opacity: 1; transform: none; }
}

/* stage swaps happen under a passing blade */
html.motion .stage-shot::after {
  background: linear-gradient(90deg, transparent calc(100% - 46px), rgba(14, 15, 16, 0.32) calc(100% - 5px), var(--red) calc(100% - 5px));
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-101%);
  z-index: 2;
}
html.motion .stage-frame.is-cutting .stage-shot::after { animation: stage-blade 340ms cubic-bezier(0.72, 0, 0.3, 1); }
@keyframes stage-blade {
  0% { opacity: 1; transform: translateX(-101%); }
  100% { opacity: 1; transform: translateX(2%); }
}

/* trim guides on the index cards, plus a slight paste-up tilt */
.proof::after {
  border: 1px dashed rgba(196, 9, 15, 0.5);
  content: "";
  inset: 7px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 220ms var(--ease);
  z-index: 1;
}
.proof:hover::after, .proof:focus-visible::after { opacity: 1; }
html.motion .proof:hover { transform: translate(-5px, -5px) rotate(-0.4deg); }
