:root {
  --ink: #102b3d;
  --ink-deep: #092232;
  --paper: #f3f6f2;
  --paper-warm: #ecf0e9;
  --metal: #cbd8d2;
  --teal: #79b7ae;
  --teal-dark: #1d6968;
  --orange: #e76532;
  --orange-light: #f3a06f;
  --gold: #dda83f;
  --line: rgba(16, 43, 61, 0.18);
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --body: "PingFang SC", "Microsoft YaHei", sans-serif;
  --utility: "SFMono-Regular", "Roboto Mono", "Cascadia Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 43, 61, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 43, 61, 0.032) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body.viewer-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

a {
  color: inherit;
}

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

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

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

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.brand-mark i {
  display: block;
  width: 17px;
  height: 2px;
  margin: 2px;
  background: var(--orange);
}

.brand-mark i:nth-child(2) {
  width: 24px;
  background: var(--teal-dark);
}

.brand-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-en,
.runtime-state,
.eyebrow,
.section-kicker,
.case-meta,
.visual-caption,
.site-footer {
  font-family: var(--utility);
  text-transform: uppercase;
}

.brand-en {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: rgba(16, 43, 61, 0.58);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.runtime-state {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(16, 43, 61, 0.7);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.runtime-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-dark);
  box-shadow: 0 0 0 4px rgba(29, 105, 104, 0.12);
}

.hero {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  padding: 88px 0 96px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 27px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eyebrow span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 30px;
  font-family: var(--display);
  font-size: clamp(58px, 7.2vw, 102px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 em {
  display: block;
  color: var(--orange);
  font-style: normal;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 34px;
  color: rgba(16, 43, 61, 0.72);
  font-size: 17px;
  line-height: 1.9;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.hero-link span {
  color: var(--orange);
  font-size: 18px;
  transition: transform 180ms ease;
}

.hero-link:hover span {
  transform: translateY(4px);
}

.route-map {
  position: relative;
  min-height: 410px;
  border: 1px solid rgba(203, 216, 210, 0.9);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 16px 18px 0 rgba(121, 183, 174, 0.16);
}

.route-map::before,
.route-map::after {
  position: absolute;
  content: "";
  background: var(--ink);
}

.route-map::before {
  top: 50%;
  left: -22px;
  width: calc(100% + 44px);
  height: 1px;
}

.route-map::after {
  top: -22px;
  left: 50%;
  width: 1px;
  height: calc(100% + 44px);
}

.route-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.route-node span {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
}

.route-node--logic {
  top: 50px;
  left: 42px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 9px var(--teal);
}

.route-node--logic::before,
.route-node--logic::after {
  position: absolute;
  left: -12px;
  width: 12px;
  height: 46px;
  content: "";
  background: repeating-linear-gradient(to bottom, var(--ink) 0 2px, transparent 2px 9px);
}

.route-node--logic::after {
  right: -12px;
  left: auto;
}

.route-node--pastry {
  right: 38px;
  bottom: 38px;
  border-radius: 50%;
  background: var(--orange-light);
  box-shadow: inset 0 0 0 8px var(--paper), inset 0 0 0 10px var(--orange);
}

.route-node--pastry span {
  transform: rotate(8deg);
}

.route-node--cnc {
  top: 50%;
  left: 50%;
  width: 118px;
  height: 68px;
  border-color: var(--teal);
  border-radius: 36px;
  color: white;
  background: var(--ink-deep);
  box-shadow: inset 0 0 0 7px var(--ink), 0 0 0 1px var(--orange);
  transform: translate(-50%, -50%) rotate(3deg);
}

.route-node--cnc span {
  font-family: var(--utility);
  font-size: 20px;
  letter-spacing: 0.14em;
}

.route-line {
  position: absolute;
  z-index: 1;
  border-color: var(--orange);
  border-style: solid;
}

.route-line--a {
  top: 102px;
  left: 0;
  width: 42px;
  border-width: 2px 0 0;
}

.route-line--b {
  top: 102px;
  left: 146px;
  width: 47%;
  height: 160px;
  border-width: 2px 2px 0 0;
}

.route-line--c {
  right: 0;
  bottom: 90px;
  width: 38px;
  border-width: 2px 0 0;
}

.route-label {
  position: absolute;
  z-index: 2;
  padding: 5px 7px;
  color: rgba(16, 43, 61, 0.55);
  background: var(--paper);
  font-family: var(--utility);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.route-label--start {
  top: 91px;
  left: 4px;
}

.route-label--end {
  right: 5px;
  bottom: 79px;
}

.signal {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(231, 101, 50, 0.16);
}

.signal--one {
  top: 24px;
  right: 24px;
}

.signal--two {
  right: 45%;
  bottom: 30px;
  background: var(--teal-dark);
}

.signal--three {
  top: 53%;
  left: 24px;
  background: var(--gold);
}

.cases {
  padding: 84px 0 112px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr 0.8fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}

.section-kicker {
  margin-bottom: 5px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child {
  margin-bottom: 4px;
  color: rgba(16, 43, 61, 0.62);
  font-size: 13px;
  line-height: 1.75;
}

.case-list {
  display: grid;
  gap: 30px;
}

.case-card {
  display: grid;
  min-height: 470px;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border: 1px solid rgba(16, 43, 61, 0.22);
  background: rgba(255, 255, 255, 0.64);
}

.case-card--pastry .case-visual {
  order: 2;
}

.case-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.case-visual--logic {
  color: white;
  background: var(--ink);
}

.logic-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(121, 183, 174, 0.48) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 183, 174, 0.48) 1px, transparent 1px);
  background-size: 30px 30px;
  transform: perspective(430px) rotateX(52deg) scale(1.45);
  transform-origin: bottom;
}

.chip {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 190px;
  height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: var(--ink-deep);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%) rotate(-4deg);
}

.chip-code {
  color: var(--orange-light);
  font-family: var(--utility);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.chip-name {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
}

.pin {
  position: absolute;
  width: 30px;
  height: 7px;
  background: var(--metal);
}

.pin--1,
.pin--2,
.pin--3 {
  left: -30px;
}

.pin--4,
.pin--5,
.pin--6 {
  right: -30px;
}

.pin--1,
.pin--4 { top: 20px; }
.pin--2,
.pin--5 { top: 52px; }
.pin--3,
.pin--6 { top: 84px; }

.probe,
.led {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--utility);
  font-size: 10px;
}

.probe b,
.led i {
  width: 18px;
  height: 18px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(231, 101, 50, 0.18);
}

.probe--a { top: 87px; left: 54px; }
.probe--b { bottom: 92px; left: 82px; }
.led { top: 50%; right: 55px; }
.led i { background: var(--gold); box-shadow: 0 0 22px rgba(221, 168, 63, 0.78); }

.logic-trace {
  position: absolute;
  height: 2px;
  background: var(--orange);
}

.logic-trace--left {
  top: 50%;
  left: 0;
  width: calc(50% - 95px);
}

.logic-trace--right {
  top: 50%;
  right: 0;
  width: calc(50% - 95px);
  background: var(--gold);
}

.visual-caption {
  position: absolute;
  right: 23px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.case-visual--pastry {
  background: #dcc894;
}

.pastry-board {
  position: absolute;
  inset: 34px;
  overflow: hidden;
  border: 1px solid rgba(91, 62, 26, 0.28);
  border-radius: 46% 7% 42% 4% / 8% 42% 7% 45%;
  background:
    repeating-linear-gradient(2deg, transparent 0 22px, rgba(105, 78, 34, 0.065) 22px 23px),
    #caa76d;
  box-shadow: inset 0 0 65px rgba(97, 62, 24, 0.16);
  transform: rotate(1.5deg);
}

.pastry-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 194px;
  height: 130px;
  border: 2px solid rgba(108, 57, 18, 0.26);
  border-radius: 50%;
  background: #e8a947;
  box-shadow: inset 0 -18px 25px rgba(137, 66, 12, 0.22), 0 22px 35px rgba(95, 55, 18, 0.22);
  transform: translate(-50%, -50%) rotate(-8deg);
}

.pastry-shape i {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 1px;
  height: 110px;
  background: rgba(112, 64, 16, 0.38);
  transform-origin: center;
}

.pastry-shape i:nth-child(1) { transform: rotate(55deg); }
.pastry-shape i:nth-child(2) { transform: rotate(-55deg); }
.pastry-shape i:nth-child(3) { transform: rotate(25deg); }
.pastry-shape i:nth-child(4) { transform: rotate(-25deg); }

.flour {
  position: absolute;
  width: 90px;
  height: 25px;
  border-radius: 50%;
  background: rgba(246, 242, 226, 0.45);
  filter: blur(3px);
}

.flour--one { top: 55px; right: 42px; transform: rotate(17deg); }
.flour--two { bottom: 48px; left: 35px; transform: rotate(-8deg); }

.rolling-line {
  position: absolute;
  top: 24px;
  left: 58px;
  width: 12px;
  height: 175px;
  border-radius: 10px;
  background: #88613f;
  box-shadow: 0 0 0 7px #b2875b;
  transform: rotate(47deg);
}

.case-visual--pastry .visual-caption {
  color: rgba(73, 43, 17, 0.66);
}

.case-visual--cnc {
  color: white;
  background: #0d2739;
}

.cnc-blueprint {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(121, 183, 174, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 183, 174, 0.42) 1px, transparent 1px);
  background-size: 24px 24px;
}

.cnc-bed {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(82%, 520px);
  height: 168px;
  border: 1px solid rgba(121, 183, 174, 0.64);
  background: linear-gradient(180deg, #183e54 0 62%, #102f43 62%);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.36), inset 0 -18px 0 rgba(5, 25, 37, 0.35);
  transform: translate(-50%, -50%);
}

.cnc-axis {
  position: absolute;
  top: 76px;
  left: 74px;
  right: 74px;
  height: 14px;
  border-top: 2px solid var(--orange-light);
  border-bottom: 2px solid var(--orange-light);
}

.cnc-axis span {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 48px;
  height: 27px;
  border: 1px solid var(--gold);
  background: var(--ink-deep);
  transform: translateX(-50%);
}

.cnc-spindle {
  position: absolute;
  top: 48px;
  width: 72px;
  height: 72px;
  border: 8px solid #8ebdb5;
  border-radius: 50%;
  background: var(--ink-deep);
  box-shadow: 0 0 0 2px var(--metal), inset 0 0 0 8px #244e62;
}

.cnc-spindle--left { left: 24px; }
.cnc-spindle--right { right: 24px; }

.cnc-spindle i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 5px;
  background: var(--orange-light);
  transform-origin: left center;
}

.cnc-spindle i:nth-child(1) { transform: rotate(0deg); }
.cnc-spindle i:nth-child(2) { transform: rotate(120deg); }
.cnc-spindle i:nth-child(3) { transform: rotate(240deg); }

.cnc-turret {
  position: absolute;
  left: 50%;
  width: 62px;
  height: 38px;
  border: 1px solid var(--orange-light);
  background: #234d62;
  clip-path: polygon(15% 0, 85% 0, 100% 50%, 85% 100%, 15% 100%, 0 50%);
  transform: translateX(-50%);
}

.cnc-turret::before,
.cnc-turret::after {
  position: absolute;
  top: 17px;
  width: 28px;
  height: 3px;
  content: "";
  background: var(--gold);
}

.cnc-turret::before { right: 49px; }
.cnc-turret::after { left: 49px; }
.cnc-turret--upper { top: 18px; }
.cnc-turret--lower { bottom: 14px; transform: translateX(-50%) rotate(180deg); }

.case-body {
  display: flex;
  padding: clamp(42px, 6vw, 76px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.case-meta {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 28px;
  color: rgba(16, 43, 61, 0.54);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.case-meta span:first-child {
  color: var(--orange);
  font-weight: 700;
}

.case-body h3 {
  margin-bottom: 20px;
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.23;
  letter-spacing: -0.035em;
}

.case-body > p {
  margin-bottom: 24px;
  color: rgba(16, 43, 61, 0.68);
  font-size: 15px;
  line-height: 1.85;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.case-tags li {
  padding: 6px 10px;
  border: 1px solid rgba(16, 43, 61, 0.17);
  border-radius: 99px;
  color: rgba(16, 43, 61, 0.65);
  font-size: 11px;
}

.launch-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px 15px 20px;
  border: 1px solid var(--ink);
  color: white;
  background: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.launch-button i {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--orange-light);
  font-size: 18px;
  font-style: normal;
}

.launch-button:hover {
  color: var(--ink);
  background: transparent;
  transform: translateY(-2px);
}

.usage-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.usage-note > div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 36px 24px 36px 0;
}

.usage-note > div + div {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.note-index {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--teal-dark);
  border-radius: 50%;
  color: var(--teal-dark);
  font-family: var(--utility);
  font-size: 11px;
}

.usage-note p {
  margin: 0;
  color: rgba(16, 43, 61, 0.65);
  font-size: 13px;
  line-height: 1.75;
}

.usage-note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.site-footer {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  color: rgba(16, 43, 61, 0.5);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.viewer {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: clamp(12px, 2.5vw, 32px);
  border: 0;
  color: var(--ink);
  background: rgba(5, 25, 37, 0.86);
}

.viewer::backdrop {
  background: rgba(5, 25, 37, 0.86);
  backdrop-filter: blur(9px);
}

.viewer-panel {
  display: flex;
  width: min(1440px, 100%);
  height: 100%;
  margin: auto;
  flex-direction: column;
  padding: clamp(16px, 2vw, 26px);
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
}

.viewer-header span,
.viewer-tip {
  color: rgba(16, 43, 61, 0.56);
  font-family: var(--utility);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.viewer-header h2 {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 30px);
}

.viewer-close {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.viewer-close i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 22px;
  font-style: normal;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.viewer-close:hover i {
  color: white;
  background: var(--orange);
  transform: rotate(8deg);
}

.viewer-stage {
  display: grid;
  min-height: 0;
  flex: 1;
  place-items: center;
  overflow: hidden;
  background: var(--ink-deep);
}

.viewer-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #111;
}

.viewer-tip {
  margin: 13px 0 0;
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 36px, 720px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 68px 0 80px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .route-map {
    min-height: 330px;
  }

  .route-map::before {
    left: 0;
    width: 100%;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-heading > p:last-child {
    max-width: 520px;
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-card--pastry .case-visual {
    order: 0;
  }
}

@media (max-width: 600px) {
  .site-header {
    min-height: 76px;
  }

  .brand-en,
  .runtime-state {
    display: none;
  }

  h1 {
    font-size: clamp(50px, 16vw, 70px);
  }

  .hero {
    gap: 58px;
    padding-top: 56px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .route-map {
    min-height: 290px;
  }

  .route-node {
    width: 82px;
    height: 82px;
  }

  .route-node--logic {
    top: 38px;
    left: 28px;
  }

  .route-node--pastry {
    right: 25px;
    bottom: 28px;
  }

  .route-node--cnc {
    width: 94px;
    height: 56px;
  }

  .route-node--cnc span {
    font-size: 16px;
  }

  .route-line--a,
  .route-line--b { top: 79px; }

  .route-line--b {
    left: 110px;
    height: 143px;
  }

  .route-label--start { top: 67px; }
  .route-line--c { bottom: 68px; width: 25px; }
  .route-label--end { bottom: 57px; }

  .cases {
    padding: 70px 0 82px;
  }

  .case-visual {
    min-height: 320px;
  }

  .case-body {
    padding: 38px 28px 42px;
  }

  .case-body h3 {
    font-size: 30px;
  }

  .chip {
    width: 145px;
    height: 94px;
  }

  .probe--a { top: 54px; left: 24px; }
  .probe--b { bottom: 57px; left: 34px; }
  .led { right: 24px; }

  .pastry-board {
    inset: 24px;
  }

  .pastry-shape {
    width: 160px;
    height: 110px;
  }

  .cnc-bed {
    width: 88%;
    height: 142px;
  }

  .cnc-axis {
    top: 65px;
    left: 62px;
    right: 62px;
  }

  .cnc-spindle {
    top: 40px;
    width: 62px;
    height: 62px;
  }

  .cnc-spindle--left { left: 18px; }
  .cnc-spindle--right { right: 18px; }

  .usage-note {
    grid-template-columns: 1fr;
  }

  .usage-note > div {
    padding: 28px 0;
  }

  .usage-note > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-footer {
    min-height: 88px;
  }

  .site-footer span:last-child {
    display: none;
  }

  .viewer {
    padding: 0;
  }

  .viewer-panel {
    padding: 13px;
  }

  .viewer-close span,
  .viewer-tip {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
