:root {
  --bg: #151a19;
  --panel: #202724;
  --line: #425044;
  --text: #f1f4ea;
  --muted: #b1beb2;
  --lime: #c9fb6c;
  --mono: Plex, ui-monospace, monospace;
  color-scheme: dark;
  font-family: Geist, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.model-stage:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}
button {
  border: 0;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
h1,
h2,
h3,
p,
fieldset {
  margin: 0;
}
fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
.wrap,
.mast {
  width: min(calc(100% - 8vw), 1600px);
  margin-inline: auto;
}
.mast {
  height: 84px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.18rem;
  font-weight: 760;
  letter-spacing: -0.065em;
}
.wordmark img {
  width: 31px;
  height: 31px;
}
.mast nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 0.91rem;
}
.mast nav a:hover,
footer > a:last-child:hover {
  color: var(--lime);
}
.top-brief {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid #8c9a8b;
  border-radius: 3px;
  font-weight: 600;
}
.top-brief:hover {
  background: #2c352c;
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 8;
  padding: 12px;
  color: #172116;
  background: var(--lime);
}
.skip:focus {
  top: 8px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.55fr);
  gap: clamp(28px, 3.2vw, 70px);
  align-items: center;
  padding-block: clamp(42px, 5.2vw, 90px);
  scroll-margin-top: 12px;
}
.intro {
  padding-block: 10px;
}
.place,
.eyeline,
.modeltag,
.kit,
.hintrow,
legend,
.imagecaption,
.details-line span:first-child {
  font-family: var(--mono);
  font-weight: 500;
}
.place,
.eyeline,
legend {
  letter-spacing: 0.085em;
  text-transform: uppercase;
  font-size: 0.77rem;
}
.place {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
}
.ruled {
  width: 27px;
  height: 2px;
  background: currentColor;
}
.intro h1 {
  font-size: clamp(3.45rem, 5.65vw, 6.15rem);
  font-weight: 510;
  letter-spacing: -0.085em;
  line-height: 0.99;
  margin: 24px 0 23px;
}
h1 em {
  color: var(--lime);
  font-style: normal;
}
.lead {
  font-size: clamp(1.05rem, 1.34vw, 1.29rem);
  line-height: 1.48;
  max-width: 35ch;
  color: #c7d0c7;
  letter-spacing: -0.024em;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 21px;
  flex-wrap: wrap;
  margin: 30px 0 33px;
}
.lime,
.plain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 630;
  font-size: 0.94rem;
  letter-spacing: -0.02em;
  min-height: 44px;
}
.lime {
  background: var(--lime);
  color: #192219;
  padding: 12px 18px;
  border-radius: 3px;
}
.lime:hover {
  background: #e1ffac;
}
.plain {
  padding: 5px 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #849583;
}
.plain:hover {
  color: var(--lime);
}
.kit {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
  display: flex;
  gap: 9px;
  align-items: center;
}
.kiticon {
  font-family: Arial;
  font-size: 1.3rem;
  color: var(--lime);
}
.kit span:nth-child(2) {
  color: #70816f;
}
.workbench {
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 40%, #354135 0%, #202923 55%, #1c231f 85%);
  border-radius: 6px;
}
.instrument-top,
.hintrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.instrument-top {
  padding: 19px 22px 0;
}
.eyeline {
  color: #a4b69f;
}
.instrument-top h2 {
  font-size: 1.45rem;
  font-weight: 540;
  letter-spacing: -0.055em;
  margin-top: 1px;
}
.modeltag,
.imagecaption {
  font-size: 0.76rem;
  padding: 5px 8px;
  border: 1px solid #536052;
  border-radius: 2px;
  color: #d0dcca;
}
.model-stage {
  height: clamp(290px, 25vw, 470px);
  position: relative;
  margin: 7px 14px 0;
  touch-action: pan-y;
  isolation: isolate;
  background-image:
    linear-gradient(#c2d2ae08 1px, transparent 1px),
    linear-gradient(90deg, #c2d2ae08 1px, transparent 1px);
  background-size: 26px 26px;
  cursor: grab;
}
.model-stage:focus-visible {
  outline-offset: -3px;
}
.model-stage.dragging {
  cursor: grabbing;
}
.model-stage canvas,
.fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.fallback {
  object-fit: contain;
  pointer-events: none;
}
.model-stage.rendered .fallback {
  display: none;
}
.cross {
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: #64755f;
  border-style: solid;
  pointer-events: none;
}
.tl,
.tr {
  top: 8px;
}
.tl,
.bl {
  left: 6px;
}
.tr,
.br {
  right: 6px;
}
.br,
.bl {
  bottom: 5px;
}
.tl {
  border-width: 1px 0 0 1px;
}
.tr {
  border-width: 1px 1px 0 0;
}
.bl {
  border-width: 0 0 1px 1px;
}
.br {
  border-width: 0 1px 1px 0;
}
.hintrow {
  padding: 0 19px 8px;
  color: #b1c0ab;
  font-size: 0.75rem;
}
.turns {
  display: flex;
  gap: 3px;
}
.turns button {
  display: grid;
  place-items: center;
  font: 1.1rem Arial;
  background: transparent;
  border: 1px solid #556554;
  border-radius: 2px;
  width: 31px;
  height: 30px;
}
.turns button:hover {
  background: #3a483a;
}
.controls {
  border-top: 1px solid var(--line);
  background: rgba(15, 20, 17, 0.65);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px 15px;
}
.controls legend {
  color: #a4b39f;
  margin-bottom: 6px;
  font-size: 0.72rem;
}
.segments {
  display: flex;
  gap: 2px;
}
.segments button {
  font-size: 0.85rem;
  letter-spacing: -0.03em;
  background: transparent;
  border: 1px solid transparent;
  padding: 6px 10px;
  color: #b7c4b7;
  border-radius: 2px;
  min-height: 33px;
}
.segments button:hover {
  background: #354134;
}
.segments button[aria-pressed="true"] {
  background: #344231;
  color: #d3fca6;
  border-color: #5e7452;
}
.formats {
  padding-block: 55px 62px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 16px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-heading h2,
.handoff h2,
.dialog-head h2 {
  font-weight: 500;
  font-size: clamp(2.35rem, 4.35vw, 4.9rem);
  letter-spacing: -0.078em;
  line-height: 1.05;
  margin-top: 11px;
}
.section-heading > p,
.handoff p:not(.place),
.detail-body > p,
.brief-note {
  color: #b6c3b6;
  font-size: 1rem;
  line-height: 1.53;
}
.format-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.73fr) minmax(0, 1.7fr);
  gap: clamp(20px, 3.5vw, 60px);
}
.format-list {
  display: flex;
  flex-direction: column;
}
.format-list button {
  border-top: 1px solid var(--line);
  padding: 15px 14px 15px 21px;
  text-align: left;
  background: transparent;
  position: relative;
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  letter-spacing: -0.035em;
}
.format-list button:last-child {
  border-bottom: 1px solid var(--line);
}
.format-list button:hover {
  background: #202921;
}
.format-list button[aria-pressed="true"] {
  background: #273126;
  color: var(--lime);
}
.format-list button[aria-pressed="true"]:before {
  content: "";
  width: 3px;
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  background: var(--lime);
}
.specimen {
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  border-radius: 4px;
  overflow: hidden;
}
.detail-image {
  position: relative;
  min-height: 260px;
  background: radial-gradient(ellipse at center, #455246, #26302b);
}
.detail-image img,
.detail-image video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-image video {
  z-index: 1;
}
.imagecaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: auto;
  background: #172018d9;
  border-color: #526051;
  max-width: calc(100% - 20px);
  line-height: 1.25;
}
.detail-body {
  padding: clamp(18px, 2.1vw, 36px);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  background: #1b221e;
}
.detail-body h3 {
  font-weight: 540;
  letter-spacing: -0.05em;
  font-size: 1.58rem;
  line-height: 1.12;
}
.detail-body > p {
  margin: 13px 0 20px;
}
.details-line {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.91rem;
  line-height: 1.45;
}
.detail-body .plain {
  margin-top: auto;
  padding-top: 17px;
  color: #d2edbd;
}
.handoff {
  border-block: 1px solid var(--line);
  padding-block: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.handoff p:not(.place) {
  max-width: 54ch;
  margin-top: 12px;
}
footer.wrap {
  padding-block: 26px;
  display: flex;
  align-items: center;
  gap: 26px;
}
footer > span,
footer > a:last-child {
  font-size: 0.85rem;
  color: var(--muted);
}
footer > a:last-child {
  margin-left: auto;
}
dialog {
  background: #202720;
  border: 1px solid #687860;
  border-radius: 5px;
  color: var(--text);
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 34px);
  padding: 0;
  box-shadow: 0 24px 90px #0009;
}
dialog::backdrop {
  background: rgba(9, 14, 10, 0.82);
}
dialog form {
  padding: clamp(20px, 4vw, 36px);
}
.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 9px;
}
.dialog-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.close {
  background: transparent;
  border: 1px solid #62705d;
  font: 1.65rem Arial;
  width: 35px;
  height: 35px;
  border-radius: 3px;
}
.brief-note {
  margin: 16px 0;
  font-size: 0.94rem;
}
.brief-state {
  font-size: 0.87rem;
  color: var(--lime);
  margin-top: 8px;
}
.brief-state:empty {
  display: none;
}
form label {
  display: block;
  font-size: 0.92rem;
  font-weight: 580;
  margin: 12px 0;
}
form label span {
  font-weight: 400;
  color: var(--muted);
}
form input,
form select,
form textarea {
  display: block;
  font:
    1rem Geist,
    sans-serif;
  border: 1px solid #65715f;
  border-radius: 3px;
  width: 100%;
  padding: 10px 12px;
  background: #141a15;
  color: var(--text);
  margin-top: 5px;
}
form textarea {
  resize: vertical;
}
form .lime {
  margin-top: 4px;
}
body:has(dialog[open]) {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .model-stage {
    height: 440px;
  }
}
@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 0.78fr 1.25fr;
    gap: 24px;
  }
  .intro h1 {
    font-size: clamp(3rem, 5.4vw, 4.5rem);
  }
  .hero-actions {
    gap: 12px;
  }
  .controls {
    padding-inline: 12px;
  }
  .segments button {
    padding-inline: 7px;
  }
  .specimen {
    grid-template-columns: 1fr;
  }
  .detail-image {
    min-height: 230px;
  }
  .format-grid {
    grid-template-columns: 0.75fr 1.45fr;
  }
  .detail-body .plain {
    margin-top: 8px;
  }
  .detail-body > p {
    margin: 9px 0 12px;
  }
  .detail-body {
    padding: 20px;
  }
  .detail-image img,
  .detail-image video {
    object-fit: contain;
  }
}
@media (max-width: 760px) {
  .wrap,
  .mast {
    width: calc(100% - 36px);
  }
  .mast {
    height: 66px;
  }
  .mast nav {
    gap: 16px;
  }
  .mast nav a:first-child {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 36px;
    gap: 22px;
  }
  .intro {
    padding: 0;
  }
  .intro h1 {
    font-size: clamp(3.25rem, 9.3vw, 4.6rem);
    line-height: 1;
    margin: 16px 0;
  }
  .intro h1 br {
    display: none;
  }
  .intro h1 em:before {
    content: " ";
  }
  .lead {
    max-width: 46ch;
  }
  .hero-actions {
    margin: 19px 0 12px;
    gap: 20px;
  }
  .kit {
    font-size: 0.76rem;
  }
  .model-stage {
    height: clamp(220px, 47vw, 340px);
  }
  .instrument-top {
    padding: 13px 14px 0;
  }
  .controls {
    justify-content: flex-start;
    gap: 30px;
  }
  .formats {
    padding-block: 34px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 12px;
  }
  .section-heading > p br {
    display: none;
  }
  .format-grid {
    grid-template-columns: 1fr;
  }
  .format-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .format-list button {
    padding: 12px 12px 12px 15px;
  }
  .format-list button:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .format-list button:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .specimen {
    grid-template-columns: 1fr 1fr;
  }
  .handoff {
    align-items: flex-start;
    flex-direction: column;
  }
  footer.wrap {
    flex-wrap: wrap;
    gap: 12px;
  }
  footer > span {
    display: none;
  }
  .turns button {
    width: 39px;
    height: 35px;
  }
}
@media (max-width: 520px) {
  .mast nav > a {
    display: none;
  }
  .wordmark {
    font-size: 1.05rem;
  }
  .wordmark img {
    width: 27px;
    height: 27px;
  }
  .top-brief {
    font-size: 0.87rem;
    padding: 9px 12px;
  }
  .hero {
    padding-top: 27px;
  }
  .intro h1 {
    font-size: clamp(3rem, 12.7vw, 4.15rem);
  }
  .intro h1 br {
    display: block;
  }
  .intro h1 em:before {
    content: none;
  }
  .controls {
    padding: 10px 10px 12px;
    gap: 10px;
    justify-content: space-between;
  }
  .segments button {
    padding: 6px 5px;
    font-size: 0.8rem;
  }
  .model-stage {
    margin-inline: 5px;
    height: clamp(188px, 52vw, 255px);
  }
  .modeltag {
    font-size: 0.7rem;
  }
  .instrument-top h2 {
    font-size: 1.25rem;
  }
  .hintrow {
    padding: 0 12px 6px;
  }
  .keyhelp {
    display: none;
  }
  .specimen {
    grid-template-columns: 1fr;
  }
  .detail-image {
    min-height: 220px;
  }
  .section-heading {
    margin-bottom: 20px;
  }
  .section-heading h2 {
    font-size: 2.8rem;
  }
  .handoff {
    padding-block: 32px;
  }
  .controls legend {
    letter-spacing: 0.05em;
  }
  .hero-actions {
    margin-bottom: 8px;
  }
  .formats {
    scroll-margin-top: 6px;
  }
}
@media (max-width: 365px) {
  .wrap,
  .mast {
    width: calc(100% - 24px);
  }
  .controls {
    gap: 8px;
    flex-wrap: wrap;
  }
  .segments button {
    padding-inline: 5px;
  }
  .hero-actions {
    gap: 12px;
  }
  .modeltag {
    padding: 4px;
  }
  .format-list button {
    font-size: 0.88rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

.detail-ops {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 3px;
  padding: 3px;
  background: #151b17e8;
  border: 1px solid #5b695a;
  border-radius: 3px;
}
.detail-ops button {
  padding: 4px 7px;
  color: #d0d9cf;
  background: transparent;
  font-size: 0.8rem;
  min-height: 30px;
  border-radius: 2px;
}
.detail-ops button[aria-pressed="true"] {
  background: #42523c;
  color: #e3ffc7;
}
.detail-image.cropping img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-image.portrait img {
  width: auto;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: 51% center;
  inset-inline: 0;
  margin: auto;
  border-inline: 1px solid #a8ba9a;
}
.imagecaption {
  pointer-events: none;
}
.specimen:has(video:not([hidden])) .imagecaption {
  bottom: auto;
  top: 10px;
}
.specimen:has(video:not([hidden])) .detail-image {
  background: #243128;
}
/* The stage occupies the opening spread. UI stays clear of the specimen. */
:root {
  --bg: #0e1515;
  --panel: #182322;
  --line: #354440;
}
body {
  background: #101717;
}
.mast {
  width: 100%;
  max-width: none;
  padding-inline: 4vw;
  background: #0e1515;
  height: 73px;
}
.hero {
  width: 100%;
  max-width: none;
  display: block;
  position: relative;
  isolation: isolate;
  padding: 0;
  min-height: clamp(575px, 44vw, 760px);
  margin: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 52%, #203237 0%, #111a1e 43%, #0e1515 75%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle, #8aa5a321 0.7px, transparent 0.9px) 0 0/15px 15px;
  mask-image: linear-gradient(90deg, transparent 12%, black 57%);
  pointer-events: none;
}
.intro {
  position: relative;
  z-index: 2;
  width: 32%;
  padding: clamp(52px, 5.2vw, 90px) 0 0 4vw;
  pointer-events: none;
}
.intro h1 {
  font-size: clamp(4.1rem, 6.5vw, 8.3rem);
  font-weight: 520;
  line-height: 0.96;
  letter-spacing: -0.09em;
  margin: 24px 0 22px;
}
.intro .lead {
  font-size: clamp(1.02rem, 1.2vw, 1.25rem);
  max-width: 28ch;
  line-height: 1.47;
}
.hero-actions {
  gap: 18px;
  margin: 23px 0 22px;
}
.hero-actions > * {
  pointer-events: auto;
}
.kit {
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 6px;
}
.workbench {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.instrument-top {
  position: absolute;
  top: 19px;
  right: 4vw;
  padding: 0;
  gap: 12px;
  justify-content: flex-end;
}
.instrument-top h2 {
  font-size: 1.01rem;
  letter-spacing: -0.025em;
}
.modeltag {
  color: #b0c4bd;
  font-size: 0.7rem;
}
.model-stage {
  position: absolute;
  top: 32px;
  right: 1%;
  left: 28.5%;
  margin: 0;
  height: calc(100% - 129px);
  background: none;
}
.cross {
  width: 11px;
  height: 11px;
  opacity: 0.45;
}
.cross.tl,
.cross.bl {
  display: none;
}
.cross.tr,
.cross.br {
  right: 3vw;
}
.controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 36px;
  padding: 13px 4vw;
  background: #121b1c;
  border-top: 1px solid #354542;
}
.controls fieldset {
  display: flex;
  align-items: center;
  gap: 10px;
}
.controls legend {
  float: left;
  margin: 0;
  padding: 10px 2px 10px 0;
  font-size: 0.74rem;
}
.controls .segments {
  float: right;
  align-items: center;
}
.segments button {
  padding: 8px 13px;
}
.hintrow {
  position: absolute;
  right: 4vw;
  bottom: 13px;
  height: 36px;
  z-index: 1;
  padding: 0;
  gap: 10px;
}
.sweep-control {
  position: absolute;
  right: 4vw;
  bottom: 76px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 9px;
  border: 1px solid #41514c;
  background: #11191adf;
  border-radius: 2px;
  font: 500 0.73rem/1.3 var(--mono);
  color: #e1ebdc;
}
.sweep-control input {
  width: clamp(70px, 9vw, 150px);
  accent-color: var(--lime);
  cursor: ew-resize;
}
.sweep-control output {
  min-width: 3ch;
}
.formats {
  border-top: 0;
  padding-top: 48px;
}
@media (min-width: 1750px) {
  .hero {
    min-height: 720px;
  }
  .intro {
    padding-top: 80px;
  }
  .model-stage {
    left: 29%;
    right: 3%;
  }
}
@media (max-width: 1150px) {
  .controls {
    gap: 22px;
  }
  .controls legend {
    float: none;
    display: block;
  }
  .controls fieldset {
    display: block;
  }
  .controls legend {
    padding: 0 0 3px;
  }
  .hintrow {
    bottom: 16px;
  }
  .controls .segments button {
    padding: 5px 8px;
  }
  .sweep-control {
    bottom: 83px;
  }
  .intro {
    width: 34%;
  }
  .intro h1 {
    font-size: 6.3vw;
  }
  .hero {
    min-height: 535px;
  }
  .model-stage {
    left: 31%;
    height: calc(100% - 137px);
  }
  .keyhelp {
    display: none;
  }
}
@media (max-width: 850px) {
  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .intro {
    width: 100%;
    padding: 26px 4vw 0;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 8px 24px;
  }
  .intro .place {
    grid-column: 1/-1;
  }
  .intro h1 {
    font-size: clamp(3.3rem, 7.2vw, 5rem);
    margin: 5px 0;
    grid-row: 2/4;
  }
  .intro .lead {
    font-size: 0.99rem;
    max-width: 36ch;
    align-self: end;
  }
  .hero-actions {
    margin: 0 0 3px;
    gap: 13px;
  }
  .hero-actions > * {
    font-size: 0.85rem;
  }
  .hero-actions .lime {
    padding: 9px 12px;
  }
  .kit {
    display: none;
  }
  .workbench {
    position: relative;
    inset: auto;
    padding-top: 11px;
  }
  .instrument-top {
    top: 10px;
    right: 4vw;
    position: relative;
    right: auto;
    padding: 0 4vw;
  }
  .model-stage {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: clamp(265px, 48vw, 416px);
    width: 100%;
    margin: 0;
  }
  .controls {
    position: relative;
    bottom: auto;
    gap: 30px;
    padding-block: 12px;
  }
  .controls legend {
    display: block;
    float: none;
  }
  .hintrow {
    bottom: 15px;
  }
  .sweep-control {
    right: 4vw;
    bottom: 80px;
  }
  .intro h1 br {
    display: block;
  }
  .intro h1 em::before {
    content: none;
  }
  .hero::before {
    mask-image: linear-gradient(180deg, transparent 6%, black 55%);
  }
}
@media (max-width: 540px) {
  .mast {
    height: 59px;
    padding-inline: 18px;
  }
  .intro {
    display: block;
    padding: 23px 18px 0;
  }
  .intro h1 {
    font-size: clamp(2.8rem, 10.6vw, 3.75rem);
    margin: 10px 0;
    letter-spacing: -0.075em;
  }
  .intro h1 br {
    display: none;
  }
  .intro h1 em::before {
    content: " ";
  }
  .intro .lead {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 34ch;
  }
  .hero-actions {
    margin: 12px 0 0;
    gap: 17px;
  }
  .hero-actions .lime,
  .hero-actions .plain {
    min-height: 36px;
  }
  .workbench {
    padding-top: 8px;
  }
  .model-stage {
    height: clamp(215px, 58vw, 298px);
  }
  .instrument-top {
    justify-content: space-between;
    top: 8px;
    padding-inline: 18px;
  }
  .instrument-top h2 {
    font-size: 0.88rem;
  }
  .modeltag {
    font-size: 0.66rem;
  }
  .sweep-control {
    position: relative;
    inset: auto;
    margin: 1px 18px 8px;
    width: max-content;
    max-width: calc(100% - 36px);
    min-height: 34px;
  }
  .sweep-control input {
    width: 86px;
  }
  .hintrow {
    right: 18px;
    bottom: 86px;
    height: 27px;
  }
  .hintrow > span {
    display: none;
  }
  .turns button {
    width: 30px;
    height: 30px;
  }
  .controls {
    justify-content: space-between;
    padding: 10px 15px;
    gap: 8px;
  }
  .controls .segments button {
    font-size: 0.78rem;
    padding: 6px 5px;
  }
  .controls legend {
    font-size: 0.68rem;
  }
  .controls .segments {
    gap: 1px;
  }
  .keyhelp {
    display: none;
  }
  .formats {
    padding-top: 32px;
  }
}
@media (max-width: 360px) {
  .sweep-control {
    font-size: 0.67rem;
    gap: 5px;
  }
  .sweep-control input {
    width: 68px;
  }
  .controls {
    flex-wrap: nowrap;
    padding-inline: 8px;
  }
  .controls .segments button {
    padding-inline: 4px;
    font-size: 0.72rem;
  }
}
.intro h1 em {
  white-space: nowrap;
}
@media (min-width: 851px) and (max-height: 800px) {
  .intro {
    padding-top: 40px;
  }
}
@media (max-width: 540px) {
  .workbench {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .instrument-top,
  .model-stage,
  .controls {
    grid-column: 1/-1;
  }
  .instrument-top {
    grid-row: 1;
  }
  .model-stage {
    grid-row: 2;
  }
  .sweep-control {
    grid-column: 1;
    grid-row: 3;
    margin: 2px 0 9px 18px;
  }
  .hintrow {
    grid-column: 2;
    grid-row: 3;
    position: static;
    align-self: center;
    margin: 0 18px 5px 0;
  }
  .controls {
    grid-row: 4;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 8px 14px;
  }
  .controls fieldset {
    display: block;
  }
  .controls legend {
    display: block;
    float: left;
    width: 65px;
    line-height: 34px;
    padding: 0;
    font-size: 0.69rem;
  }
  .controls .segments {
    float: left;
    gap: 3px;
  }
  .controls .segments button {
    padding: 7px 9px;
    font-size: 0.81rem;
    min-height: 35px;
  }
  .turns button {
    min-height: 34px;
    min-width: 34px;
  }
}
@media (max-width: 540px) {
  .intro h1 br {
    display: block;
  }
  .intro h1 em::before {
    content: none;
  }
  .intro h1 {
    font-size: clamp(2.7rem, 10.7vw, 3.3rem);
  }
}
@media (min-width: 541px) and (max-width: 1150px) {
  .hintrow {
    bottom: 83px;
    right: 4vw;
    height: 31px;
  }
  .hintrow > span {
    display: none;
  }
  .sweep-control {
    right: calc(4vw + 86px);
    bottom: 82px;
  }
  .controls {
    justify-content: flex-start;
    gap: 32px;
  }
}
