/* Kasra Mahboub, drafting table
   ------------------------------------------------------------------ */

:root {
  --board: #d6d2c8;
  --board-2: #cbc6ba;
  --paper: #f7f3ea;
  --paper-2: #efe9dd;
  --trace: rgba(251, 250, 244, 0.7);
  --ink: #262523;
  --graphite: #4a4845;
  --graphite-2: #7b776f;
  --graphite-3: #b3ada2;
  --line: rgba(38, 37, 35, 0.16);
  --line-2: rgba(38, 37, 35, 0.45);
  --terra: #b4583a;
  --terra-2: #d4876a;
  --terra-wash: rgba(180, 88, 58, 0.12);

  --display: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --hand: 'Patrick Hand SC', 'Jost', cursive;

  --rule-h: 58px;
  --gutter: clamp(12px, 4vw, 64px);
  --sheet-shadow: 0 1px 1px rgba(40, 35, 25, 0.08), 0 18px 34px -20px rgba(40, 35, 25, 0.45);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .27 0 0 0 0 .22 0 0 0 .075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --board-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .2 0 0 0 0 .18 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grunge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.2 2.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 8.5 L8.5 1.5' stroke='%23262523' stroke-width='1.3'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--board);
  scroll-behavior: smooth;
  scroll-padding-top: var(--rule-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--board);
  background-image:
    radial-gradient(ellipse 40% 30% at 12% 18%, rgba(60, 58, 52, 0.07), transparent 70%),
    radial-gradient(ellipse 30% 24% at 88% 62%, rgba(60, 58, 52, 0.06), transparent 70%),
    var(--board-grain);
  background-attachment: fixed, fixed, scroll;
  -webkit-font-smoothing: antialiased;
}

@media (pointer: fine) {
  body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg transform='rotate(-45 16 16)'%3E%3Cpath d='M1 16 L6 14.4 L6 17.6 Z' fill='%23262523'/%3E%3Cpath d='M6 14.4 L11 13 L11 19 L6 17.6 Z' fill='%23e2c79d'/%3E%3Crect x='11' y='13' width='20' height='6' fill='%233b3e41'/%3E%3Crect x='11' y='13' width='20' height='2' fill='%23595d62'/%3E%3Crect x='29' y='13' width='2' height='6' fill='%23b4583a'/%3E%3C/g%3E%3C/svg%3E") 5 27, auto;
  }
  a, button, [role='button'] { cursor: pointer; }
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

.mono { font-family: var(--mono); }
.hand { font-family: var(--hand); }
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite-2);
}
.ph {
  font-family: var(--mono);
  font-size: 0.82em;
  color: var(--graphite-2);
  border-bottom: 1px dashed var(--graphite-3);
}

:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 12px;
}
.skip:focus { top: 12px; }

/* The parallel rule ------------------------------------------------- */

.wires { position: fixed; inset: 0; pointer-events: none; z-index: 40; }
.wires i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(rgba(38, 37, 35, 0.4), rgba(38, 37, 35, 0.28));
}
.wires i:first-child { left: 7px; }
.wires i:last-child { right: 7px; }

.rule {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--rule-h);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 calc(var(--gutter) + 4px) 8px;
  background: linear-gradient(180deg, rgba(252, 251, 247, 0.8), rgba(238, 236, 228, 0.72));
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
  border-bottom: 1px solid rgba(38, 37, 35, 0.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 8px 16px -10px rgba(30, 28, 24, 0.45);
}
.rule::before, .rule::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -8px;
  border-radius: 50%;
  border: 1px solid rgba(38, 37, 35, 0.6);
  background: var(--paper-2);
}
.rule::before { left: 3px; }
.rule::after { right: 3px; }

.rule-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.rule-mono {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.3px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.rule-name { font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }

.rule-nav { display: flex; margin-left: auto; gap: 2px; }
.rule-nav a {
  position: relative;
  padding: 6px 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--graphite-2);
  white-space: nowrap;
  transition: color 0.2s;
}
.rule-nav a b { font-weight: 500; color: var(--ink); margin-right: 3px; }
.rule-nav a::after {
  content: '';
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 1px;
  height: 2px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rule-nav a:hover { color: var(--ink); }
.rule-nav a.is-active { color: var(--ink); }
.rule-nav a.is-active::after { transform: scaleX(1); }

.rule-current, .rule-index { display: none; }

.rule-scale {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9px;
  background:
    repeating-linear-gradient(90deg, rgba(38, 37, 35, 0.55) 0 1px, transparent 1px 80px) 0 0 / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, rgba(38, 37, 35, 0.4) 0 1px, transparent 1px 40px) 0 3px / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, rgba(38, 37, 35, 0.3) 0 1px, transparent 1px 8px) 0 6px / 100% 3px no-repeat;
}
.rule-marker {
  position: absolute;
  bottom: -1px;
  left: calc(var(--p, 0) * 100%);
  width: 0;
  height: 0;
  margin-left: -6px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 9px solid var(--terra);
}

.index {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(214, 210, 200, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.index[hidden] { display: none; }
.index-sheet {
  width: min(100%, 420px);
  background: var(--paper) var(--grain);
  padding: 28px 24px 22px;
  box-shadow: var(--sheet-shadow);
  border: 1px solid var(--line-2);
}
.index-kicker { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite-2); margin-bottom: 12px; }
.index table { width: 100%; border-collapse: collapse; }
.index th { text-align: left; font-family: var(--mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; padding: 6px 0; border-bottom: 1.5px solid var(--ink); }
.index td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.index td:first-child { font-family: var(--mono); font-size: 12px; width: 76px; color: var(--graphite-2); }
.index td a { text-decoration: none; font-size: 18px; }
.index-close {
  margin-top: 18px;
  background: none;
  border: 1px solid var(--ink);
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* The board and its sheets ------------------------------------------ */

.board {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 9vw, 110px);
  padding: calc(var(--rule-h) + clamp(18px, 3vw, 36px)) var(--gutter) 80px;
  overflow-x: hidden;
  overflow-x: clip;
}

.sheet {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  background-color: var(--paper);
  background-image: var(--grain);
  padding: clamp(34px, 5vw, 64px) clamp(22px, 5vw, 64px) clamp(22px, 3vw, 34px);
  box-shadow: var(--sheet-shadow);
}
.sheet::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1.2px solid rgba(38, 37, 35, 0.55);
  pointer-events: none;
}

.js .sheet:not(.sheet--process):not(.sheet--cover) {
  opacity: 0;
  transform: translateY(26px) rotate(var(--rot, 0deg));
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .sheet.is-in { opacity: 1 !important; transform: rotate(var(--rot, 0deg)) !important; }
.sheet--notes { --rot: 0.35deg; }
.sheet--projects { --rot: -0.25deg; }
.sheet--experience { --rot: 0.3deg; }
.sheet--contact { --rot: -0.2deg; }

.sheet-head { margin-bottom: clamp(26px, 4vw, 44px); }
.sheet-head h2, .process-text h2, .cad-caption h2 {
  font-size: clamp(2.2rem, 5.4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.015em;
  margin-top: 10px;
}
.sheet-sub { margin-top: 14px; max-width: 34em; font-size: 1.08rem; font-weight: 300; color: var(--graphite); }

/* masking tape */
.tape {
  position: absolute;
  z-index: 4;
  width: 92px;
  height: 26px;
  background: rgba(226, 214, 184, 0.82);
  box-shadow: 0 1px 2px rgba(60, 50, 30, 0.15);
  clip-path: polygon(3% 0, 97% 4%, 100% 20%, 97% 38%, 100% 58%, 97% 80%, 99% 100%, 2% 96%, 0 76%, 3% 56%, 0 36%, 2% 18%);
  pointer-events: none;
}
.tape--tl { top: -9px; left: -24px; transform: rotate(-38deg); }
.tape--tr { top: -9px; right: -24px; transform: rotate(36deg); }
.tape--bl { bottom: -9px; left: -24px; transform: rotate(34deg); }
.tape--br { bottom: -9px; right: -24px; transform: rotate(-40deg); }

/* title block */
.titleblock {
  position: relative;
  display: grid;
  grid-template-columns: 1.7fr 1.1fr 0.6fr 0.55fr 0.8fr;
  width: min(100%, 700px);
  margin: clamp(40px, 6vw, 70px) 0 0 auto;
  border: 1.2px solid var(--ink);
  background: rgba(247, 243, 234, 0.9);
  font-size: 13px;
  line-height: 1.25;
}
.titleblock > div { padding: 7px 10px 8px; border-left: 1px solid var(--line-2); }
.titleblock > div:first-child { border-left: 0; }
.titleblock span:first-child {
  display: block;
  margin-bottom: 3px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite-2);
}
.titleblock .tb-no { font-size: 22px; font-weight: 500; letter-spacing: 0.02em; }

/* section marker, the little split circle */
.marker {
  position: relative;
  display: inline-grid;
  grid-template-rows: 1fr 1fr;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1.3px solid var(--ink);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  text-align: center;
  background: var(--paper);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.marker::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid currentColor; }
.marker > span { display: grid; place-items: center; }
.marker > span:first-child { padding-top: 5px; font-weight: 500; font-size: 12px; }
.marker > span:last-child { padding-bottom: 5px; font-size: 8.5px; }
.marker--sm { width: 40px; height: 40px; }
.marker--sm > span:first-child { font-size: 10px; }
.marker--sm > span:last-child { font-size: 7.5px; }

.matchline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(34px, 5vw, 56px);
  text-decoration: none;
}
.matchline-rule {
  flex: 0 1 150px;
  height: 0;
  border-top: 1.4px dashed var(--ink);
}
.matchline-text { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite-2); }
.matchline:hover .marker { background: var(--terra); color: var(--paper); border-color: var(--terra); }
.matchline:hover .matchline-text { color: var(--ink); }

.delta {
  display: inline-grid;
  place-items: end center;
  width: 26px;
  height: 23px;
  padding-bottom: 3px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--terra);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}

.stamp {
  position: absolute;
  top: 26px;
  right: 22px;
  z-index: 3;
  padding: 6px 10px 5px;
  border: 2px solid var(--terra);
  outline: 1px solid var(--terra);
  outline-offset: 2px;
  color: var(--terra);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-9deg);
  opacity: 0.85;
  -webkit-mask-image: var(--grunge);
  mask-image: var(--grunge);
  -webkit-mask-size: 180px;
  mask-size: 180px;
  pointer-events: none;
}

/* Tools lying on the board ------------------------------------------ */

.tool { position: absolute; pointer-events: none; z-index: 5; will-change: transform; }
.tool--pencil {
  width: clamp(190px, 28vw, 360px);
  height: auto;
  aspect-ratio: 300 / 18;
  right: 6%;
  bottom: -14px;
  transform: translateY(var(--py, 0px)) rotate(-7deg);
  filter: drop-shadow(4px 8px 5px rgba(30, 28, 24, 0.3));
}
.tool--eraser {
  right: -34px;
  bottom: 170px;
  width: 112px;
  height: 44px;
  border-radius: 6px;
  background: #f5f2ec;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.06), 4px 10px 12px -6px rgba(30, 28, 24, 0.35);
  transform: translateY(var(--py, 0px)) rotate(14deg);
}
.tool--eraser span {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  display: grid;
  place-items: center;
  border-radius: 0 6px 6px 0;
  background: linear-gradient(90deg, var(--terra) 0 5px, #ebe4d6 5px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--graphite);
}
.tool--eraser::after {
  content: '';
  position: absolute;
  left: -56px;
  top: 24px;
  width: 50px;
  height: 30px;
  background:
    radial-gradient(circle at 20% 30%, #ece7dd 0 2.4px, transparent 3px),
    radial-gradient(circle at 44% 70%, #e9e3d8 0 1.8px, transparent 2.4px),
    radial-gradient(circle at 70% 40%, #eee9e0 0 2px, transparent 2.6px),
    radial-gradient(circle at 86% 80%, #8f8b84 0 1px, transparent 1.4px),
    radial-gradient(circle at 10% 84%, #e7e1d6 0 1.6px, transparent 2px);
}
.tool--square {
  right: -70px;
  bottom: 22%;
  width: 240px;
  height: 240px;
  background:
    repeating-linear-gradient(180deg, rgba(110, 45, 25, 0.5) 0 1px, transparent 1px 12px) 3px 0 / 9px 100% no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 40%),
    rgba(180, 88, 58, 0.17);
  -webkit-backdrop-filter: blur(1.5px) saturate(1.2);
  backdrop-filter: blur(1.5px) saturate(1.2);
  clip-path: path(evenodd, 'M0 240 L0 0 L240 240 Z M34 206 L34 96 L144 206 Z');
  transform: translateY(var(--py, 0px)) rotate(9deg);
}

.scale-ruler {
  position: relative;
  z-index: 6;
  width: 116%;
  max-width: 1500px;
  margin: calc(clamp(56px, 9vw, 110px) * -1 + 8px) auto;
  align-self: center;
  transform: rotate(-2.4deg);
  filter: drop-shadow(0 10px 8px rgba(30, 28, 24, 0.28));
  pointer-events: none;
}
.scale-ruler svg { width: 100%; height: auto; }

/* A-000 cover ------------------------------------------------------- */

.sheet--cover {
  background-image:
    var(--grain),
    linear-gradient(rgba(38, 37, 35, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 37, 35, 0.045) 1px, transparent 1px);
  background-size: 240px 240px, 24px 24px, 24px 24px;
}

.cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: min(calc(100svh - var(--rule-h) - 200px), 780px);
}

.name {
  margin: 18px 0 12px;
  font-size: min(7.4rem, 7.1vw);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}
.name-line { position: relative; display: block; width: max-content; padding: 0.02em 0; }
.guide {
  position: absolute;
  left: -14px;
  right: -44px;
  top: 0.09em;
  bottom: 0.1em;
  pointer-events: none;
}
.guide::before, .guide::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(180, 88, 58, 0.5);
  transform: scaleX(0);
  transform-origin: left;
}
.guide::before { top: 0; }
.guide::after { bottom: 0; }
.name .ch { display: inline-block; }
.js .name .ch { opacity: 0; }
.is-lettered .guide::before, .is-lettered .guide::after { animation: guide 0.9s cubic-bezier(0.3, 0.6, 0.2, 1) forwards; }
.is-lettered .name-line:nth-child(2) .guide::before,
.is-lettered .name-line:nth-child(2) .guide::after { animation-delay: 0.18s; }
.is-lettered .ch { animation: letter 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: calc(0.55s + var(--i) * 75ms); }

@keyframes guide { to { transform: scaleX(1); } }
@keyframes letter {
  0% { opacity: 0; color: var(--graphite-3); transform: translateY(0.06em); filter: blur(3px); }
  55% { opacity: 1; color: var(--graphite); filter: blur(0); }
  100% { opacity: 1; color: var(--ink); transform: none; }
}

.dim {
  position: relative;
  width: var(--w, 60%);
  height: 18px;
  margin-bottom: 26px;
  background: var(--tick) left center / 10px no-repeat, var(--tick) right center / 10px no-repeat;
  opacity: 0;
  transition: opacity 0.8s 1.6s;
}
.is-lettered .dim { opacity: 1; }
.dim::before { content: ''; position: absolute; left: -6px; right: -6px; top: 50%; border-top: 1px solid var(--ink); }
.dim::after { content: ''; position: absolute; left: 4px; right: 4px; top: 1px; bottom: 1px; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.dim-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0 8px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.role { font-size: clamp(1.1rem, 1.8vw, 1.35rem); letter-spacing: 0.04em; }
.role .slash { color: var(--terra); margin: 0 4px; }
.lede {
  margin-top: 22px;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--graphite);
}

.portrait-wrap { margin: 0; justify-self: center; width: min(100%, 520px); }
.trace {
  position: relative;
  background: var(--trace);
  -webkit-backdrop-filter: blur(1.2px);
  backdrop-filter: blur(1.2px);
  box-shadow: 0 0 0 1px rgba(38, 37, 35, 0.05), 0 16px 30px -20px rgba(30, 28, 24, 0.5);
}
.portrait-trace { padding: 7% 7% 10%; transform: rotate(-1.6deg); }
.portrait { position: relative; aspect-ratio: 1; }
.portrait > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait-photo { opacity: 0; filter: grayscale(1) contrast(1.05); }
.portrait-tone { mix-blend-mode: multiply; opacity: 1; }
.portrait-lines { overflow: visible; }
.portrait-lines path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.portrait-lines .ink { stroke: var(--ink); }
.portrait-lines .cons { fill: none; stroke: var(--terra); stroke-width: 0.8; opacity: 0.55; }
.portrait-pencil { pointer-events: none; overflow: visible; filter: drop-shadow(5px 9px 5px rgba(30, 28, 24, 0.3)); }
.portrait-pencil .pen { opacity: 0; transition: opacity 0.4s; }
.portrait-pencil.is-drawing .pen { opacity: 1; }

.portrait-notes .pn {
  position: absolute;
  font-size: 14px;
  color: var(--terra);
  opacity: 0;
  transition: opacity 0.6s;
}
.portrait-notes.is-on .pn { opacity: 0.85; }
.pn--1 { right: 1.5%; top: 29%; }
.pn--2 { left: 51%; top: 2.4%; }
.pn--3 { right: 7%; bottom: 3.5%; font-size: 11px; color: var(--graphite-2); }

.redraw {
  position: absolute;
  left: 7%;
  bottom: 3%;
  padding: 2px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--graphite-3);
  font-size: 15px;
  color: var(--graphite);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s, color 0.2s;
}
.redraw::before { content: '\21BA'; margin-right: 6px; font-family: var(--display); }
.redraw.is-on { opacity: 1; pointer-events: auto; }
.redraw:hover { color: var(--terra); }

.portrait-wrap figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--graphite-2);
}

/* A-001 notes ------------------------------------------------------- */

.notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}
.notes { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.notes li {
  position: relative;
  counter-increment: n;
  padding: 14px 0 14px 3.4em;
  border-bottom: 1px dotted var(--line-2);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 300;
  line-height: 1.5;
}
.notes li::before {
  content: counter(n, decimal-leading-zero) '.';
  position: absolute;
  left: 0;
  top: 17px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--terra);
}
.notes li:last-child { font-weight: 500; }

.legend { border: 1.2px solid var(--ink); padding: 18px 18px 8px; background: rgba(255, 255, 255, 0.28); }
.legend h3 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.legend dl { margin: 0; }
.legend dl > div { display: grid; grid-template-columns: 62px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legend dl > div:last-child { border-bottom: 0; }
.legend dt { display: flex; justify-content: center; }
.legend dd { margin: 0; font-size: 14px; color: var(--graphite); line-height: 1.4; }
.legend-north { width: 30px; height: 39px; color: var(--ink); }
.level { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--mono); font-size: 10px; }
.level i { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 10px solid var(--ink); }

/* A-002 process ----------------------------------------------------- */

.pin { position: relative; }
.pin--process { height: 380vh; }
.pin-stage {
  position: sticky;
  top: calc(var(--rule-h) + 14px);
  height: calc(100vh - var(--rule-h) - 28px);
  height: calc(100svh - var(--rule-h) - 28px);
  display: flex;
}
.sheet--process {
  display: flex;
  align-items: center;
  height: 100%;
  padding: clamp(22px, 3vw, 44px);
}
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  width: 100%;
  height: 100%;
}
.process-board {
  position: relative;
  justify-self: center;
  width: min(100%, calc((100svh - var(--rule-h) - 150px) * 1.2));
  aspect-ratio: 480 / 400;
}
.plan { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plan path, .plan line, .plan rect, .plan circle, .plan ellipse { vector-effect: non-scaling-stroke; }
.plan .ink { fill: none; stroke: var(--graphite); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.plan .soft { stroke-width: 1.7; stroke: #5a5752; opacity: 0.8; }
.plan .hard { stroke: var(--ink); stroke-width: 1; }
.plan .thin { stroke-width: 0.6; }
.plan .poche { fill: var(--ink); stroke: none; }
.plan .red { stroke: var(--terra); }
.plan .fill-red { fill: var(--terra); }
.plan .dash { stroke-dasharray: 5 4; }
.plan text { font-family: var(--hand); font-size: 13px; fill: var(--graphite); }
.plan text.m { font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; fill: var(--ink); }
.plan text.r { fill: var(--terra); }
.plan .fade { transition: opacity 0.4s; }

.overlay {
  position: absolute;
  inset: -3.5% -3% -6%;
  background: rgba(251, 250, 244, 0.66);
  -webkit-backdrop-filter: blur(1.3px);
  backdrop-filter: blur(1.3px);
  box-shadow: 0 0 0 1px rgba(38, 37, 35, 0.04), 0 12px 26px -16px rgba(30, 28, 24, 0.45);
  transform: translate3d(var(--x, 130%), var(--y, 0%), 0) rotate(var(--r, 6deg));
  will-change: transform;
}
.overlay .plan { inset: 3.3% 2.9% 5.7%; width: auto; height: auto; }
.overlay .tape { width: 64px; height: 20px; }
.overlay-tag {
  position: absolute;
  left: 3%;
  bottom: 1.4%;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite-2);
}

.process-text .kicker { margin-bottom: 4px; }
.steps { list-style: none; margin: 26px 0 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  opacity: 0.32;
  transition: opacity 0.4s;
}
.steps li.is-on { opacity: 1; }
.steps b { font-size: 12px; font-weight: 500; color: var(--terra); padding-top: 3px; }
.steps p { font-size: 1.02rem; font-weight: 300; line-height: 1.45; }
.process-foot { margin-top: 22px; font-size: 11px; letter-spacing: 0.06em; color: var(--graphite-2); }

/* A-003 model, framed as a CAD viewport ------------------------------ */

.pin--model { height: 480vh; margin-inline: calc(var(--gutter) * -1); }
.pin-stage.cad {
  top: var(--rule-h);
  height: calc(100vh - var(--rule-h));
  height: calc(100svh - var(--rule-h));
  display: block;
  overflow: hidden;
  background-color: #f3efe6;
  background-image: var(--grain);
  border-block: 1px solid var(--line-2);
}
.cad-canvas { position: absolute; inset: 0; }
.cad-canvas canvas { width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.cad-canvas canvas:active { cursor: grabbing; }

.cad-hud { position: absolute; inset: 0; pointer-events: none; color: var(--graphite); }
.cad-view { position: absolute; left: 16px; top: 12px; font-size: 11.5px; color: var(--graphite); }
.cad-layers {
  position: absolute;
  left: 16px;
  top: 40px;
  margin: 0;
  padding: 8px 10px;
  list-style: none;
  background: rgba(38, 37, 35, 0.86);
  color: #e9e4d8;
  font-size: 10.5px;
  line-height: 1.9;
  min-width: 118px;
}
.cad-layers li { display: flex; align-items: center; gap: 8px; opacity: 0.45; transition: opacity 0.3s; }
.cad-layers li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid currentColor;
  transition: background 0.3s, border-color 0.3s;
}
.cad-layers li.on { opacity: 1; }
.cad-layers li.on::before { background: var(--terra-2); border-color: var(--terra-2); }

.cad-cube { position: absolute; top: 16px; right: 22px; width: 70px; height: 70px; perspective: 260px; }
.cube {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  transform-style: preserve-3d;
  transform: rotateX(var(--cx, -80deg)) rotateY(var(--cy, 0deg));
}
.cube i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 500 9px var(--mono);
  font-style: normal;
  color: var(--graphite);
  background: rgba(247, 243, 234, 0.92);
  border: 1px solid var(--graphite-2);
}
.cube .f-top { transform: rotateX(90deg) translateZ(20px); }
.cube .f-s { transform: translateZ(20px); }
.cube .f-n { transform: rotateY(180deg) translateZ(20px); }
.cube .f-e { transform: rotateY(90deg) translateZ(20px); }
.cube .f-w { transform: rotateY(-90deg) translateZ(20px); }

.cad-ucs { position: absolute; left: 14px; bottom: 64px; width: 46px; height: 46px; font-family: var(--mono); fill: currentColor; }
.cad-xyz { position: absolute; right: 14px; bottom: 11px; z-index: 2; font-size: 11px; color: #cfc9bc; white-space: pre; }

.cad-cmd {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 7px 16px 8px;
  background: rgba(38, 37, 35, 0.92);
  color: #e9e4d8;
  font-size: 11.5px;
  line-height: 1.55;
}
.cad-hist { opacity: 0.55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 150px; }
.caret { display: inline-block; width: 7px; height: 13px; margin-left: 2px; vertical-align: -2px; background: #e9e4d8; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.cad-caption {
  position: absolute;
  right: 22px;
  bottom: 84px;
  width: min(360px, calc(100% - 44px));
  padding: 18px 20px 16px;
  background: rgba(247, 243, 234, 0.88);
  border: 1.2px solid var(--ink);
  box-shadow: var(--sheet-shadow);
}
.cad-caption h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-top: 6px; }
.cad-caption p#cad-text { margin-top: 8px; font-weight: 300; color: var(--graphite); min-height: 3em; }
.cad-steps { display: flex; gap: 14px; margin: 12px 0 0; padding: 10px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite-3); }
.cad-steps li { transition: color 0.3s; }
.cad-steps li.on { color: var(--terra); }

.cad-hint { position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%); font-size: 11px; color: var(--graphite-2); opacity: 0; transition: opacity 0.5s; white-space: nowrap; }
.cad-hint.is-on { opacity: 1; }

.cad-labels { position: absolute; inset: 0; pointer-events: none; }
.lbl {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.5s;
  will-change: transform;
}
.lbl.is-on { opacity: 1; }
.lbl-box {
  position: absolute;
  left: 0;
  bottom: 34px;
  transform: translateX(-50%);
  padding: 4px 9px 5px;
  background: rgba(247, 243, 234, 0.94);
  border: 1px solid var(--ink);
  white-space: nowrap;
  text-align: center;
}
.lbl-box b { display: block; font-weight: 500; font-size: 14px; line-height: 1.1; }
.lbl-box small { display: block; font-family: var(--mono); font-size: 9.5px; color: var(--graphite-2); }
.lbl::before { content: ''; position: absolute; left: 0; bottom: 0; height: 34px; border-left: 1px solid var(--ink); }
.lbl::after { content: ''; position: absolute; left: -3px; bottom: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }

.cad-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; text-align: center; color: var(--graphite-2); font-family: var(--mono); font-size: 12px; }

/* A-100 projects ---------------------------------------------------- */

.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 34px); }
.project {
  position: relative;
  padding: 10px;
  background: #fbf9f4;
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 1px rgba(40, 35, 25, 0.06), 0 10px 18px -14px rgba(40, 35, 25, 0.4);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s;
}
.project:hover { transform: translateY(-5px) rotate(-0.4deg); box-shadow: 0 1px 1px rgba(40, 35, 25, 0.06), 0 22px 30px -18px rgba(40, 35, 25, 0.45); }
.project-blank {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(38, 37, 35, 0.065) 10px 11px);
}
.project-blank > .mono { padding: 3px 8px; background: #fbf9f4; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite-2); }
.crop {
  position: absolute;
  inset: 12px;
  --c: rgba(38, 37, 35, 0.7);
  background:
    linear-gradient(var(--c), var(--c)) left top / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 1px 16px no-repeat;
}
.project-tb { display: grid; grid-template-columns: 0.7fr 1.6fr 1fr 0.7fr; margin: 10px 0 0; border: 1px solid var(--ink); }
.project-tb > div { padding: 6px 8px; border-left: 1px solid var(--line-2); min-width: 0; }
.project-tb > div:first-child { border-left: 0; }
.project-tb dt { font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--graphite-2); }
.project-tb dd { margin: 2px 0 0; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* A-200 experience -------------------------------------------------- */

.revs { width: 100%; border-collapse: collapse; }
.revs th {
  text-align: left;
  padding: 8px 12px 8px 0;
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.revs td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 300; vertical-align: middle; }
.revs td:first-child { width: 70px; }
.revs td:nth-child(2) { font-family: var(--mono); font-size: 13px; width: 170px; }
.revs td:nth-child(3) { font-weight: 400; }
.revs td:nth-child(4) { color: var(--graphite-2); }
.revs-first .delta { background: var(--graphite); }

/* A-900 contact ----------------------------------------------------- */

.coffee {
  position: absolute;
  top: 70px;
  right: 16%;
  width: 170px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 51%, transparent 61%, rgba(128, 78, 42, 0.09) 63.5%, rgba(128, 78, 42, 0.02) 65%, transparent 67%),
    radial-gradient(circle at 53% 47%, transparent 64%, rgba(128, 78, 42, 0.05) 66%, transparent 68%),
    radial-gradient(circle, rgba(128, 78, 42, 0.025) 0 62%, transparent 64%);
  transform: scaleX(1.05) rotate(20deg);
  opacity: 0.9;
  pointer-events: none;
}
.transmittal { margin: 0; max-width: 640px; border-top: 1.5px solid var(--ink); }
.transmittal > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.transmittal dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite-2); }
.transmittal dd { margin: 0; font-size: 1.15rem; font-weight: 300; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.checks span { position: relative; padding-left: 24px; }
.checks span::before { content: ''; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 1.2px solid var(--ink); }
.checks .is-checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  width: 6px;
  height: 12px;
  margin-top: -10px;
  border: solid var(--terra);
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(40deg);
}
.mail {
  display: inline-block;
  margin-top: clamp(30px, 5vw, 50px);
  font-size: clamp(1.7rem, 5.6vw, 4.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--terra), var(--terra)) left bottom / 100% 3px no-repeat;
  padding-bottom: 6px;
  transition: color 0.25s, background-size 0.4s;
}
.mail:hover { color: var(--terra); }
.links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.links a { text-decoration: none; border-bottom: 1px solid var(--graphite-3); padding-bottom: 2px; }
.links a:hover { color: var(--terra); border-color: var(--terra); }
.links .ph { text-transform: none; letter-spacing: 0; border: 0; }
.stamp--big { top: auto; bottom: 170px; right: 7%; font-size: 14px; padding: 9px 14px 8px; transform: rotate(-11deg); }
.titleblock--final { width: 100%; grid-template-columns: 1.5fr 0.8fr 0.5fr 1.4fr 0.7fr; }

/* Phones and tablets ------------------------------------------------ */

@media (max-width: 1100px) {
  .rule-nav a { padding: 6px 6px; font-size: 10.5px; }
  .rule-nav a b { display: none; }
}

@media (max-width: 900px) {
  :root { --rule-h: 54px; }
  .rule { gap: 12px; }
  .rule-nav { display: none; }
  .rule-name { display: none; }
  .rule-current { display: block; margin-left: 4px; font-family: var(--mono); font-size: 11px; color: var(--graphite-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rule-current b { color: var(--ink); font-weight: 500; }
  .rule-index {
    display: block;
    margin-left: auto;
    padding: 7px 11px;
    background: none;
    border: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .wires { display: none; }

  .cover-grid { grid-template-columns: 1fr; min-height: 0; gap: 34px; }
  .portrait-wrap { order: -1; width: min(100%, 440px); }
  .name { font-size: min(15.5vw, 6.4rem); margin-top: 12px; }
  .lede br { display: none; }

  .notes-grid { grid-template-columns: 1fr; }
  .titleblock { grid-template-columns: 1fr 1fr 0.8fr; }
  .titleblock > div:nth-child(4) { border-left: 1px solid var(--line-2); }
  .titleblock > div:nth-child(n + 4) { border-top: 1px solid var(--line-2); }
  .titleblock > div:nth-child(4) { border-left: 0; }
  .titleblock .tb-no { grid-column: span 2; }
  .titleblock--final { grid-template-columns: 1fr 1fr; }
  .titleblock--final > div { border-top: 1px solid var(--line-2); }
  .titleblock--final > div:nth-child(-n + 2) { border-top: 0; }
  .titleblock--final > div:nth-child(odd) { border-left: 0; }
  .titleblock--final > div:nth-child(even) { border-left: 1px solid var(--line-2); }
  .titleblock--final .tb-no { grid-column: span 2; border-left: 0 !important; }

  .pin--process { height: 340vh; }
  .sheet--process { padding: 18px 16px 14px; }
  .process-grid { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 18px; align-content: center; }
  .process-board { width: min(100%, calc((100svh - var(--rule-h) - 260px) * 1.2)); margin-top: 10px; }
  .process-text { align-self: start; }
  .process-text h2 { font-size: 1.9rem; }
  .process-text .kicker { display: none; }
  .steps { margin-top: 10px; }
  .steps li { display: none; opacity: 1; border-top: 0; padding: 4px 0 0; }
  .steps li.is-on { display: grid; }
  .process-foot { margin-top: 8px; }
  .overlay { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(251, 250, 244, 0.74); }

  .pin--model { height: 440vh; }
  .cad-layers { display: none; }
  .cad-cube { top: 8px; right: 8px; transform: scale(0.8); }
  .cad-view { left: 12px; top: 10px; font-size: 10.5px; }
  .cad-caption { left: 12px; right: 12px; width: auto; bottom: 66px; padding: 12px 14px; }
  .cad-caption .kicker { display: none; }
  .cad-caption h2 { font-size: 1.6rem; margin: 0; }
  .cad-caption p#cad-text { font-size: 0.95rem; min-height: 0; margin-top: 4px; }
  .cad-steps { gap: 10px; margin-top: 8px; padding-top: 8px; font-size: 9px; }
  .cad-ucs { display: none; }
  .cad-hist { padding-right: 0; }
  .cad-xyz { display: none; }
  .cad-hint { bottom: auto; top: 36px; left: 12px; transform: none; }
  .lbl-box b { font-size: 12.5px; }
  .lbl-box small { display: none; }

  .projects { grid-template-columns: 1fr; }
  .tool--square { width: 170px; height: 170px; right: -80px; clip-path: path(evenodd, 'M0 170 L0 0 L170 170 Z M24 146 L24 68 L102 146 Z'); }
  .tool--eraser { right: -40px; bottom: auto; top: 40px; transform: translateY(var(--py, 0px)) rotate(-10deg) scale(0.8); }

  .revs thead { display: none; }
  .revs, .revs tbody { display: block; }
  .revs tr { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .revs td { display: block; padding: 1px 0; border: 0; width: auto !important; }
  .revs td:first-child { grid-row: span 3; padding-top: 3px; }
  .revs td:nth-child(2) { font-size: 12px; color: var(--graphite-2); }

  .stamp--big { position: relative; display: inline-block; bottom: auto; right: auto; margin: 34px 0 0 6px; }
  .coffee { width: 120px; top: 40px; right: 4%; }
}

@media (max-width: 520px) {
  .sheet::before { inset: 7px; }
  .tape { width: 70px; height: 22px; }
  .tape--tl, .tape--bl { left: -20px; }
  .tape--tr, .tape--br { right: -20px; }
  .project-tb { grid-template-columns: 0.8fr 1.6fr; }
  .project-tb > div:nth-child(3) { border-left: 0; }
  .project-tb > div:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
  .stamp { top: 18px; right: 14px; font-size: 10px; }
  .matchline-text { font-size: 10px; }
  .transmittal > div { grid-template-columns: 70px 1fr; }
  .scale-ruler { width: 160%; }
}
