/* ================================================================
   Fichas de dibujo — una plantilla, seis dibujos
   ================================================================ */

.page-gutter {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.drawing-page {
  background: var(--paper);
}

.drawing-page .brand-name {
  font-size: 17px;
}

/* ---------- Breadcrumb ---------- */

.crumbs {
  padding-top: clamp(14px, 2vw, 22px);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.crumbs li + li::before {
  content: "/";
  color: var(--rule-strong);
}

.crumbs a {
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.crumbs a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.crumbs [aria-current="page"] {
  color: var(--ink);
}

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

.drawing-hero {
  position: relative;
  overflow: hidden;
}

.drawing-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(38px, 5vw, 78px);
  align-items: center;
  padding-top: clamp(22px, 3.2vw, 42px);
  padding-bottom: clamp(34px, 4.5vw, 58px);
}

.drawing-hero__copy {
  min-width: 0;
}

.drawing-hero__hook {
  min-width: 0;
}

.drawing-hero__hook .download-card {
  width: min(100%, 560px);
  margin-top: 0;
}

.drawing-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-faint);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.drawing-eyebrow .dot-red {
  width: 6px;
  height: 6px;
}

.drawing-hero h1 {
  max-width: 100%;
  margin-top: 14px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(42px, 4.9vw, 70px);
  font-weight: 680;
  font-stretch: 81%;
  line-height: 0.87;
  letter-spacing: -0.058em;
}

.drawing-hero h1 .red {
  color: var(--red-deep);
}

.drawing-lede {
  max-width: 50ch;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: clamp(15.5px, 1.25vw, 17px);
  line-height: 1.55;
  letter-spacing: -0.008em;
  text-wrap: pretty;
}

/* ---------- Download hook ---------- */

.download-card {
  position: relative;
  width: min(100%, 560px);
  margin-top: clamp(24px, 3vw, 34px);
  padding: clamp(18px, 2.1vw, 26px);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-2);
}

.download-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(251, 248, 241, 0.16);
  pointer-events: none;
}

.download-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(251, 248, 241, 0.58);
  font-size: 9.5px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.download-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 7px;
  border: 1px solid rgba(255, 115, 90, 0.65);
  color: var(--red-light);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.download-card__title {
  max-width: 19ch;
  margin-top: 15px;
  color: var(--paper-2);
  font-family: var(--display);
  font-size: clamp(25px, 2.4vw, 32px);
  font-weight: 660;
  font-stretch: 84%;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.download-card__copy {
  max-width: 43ch;
  margin-top: 9px;
  color: rgba(251, 248, 241, 0.68);
  font-size: 12.5px;
  line-height: 1.5;
}

.button--download {
  display: flex;
  width: 100%;
  min-height: 58px;
  justify-content: space-between;
  margin-top: 17px;
  padding: 0 18px;
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  font-size: 14.5px;
  font-weight: 650;
  gap: 16px;
}

.button--download:hover {
  border-color: var(--paper-2);
  background: var(--paper-2);
  color: var(--ink);
}

.button--download svg {
  width: 20px;
  height: 20px;
}

.download-card__note {
  margin-top: 10px;
  color: rgba(251, 248, 241, 0.5);
  font-size: 9px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

/* ---------- Facts ---------- */

.drawing-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 560px);
  margin-top: 24px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.drawing-facts > div {
  min-width: 0;
  padding: 10px 10px 11px 0;
}

.drawing-facts > div + div {
  padding-left: 13px;
  border-left: 1px solid var(--rule);
}

.drawing-facts dt {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.drawing-facts dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Matrix lab ---------- */

.matrix-lab {
  padding: clamp(36px, 4.5vw, 64px) 0 clamp(44px, 5.5vw, 72px);
  border-top: 1px solid var(--ink);
  background: var(--paper-2);
}

.matrix-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 64px);
  margin-bottom: clamp(20px, 2.6vw, 32px);
}

.matrix-toolbar > div {
  min-width: 0;
}

.section-kicker {
  color: var(--red-deep);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.matrix-title {
  margin-top: 7px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.drawing-how h2,
.drawing-includes h2,
.drawing-faq h2,
.related h2 {
  margin-top: 9px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 670;
  font-stretch: 83%;
  line-height: 0.93;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.matrix-lab__controls {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 9px;
}

.view-switch {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
}

.matrix-download {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.matrix-download svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.matrix-download:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-2);
}

.view-switch__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background-color 180ms ease, color 180ms ease;
}

.view-switch__button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.view-switch__button:hover {
  color: var(--ink);
}

.view-switch__button.is-active {
  background: var(--ink);
  color: var(--paper-2);
}

.view-switch__button:active {
  transform: translateY(1px);
}

.matrix-stage {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  min-width: 0;
}

.matrix-stage__head,
.matrix-stage__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink-faint);
  font-size: 9.5px;
  line-height: 1.4;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.matrix-stage__head {
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ink);
}

.matrix-stage__head span:first-child {
  color: var(--ink);
}

.matrix-stage__foot {
  margin-top: 9px;
}

.matrix-stage__foot span:last-child {
  color: var(--ink-soft);
}

.matrix-frame {
  position: relative;
  width: 100%;
  max-width: calc((100svh - 190px) * var(--ratio));
  margin: 14px auto 0;
  border: 1px solid var(--ink);
  background: #fcfcf8;
  overflow: hidden;
}

.matrix-frame::before,
.matrix-frame::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 10px;
  height: 10px;
  pointer-events: none;
  border-color: var(--red-deep);
  border-style: solid;
}

.matrix-frame::before {
  top: 6px;
  left: 6px;
  border-width: 1px 0 0 1px;
}

.matrix-frame::after {
  right: 6px;
  bottom: 6px;
  border-width: 0 1px 1px 0;
}

.matrix-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity 170ms ease;
}

.matrix-canvas--code {
  opacity: 0;
  pointer-events: none;
}

.matrix-frame[data-view="code"] .matrix-canvas--draw {
  opacity: 0;
}

.matrix-frame[data-view="code"] .matrix-canvas--code {
  opacity: 1;
}

.matrix-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease, visibility 200ms ease;
}

.matrix-frame[data-ready="true"] .matrix-loading {
  visibility: hidden;
  opacity: 0;
}

.matrix-hint {
  max-width: 1280px;
  margin: 16px auto 0;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.55;
}

.matrix-hint a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  transition: color 180ms ease, border-color 180ms ease;
}

.matrix-hint a:hover {
  color: var(--red-deep);
  border-color: var(--red-deep);
}

.matrix-noscript {
  max-width: 1280px;
  margin: 16px auto 0;
  padding: 13px 15px;
  border: 1px solid var(--ink);
  font-size: 13px;
}

/* ---------- How it works ---------- */

.drawing-how {
  padding: clamp(52px, 6.5vw, 92px) 0;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: clamp(28px, 4vw, 70px);
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.section-heading > p {
  max-width: 46ch;
  padding-bottom: 5px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.55;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.how-steps li {
  min-width: 0;
  padding: 19px 28px 0 0;
  border-right: 1px solid var(--rule);
}

.how-steps li + li {
  padding-left: 28px;
}

.how-steps li:last-child {
  padding-right: 0;
  border-right: 0;
}

.how-steps__num {
  color: var(--red-deep);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.how-steps h3 {
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 650;
  font-stretch: 84%;
  line-height: 1;
  letter-spacing: -0.035em;
}

.how-steps p {
  max-width: 39ch;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.55;
}

.how-steps a {
  display: inline-block;
  margin-top: 11px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--rule-strong);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  transition: color 180ms ease, border-color 180ms ease;
}

.how-steps a:hover {
  color: var(--red-deep);
  border-color: var(--red-deep);
}

/* ---------- What the PDF includes ---------- */

.drawing-includes {
  padding: clamp(52px, 6.5vw, 92px) 0;
  background: var(--ink);
  color: var(--paper-2);
}

.includes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.7fr);
  gap: clamp(38px, 6vw, 96px);
  align-items: start;
}

.drawing-includes .section-kicker {
  color: var(--red-light);
}

.drawing-includes h2 {
  color: var(--paper-2);
}

.check-list {
  max-width: 54ch;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(251, 248, 241, 0.18);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(251, 248, 241, 0.14);
  color: rgba(251, 248, 241, 0.76);
  font-size: 13px;
  line-height: 1.5;
}

.check {
  position: relative;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.check::after {
  content: "";
  position: absolute;
  top: 0;
  left: 3px;
  width: 5px;
  height: 9px;
  border-right: 1.4px solid var(--red-light);
  border-bottom: 1.4px solid var(--red-light);
  transform: rotate(42deg);
}

.drawing-includes .button--download {
  width: min(100%, 420px);
  margin-top: 26px;
}

.includes-note {
  margin-top: 10px;
  color: rgba(251, 248, 241, 0.45);
  font-size: 9px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.spec-sheet {
  position: relative;
  padding: 22px 22px 20px;
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 12px 12px 0 rgba(216, 58, 34, 0.2);
}

.spec-sheet::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--red-deep);
}

.spec-sheet__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spec-sheet__name {
  margin-top: 19px;
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 670;
  font-stretch: 82%;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.spec-sheet dl {
  margin-top: 18px;
  border-top: 1px solid var(--ink);
}

.spec-sheet dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
}

.spec-sheet dt {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.spec-sheet dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  text-align: right;
  text-transform: uppercase;
}

.spec-sheet__note {
  margin-top: 15px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- FAQ ---------- */

.drawing-faq {
  padding: clamp(52px, 6.5vw, 92px) 0;
  border-top: 1px solid var(--rule);
}

.faq-list {
  max-width: 900px;
  margin-top: 26px;
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--rule);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--red-deep);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 72ch;
  padding: 0 36px 17px 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

/* ---------- Related ---------- */

.related {
  padding: clamp(52px, 6.5vw, 92px) 0;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}

.related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.related__head h2 {
  max-width: 15ch;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: 28px;
}

.related-card {
  display: block;
  min-width: 0;
}

.related-card__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 12px;
  border: 1px solid var(--rule);
  background: var(--paper);
  transition: transform 380ms var(--ease), border-color 200ms ease,
    box-shadow 380ms var(--ease);
}

.related-card__frame picture {
  display: contents;
}

.related-card__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 600ms var(--ease);
}

.related-card:hover .related-card__frame,
.related-card:focus-visible .related-card__frame {
  border-color: var(--ink);
  box-shadow: 8px 9px 0 rgba(23, 23, 19, 0.08);
  transform: translateY(-3px);
}

.related-card:hover .related-card__frame img {
  transform: scale(1.015);
}

.related-card__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid var(--rule);
}

.related-card__meta .mono:first-child {
  grid-column: 1 / -1;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.related-card__meta strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 650;
  font-stretch: 84%;
  line-height: 1;
  letter-spacing: -0.035em;
}

.related-card__meta .mono:last-child {
  align-self: end;
  color: var(--ink-soft);
  font-size: 9px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Final CTA ---------- */

.drawing-cta {
  padding: clamp(52px, 6.5vw, 92px) 0;
  border-top: 1px solid var(--ink);
  background: var(--paper-2);
}

.drawing-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: end;
  gap: clamp(36px, 6vw, 90px);
}

.drawing-cta h2 {
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(46px, 5.6vw, 78px);
  font-weight: 680;
  font-stretch: 82%;
  line-height: 0.86;
  letter-spacing: -0.055em;
}

.drawing-cta__action {
  padding-bottom: 3px;
}

.drawing-cta__action > p {
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.55;
}

.drawing-cta__action .button--download {
  max-width: 430px;
}

.drawing-cta__meta {
  display: block;
  margin-top: 9px;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Sticky download dock ---------- */

.download-dock {
  display: none;
}

.download-dock__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.download-dock__copy span {
  color: rgba(251, 248, 241, 0.55);
  font-size: 8.5px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.download-dock__copy strong {
  color: var(--paper-2);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 650;
  font-stretch: 84%;
  line-height: 1;
  letter-spacing: -0.03em;
}

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

.drawing-page .site-footer .brand-name {
  font-size: 17px;
}

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

@media (max-width: 1120px) {
  .drawing-hero__top {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 42px;
  }

  .drawing-hero h1 {
    font-size: clamp(40px, 4.9vw, 56px);
  }

  .drawing-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drawing-facts > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .drawing-facts > div:nth-child(4) {
    border-top: 1px solid var(--rule);
  }

  .drawing-facts > div:nth-child(n + 3) {
    padding-top: 9px;
  }
}

@media (max-width: 980px) {
  .drawing-hero__top {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 24px;
  }

  .drawing-hero h1 {
    font-size: clamp(44px, 8.4vw, 72px);
  }

  .drawing-hero__hook {
    justify-self: center;
    width: 100%;
    max-width: 560px;
  }

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

  .section-heading > p {
    max-width: 56ch;
    padding-bottom: 0;
  }

  .includes-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .spec-sheet {
    width: min(100%, 440px);
  }

  .drawing-cta__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .download-dock:not([hidden]) {
    position: fixed;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 10px 8px 12px;
    border: 1px solid rgba(251, 248, 241, 0.2);
    background: var(--ink);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  }

  .download-dock .button {
    min-height: 42px;
    padding: 0 12px;
    border-color: var(--red);
    background: var(--red);
    color: #fff;
    font-size: 12.5px;
    gap: 10px;
    flex: 0 0 auto;
  }

  .download-dock .button:hover {
    border-color: var(--paper-2);
    background: var(--paper-2);
    color: var(--ink);
  }

  .download-dock .button svg {
    width: 16px;
    height: 16px;
  }

  body.drawing-page {
    padding-bottom: 72px;
  }
}

@media (max-width: 820px) {
  .matrix-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .matrix-lab__controls {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 760px) {
  .matrix-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .matrix-lab__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .drawing-how h2,
  .drawing-includes h2,
  .drawing-faq h2,
  .related h2 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .matrix-lab__controls {
    width: 100%;
    align-items: stretch;
  }

  .view-switch {
    width: 100%;
  }

  .view-switch__button {
    flex: 1;
  }

  .matrix-frame {
    max-width: 100%;
  }

  .how-steps {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .how-steps li,
  .how-steps li + li {
    padding: 18px 0 20px;
    border-top: 1px solid var(--ink);
    border-right: 0;
  }

  .how-steps li:last-child {
    padding-bottom: 0;
  }

  .how-steps h3 {
    margin-top: 13px;
  }

  .related__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-card__frame {
    aspect-ratio: 16 / 10;
  }

  .drawing-page .brand-name {
    font-size: 15.5px;
  }
}

@media (max-width: 560px) {
  .drawing-hero h1 {
    font-size: clamp(34px, 10.2vw, 44px);
    letter-spacing: -0.055em;
  }

  .drawing-lede {
    margin-top: 18px;
  }

  .download-card {
    width: 100%;
  }

  .download-card__title {
    font-size: 25px;
  }

  .drawing-facts {
    width: 100%;
  }

  .matrix-stage__head,
  .matrix-stage__foot {
    font-size: 9px;
    gap: 10px;
  }

  .matrix-stage__foot span:last-child {
    text-align: right;
  }

  .matrix-hint {
    font-size: 11.5px;
  }

  .includes-grid {
    gap: 38px;
  }

  .spec-sheet {
    width: 100%;
    padding: 20px 18px 18px;
  }

  .drawing-cta h2 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .drawing-cta__action .button--download {
    max-width: none;
  }

  .download-dock__copy strong {
    font-size: 17px;
  }

  .download-dock .button {
    font-size: 12px;
    padding: 0 12px;
  }
}

@media (max-width: 380px) {
  .drawing-page .brand-name {
    font-size: 14px;
  }

  .drawing-hero h1 {
    font-size: 32px;
  }

  .download-card {
    padding: 16px 14px;
  }

  .drawing-facts dd {
    font-size: 10px;
  }

  .view-switch__button {
    padding: 0 9px;
    font-size: 11px;
  }
}

/* ---------- Print ---------- */

@media print {
  body,
  body.drawing-page {
    padding-bottom: 0;
    background: #fff;
  }

  body::before,
  .site-header,
  .mobile-nav,
  .crumbs,
  .download-card,
  .view-switch,
  .matrix-download,
  .drawing-how,
  .drawing-includes,
  .drawing-faq,
  .related,
  .drawing-cta,
  .site-footer,
  .download-dock,
  .download-toast,
  .matrix-hint,
  .matrix-stage__head,
  .skip-link {
    display: none !important;
  }

  .drawing-hero__top {
    display: block;
    padding: 0;
  }

  .drawing-hero h1 {
    font-size: 30pt;
  }

  .drawing-lede {
    max-width: 100%;
    font-size: 11pt;
  }

  .matrix-lab {
    padding: 18pt 0 0;
    border: 0;
    background: #fff;
  }

  .matrix-toolbar {
    display: block;
    margin-bottom: 12pt;
  }

  .matrix-stage {
    max-width: 100%;
  }

  .matrix-frame {
    max-width: 100%;
    border-color: #000;
  }

  .page-gutter {
    padding-inline: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
