:root {
  --plaster: #c8c4bb;
  --plaster-deep: #b7b2a8;
  --ink: #1c1b19;
  --ink-soft: #3a3834;
  --tape: #e6d5a8;
  --tape-edge: #c9b48a;
  --line: #1d4e8f;
  --fail: #8e2418;
  --focus: #1d4e8f;
  --shadow: 0 1px 0 rgba(28, 27, 25, 0.08), 0 10px 24px rgba(70, 62, 48, 0.12);
  --font: "Golos Text", "Segoe UI", sans-serif;
  --measure: 66ch;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(255, 255, 255, 0.28), transparent 42%),
    radial-gradient(ellipse at 88% 18%, rgba(90, 84, 74, 0.08), transparent 36%),
    radial-gradient(ellipse at 70% 90%, rgba(70, 64, 54, 0.1), transparent 40%),
    var(--plaster);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

::selection { background: #c9d4e6; color: var(--ink); }

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

a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--tape);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus { top: 0.6rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-tape {
  position: absolute;
  left: max(0.8rem, calc(50% - 600px));
  right: max(1.6rem, calc(50% - 560px));
  top: 10px;
  height: 52px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 32%),
    linear-gradient(90deg, #d7c08a, var(--tape) 7%, #f0e4c4 48%, #e4d2a2);
  box-shadow: var(--shadow);
  transform: rotate(-0.35deg);
}

.nav-tape::before,
.nav-tape::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14px;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 3px,
    rgba(90, 74, 48, 0.18) 3px 4px
  );
}

.nav-tape::before { left: 0; }
.nav-tape::after { right: 0; }

.nav-row {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

.nav-links a[aria-current="page"],
.nav-links a:hover { color: var(--ink); }

.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  max-width: calc(100vw - 2.5rem);
  margin: 0 auto;
}

.hero {
  min-height: calc(100dvh - 72px);
  padding: 8vh 0 2.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(28, 27, 25, 0.02), rgba(28, 27, 25, 0.22)),
    url("img/plaster.jpg") center 40% / cover no-repeat;
}

.verdict {
  position: relative;
  align-self: flex-start;
  width: min(46rem, 100%);
  max-width: 100%;
  margin: 0;
  padding: 0.85rem 1.4rem 0.95rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 30%),
    var(--tape);
  box-shadow: var(--shadow);
  transform: rotate(-0.7deg);
  font-size: clamp(1.45rem, 4.2vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.verdict span { display: inline-block; transform: rotate(0.7deg); }

.verdict .fail {
  color: var(--fail);
  font-style: normal;
}

.level {
  display: block;
  width: min(52rem, 100%);
  height: 18px;
  margin: 1.4rem 0 1.1rem;
}

.level line {
  stroke: var(--line);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.lede {
  max-width: min(36rem, 100%);
  margin: 0 0 1.6rem;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--ink);
}

.tape-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  background: var(--ink);
  color: #f3efe6;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 8px 18px rgba(28, 27, 25, 0.16);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.tape-btn:hover { transform: translateY(-2px); }
.tape-btn:active { transform: translateY(1px) scale(0.99); }

.reading,
.nodes,
.index,
.sheet,
.footer {
  padding: 4.5rem 0;
}

.reading h2,
.nodes h2,
.index h2,
.sheet h1 {
  margin: 0 0 1.4rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-weight: 600;
  max-width: 18ch;
}

.table {
  width: min(40rem, 100%);
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.table th,
.table td {
  text-align: left;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid rgba(28, 27, 25, 0.16);
  vertical-align: baseline;
}

.table th {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.table td:last-child,
.table .num {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.mark { color: var(--fail); font-weight: 600; }

.note {
  max-width: var(--measure);
  color: var(--ink-soft);
  margin: 1.2rem 0 0;
}

.tapes {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}

.tapes > * {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  text-decoration: none;
  background: var(--tape);
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.tapes a span,
.tapes p span { font-weight: 500; color: var(--ink-soft); }

.tapes > *:nth-child(1) { width: min(40rem, 100%); transform: rotate(-0.4deg); }
.tapes > *:nth-child(2) { width: min(31rem, 92%); margin-left: 6vw; transform: rotate(0.35deg); }
.tapes > *:nth-child(3) { width: min(36rem, 96%); transform: rotate(-0.2deg); }
.tapes > *:nth-child(4) { width: min(27rem, 86%); margin-left: 2vw; transform: rotate(0.5deg); }

.tapes a:hover { transform: translateY(-2px) rotate(0deg); }

.index-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 46rem;
  border-top: 1px solid rgba(28, 27, 25, 0.2);
}

.index-list li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(28, 27, 25, 0.14);
}

.index-list strong { letter-spacing: -0.03em; }
.index-list span { color: var(--ink-soft); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.sheet {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  padding-top: 2.4rem;
}

.check {
  position: sticky;
  top: 92px;
  background: var(--tape);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  transform: rotate(-0.45deg);
}

.check p {
  margin: 0.35rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-variant-numeric: tabular-nums;
}

.check .label { color: var(--ink-soft); font-size: 0.92rem; }
.check strong { font-size: 1.35rem; letter-spacing: -0.04em; }
.check .fail-line { color: var(--fail); font-weight: 700; margin-top: 0.8rem; }

.method h1 {
  max-width: 16ch;
  margin-top: 0;
}

.method h2 {
  margin: 1.7rem 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: var(--measure);
}

.method p,
.method li { max-width: var(--measure); }

.method ol {
  margin: 0 0 1.4rem;
  padding-left: 1.2rem;
}

.method li { margin: 0.55rem 0; }
.method li::marker { font-weight: 600; }

.crew {
  margin: 1.6rem 0;
  padding: 1rem 0 1rem 1rem;
  border-left: 0;
  border-top: 1px solid rgba(28, 27, 25, 0.22);
  max-width: var(--measure);
}

.crew p {
  margin: 0.3rem 0 0;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.method figure { margin: 0.8rem 0 0.2rem; }
.method figure img { max-height: 420px; width: 100%; object-fit: cover; object-position: center; }

figure img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--plaster-deep);
}

figcaption {
  margin-top: 0.35rem;
  color: rgba(28, 27, 25, 0.45);
  font-size: 0.72rem;
  line-height: 1.35;
  max-width: var(--measure);
}

@media (max-width: 800px) {
  .nav { height: auto; }
  .nav-tape { left: 0.4rem; right: 0.4rem; height: auto; min-height: 92px; top: 6px; bottom: 6px; }
  .nav-row {
    white-space: normal;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    padding: 0.85rem 0;
  }
  .nav-links { margin-left: 0; width: 100%; gap: 0.9rem; }
  .hero { min-height: auto; padding: 1.6rem 0 1.8rem; background-position: center 70%; justify-content: flex-start; }
  .verdict { font-size: 1.35rem; width: 100%; }
  .verdict .fail { display: block; margin-top: 0.15rem; }
  .lede { font-size: 1.05rem; max-width: calc(100vw - 2.5rem); }
  .sheet { grid-template-columns: 1fr; gap: 1.4rem; }
  .check { position: static; }
  .index-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .tapes > *:nth-child(n) { width: 100%; margin-left: 0; }
  .footer { flex-direction: column; }
}

.hero { position: relative; }

.bench {
  --px: 0;
  --py: 0;
  position: absolute;
  z-index: 1;
  top: 4vh;
  right: max(1.1rem, calc(50% - 560px));
  width: min(440px, 38vw);
  height: 280px;
  perspective: 900px;
}

.ground {
  position: absolute;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(28, 27, 25, 0.34), transparent 72%);
  pointer-events: none;
}

.g-roll { width: 78px; left: 6%; top: 34%; }
.g-level { width: 210px; left: 18%; top: 68%; }
.g-pencil { width: 110px; right: 6%; bottom: 14%; }

.rig {
  position: absolute;
  inset: 18px 10px 36px;
  transform-style: preserve-3d;
  transform: rotateX(calc(14deg + var(--py) * -10deg)) rotateY(calc(var(--px) * 16deg));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.roll {
  position: absolute;
  left: 4%;
  top: 8%;
  width: 92px;
  height: 92px;
  transform-style: preserve-3d;
  transform: rotateX(66deg);
}

.roll span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 38%, #f3e7c8 0 14px, #8a7048 15px 18px, #e6d5a8 19px 40px, #c9b48a 41px);
  box-shadow: inset 0 0 0 1px rgba(90, 70, 40, 0.25);
}

.roll span:nth-child(1) { transform: translateZ(0); }
.roll span:nth-child(2) { transform: translateZ(2px); }
.roll span:nth-child(3) { transform: translateZ(4px); }
.roll span:nth-child(4) { transform: translateZ(6px); }
.roll span:nth-child(5) { transform: translateZ(8px); }
.roll span:nth-child(6) { transform: translateZ(10px); }
.roll span:nth-child(7) { transform: translateZ(12px); }
.roll span:nth-child(8) { transform: translateZ(14px); }
.roll span:nth-child(9) { transform: translateZ(16px); }
.roll span:nth-child(10) { transform: translateZ(18px); }

.pencil {
  position: absolute;
  right: 2%;
  bottom: 16%;
  width: 196px;
  height: 16px;
  transform-style: preserve-3d;
  transform: rotateX(28deg) rotateZ(-32deg);
}

.pencil i { position: absolute; display: block; }

.pencil .shaft {
  left: 28px;
  right: 22px;
  top: 0;
  height: 14px;
  background: linear-gradient(#f0d7a4, #c48a45 55%, #a06c30);
  transform: translateZ(5px);
}

.pencil .side {
  left: 28px;
  right: 22px;
  top: 7px;
  height: 14px;
  background: #8d5e2c;
  transform: rotateX(90deg);
}

.pencil .band {
  right: 14px;
  top: 0;
  width: 8px;
  height: 14px;
  background: linear-gradient(#d9dde2, #8e939a);
  transform: translateZ(5px);
}

.pencil .eraser {
  right: 0;
  top: 1px;
  width: 14px;
  height: 12px;
  background: #c45c55;
  transform: translateZ(5px);
}

.pencil .tip {
  left: 0;
  top: 1px;
  width: 0;
  height: 0;
  border-right: 28px solid #c9964e;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: translateZ(5px);
}

.pencil .lead {
  left: -2px;
  top: 5px;
  width: 0;
  height: 0;
  border-right: 8px solid #2a2926;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: translateZ(6px);
}

.level-spin {
  position: absolute;
  left: 12%;
  right: 6%;
  top: 46%;
  height: 48px;
  transform-style: preserve-3d;
}

.level-tool {
  --lean: 0deg;
  --bubble: 0px;
  height: 48px;
  transform-style: preserve-3d;
  transform: rotateX(18deg) rotateZ(var(--lean));
  cursor: grab;
  touch-action: none;
  outline: none;
}

.level-tool.is-held { cursor: grabbing; }

.level-tool:focus-visible {
  outline: 2px solid var(--line);
  outline-offset: 6px;
}

.lv {
  position: relative;
  width: 100%;
  height: 36px;
  transform-style: preserve-3d;
}

.lv .f {
  position: absolute;
  display: block;
}

.lv .front,
.lv .back {
  inset: 4px 16px;
  background: linear-gradient(#f0c84a, #d7a422 70%, #c4921c);
  border-radius: 3px;
}

.lv .front { transform: translateZ(11px); }
.lv .back { transform: rotateY(180deg) translateZ(11px); background: #c4921c; }

.lv .top,
.lv .bottom {
  left: 16px;
  right: 16px;
  height: 22px;
  background: #e2b433;
}

.lv .top { top: 4px; transform: rotateX(90deg) translateZ(11px); background: linear-gradient(#f6d56a, #e2b433); }
.lv .bottom { top: 18px; transform: rotateX(-90deg) translateZ(7px); background: #b88818; }

.lv .left,
.lv .right {
  top: 4px;
  width: 22px;
  height: 28px;
  background: #2c2a28;
}

.lv .left { left: 5px; transform: rotateY(-90deg) translateZ(11px); }
.lv .right { right: 5px; transform: rotateY(90deg) translateZ(11px); }

.vial {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 78px;
  height: 18px;
  margin-left: -39px;
  border-radius: 20px;
  background: #163028;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 2px #1c1b19;
  transform: translateZ(13px);
  overflow: hidden;
}

.vial b {
  position: absolute;
  top: 2px;
  left: calc(50% - 7px + var(--bubble));
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #d7efe4 60%, #8fd0b8);
}

.vial s,
.vial s.r {
  position: absolute;
  top: 2px;
  width: 2px;
  height: 14px;
  background: var(--line);
  text-decoration: none;
}

.vial s { left: 24px; }
.vial s.r { right: 24px; }

.bench-read {
  position: absolute;
  left: 14%;
  bottom: 0;
  margin: 0;
  padding: 0.22rem 0.6rem;
  background: var(--tape);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transform: rotate(-1.2deg);
  box-shadow: var(--shadow);
}

.bench-read.is-flat { color: var(--line); }
.bench-read.is-off { color: var(--fail); }

@media (max-width: 960px) {
  .hero { overflow-x: clip; }
  .bench {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    height: 156px;
    margin: 0.2rem auto 0.2rem;
  }
  .roll { width: 58px; height: 58px; left: 6%; }
  .pencil { width: 118px; right: 10%; }
  .level-spin { top: 40%; left: 8%; right: 8%; }
}

@media (min-width: 961px) {
  .hero .verdict,
  .hero .lede,
  .hero .level { max-width: min(34rem, calc(100% - 30rem)); }
}

@media (prefers-reduced-motion: no-preference) {
  .level line {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: draw 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  }

  .roll { animation: roll-spin 14s linear infinite; }
  .pencil { animation: pencil-sway 7s ease-in-out infinite; }
  .bench:not(.touched) .level-spin { animation: level-rock 5.6s ease-in-out infinite; }
  .bench:not(.touched) .vial b { animation: bubble-rock 5.6s ease-in-out infinite; }
  .bench.is-off .roll,
  .bench.is-off .pencil,
  .bench.is-off .level-spin,
  .bench.is-off .vial b { animation-play-state: paused; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape-btn, .tapes a, .rig { transition: none; }
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ink { to { opacity: 1; } }
@keyframes roll-spin { to { transform: rotateX(66deg) rotateZ(360deg); } }
@keyframes pencil-sway {
  0%, 100% { transform: rotateX(28deg) rotateZ(-32deg) translateY(0); }
  50% { transform: rotateX(34deg) rotateZ(-26deg) translateY(-6px); }
}
@keyframes level-rock {
  0%, 100% { transform: rotateZ(-6deg); }
  50% { transform: rotateZ(6deg); }
}
html:has(body.home) { scroll-behavior: auto; }

body.home {
  background: #100e0c;
  color: #f4efe6;
}

body.home::before { display: none; }

body.home .bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.3rem;
  background: rgba(16, 14, 12, 0.72);
  color: #f4efe6;
  backdrop-filter: blur(10px);
}

.bar .brand {
  color: inherit;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.bar-links {
  display: flex;
  gap: 1.15rem;
  font-size: 0.95rem;
}

.bar-links a {
  color: rgba(244, 239, 230, 0.72);
  text-decoration: none;
}

.bar-links a[aria-current="page"],
.bar-links a:hover { color: #f4efe6; }

.anatomy {
  height: 560vh;
  position: relative;
}

.stage {
  position: sticky;
  top: 64px;
  height: calc(100dvh - 64px);
  min-height: 520px;
  background: #100e0c;
  overflow: hidden;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 8, 6, 0.55) 0%, transparent 22%),
    radial-gradient(ellipse at 46% 48%, transparent 16%, rgba(10, 8, 6, 0.34) 62%, rgba(10, 8, 6, 0.78) 100%),
    linear-gradient(180deg, transparent 58%, rgba(10, 8, 6, 0.62));
}

.frames,
.frames img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.frames img {
  object-fit: cover;
  object-position: 42% center;
  opacity: 0;
  transform-origin: 46% 42%;
}

.film-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 7rem;
  bottom: 0;
  padding: 4.5rem 1.6rem 1.6rem;
  color: #f6f1e8;
}

.film-kicker {
  margin: 0 0 0.2rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(246, 241, 232, 0.78);
}

.film-copy h1 {
  margin: 0;
  max-width: 12ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.86;
}

.film-copy #stage-line {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  font-size: 1.05rem;
  color: rgba(246, 241, 232, 0.86);
}

.ticks {
  position: absolute;
  z-index: 3;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ticks button {
  width: 2.6rem;
  min-height: 2.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(246, 241, 232, 0.55);
  font: inherit;
  font-size: 0.72rem;
  text-align: right;
  cursor: pointer;
}

.ticks button::before {
  content: "";
  display: block;
  width: 1.1rem;
  height: 1px;
  margin-left: auto;
  margin-bottom: 0.28rem;
  background: currentColor;
}

.ticks button[aria-selected="true"] {
  color: #f6f1e8;
}

.ticks button[aria-selected="true"]::before {
  width: 2.2rem;
}

.layers {
  background: #ece7df;
  color: var(--ink);
  padding: 4.5rem 0 5rem;
}

.layers h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
  font-weight: 600;
}

.layers ol {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 44rem;
}

.layers li {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(28, 27, 25, 0.16);
}

.layers a { color: var(--line); }

@media (max-width: 700px) {
  body.home .bar { height: 56px; padding: 0 0.9rem; }
  .bar-links { gap: 0.7rem; font-size: 0.84rem; }
  .stage { top: 56px; height: calc(100dvh - 56px); min-height: 480px; }
  .film-copy { right: 0; padding: 3.2rem 0.9rem 4.2rem; }
  .film-copy h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .ticks {
    top: auto;
    right: 0.6rem;
    bottom: 0.7rem;
    transform: none;
    flex-direction: row;
    gap: 0.35rem;
  }
  .ticks button { width: auto; min-height: 2rem; font-size: 0.68rem; }
  .ticks button::before { width: 0.7rem; }
  .layers li { grid-template-columns: 1fr; gap: 0.15rem; }
}

body.home.is-still .anatomy { height: auto; }
body.home.is-still .stage { position: relative; top: 0; height: auto; min-height: 0; }
body.home.is-still .frames { position: relative; display: grid; }
body.home.is-still .frames img {
  position: relative;
  opacity: 1 !important;
  height: 62vh;
  transform: none !important;
}
body.home.is-still .ticks { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .frames img { will-change: opacity, transform; }
}
