@font-face {
  font-family: "March Condensed";
  src: url("../fonts/BarlowCondensed-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0b0b0a;
  --ink-soft: #121210;
  --ink-raised: #191917;
  --paper: #e6e2da;
  --paper-muted: #aaa69e;
  --line: #34332f;
  --line-strong: #555149;
  --red: #c23d2c;
  --red-light: #e05a46;
  --blue-gray: #748b97;
  --page: min(1380px, calc(100vw - 56px));
  --pad: clamp(72px, 9vw, 144px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border: 3px solid var(--ink);
}

a,
button {
  color: inherit;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--red-light);
  outline-offset: 4px;
}

img,
video {
  display: block;
  max-width: 100%;
}

h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin-top: 0;
}

h2,
h3 {
  text-wrap: balance;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 100dvh;
  background: var(--ink);
}

.hero-desktop {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: #080807;
}

.hero-collage {
  width: 100%;
  height: 100dvh;
  object-fit: cover;
  object-position: center;
}

.hero-monitor {
  position: absolute;
  z-index: 1;
  left: 53.75%;
  top: 24.6%;
  width: 42.6%;
  height: 31.8%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.78) sepia(.12) hue-rotate(162deg);
  opacity: .96;
  clip-path: polygon(2% 3%, 98% 2%, 99% 96%, 1% 98%);
}

.hero-entry {
  position: absolute;
  z-index: 2;
  right: 8.7%;
  bottom: 7.7%;
  width: 23.6%;
  min-height: 11.6%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--red) 16%, transparent);
  color: transparent;
  text-decoration: none;
  transition: background .3s ease, transform .3s cubic-bezier(.16, 1, .3, 1);
}

.hero-entry:hover {
  background: color-mix(in srgb, var(--red) 32%, transparent);
  transform: translateX(4px);
}

.hero-entry:focus-visible {
  color: var(--paper);
  background: var(--red);
}

.hero-mobile {
  display: none;
}

#main {
  position: relative;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 max(28px, calc((100vw - 1380px) / 2));
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.wordmark,
.mobile-wordmark,
.footer strong {
  font-family: "March Condensed", sans-serif;
  letter-spacing: .02em;
}

.wordmark {
  font-size: 24px;
  text-decoration: none;
}

.site-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
}

.site-links a {
  color: var(--paper-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.site-links a:hover {
  color: var(--paper);
}

.site-links a[aria-current="page"] {
  color: var(--paper);
}

.site-links .try-link {
  color: var(--paper);
  border: 1px solid var(--red);
  padding: 8px 14px;
}

.menu-toggle {
  display: none;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: var(--pad) 0;
}

.section h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 500;
}

.section h3 {
  font-size: clamp(24px, 2.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 500;
}

.services {
  padding-top: clamp(88px, 10vw, 160px);
}

.services-intro {
  width: min(820px, 100%);
  margin-bottom: clamp(56px, 7vw, 100px);
}

.services-intro p,
.system-heading p,
.evidence-heading p,
.methods-heading p,
.about-copy > p,
.contact-copy > p {
  max-width: 66ch;
  color: var(--paper-muted);
  font-size: clamp(17px, 1.6vw, 22px);
}

.service-paths {
  display: grid;
  grid-template-columns: 1fr 1.28fr;
  grid-template-areas:
    "first second"
    "third second";
  border-top: 1px solid var(--line-strong);
}

.service-path {
  min-height: 280px;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 30px;
  align-items: start;
  padding: 38px 34px 38px 0;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  text-decoration: none;
  transition:background .3s ease,transform .3s cubic-bezier(.16,1,.3,1);
}

.service-path:nth-child(1) {
  grid-area: first;
}

.service-path:nth-child(2) {
  grid-area: second;
}

.service-path:nth-child(3) {
  grid-area: third;
}

.service-path-wide {
  min-height: 560px;
  grid-template-columns: 150px 1fr auto;
  border-left: 1px solid var(--line);
  padding-left: 44px;
}

.service-path:hover {
  background: var(--ink-soft);
  padding-left: 18px;
}

.service-path-wide:hover {
  padding-left: 62px;
}

.service-path > span {
  color: var(--red-light);
}

.service-path p {
  color: var(--paper-muted);
  max-width: 39ch;
}

.service-path b {
  color: var(--red-light);
  font-size: 26px;
  font-weight: 400;
}

.service-note {
  width: min(600px, 100%);
  margin: 42px 0 0 auto;
  color: var(--paper-muted);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.system {
  width: 100%;
  padding-left: max(28px, calc((100vw - 1380px) / 2));
  padding-right: max(28px, calc((100vw - 1380px) / 2));
  background: var(--ink-soft);
}

.system-heading {
  width: min(850px, 100%);
  margin-bottom: 70px;
}

.system-stage {
  min-height: 680px;
  display: grid;
  grid-template-columns: 190px minmax(400px, 1fr) 310px;
  align-items: stretch;
  gap: clamp(22px, 3vw, 48px);
}

.stage-nav {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 0;
}

.stage-nav::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 1px;
  background: var(--line-strong);
}

.stage-nav::after {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 1px;
  height: calc(100% - 52px);
  background: var(--red);
  transform: scaleY(var(--stage-progress-scale, 0));
  transform-origin: top;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.stage-nav button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: #77736c;
  padding: 10px 0 10px 24px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: color .25s ease, transform .25s ease;
}

.stage-nav button::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 22px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--line-strong);
  background: var(--ink-soft);
  border-radius: 50%;
}

.stage-nav button span,
.stage-nav button small {
  display: block;
}

.stage-nav button span {
  font-size: 18px;
}

.stage-nav button small {
  margin-top: 3px;
  color: inherit;
  font-size: 12px;
}

.stage-nav button[aria-pressed="true"] {
  color: var(--paper);
  transform: translateX(7px);
}

.stage-nav button[aria-pressed="true"]::before {
  border-color: var(--red);
  background: var(--red);
}

.stage-material {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.material-media {
  position: relative;
  flex: 1;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #080807;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
}

.material-media.is-changing {
  opacity: .12;
  transform: translateY(14px);
}

.material-media img,
.material-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.material-media .work-video {
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.72) sepia(.12) hue-rotate(160deg);
}

.material-media .note-image {
  width: auto;
  max-width: 94%;
  height: min(540px, 66vw);
  object-fit: contain;
}

.rewrite-scene {
  width: min(700px, 90%);
  display: grid;
  gap: 24px;
}

.rewrite-scene > p {
  color: var(--paper-muted);
}

.rewrite-button {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--paper);
  padding: 28px 0;
  text-align: left;
  font: inherit;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.35;
  font-weight: 500;
  cursor: pointer;
  transition:color .25s ease,transform .3s cubic-bezier(.16,1,.3,1);
}

.rewrite-button:hover {
  color: var(--red-light);
  transform: translateX(12px);
}

/* 交互位移只使用 transform，避免 hover 时触发布局重排。 */
.service-path{transition:background .3s ease,transform .3s cubic-bezier(.16,1,.3,1)}
.service-path:hover{padding-left:0;transform:translateX(12px)}
.rewrite-button{transition:color .25s ease,transform .3s cubic-bezier(.16,1,.3,1)}

.rewrite-hint {
  color: var(--red-light);
}

.publish-scene {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: stretch;
  gap: 1px;
  background: var(--line);
}

.publish-scene img {
  background: #222;
}

.publish-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 30px;
  background: var(--ink);
}

.publish-copy strong {
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.15;
  font-weight: 500;
}

.publish-copy p {
  color: var(--paper-muted);
}

.data-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.data-scene figure {
  position: relative;
  margin: 0;
  min-height: 500px;
  overflow: hidden;
  background: #ececea;
}

.data-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.data-judgment {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  background: rgba(10, 10, 9, .92);
  color: var(--paper);
  border-top: 2px solid var(--red);
}

.data-judgment strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 500;
}

.material-caption {
  padding: 24px 0 0;
}

.material-caption h3 {
  margin-bottom: 8px;
  font-size: clamp(26px, 2.6vw, 42px);
}

.material-caption p {
  max-width: 60ch;
  color: var(--paper-muted);
}

.stage-logic {
  display: flex;
  flex-direction: column;
  padding-top: 1px;
}

.stage-logic dl {
  margin-bottom: 30px;
}

.stage-logic dl div {
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
}

.stage-logic dt {
  margin-bottom: 8px;
  color: var(--red-light);
  font-size: 13px;
}

.stage-logic dd {
  color: var(--paper-muted);
}

.next-stage {
  margin-top: auto;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--paper);
  padding: 13px 16px;
  font: inherit;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.logic-toggle {
  display: none;
}

.next-stage:hover {
  border-color: var(--red);
  background: var(--red);
}

.system-exits {
  margin-top: 70px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.system-exits > p {
  color: var(--paper-muted);
  word-spacing: .2em;
}

.system-exits > p span {
  color: var(--red-light);
}

.system-exits > div {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.system-exits a,
.method-links a,
.about-copy a,
.contact-links a,
.contact-links button {
  color: var(--paper);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 0;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}

.system-exits a:hover,
.method-links a:hover,
.about-copy a:hover,
.contact-links a:hover,
.contact-links button:hover {
  border-color: var(--red);
  color: var(--red-light);
}

.evidence-heading,
.methods-heading {
  width: min(850px, 100%);
  margin-bottom: clamp(58px, 7vw, 100px);
}

.evidence-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-areas:
    "photo numbers"
    "photo covers";
  gap: 32px 50px;
}

.evidence-main {
  grid-area: photo;
  margin: 0;
}

.evidence-main img {
  width: 100%;
  height: auto;
  filter: saturate(.72) contrast(1.04);
}

.evidence-main figcaption,
.evidence-covers figcaption {
  margin-top: 12px;
  color: var(--paper-muted);
}

.evidence-numbers {
  grid-area: numbers;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}

.evidence-numbers > p {
  color: var(--paper-muted);
}

.evidence-numbers dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 34px;
}

.evidence-numbers dl div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.evidence-numbers dt {
  font-family: "March Condensed", sans-serif;
  font-size: clamp(50px, 6vw, 86px);
  line-height: 1;
}

.evidence-numbers dd,
.evidence-numbers > span {
  color: var(--paper-muted);
}

.evidence-numbers > span {
  display: block;
  max-width: 48ch;
  margin-top: 32px;
}

.evidence-covers {
  grid-area: covers;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.evidence-covers figure {
  margin: 0;
}

.evidence-covers img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

.evidence-covers figure:nth-child(2) {
  margin-top: 56px;
}

.methods {
  width: 100%;
  padding-left: max(28px, calc((100vw - 1380px) / 2));
  padding-right: max(28px, calc((100vw - 1380px) / 2));
  background: var(--ink-soft);
}

.method-route {
  display: grid;
  grid-template-columns: .8fr 1.45fr .75fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-question,
.method-decision,
.method-result {
  background: var(--ink-soft);
  padding: clamp(24px, 3vw, 44px);
}

.method-question span,
.method-result span {
  color: var(--paper-muted);
}

.method-question p,
.method-result p {
  margin-top: 30px;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.35;
}

.method-decision {
  display: grid;
  gap: 24px;
}

.method-decision > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.method-decision > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.method-decision strong {
  color: var(--red-light);
  font-family: "March Condensed", sans-serif;
  font-size: 30px;
}

.method-decision p {
  margin: 0;
  color: var(--paper-muted);
}

.method-links {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 42px;
}

.about {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(46px, 7vw, 110px);
  align-items: center;
}

.about-media {
  min-width: 0;
}

.about-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050505;
  filter: grayscale(1) contrast(1.04) brightness(.82);
}

.about-media img {
  width: 88%;
  margin: 18px 0 0 12%;
  filter: grayscale(1) contrast(1.04) brightness(.78);
}

.about-copy blockquote {
  margin: 46px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper);
  font-size: clamp(23px, 2.4vw, 36px);
  line-height: 1.4;
}

.contact {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(48px, 8vw, 130px);
  align-items: end;
  border-top: 1px solid var(--line-strong);
}

.contact-copy h2 {
  max-width: 760px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  min-width: 160px;
  background: var(--red);
  color: var(--paper);
  padding: 15px 22px;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), background .2s ease;
}

.primary-action:hover {
  transform: translateY(-3px);
  background: var(--red-light);
}

.contact-links {
  display: grid;
  align-content: end;
}

.contact-links p {
  min-height: 26px;
  margin: 12px 0 0;
  color: var(--red-light);
}

.footer {
  width: var(--page);
  margin: 0 auto;
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 26px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--paper-muted);
}

.footer strong {
  color: var(--paper);
  font-size: 30px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  html.js-ready .reveal:not(.is-visible) {
    opacity: .84;
    transform: translateY(10px);
  }

  .reveal {
    transition: opacity .38s cubic-bezier(.16, 1, .3, 1), transform .38s cubic-bezier(.16, 1, .3, 1);
  }
}

@media (max-width: 1080px) {
  .system-stage {
    grid-template-columns: 150px minmax(360px, 1fr) 260px;
    gap: 20px;
  }

  .service-path,
  .service-path-wide {
    grid-template-columns: 120px 1fr auto;
  }

  .method-route {
    grid-template-columns: 1fr 1.4fr;
  }

  .method-result {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --page: calc(100vw - 36px);
    --pad: 82px;
  }

  body {
    font-size: 15px;
  }

  .hero-desktop {
    display: none;
  }

  .hero-mobile {
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(280px, 1fr) auto auto auto;
    gap: 18px;
    padding: max(22px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
    background: var(--ink);
  }

  .mobile-wordmark {
    position: relative;
    z-index: 2;
    font-size: clamp(72px, 24vw, 118px);
    line-height: .82;
    color: var(--paper);
  }

  .hero-mobile video {
    width: 100%;
    min-height: 280px;
    height: 100%;
    object-fit: cover;
    object-position: 56% center;
    filter: grayscale(1) contrast(1.08) brightness(.7) sepia(.1) hue-rotate(160deg);
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
  }

  .hero-mobile p {
    margin: 0;
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.18;
    letter-spacing: -.03em;
  }

  .hero-mobile > span {
    color: var(--paper-muted);
  }

  .hero-mobile > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    background: var(--red);
    color: var(--paper);
    text-decoration: none;
  }

  .site-nav {
    min-height: 62px;
    padding: 0 18px;
    backdrop-filter: none;
  }

  .menu-toggle {
    display: block;
    border: 0;
    background: transparent;
    color: var(--paper);
    padding: 10px 0;
    font: inherit;
  }

  .site-links {
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    display: none;
    background: var(--ink);
    border-bottom: 1px solid var(--line-strong);
    padding: 10px 18px 22px;
  }

  .site-links.is-open {
    display: grid;
  }

  .site-links a {
    min-height: 46px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .site-links .try-link {
    margin-top: 12px;
    border: 1px solid var(--red);
    justify-content: center;
  }

  .section h2 {
    font-size: clamp(36px, 11vw, 56px);
  }

  .services-intro,
  .system-heading,
  .evidence-heading,
  .methods-heading {
    margin-bottom: 48px;
  }

  .service-paths {
    display: block;
  }

  .service-path,
  .service-path-wide {
    min-height: 0;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 30px 0;
    border-left: 0;
  }

  .service-path > span {
    grid-column: 1 / -1;
  }

  .service-path:hover,
  .service-path-wide:hover {
    padding-left: 0;
    background: transparent;
  }

  .service-note {
    margin-top: 30px;
  }

  .system {
    padding-left: 18px;
    padding-right: 18px;
  }

  .system-stage {
    min-height: 0;
    display: block;
  }

  .stage-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    overflow: visible;
    padding: 0 0 22px;
  }

  .stage-nav::before,
  .stage-nav::after {
    display: none;
  }

  .stage-nav button {
    min-width: 0;
    padding: 9px 2px 0;
    border-top: 2px solid var(--line-strong);
  }

  .stage-nav button::before,
  .stage-nav button small {
    display: none;
  }

  .stage-nav button span {
    font-size: 12px;
    white-space: nowrap;
  }

  .stage-nav button[aria-pressed="true"] {
    transform: none;
    border-top-color: var(--red);
  }

  .stage-material {
    border-top: 0;
  }

  .material-media {
    min-height: 420px;
  }

  .material-media .note-image {
    max-width: 100%;
    height: auto;
  }

  .rewrite-scene {
    width: 100%;
    padding: 20px;
  }

  .rewrite-button {
    font-size: 25px;
  }

  .publish-scene,
  .data-scene {
    grid-template-columns: 1fr;
  }

  .publish-scene img {
    min-height: 310px;
  }

  .data-scene figure {
    min-height: 360px;
  }

  .data-scene figure:nth-child(2) {
    display: none;
  }

  .material-caption {
    padding-top: 20px;
  }

  .stage-logic {
    margin-top: 26px;
  }

  .stage-logic dl {
    display: none;
  }

  .stage-logic.is-open dl {
    display: block;
  }

  .logic-toggle {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--paper);
    padding: 13px 16px;
    font: inherit;
  }

  .next-stage {
    width: 100%;
  }

  .system-exits {
    margin-top: 48px;
  }

  .system-exits > p {
    line-height: 2;
  }

  .system-exits > div {
    display: grid;
    gap: 12px;
  }

  .evidence-layout {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  .evidence-main {
    order: 1;
  }

  .evidence-numbers {
    order: 2;
  }

  .evidence-covers {
    order: 3;
  }

  .evidence-covers figure:nth-child(2) {
    margin-top: 34px;
  }

  .evidence-numbers dl {
    gap: 20px;
  }

  .methods {
    padding-left: 18px;
    padding-right: 18px;
  }

  .method-route {
    display: block;
    background: transparent;
  }

  .method-question,
  .method-decision,
  .method-result {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
  }

  .method-links {
    display: grid;
    justify-content: stretch;
    gap: 8px;
  }

  .about,
  .contact {
    display: block;
  }

  .about-copy,
  .contact-links {
    margin-top: 52px;
  }

  .about-media img {
    display: none;
  }

  .contact {
    border-top: 1px solid var(--line-strong);
  }

  .contact-links {
    margin-top: 52px;
  }

  .footer {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
