/* edurodriguez.com — drafting-table system
   Paper ground, graphite ink, blueline pen, highlighter, engineering calc paper.
   Single light theme on purpose: the site is printed paper. */

:root {
  --paper: #F2ECDF;
  --paper-2: #E9E1D0;
  --sheet: #FBF8F1;
  --white: #FFFEFB;
  --ink: #23221E;
  --pencil: #5C584E;
  --faint: #8C8677;
  --rule: #D8CFBC;
  --rule-strong: #B9AE97;
  --blue: #274878;
  --blue-soft: rgba(39, 72, 120, .09);
  --grid: rgba(39, 72, 120, .065);
  --hl: #F4D955;
  --red: #B33A2E;
  --calc: #E7EEDD;
  --calc-line: rgba(92, 128, 84, .22);
  --tape: rgba(231, 221, 193, .8);
  --shadow: 0 1px 1px rgba(60, 48, 30, .08), 0 16px 32px -18px rgba(60, 48, 30, .5);
  --shadow-up: 0 1px 1px rgba(60, 48, 30, .08), 0 30px 44px -22px rgba(60, 48, 30, .5);

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --hand: "Architects Daughter", "Bradley Hand", "Segoe Print", "Comic Neue", cursive;

  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1220px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .36  0 0 0 0 .3  0 0 0 0 .2  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  font: 400 18px/1.62 var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
::selection { background: var(--hl); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 340; letter-spacing: -.018em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--sheet); padding: 8px 12px; }
.skip:focus { left: 16px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hand { font-family: var(--hand); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font: 500 16.5px/1 var(--serif); letter-spacing: .005em;
  padding: 15px 22px; border: 1px solid var(--ink); border-radius: 2px;
  background: var(--ink); color: var(--sheet); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--blue); }
.btn:active { transform: none; box-shadow: none; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-sm { padding: 11px 15px; font-size: 15px; }
.link-line {
  font-size: 17px; text-decoration: none; padding-bottom: 2px;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.link-line:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.masthead.scrolled { border-bottom-color: var(--rule); }
.bar { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; color: var(--ink); }
/* Edu's own logo (square, stacked): sized so the script name stays readable in the bar. */
.brand .logo { height: 60px; width: auto; flex: none; margin-block: 6px; }
.nav { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.nav a { position: relative; text-decoration: none; font-size: 16.5px; color: var(--pencil); transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.lang {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-decoration: none;
  border: 1px solid var(--rule-strong); padding: 6px 8px; color: var(--pencil);
}
.lang:hover { border-color: var(--ink); color: var(--ink); }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; border: 1px solid var(--ink); padding: 8px 11px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu nav {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px;
  background: var(--sheet); border: 1px solid var(--ink); box-shadow: var(--shadow);
  display: grid; padding: 8px 0;
}
.menu nav a { padding: 10px 18px; text-decoration: none; font-size: 18px; }
.menu nav a:hover { background: var(--blue-soft); }
@media (max-width: 900px) {
  .bar > .nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 520px) {
  .bar .btn-sm { display: none; }
  .brand .logo { height: 52px; }
}

/* ---------- shared bits ---------- */
.section { padding-block: clamp(84px, 11vw, 156px); position: relative; }
.label {
  display: flex; align-items: center; gap: 12px; margin: 0 0 22px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.label::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.h2 { font-size: clamp(38px, 4.9vw, 66px); font-weight: 330; letter-spacing: -.026em; line-height: 1.03; }
.h2 em, h1 em { font-style: italic; font-weight: 300; }
.intro { font-size: clamp(18px, 1.45vw, 20.5px); color: var(--pencil); max-width: 54ch; margin-top: 22px; }

/* highlighter */
.hl { position: relative; z-index: 0; white-space: nowrap; background: transparent; color: inherit; }
.hl::before {
  content: ""; position: absolute; z-index: -1; left: -.1em; right: -.12em; bottom: .04em; height: .46em;
  background: var(--hl); opacity: .9; border-radius: 3px 8px 4px 6px;
  transform: scaleX(0) skewX(-10deg); transform-origin: left center;
  transition: transform .9s cubic-bezier(.6, .1, .2, 1) .15s;
}
.hl.on::before, .on .hl::before { transform: scaleX(1) skewX(-10deg); }

/* handwriting */
.note {
  font-family: var(--hand); color: var(--blue); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.28;
  transform: rotate(var(--r, -2deg)); max-width: 24ch;
}
/* The text is wrapped in .ink by main.js; clipping the child keeps the note observable. */
.note .ink { display: inline-block; clip-path: inset(-20% -10% -20% -10%); transition: clip-path 1.5s steps(30, end) .1s; }
.note.pre .ink { clip-path: inset(-20% 100% -20% -10%); }

/* pencil strokes */
.stroke { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: url(#pencil); }
.stroke.red { stroke: var(--red); }
.stroke.graphite { stroke: var(--pencil); }
.draw { stroke-dasharray: var(--len, 400); stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease) .2s; }
.pre .draw, .draw.pre { stroke-dashoffset: var(--len, 400); }
.arrow { position: absolute; overflow: visible; pointer-events: none; }

/* photo prints */
.print {
  position: relative; margin: 0; background: var(--white); padding: 10px 10px 12px;
  box-shadow: var(--shadow); transform: rotate(var(--r, 0deg));
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), opacity .7s;
}
.print:hover { transform: rotate(0deg) translateY(-5px); box-shadow: var(--shadow-up); }
.print.pre { transform: rotate(calc(var(--r, 0deg) * 3)) translateY(-26px) scale(1.02); opacity: .15; }
.print img { width: 100%; aspect-ratio: var(--ar, 4 / 3); object-fit: cover; background: var(--paper-2); }
.print.dwg img { object-fit: contain; background: #fff; }
.print figcaption {
  display: flex; justify-content: space-between; gap: 12px; margin-top: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--pencil);
}
.tape {
  position: absolute; z-index: 2; width: 94px; height: 26px; background: var(--tape);
  box-shadow: 0 1px 2px rgba(60, 48, 30, .12);
  clip-path: polygon(2% 4%, 98% 0, 96% 24%, 100% 48%, 97% 74%, 99% 100%, 3% 96%, 0 72%, 3% 50%, 0 26%);
}
.tape.tl { top: -12px; left: 16px; transform: rotate(-7deg); }
.tape.tr { top: -12px; right: 16px; transform: rotate(6deg); }
.tape.bl { bottom: -12px; left: 20px; transform: rotate(5deg); }
.tape.br { bottom: -12px; right: 20px; transform: rotate(-4deg); }

/* reveal for text blocks */
.rise { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.rise.pre { transform: translateY(26px); opacity: .2; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(34px, 5.5vw, 80px) clamp(40px, 6vw, 76px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 76% 42%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 75% at 76% 42%, #000 10%, transparent 72%);
}
/* The headline runs across the full width above the copy and the photo. */
.hero-head { position: relative; }
.hero h1 { font-size: clamp(44px, 5.7vw, 86px); font-weight: 310; letter-spacing: -.03em; line-height: 1; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(36px, 6vw, 90px); align-items: start; margin-top: clamp(24px, 2.6vw, 40px); }
/* The copy starts level with the top edge of the photo print. */
.hero-copy { padding-top: 30px; }
.hero-copy > .lede:first-child { margin-top: 0; }
.hero h1 .w { display: inline-block; animation: ink .95s var(--ease) both; animation-delay: calc(var(--d, 0) * 70ms); }
@keyframes ink { from { opacity: 0; filter: blur(6px); transform: translateY(16px); } }
.hero .label { animation: fade .8s .05s both; }
.lede { font-size: clamp(18.5px, 1.5vw, 21px); color: var(--pencil); max-width: 49ch; margin-top: 28px; animation: fade .9s .35s both; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; animation: fade .9s .5s both; }
.creds { list-style: none; padding: 0; margin: 42px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--pencil); animation: fade .9s .65s both; }
.creds li { display: flex; align-items: center; gap: 9px; }
.creds li::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--blue); transform: rotate(45deg); }

.hero-art { position: relative; padding: 18px 8px 34px 0; }
.hero-art .print { --r: 2.2deg; --ar: 829 / 671; }
.hero-art .stamp-mini {
  position: absolute; right: -12px; bottom: -4px; width: 104px; height: 104px; color: var(--blue); opacity: .78;
  transform: rotate(-14deg); mix-blend-mode: multiply; animation: stamp 0.55s cubic-bezier(.5, 1.8, .6, 1) 1.1s both;
}
@keyframes stamp { from { opacity: 0; transform: rotate(-24deg) scale(1.6); } }
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 0; }
  .hero-art { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 480px) {
  .hero-art .stamp-mini { width: 80px; height: 80px; right: 0; bottom: 0; }
}

/* title block stats */
.tblock {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(48px, 6vw, 84px) 0 0;
  border: 1.5px solid var(--ink); background: color-mix(in srgb, var(--sheet) 70%, transparent);
}
.tblock > div { padding: 14px 18px 18px; border-right: 1px solid var(--ink); }
.tblock > div:last-child { border-right: 0; }
.tblock dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--pencil); }
.tblock dd {
  margin: 8px 0 0; font-size: clamp(32px, 3.5vw, 46px); font-weight: 310; letter-spacing: -.02em; line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.tblock dd small { font-size: .6em; color: var(--blue); margin-left: 3px; letter-spacing: 0; }
@media (max-width: 760px) {
  .tblock { grid-template-columns: 1fr 1fr; }
  .tblock > div:nth-child(2) { border-right: 0; }
  .tblock > div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
}

/* ---------- the engineer ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(44px, 7vw, 112px); align-items: center; }
.collage { position: relative; padding: 16px 0 110px; }
.collage .print-books { --r: -2deg; --ar: 1248 / 832; width: 90%; }
.collage .print-train { --r: 3deg; --ar: 900 / 503; width: 56%; position: absolute; right: 0; bottom: 0; }
.collage .note-books { position: absolute; left: 0; bottom: 34px; --r: -4deg; max-width: 17ch; }
.about-copy .h2 { font-size: clamp(36px, 4.3vw, 58px); }
.about-copy .body { margin-top: 28px; display: grid; gap: 16px; }
.about-copy .body p { color: var(--pencil); max-width: 56ch; }
.career { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.career::before, .career::after { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 0; }
.career::before { border-top: 1.5px dashed var(--rule-strong); }
.career::after { border-top: 1.5px solid var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 1.8s cubic-bezier(.4, .1, .2, 1) .3s; }
.career.on::after { transform: scaleX(1); }
.career li { position: relative; padding-top: 30px; padding-right: 12px; }
.career li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%;
  border: 1.5px solid var(--blue); background: var(--paper); z-index: 1;
}
.career li:last-child::before { background: var(--blue); }
.career small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.career b { font-weight: 500; font-size: 17.5px; }
.signoff { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.signoff .sig { font-family: var(--hand); font-size: 32px; color: var(--blue); transform: rotate(-4deg); line-height: 1; }
.signoff small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--pencil); }
@media (max-width: 920px) {
  .about-grid { grid-template-columns: 1fr; }
  .collage { max-width: 600px; }
}
@media (max-width: 560px) {
  .collage { padding-bottom: 128px; }
  .collage .note-books { bottom: 18px; font-size: 16px; max-width: 11ch; }
}
/* where the two prints get narrow, the small print tucks under the caption instead of covering it */
@media (max-width: 479px) { .collage { padding-bottom: calc(31% + 40px); } }
@media (max-width: 339px) { .collage { padding-bottom: calc(31% + 56px); } }
@media (min-width: 921px) and (max-width: 1040px) { .collage .print-train { width: 52%; } }

/* ---------- services index ---------- */
.svc-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); gap: 32px; align-items: end; }
.svc-head .note { justify-self: end; --r: -3deg; margin-bottom: 8px; }
.index { margin-top: clamp(40px, 5vw, 66px); border-top: 1.5px solid var(--ink); }
.index-row {
  display: grid; grid-template-columns: 40px minmax(0, .95fr) minmax(0, 1.25fr) minmax(0, .8fr);
  gap: 22px; align-items: baseline; padding: 24px 0 26px; border-bottom: 1px solid var(--rule);
}
.index-row .box { width: 22px; height: 22px; align-self: center; overflow: visible; }
.index-row .box rect { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.index-row .box .tick { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .45s var(--ease); }
.index-row:hover .box .tick { stroke-dashoffset: 0; }
.index-row h3 { font-size: clamp(22px, 2vw, 27px); font-weight: 400; letter-spacing: -.012em; }
.index-row h3 span { background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 92%, transparent 92%) 0 0 / 0 100% no-repeat; transition: background-size .5s var(--ease); }
.index-row:hover h3 span { background-size: 100% 100%; }
.index-row p { color: var(--pencil); font-size: 17px; }
.index-row .ref { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--blue); text-align: right; }
.svc-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 34px; }
.svc-foot p { color: var(--pencil); max-width: 52ch; }
@media (max-width: 900px) {
  .svc-head { grid-template-columns: 1fr; }
  .svc-head .note { justify-self: start; }
  .index-row { grid-template-columns: 32px minmax(0, 1fr); gap: 8px 14px; }
  .index-row p, .index-row .ref { grid-column: 2; }
  .index-row .ref { text-align: left; }
}

/* ---------- case study sheet ---------- */
.case { padding-block: clamp(20px, 3vw, 40px) clamp(84px, 11vw, 156px); }
.sheet {
  display: grid; grid-template-columns: minmax(0, 1fr) 208px; margin: 7px;
  background: var(--sheet); border: 1.5px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 6px;
  box-shadow: 0 40px 70px -50px rgba(60, 48, 30, .55);
}
.sheet-body { padding: clamp(22px, 3.6vw, 48px); border-right: 1.5px solid var(--ink); min-width: 0; }
.sheet-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: end; }
.sheet-head .h2 { font-size: clamp(36px, 4.4vw, 60px); }
.sheet-head p { color: var(--pencil); max-width: 58ch; margin-top: 16px; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 3.4vw, 44px); margin-top: clamp(30px, 4vw, 48px); align-items: start; }
.case-grid .print-render { --r: -1deg; --ar: 924 / 608; }
.quote {
  margin: clamp(34px, 4vw, 52px) 0 0; padding: 0 0 0 clamp(18px, 2.4vw, 30px); border-left: 2px solid var(--blue);
  font-size: clamp(22px, 2.2vw, 30px); font-style: italic; font-weight: 300; line-height: 1.3; letter-spacing: -.01em; max-width: 40ch;
}
.quote cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--pencil); }
.case-dwgs { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); margin-top: clamp(36px, 4.5vw, 56px); }
.case-dwgs .print:first-child { --r: .8deg; --ar: 1434 / 828; }
.case-dwgs .print:last-child { --r: -1.2deg; --ar: 1355 / 873; }
.case-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 34px; }

/* calc pad: engineering computation paper */
.calc {
  position: relative; padding: 18px 20px 20px 44px; color: #3B3A34;
  background-color: var(--calc);
  background-image:
    linear-gradient(90deg, transparent 31px, rgba(179, 58, 46, .35) 31px, rgba(179, 58, 46, .35) 32px, transparent 32px),
    linear-gradient(var(--calc-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--calc-line) 1px, transparent 1px);
  background-size: 100% 100%, 16px 16px, 16px 16px;
  box-shadow: var(--shadow); transform: rotate(1.2deg);
  font-family: var(--hand); font-size: 16.5px; line-height: 32px;
}
.calc .cl { overflow: visible; clip-path: inset(-30% -5% -30% -5%); transition: clip-path .9s steps(26, end); transition-delay: calc(var(--i, 0) * .42s); }
.calc.pre .cl { clip-path: inset(-30% 100% -30% -5%); }
.calc .cl.head { display: flex; flex-wrap: wrap; gap: 0 14px; justify-content: space-between; border-bottom: 1px solid rgba(59, 58, 52, .45); margin-bottom: 4px; font-size: 15px; }
.calc .res { color: var(--blue); position: relative; display: inline-block; }
.calc .res svg { position: absolute; left: -8px; top: -2px; width: calc(100% + 16px); height: calc(100% + 4px); overflow: visible; }
.calc .ok { color: var(--blue); }
.calc .sun-sketch { margin-top: 10px; clip-path: none; }
.calc .sun-sketch svg { width: 100%; height: auto; display: block; overflow: visible; }
.calc .sun-sketch .axis { stroke: #3B3A34; stroke-width: 1.1; fill: none; }
.calc .sun-sketch .ref { stroke: #6f6c62; stroke-width: 1; stroke-dasharray: 3 4; fill: none; }
.calc .sun-sketch .today { stroke: var(--blue); stroke-width: 1.8; fill: none; }
.calc .sun-sketch text { font-family: var(--hand); font-size: 11px; fill: #4a4943; }
.calc .sun-sketch .sun { fill: var(--hl); stroke: #3B3A34; stroke-width: 1.2; }
@media (max-width: 560px) { .calc { font-size: 14px; padding: 14px 14px 16px 40px; transform: rotate(.6deg); } }
@media (max-width: 380px) { .calc { font-size: 13px; padding-right: 10px; } }

/* sheet title block */
.sheet-tb { display: flex; flex-direction: column; font-size: 14px; }
.sheet-tb > div { padding: 12px 14px; border-bottom: 1px solid var(--ink); }
.sheet-tb > div:last-child { border-bottom: 0; }
.sheet-tb small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.sheet-tb .tb-title {
  flex: 1; display: block; padding: 20px 14px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 25px; font-weight: 500; letter-spacing: .01em; line-height: 1.1; text-transform: uppercase; text-align: center;
}
.sheet-tb .tb-title span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; font-weight: 400; color: var(--pencil); margin-left: 6px; }
.sheet-tb .tb-sheet { font-size: 30px; font-weight: 400; line-height: 1; }
.sheet-tb .tb-stamp { display: grid; place-items: center; padding: 16px 10px; }
.sheet-tb .tb-stamp svg { width: 112px; height: 112px; color: var(--blue); opacity: .82; transform: rotate(-12deg); }
/* below 1160px the vertical title block moves under the sheet, so the calc pad keeps its lines whole */
@media (max-width: 1160px) {
  .sheet { grid-template-columns: 1fr; }
  .sheet-body { border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .sheet-tb { flex-direction: row; flex-wrap: wrap; }
  .sheet-tb > div { flex: 1 1 33%; border-right: 1px solid var(--ink); }
  .sheet-tb .tb-title { writing-mode: horizontal-tb; transform: none; flex: 1 1 100%; justify-content: flex-start; font-size: 20px; border-right: 0; text-align: left; }
  .sheet-tb .tb-stamp { display: none; }
}
@media (max-width: 1000px) { .case-grid, .case-dwgs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .sheet-tb > div { flex-basis: 50%; } }

/* ---------- more work ---------- */
.work-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: end; }
.work-head .note { justify-self: end; --r: 3deg; }
.work { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(26px, 3.4vw, 46px) clamp(20px, 2.6vw, 34px); margin-top: clamp(44px, 5vw, 70px); }
.work .card { display: grid; gap: 16px; align-content: start; }
.work .card:nth-child(1), .work .card:nth-child(2) { grid-column: span 3; }
.work .card:nth-child(n+3) { grid-column: span 2; }
.work .card:nth-child(1) .print { --r: -1.2deg; }
.work .card:nth-child(2) .print { --r: 1.4deg; }
.work .card:nth-child(3) .print { --r: -.8deg; }
.work .card:nth-child(4) .print { --r: 1.1deg; }
.work .card:nth-child(5) .print { --r: -1.5deg; }
.work .card h3 { font-size: 23px; font-weight: 400; letter-spacing: -.01em; }
.work .card p { color: var(--pencil); font-size: 16.5px; margin-top: 6px; max-width: 46ch; }
@media (max-width: 900px) {
  .work-head { grid-template-columns: 1fr; }
  .work-head .note { justify-self: start; }
  .work .card:nth-child(n) { grid-column: span 6; }
  .work { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 560px) and (max-width: 900px) {
  .work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work .card:nth-child(n) { grid-column: span 1; }
  .work .card:nth-child(5) { grid-column: span 2; }
}

/* ---------- coverage ---------- */
.cover-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(44px, 7vw, 110px); align-items: center; }
.maps { position: relative; padding-bottom: 60px; }
.maps .print-fl { --r: -2.5deg; --ar: 1100 / 1318; width: 64%; }
.maps .print-sf { --r: 3deg; --ar: 1100 / 1375; width: 50%; position: absolute; right: 0; top: 16%; }
.maps .note-pins { position: absolute; left: 6%; bottom: 0; --r: -3deg; }
.lists { display: grid; gap: 26px; margin-top: 38px; }
.lists .mono { color: var(--faint); margin-bottom: 10px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--rule-strong); padding: 6px 13px; font-size: 16px; background: color-mix(in srgb, var(--sheet) 70%, transparent); transition: border-color .2s, background .2s; }
.chips li:hover { border-color: var(--ink); background: var(--sheet); }
@media (max-width: 920px) { .cover-grid { grid-template-columns: 1fr; } .maps { max-width: 560px; } }

/* ---------- process ---------- */
.steps { list-style: none; margin: clamp(46px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; top: 25px; left: 26px; right: 12%; height: 0; }
.steps::before { border-top: 1.5px dashed var(--rule-strong); }
.steps::after { border-top: 1.5px solid var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 2.2s cubic-bezier(.4, .1, .2, 1) .2s; }
.steps.on::after { transform: scaleX(1); }
.step { position: relative; }
.bubble {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper);
  display: grid; place-items: center; margin-bottom: 26px; font-family: var(--mono); font-size: 14px;
}
.bubble::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; border-top: 1px solid var(--ink); }
.bubble b { position: absolute; top: 8px; font-weight: 500; }
.bubble i { position: absolute; bottom: 7px; font-style: normal; font-size: 8.5px; letter-spacing: .08em; color: var(--pencil); }
.step h3 { font-size: 24px; font-weight: 400; }
.step p { color: var(--pencil); font-size: 16.5px; margin-top: 10px; }
.step .tag { display: inline-block; margin-top: 16px; font-family: var(--hand); font-size: 18px; color: var(--blue); position: relative; }
.rev { position: relative; display: inline-block; margin-top: 18px; padding: 6px 10px; font-family: var(--hand); font-size: 18px; color: var(--red); }
.rev svg.cloud { position: absolute; inset: -8px -12px; width: calc(100% + 24px); height: calc(100% + 16px); overflow: visible; }
.rev .delta { position: absolute; right: -30px; top: -26px; width: 26px; height: 24px; overflow: visible; }
.rev .delta text { font-family: var(--mono); font-size: 10px; fill: var(--red); }
@media (max-width: 920px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before, .steps::after { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- contact / transmittal ---------- */
.contact { background: linear-gradient(var(--paper-2), var(--paper-2)); border-top: 1px solid var(--rule); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(44px, 7vw, 100px); align-items: start; }
.direct { display: grid; gap: 4px; margin: 40px 0 0; }
.direct dt { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-top: 16px; }
.direct dd { margin: 0; font-size: clamp(24px, 2.5vw, 32px); font-weight: 320; letter-spacing: -.015em; }
.direct dd a { text-decoration: none; background: linear-gradient(var(--hl), var(--hl)) 0 88% / 0 36% no-repeat; transition: background-size .4s var(--ease); user-select: all; }
.direct dd a:hover { background-size: 100% 36%; }
.contact .note-phone { margin-top: 40px; --r: -2deg; max-width: 26ch; }

.transmittal { position: relative; background: var(--white); border: 1.5px solid var(--ink); box-shadow: var(--shadow); padding: 0 0 26px; }
.tr-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1.5px solid var(--ink); }
.tr-head strong { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
.tr-head span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--pencil); }
.tr-meta { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--ink); }
.tr-meta > div { padding: 10px 22px; font-size: 16px; }
.tr-meta > div + div { border-left: 1px solid var(--ink); }
.tr-meta small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
.tr-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; padding: 22px 22px 0; }
.tr-fields .full { grid-column: 1 / -1; }
.field { display: grid; gap: 4px; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--pencil); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: 400 18px/1.4 var(--serif); color: var(--ink); background: transparent; width: 100%;
  border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0; padding: 7px 0 8px;
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; background-image: linear-gradient(transparent 31px, var(--rule) 31px); background-size: 100% 32px; line-height: 32px; padding-top: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--blue); background-color: var(--blue-soft); }
.field ::placeholder { color: var(--faint); font-style: italic; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tr-send { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 24px 22px 0; }
.tr-send .fine { font-size: 14.5px; color: var(--pencil); max-width: 40ch; }
.cf-turnstile { padding: 20px 22px 0; }
.form-status { padding: 14px 22px 0; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; color: var(--blue); }
.stamp-received {
  position: absolute; right: 26px; top: 76px; width: 150px; height: 150px; color: var(--red); pointer-events: none;
  opacity: 0; transform: rotate(-16deg); mix-blend-mode: multiply;
}
.transmittal.stamped .stamp-received { animation: slam .45s cubic-bezier(.5, 1.6, .6, 1) forwards; }
@keyframes slam { from { opacity: 0; transform: rotate(-16deg) scale(1.7); } to { opacity: .85; transform: rotate(-16deg) scale(1); } }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .tr-fields { grid-template-columns: 1fr; }
  .tr-meta { grid-template-columns: 1fr; }
  .tr-meta > div + div { border-left: 0; border-top: 1px solid var(--ink); }
}

/* ---------- footer title block ---------- */
.foot { padding-block: 56px 40px; background: var(--paper-2); }
.tb-foot { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, .9fr); border: 1.5px solid var(--ink); background: var(--sheet); }
.tb-foot > div { padding: 18px 20px 20px; border-right: 1px solid var(--ink); }
.tb-foot > div:last-child { border-right: 0; }
.tb-foot small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.tb-foot .brand { margin: 0 0 14px; }
.tb-foot .brand .logo { height: 116px; margin: 0; }
.tb-foot p { color: var(--pencil); font-size: 15.5px; max-width: 38ch; }
.tb-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 16px; }
.tb-foot ul a { text-decoration: none; color: var(--pencil); }
.tb-foot ul a:hover { color: var(--ink); text-decoration: underline; }
.tb-foot .by { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: baseline; align-content: start; }
.tb-foot .by small { margin: 0; }
.tb-foot .by span { font-family: var(--hand); font-size: 20px; color: var(--blue); line-height: 1.2; }
.legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; color: var(--faint); font-size: 11px; }
@media (max-width: 960px) {
  .tb-foot { grid-template-columns: 1fr 1fr; }
  .tb-foot > div:nth-child(2) { border-right: 0; }
  .tb-foot > div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
}
@media (max-width: 560px) {
  .tb-foot { grid-template-columns: 1fr; }
  .tb-foot > div { border-right: 0; border-bottom: 1px solid var(--ink); }
  .tb-foot > div:last-child { border-bottom: 0; }
}

/* ---------- inner pages ---------- */
/* current page in the navigation */
.nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { transform: scaleX(1); }
.menu nav a[aria-current] { background: var(--blue-soft); }

/* page header: label, word-by-word title, lede, optional side piece, title-block strip */
.page-head { position: relative; padding-block: clamp(34px, 5.5vw, 84px) clamp(34px, 4.5vw, 60px); overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 55% 85% at 84% 38%, #000 8%, transparent 70%);
  mask-image: radial-gradient(ellipse 55% 85% at 84% 38%, #000 8%, transparent 70%);
}
.ph-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(30px, 5vw, 80px); align-items: end; }
.page-head .label { animation: fade .8s .05s both; }
.page-head h1 { font-size: clamp(40px, 5.3vw, 78px); font-weight: 310; letter-spacing: -.03em; line-height: 1.02; }
.page-head h1 .w { display: inline-block; animation: ink .95s var(--ease) both; animation-delay: calc(var(--d, 0) * 70ms); }
.page-head .lede { max-width: 54ch; }
.ph-side { position: relative; animation: fade .9s .45s both; }
.ph-tb {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(34px, 4.5vw, 60px);
  border: 1.5px solid var(--ink); background: color-mix(in srgb, var(--sheet) 72%, transparent); animation: fade .9s .6s both;
}
.ph-tb > div { padding: 11px 16px 13px; border-right: 1px solid var(--ink); min-width: 0; }
.ph-tb > div:last-child { border-right: 0; }
.ph-tb small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.ph-tb span, .ph-tb a { font-size: 17px; }
.ph-tb a { text-decoration: none; }
.ph-tb a:hover { text-decoration: underline; }
@media (max-width: 900px) { .ph-grid { grid-template-columns: 1fr; } .ph-side { max-width: 520px; } }
@media (max-width: 760px) {
  .ph-tb { grid-template-columns: 1fr 1fr; }
  .ph-tb > div:nth-child(2) { border-right: 0; }
  .ph-tb > div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .ph-tb span, .ph-tb a { font-size: 16px; }
}

/* sheet index: the list of sheets on a cover sheet, used as in-page navigation */
.sheet-index { background: var(--sheet); border: 1.5px solid var(--ink); box-shadow: var(--shadow); transform: rotate(-.7deg); }
.sheet-index .si-head {
  display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-bottom: 1.5px solid var(--ink);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
}
.sheet-index .si-head span { color: var(--faint); letter-spacing: .08em; }
.sheet-index ol { list-style: none; margin: 0; padding: 0; }
.sheet-index li + li { border-top: 1px solid var(--rule); }
.sheet-index a {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: baseline;
  padding: 8px 14px; text-decoration: none; font-size: 16.5px; line-height: 1.35; transition: background-color .2s;
}
.sheet-index a:hover { background: var(--blue-soft); }
.sheet-index a b { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .08em; color: var(--blue); }
.sheet-index a i { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--faint); }

/* groups: a sticky heading on the left, entries on the right */
.group { padding-block: clamp(44px, 5.5vw, 80px); border-top: 1px solid var(--rule); scroll-margin-top: 76px; }
.group-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: clamp(26px, 5vw, 84px); align-items: start; }
.group-head { position: sticky; top: 104px; }
.group-head .bubble { margin-bottom: 20px; }
.group-head h2 { font-size: clamp(28px, 2.9vw, 40px); font-weight: 340; letter-spacing: -.02em; line-height: 1.08; }
.group-head p { color: var(--pencil); font-size: 16px; margin-top: 12px; max-width: 30ch; }
.entry { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 18px; padding: 24px 0 28px; border-bottom: 1px solid var(--rule); }
.entry:first-child { padding-top: 6px; }
.entry:last-child { border-bottom: 0; }
.entry h3 { font-size: clamp(22px, 2vw, 27px); font-weight: 400; letter-spacing: -.012em; line-height: 1.15; }
.entry h3 span { background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 92%, transparent 92%) 0 0 / 0 100% no-repeat; transition: background-size .5s var(--ease); }
.entry:hover h3 span { background-size: 100% 100%; }
.entry p, .entry .tags { grid-column: 2; }
.entry p { color: var(--pencil); font-size: 17.5px; margin-top: 10px; max-width: 62ch; }
.box { width: 22px; height: 22px; overflow: visible; }
.entry .box { margin-top: 6px; }
.box rect { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.box .tick { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset .45s var(--ease); }
.entry:hover .box .tick, .entry.on .box .tick { stroke-dashoffset: 0; }
.entry.on .box .tick { transition-delay: .35s; }
.tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; line-height: 1.4; color: var(--blue);
  border: 1px solid color-mix(in srgb, var(--blue) 32%, transparent); padding: 3px 8px;
}
@media (max-width: 900px) {
  .group-grid { grid-template-columns: minmax(0, 1fr); }
  .group-head { position: static; }
  .group-head .bubble { margin-bottom: 14px; }
}
@media (max-width: 520px) { .entry { grid-template-columns: 26px minmax(0, 1fr); gap: 0 12px; } }

/* feature: a taped print beside a block of copy */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.feature-art { position: relative; padding-bottom: 72px; }
.feature-art .print { --r: -1.6deg; }
.feature-art .note { position: absolute; right: 2%; bottom: 0; --r: -3deg; }
.feature-copy .body { margin-top: 26px; display: grid; gap: 16px; }
.feature-copy .body p { color: var(--pencil); max-width: 56ch; }
.feature-copy .link-line { display: inline-block; margin-top: 28px; }
@media (max-width: 920px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature-art { max-width: 600px; } }

/* closing band */
.closing { padding-block: clamp(72px, 9vw, 132px); background: linear-gradient(var(--paper-2), var(--paper-2)); border-top: 1px solid var(--rule); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.closing .h2 { font-size: clamp(34px, 4.2vw, 58px); }
.closing .intro { margin-top: 18px; }
.closing .actions { animation: none; margin-top: 32px; }
.closing-grid > .note { justify-self: end; --r: -3deg; max-width: 22ch; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { box-shadow: 3px 3px 0 var(--hl); }
@media (max-width: 860px) { .closing-grid { grid-template-columns: minmax(0, 1fr); } .closing-grid > .note { justify-self: start; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .pre, .note.pre .ink, .calc.pre .cl { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .draw { stroke-dashoffset: 0 !important; }
  .career::after, .steps::after { transform: scaleX(1); }
  .hl::before { transform: scaleX(1) skewX(-10deg); }
}

/* about page (about.njk, es/sobre-mi.njk). Classes prefixed ab-. */

/* ---------- page head: the name, large, and a taped portrait print ---------- */
.ab-head h1 { font-size: clamp(44px, 6.1vw, 88px); }
.ab-portrait { padding: 16px 0 8px; }
@media (min-width: 901px) {
  .ab-head .ph-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
}
@media (max-width: 900px) {
  .ab-portrait { max-width: 460px; width: 100%; margin-inline: auto; }
}

/* ---------- background: the career line, with the detail under each step ---------- */
.ab-story { padding-top: clamp(56px, 6.5vw, 96px); }
.ab-story .intro { max-width: 58ch; }
.ab-nw { white-space: nowrap; }
.ab-story .intro, .ab-career p, .ab-creds .intro, .ab-notes-list p, .ab-teach .body p, .ab-closing .intro { text-wrap: pretty; }
.career.ab-career { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(26px, 4vw, 64px); margin-top: clamp(48px, 6vw, 84px); }
.ab-career li { padding: 44px 0 0; }
.ab-career b { display: block; margin-top: 8px; font-size: clamp(25px, 2.3vw, 31px); font-weight: 360; letter-spacing: -.015em; line-height: 1.12; }
.ab-career p { margin-top: 14px; color: var(--pencil); font-size: 17.5px; max-width: 38ch; }
.ab-motto {
  margin-top: clamp(52px, 6.5vw, 92px); padding-left: clamp(18px, 2.4vw, 30px); border-left: 2px solid var(--blue); max-width: 29em;
  font-size: clamp(22px, 2.2vw, 30px); font-style: italic; font-weight: 300; line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty;
}
@media (max-width: 860px) { .ab-motto br { display: none; } }
@media (max-width: 760px) {
  /* the line turns vertical and runs dot to dot */
  .career.ab-career { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .career.ab-career::before, .career.ab-career::after { display: none; }
  .ab-career li { padding: 0 0 38px 38px; }
  .ab-career li:last-child { padding-bottom: 0; }
  .ab-career li:not(:last-child) {
    background: repeating-linear-gradient(var(--rule-strong) 0 5px, transparent 5px 9px) 7px 15px / 1.5px calc(100% - 15px) no-repeat;
  }
  .ab-career li:not(:last-child)::after {
    content: ""; position: absolute; left: 7px; top: 15px; bottom: 0; border-left: 1.5px solid var(--blue);
    transform: scaleY(0); transform-origin: top; transition: transform .8s cubic-bezier(.4, .1, .2, 1) .3s;
  }
  .ab-career li:nth-child(2)::after { transition-delay: 1.1s; }
  .ab-career.on li::after { transform: scaleY(1); }
  .ab-career b { margin-top: 4px; }
}

/* ---------- credentials: a license schedule drawn like the blocks on a cover sheet ---------- */
.ab-creds { padding-top: 0; }
.ab-creds-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 20px clamp(30px, 5vw, 80px); align-items: end; }
.ab-creds-head .intro { margin: 0 0 8px; }
.ab-dwg {
  position: relative; margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "sched codes" "public codes";
  background: var(--sheet); border: 1.5px solid var(--ink); box-shadow: 0 40px 70px -50px rgba(60, 48, 30, .55);
}
.ab-sched-blk { grid-area: sched; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); min-width: 0; }
.ab-public-blk { grid-area: public; border-right: 1px solid var(--ink); min-width: 0; }
.ab-codes-blk { grid-area: codes; position: relative; min-width: 0; }
.ab-blk-head {
  margin: 0; padding: 10px 18px; border-bottom: 1px solid var(--ink); text-align: left;
  font: 500 10.5px/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink);
}

.ab-sched { width: 100%; border-collapse: collapse; }
.ab-sched th, .ab-sched td { padding: 15px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--rule); }
.ab-sched thead th {
  padding-block: 8px; border-bottom: 1px solid var(--ink);
  font: 400 9.5px/1.3 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--faint);
}
.ab-sched tr > :first-child { width: 1%; padding-right: 4px; }
.ab-sched tbody tr:last-child > * { border-bottom: 0; }
.ab-sched tbody tr { transition: background-color .2s; }
.ab-sched tbody tr:hover { background: var(--blue-soft); }
.ab-sched tbody th { font-weight: 400; font-size: clamp(19px, 1.65vw, 22px); letter-spacing: -.01em; line-height: 1.2; }
.ab-sched tbody td:last-child { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--pencil); }
.ab-tag {
  display: inline-grid; place-items: center; min-width: 38px; height: 24px; padding: 0 8px;
  border: 1px solid var(--blue); border-radius: 12px; font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--blue);
}

.ab-public { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ab-public li { padding: 14px 18px 16px; font-size: 18px; line-height: 1.3; min-width: 0; }
.ab-public li:nth-child(2) { border-left: 1px solid var(--rule); }
.ab-public .ab-case { grid-column: 1 / -1; padding: 0; border-top: 1px solid var(--rule); }
.ab-case a {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px;
  padding: 14px 18px 16px; text-decoration: none; transition: background-color .2s;
}
.ab-case a:hover { background: var(--blue-soft); }
.ab-case a > span { background: linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease); }
.ab-case a:hover > span { background-size: 0 1px; background-position: 100% 100%; }
.ab-case small { font: 400 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }

.ab-codes { list-style: none; margin: 0; padding: 16px 18px 22px; display: grid; gap: 11px; font: 400 13px/1.35 var(--mono); letter-spacing: .03em; }
.ab-codes li { display: flex; align-items: center; gap: 12px; }
.ab-codes li::before { content: ""; flex: none; width: 6px; height: 6px; border: 1px solid var(--blue); transform: rotate(45deg); }

.ab-stamp {
  position: absolute; right: 20px; bottom: 18px; width: 120px; height: 120px; color: var(--blue); opacity: .8; pointer-events: none;
  transform: rotate(-12deg); mix-blend-mode: multiply;
  transition: transform .5s cubic-bezier(.5, 1.7, .6, 1) .5s, opacity .3s .5s;
}
.ab-stamp.pre { opacity: 0; transform: rotate(-24deg) scale(1.6); }
.ab-stamp svg { display: block; width: 100%; height: 100%; }

@media (max-width: 860px) {
  .ab-creds-head { grid-template-columns: minmax(0, 1fr); }
  .ab-creds-head .intro { margin: 0; }
  .ab-dwg { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sched" "codes" "public"; }
  .ab-sched-blk, .ab-public-blk { border-right: 0; }
  .ab-codes-blk { border-bottom: 1px solid var(--ink); }
  .ab-public { grid-template-columns: minmax(0, 1fr); }
  .ab-public li { padding-block: 11px 12px; }
  .ab-public li:nth-child(2) { border-left: 0; border-top: 1px solid var(--rule); }
  .ab-case a { padding-block: 11px 12px; }
}
@media (max-width: 520px) {
  .ab-blk-head { padding-inline: 14px; }
  /* phones: each schedule row stacks the designation under the credential */
  .ab-sched, .ab-sched tbody, .ab-sched caption { display: block; }
  .ab-sched thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ab-sched tbody tr { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 14px; padding: 13px 14px; border-bottom: 1px solid var(--rule); }
  .ab-sched tbody tr:last-child { border-bottom: 0; }
  .ab-sched tbody th, .ab-sched tbody td, .ab-sched tr > :first-child { display: block; width: auto; padding: 0; border: 0; }
  .ab-sched tbody td:first-child { grid-row: 1 / span 2; }
  .ab-sched tbody th { font-size: 19px; }
  .ab-sched tbody td:last-child { grid-column: 2; font-size: 12px; }
  .ab-codes { padding-inline: 14px; }
  .ab-public li, .ab-case a { padding-inline: 14px; }
  .ab-stamp { width: 96px; height: 96px; right: 14px; bottom: 16px; }
}

/* ---------- how I work: the general notes of a plan sheet ---------- */
.ab-how { padding-top: 0; padding-bottom: clamp(72px, 8.5vw, 120px); }
.ab-notes { margin-top: clamp(40px, 5vw, 64px); }
.ab-notes-title {
  display: inline-block; margin: 0; padding-bottom: 4px; border-bottom: 3px double var(--ink);
  font: 500 12px/1.3 var(--mono); letter-spacing: .18em; text-transform: uppercase;
}
.ab-notes-list {
  list-style: none; margin: clamp(26px, 3vw, 36px) 0 0; padding: 0; counter-reset: gn;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column;
  gap: clamp(28px, 3.2vw, 44px) clamp(36px, 6vw, 96px);
}
.ab-notes-list li { position: relative; padding-left: 46px; counter-increment: gn; }
.ab-notes-list li::before { content: counter(gn) "."; position: absolute; left: 0; top: 0; font: 500 14px/1.45 var(--mono); color: var(--blue); }
.ab-notes-list h3 { font: 500 13px/1.45 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ab-notes-list h3 span { background: linear-gradient(transparent 55%, var(--hl) 55%, var(--hl) 95%, transparent 95%) 0 0 / 0 100% no-repeat; transition: background-size .5s var(--ease); }
.ab-notes-list li:hover h3 span { background-size: 100% 100%; }
.ab-notes-list p { margin-top: 8px; color: var(--pencil); font-size: 17.5px; max-width: 50ch; }
@media (max-width: 760px) {
  .ab-notes-list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .ab-notes-list li { padding-left: 34px; }
}

/* ---------- teaching ---------- */
.ab-teach { border-top: 1px solid var(--rule); padding-top: clamp(72px, 8.5vw, 120px); }

/* ---------- closing: phone and email in plain sight ---------- */
.ab-direct { position: relative; container-type: inline-size; }
.ab-direct .direct { margin-top: 0; }
.ab-direct .direct dt:first-child { margin-top: 0; }
.ab-direct .direct dd { font-size: clamp(23px, 2.3vw, 30px); overflow-wrap: anywhere; }
.ab-aside { margin-top: 30px; }
.ab-aside .note { justify-self: start; --r: -2.5deg; }
.ab-arrow { display: none; overflow: visible; pointer-events: none; }
/* when the column has room, the note sits beside the phone number and points at it */
@container (min-width: 470px) {
  .ab-aside { position: absolute; right: 0; top: -2px; margin: 0; display: flex; align-items: flex-start; gap: 4px; }
  .ab-aside .note { --r: -4deg; }
  .ab-arrow { display: block; flex: none; width: 84px; height: 34px; margin-top: 24px; }
}
@media (min-width: 861px) {
  .ab-closing { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

/* case-study page: Orlando Fire Station 6 (EN + ES). Opens like a sealed plan set:
   cover print, system data beside the hand calc, a detail sheet, the sheet index, the seal. */

/* ---------- header: the design model as the cover print ---------- */
.cs-head .ph-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; }
.cs-art { padding: 18px 0 74px; }
.cs-art .print { --r: 1.8deg; --ar: 924 / 608; }
.cs-art .note { position: absolute; left: 2%; bottom: 4px; --r: -3deg; }
.cs-art .arrow { width: 104px; height: 66px; left: 40%; bottom: 14px; }
@media (max-width: 900px) {
  .cs-head .ph-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-art { max-width: 560px; }
}
@media (max-width: 480px) { .cs-art .arrow { left: 50%; } }

/* ---------- system data beside the hand calc ---------- */
.cs-system { padding-top: clamp(60px, 7vw, 100px); }
.cs-data {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(40px, 5vw, 64px);
}
.cs-bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 10px 16px;
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
}
.cs-bar span { color: var(--faint); letter-spacing: .08em; }
.cs-spec { border: 1.5px solid var(--ink); background: color-mix(in srgb, var(--sheet) 82%, transparent); }
.cs-spec table { width: 100%; border-collapse: collapse; }
.cs-spec th, .cs-spec td { padding: 9px 16px 10px; text-align: left; vertical-align: baseline; }
.cs-spec tr + tr > * { border-top: 1px solid var(--rule); }
.cs-spec th {
  width: 36%; border-right: 1px solid var(--rule); font-weight: 400;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
}
.cs-spec td { font-size: 17px; line-height: 1.4; }
.cs-spec tr:nth-child(-n+2) td { font-size: 19px; }
.cs-calc { font-size: 17.5px; padding: 22px 26px 24px 50px; margin-top: 10px; transform: rotate(1.4deg); }
.cs-calc .cl.head { font-size: 16px; }
.cs-calc .sun-sketch { margin-top: 12px; }
@media (min-width: 901px) { .cs-calc { position: sticky; top: 112px; } }
@media (max-width: 900px) {
  .cs-data { grid-template-columns: minmax(0, 1fr); }
  .cs-calc { max-width: 560px; }
}
@media (max-width: 560px) {
  .cs-calc { font-size: 14.5px; padding: 14px 14px 16px 40px; transform: rotate(.6deg); }
  .cs-calc .cl.head { font-size: 14px; }
  .cs-spec th, .cs-spec td { padding: 8px 12px 9px; }
  .cs-spec th { width: 40%; font-size: 9.5px; letter-spacing: .1em; }
  .cs-spec td { font-size: 16px; }
  .cs-spec tr:nth-child(-n+2) td { font-size: 17px; }
}

/* ---------- detail sheet: the three constraints as drawing details ---------- */
.cs-dsheet {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: clamp(44px, 5.5vw, 72px) 7px 7px;
  background: var(--sheet); border: 1.5px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 6px;
  box-shadow: 0 40px 70px -50px rgba(60, 48, 30, .55);
}
.cs-detail { padding: clamp(22px, 3.4vw, 46px); min-width: 0; }
.cs-detail:nth-child(2) { border-left: 1px solid var(--ink); }
.cs-detail > p { color: var(--pencil); font-size: 17.5px; max-width: 54ch; }

/* detail title: bubble, title over the line, reference under it */
.cs-dtitle { display: grid; grid-template-columns: 62px minmax(0, 1fr); grid-template-rows: minmax(31px, auto) 1.5px 31px; }
.cs-dtitle::after { content: ""; grid-column: 2; grid-row: 2; background: var(--ink); }
.cs-dtitle .bubble { grid-column: 1; grid-row: 1 / 4; align-self: end; width: 62px; height: 62px; margin: 0; background: var(--sheet); font-size: 17px; }
.cs-dtitle .bubble b { top: 9px; }
.cs-dtitle .bubble i { bottom: 10px; font-size: 9px; }
.cs-dtitle h3 {
  grid-column: 2; grid-row: 1; align-self: end; padding: 0 0 7px 14px;
  font-size: clamp(23px, 2.3vw, 31px); font-weight: 400; letter-spacing: -.015em; line-height: 1.08;
}
.cs-dtitle small {
  grid-column: 2; grid-row: 3; padding: 8px 0 0 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--pencil);
}

/* pencil sketches for details 1 and 2 */
.cs-sketch { display: block; width: 100%; height: auto; overflow: visible; margin: 30px 0 24px; }
.cs-sketch .cs-i, .cs-sketch .cs-g, .cs-sketch .cs-b { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cs-sketch .cs-i { stroke: var(--ink); stroke-width: 1.4; }
.cs-sketch .cs-g { stroke: var(--pencil); stroke-width: 1.2; }
.cs-sketch .cs-b { stroke: var(--blue); stroke-width: 1.6; }
.cs-sketch .cs-t { stroke-width: .8; }
.cs-sketch .cs-w { stroke-width: 1.05; }
.cs-sketch .cs-dash { stroke-dasharray: 5 4; }
.cs-sketch pattern path { fill: none; stroke: var(--faint); stroke-width: .8; }
.cs-sketch .cs-zone { stroke: none; }
.cs-sketch text { font-family: var(--hand); font-size: 13.5px; fill: var(--blue); }
.cs-sketch .cs-f { transition: opacity .9s var(--ease) 1s; }
.cs-detail.pre .cs-f { opacity: 0; }

/* detail 3: full-width row with sheet E-03 */
.cs-d3 { grid-column: 1 / -1; border-top: 1.5px solid var(--ink); scroll-margin-top: 90px; }
.cs-d3-top { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 26px clamp(30px, 5vw, 80px); align-items: end; }
.cs-d3-top p { color: var(--pencil); font-size: 17.5px; max-width: 54ch; }
.cs-e03 { position: relative; margin-top: clamp(78px, 8vw, 104px); }
.cs-e03 .print { --r: -.5deg; --ar: 1355 / 873; }
/* the note hangs by its right edge, so the arrow always starts where the words end */
.cs-e03 .note { position: absolute; right: 31%; top: -80px; --r: -2deg; max-width: none; }
.cs-e03 .arrow { width: 80px; height: 100px; right: calc(31% - 86px); top: -66px; z-index: 3; }
@media (max-width: 900px) {
  .cs-d3-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .cs-dsheet { grid-template-columns: minmax(0, 1fr); }
  .cs-detail:nth-child(2) { border-left: 0; border-top: 1px solid var(--ink); }
  .cs-sketch { max-width: 500px; }
}
@media (max-width: 760px) {
  .cs-sketch { width: calc(100% + 20px); margin-inline: -10px; }
  .cs-e03 { margin-top: 30px; }
  .cs-e03 .note { position: static; margin-top: 22px; }
  .cs-e03 .arrow { display: none; }
}

/* ---------- sheets: the electrical diagram and the sheet index ---------- */
.cs-elec { --r: .5deg; --ar: 1434 / 828; margin-top: clamp(44px, 5.5vw, 72px); }
.cs-index { margin-top: clamp(52px, 6vw, 84px); border: 1.5px solid var(--ink); background: color-mix(in srgb, var(--sheet) 82%, transparent); }
.cs-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-col { padding: 18px 22px 10px; min-width: 0; }
.cs-col + .cs-col { border-left: 1px solid var(--ink); }
.cs-col h3 {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding-bottom: 12px; border-bottom: 1px solid var(--rule-strong);
  font-size: clamp(22px, 2vw, 26px); font-weight: 400; letter-spacing: -.012em;
}
.cs-col h3 small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.cs-col ul { list-style: none; margin: 0; padding: 0; }
.cs-col li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 12px 0 13px; font-size: 16.5px; line-height: 1.45;
}
.cs-col li + li { border-top: 1px solid var(--rule); }
.cs-col li .box { margin-top: 1px; }
.cs-col li a { color: var(--blue); }
.cs-index.on .box .tick { stroke-dashoffset: 0; transition-delay: calc(.35s + var(--i, 0) * .14s); }
@media (max-width: 760px) {
  .cs-index-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-col + .cs-col { border-left: 0; border-top: 1px solid var(--ink); }
  .cs-col { padding: 16px 16px 8px; }
}

/* ---------- outcome: sealed, permitted, built ---------- */
.cs-out { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.cs-out .quote { margin-top: clamp(30px, 3.5vw, 44px); }
.cs-body { color: var(--pencil); max-width: 56ch; margin-top: 30px; }
.cs-out .link-line { display: inline-block; margin-top: 26px; }
.cs-seal { justify-self: center; width: clamp(180px, 21vw, 270px); aspect-ratio: 1; color: var(--blue); }
.cs-seal svg { display: block; width: 100%; height: 100%; opacity: .82; transform: rotate(-12deg); mix-blend-mode: multiply; }
.cs-seal.pre svg { opacity: 0; }
.cs-seal.on svg { animation: cs-slam .5s cubic-bezier(.5, 1.6, .6, 1) .25s both; }
@keyframes cs-slam { from { opacity: 0; transform: rotate(-22deg) scale(1.6); } to { opacity: .82; transform: rotate(-12deg) scale(1); } }
@media (max-width: 860px) {
  .cs-out { grid-template-columns: minmax(0, 1fr); }
  .cs-seal { justify-self: end; width: 160px; margin: -30px 6px 0 0; }
}

/* ---------- contact page (ct-) ---------- */

/* header: a shorter title so the form sits close, and the direct line on a taped card */
.ct-head h1 { font-size: clamp(40px, 4.9vw, 70px); }
.ct-head .lede { text-wrap: pretty; }
@media (min-width: 901px) { .ct-head .ph-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.ct-card {
  justify-self: end; width: min(100%, 430px); padding: 24px 26px 22px;
  background: var(--white); box-shadow: var(--shadow); transform: rotate(1.4deg);
}
.ct-card h2 { font-size: clamp(22px, 2vw, 27px); font-weight: 340; letter-spacing: -.012em; line-height: 1.15; padding-right: 64px; }
.ct-card h2 em { font-style: italic; font-weight: 300; }
.ct-card .direct { margin: 8px 0 0; }
.ct-card .direct dt { margin-top: 14px; }
.ct-card .direct dd { font-size: clamp(21px, 2vw, 27px); line-height: 1.35; }
.ct-seal { position: absolute; top: 16px; right: 18px; width: 52px; height: 52px; color: var(--ink); }

/* the request: intro and notes on the left, the transmittal on the right */
.ct-main { padding-top: clamp(44px, 6vw, 88px); border-top: 1px solid var(--rule); }
.ct-grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  grid-template-areas: "intro form" "notes form"; grid-template-rows: auto 1fr;
  column-gap: clamp(44px, 7vw, 100px); align-items: start;
}
.ct-intro { grid-area: intro; }
.ct-intro .h2 { font-size: clamp(36px, 4vw, 56px); }
.ct-intro .intro { margin-top: 18px; }
.ct-form { grid-area: form; scroll-margin-top: 96px; }
.ct-notes { grid-area: notes; margin-top: clamp(40px, 4.6vw, 60px); }

/* what to send: a short checklist that ticks itself */
.ct-sub { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.ct-send { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.ct-send li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 1px 16px; padding: 14px 0 15px; border-bottom: 1px solid var(--rule); }
.ct-send .box { grid-row: span 2; margin-top: 3px; }
.ct-send b { font-weight: 500; font-size: 18.5px; line-height: 1.35; }
.ct-send span { color: var(--pencil); font-size: 16.5px; line-height: 1.45; }
.ct-send.on .box .tick { stroke-dashoffset: 0; transition-delay: calc(.35s + var(--i, 0) * .32s); }
/* big files: a memo slip with a pencilled paperclip */
.ct-big {
  position: relative; margin-top: 30px; padding: 18px 22px 17px; max-width: 50ch;
  background: var(--sheet); box-shadow: 0 1px 1px rgba(60, 48, 30, .08), 0 12px 24px -18px rgba(60, 48, 30, .5);
  transform: rotate(-.7deg); font-size: 16.5px; color: var(--pencil);
}
.ct-big b { font-weight: 500; color: var(--ink); }
.ct-big a { color: var(--ink); overflow-wrap: anywhere; }
.ct-clip { position: absolute; left: 20px; top: -22px; width: 19px; height: 42px; overflow: visible; transform: rotate(6deg); }
.ct-clip .stroke { stroke-width: 1.5; }
.ct-intro .intro, .ct-send span, .ct-big { text-wrap: pretty; }
.ct-call .body p { text-wrap: balance; }

/* prefer to call: the last band, a print beside the phone number */
.ct-call { padding-block: clamp(64px, 8.5vw, 120px); background: linear-gradient(var(--paper-2), var(--paper-2)); border-top: 1px solid var(--rule); }
.ct-call .feature { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.ct-call .feature-art .note { right: 4%; --r: -3deg; }
.ct-call .h2 { font-size: clamp(36px, 4.4vw, 60px); }
.ct-call .body { margin-top: 20px; }
.ct-call .actions { animation: none; margin-top: 30px; }
.ct-call .actions .link-line { margin-top: 0; }

@media (max-width: 920px) {
  .ct-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "notes"; grid-template-rows: none; }
  .ct-form { margin-top: 32px; }
  .ct-notes { margin-top: 56px; }
  .ct-call .feature { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .ct-card { justify-self: start; transform: rotate(-.8deg); }
}
@media (max-width: 560px) {
  .ct-card { padding: 20px 18px 18px; }
  .ct-card .direct dd { font-size: clamp(19px, 5.3vw, 23px); }
  .ct-seal { width: 44px; height: 44px; top: 14px; right: 14px; }
}

/* home-es page (and the Spanish Services page). */
/* Spanish labels run longer, so one title-block label can wrap to two lines;
   keep every figure in a row on the same baseline. */
.hm-tb > div { display: flex; flex-direction: column; }
.hm-tb dd { margin-top: auto; padding-top: 8px; }
/* Spanish copy runs about a fifth longer: keep single words off the last line of a paragraph. */
.hm-pretty, .hm-pretty p { text-wrap: pretty; }
/* On narrow phones the longer Spanish sheet-index heading drops its count to a second line whole. */
.hm-si { flex-wrap: wrap; row-gap: 2px; }

/* ---------- process page (pc-) ---------- */

/* header: the process as a hand calculation on the side */
@media (min-width: 1200px) { .pc-head .ph-grid { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); } }
@media (min-width: 901px) and (max-width: 1199px) { .pc-head .ph-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.pc-calc { max-width: 420px; margin-left: auto; transform: rotate(1.5deg); font-size: clamp(14.5px, 1.1vw, 15.5px); }
@media (max-width: 900px) { .pc-calc { margin-left: 0; } }
@media (max-width: 560px) { .pc-calc { font-size: 14px; transform: rotate(.8deg); } }

/* sections on this page: ruled apart like the services groups */
.pc-sec { padding-block: clamp(64px, 8.5vw, 124px); border-top: 1px solid var(--rule); }
.pc-sec .actions { animation: none; margin-top: 30px; }
.pc-head .lede, .pc-sec p, .pc-closing .intro { text-wrap: pretty; }

/* ---- the four steps: a row on desktop, a drawn sequence on phones ---- */
.pc-sec.pc-first { padding-top: clamp(52px, 6.5vw, 96px); }
.pc-steps { margin-top: clamp(30px, 4vw, 52px); }
.pc-steps .step { display: flex; flex-direction: column; }
.pc-steps .step > p:not(.pc-io) { margin-bottom: 24px; }
/* share rows across the four columns so titles, text and hand-offs line up */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 921px) {
    .pc-steps { grid-template-rows: auto auto 1fr auto; row-gap: 0; }
    .pc-steps .step { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; }
    .pc-steps .step .pc-io { margin-top: 0; }
  }
}
.pc-steps .pc-io { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--rule-strong); font-size: 16px; line-height: 1.45; color: var(--ink); text-wrap: balance; }
.pc-io small { display: block; margin-bottom: 5px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
@media (max-width: 920px) {
  .pc-steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .pc-steps .step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 22px; align-content: start; padding-bottom: 46px; }
  .pc-steps .step:last-child { padding-bottom: 0; }
  .pc-steps .bubble { grid-row: 1 / span 3; align-self: start; margin: 0; }
  .pc-steps .step > :not(.bubble) { grid-column: 2; }
  .pc-steps h3 { padding-top: 10px; }
  .pc-steps .step > p:not(.pc-io) { margin-bottom: 0; max-width: 60ch; }
  .pc-steps .pc-io { margin-top: 18px; max-width: 60ch; }
  .pc-steps .step:not(:last-child)::before,
  .pc-steps .step:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 58px; bottom: 6px; width: 0; }
  .pc-steps .step::before { border-left: 1.5px dashed var(--rule-strong); }
  .pc-steps .step::after {
    border-left: 1.5px solid var(--blue); transform: scaleY(0); transform-origin: top;
    transition: transform .8s cubic-bezier(.4, .1, .2, 1); transition-delay: calc(.3s + var(--i, 0) * .45s);
  }
  .pc-steps.on .step::after { transform: scaleY(1); }
}
@media (max-width: 520px) { .pc-steps .step { column-gap: 16px; } }

/* ---- copy beside a drawn object ---- */
.pc-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.pc-split-alt { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 5vw, 80px); }
.pc-split-alt > .pc-copy { order: 2; }
.pc-copy .intro { max-width: 44ch; }
@media (max-width: 920px) {
  .pc-split, .pc-split-alt { grid-template-columns: minmax(0, 1fr); }
  .pc-split-alt > .pc-copy { order: 0; }
}

/* ---- what to send: the enclosures list of a transmittal ---- */
.pc-encl { position: relative; background: var(--white); border: 1.5px solid var(--ink); box-shadow: var(--shadow); }
.pc-encl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding: 13px 20px; border-bottom: 1.5px solid var(--ink); font-family: var(--mono); }
.pc-encl-head strong { font-weight: 500; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
.pc-encl-head span { font-size: 11px; letter-spacing: .08em; color: var(--pencil); white-space: nowrap; }
.pc-encl-cols, .pc-encl-list li { display: grid; grid-template-columns: 22px 22px minmax(0, .8fr) minmax(0, 1.2fr); gap: 0 14px; padding-inline: 20px; }
.pc-encl-cols { padding-block: 7px; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
.pc-encl-list { list-style: none; margin: 0; padding: 0; }
.pc-encl-list li { align-items: baseline; padding-block: 11px 12px; border-bottom: 1px solid var(--rule); }
.pc-encl-list .box { align-self: start; margin-top: 2px; }
.pc-encl .pc-no { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--blue); }
.pc-encl-list b {
  font-weight: 400; font-size: 18px; line-height: 1.3;
  background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 92%, transparent 92%) 0 0 / 0 100% no-repeat;
  transition: background-size .5s var(--ease);
}
.pc-encl-list li:hover b { background-size: 100% 100%; }
.pc-encl-list .pc-why { color: var(--pencil); font-size: 16px; line-height: 1.4; }
.pc-encl.on .box .tick { stroke-dashoffset: 0; transition-delay: calc(.4s + var(--i, 0) * .17s); }
.pc-encl-foot { display: flex; align-items: baseline; gap: 16px; padding: 14px 20px 20px; }
.pc-encl-foot small { flex: none; font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
.pc-encl-foot .note { --r: -1.5deg; max-width: none; }
@media (max-width: 560px) {
  .pc-encl-cols, .pc-encl-list .pc-no { display: none; }
  .pc-encl-head, .pc-encl-foot { padding-inline: 14px; }
  .pc-encl-list li { grid-template-columns: 22px minmax(0, 1fr); gap: 2px 12px; padding-inline: 14px; }
  .pc-encl-list .pc-why { grid-column: 2; font-size: 15.5px; }
  .pc-encl-foot { flex-direction: column; gap: 6px; }
}

/* ---- timing: a ruled schedule, like the ones on the drawings ---- */
.pc-sched table { width: 100%; border-collapse: collapse; border: 1.5px solid var(--ink); background: color-mix(in srgb, var(--sheet) 72%, transparent); }
.pc-sched caption { caption-side: top; text-align: left; padding: 0 0 16px; }
.pc-sched caption b {
  display: inline-block; padding-bottom: 8px; font: 500 13px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 calc(100% - 3px) / 100% 2px no-repeat;
}
.pc-sched caption span { display: block; margin-top: 9px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.pc-sched th, .pc-sched td { padding: 13px 16px 14px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--rule); }
.pc-sched thead th { padding-block: 8px; border-bottom: 1px solid var(--ink); font: 400 9.5px/1.3 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
.pc-sched tbody tr:last-child > * { border-bottom: 0; }
.pc-sched tr > :last-child { border-left: 1px solid var(--rule); }
.pc-sched tbody th { font-weight: 400; font-size: 18px; line-height: 1.3; }
.pc-sched tbody td:last-child { font-size: 17.5px; line-height: 1.35; color: var(--blue); }
.pc-sched tbody tr { transition: background-color .2s; }
.pc-sched tbody tr:hover { background: var(--blue-soft); }
.pc-sched .pc-mark { width: 54px; padding-right: 0; }
.pc-sched .pc-mark svg { display: block; width: 28px; height: 26px; overflow: visible; }
.pc-sched .pc-mark path { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }
.pc-sched .pc-mark text { font-family: var(--mono); font-size: 11px; fill: var(--ink); }
@media (max-width: 560px) {
  .pc-sched th, .pc-sched td { padding: 11px 10px 12px; }
  .pc-sched .pc-mark { width: 40px; padding-right: 0; }
  .pc-sched .pc-mark svg { width: 24px; height: 22px; }
  .pc-sched tbody th { font-size: 16.5px; }
  .pc-sched tbody td:last-child { font-size: 16px; }
}

/* ---- the fine print, kept as an RFI log (the stamp closes it on phones) ---- */
.pc-faq { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
.pc-faq-head { grid-column: 1; grid-row: 1; }
.pc-log { grid-column: 1 / -1; grid-row: 2; margin-top: clamp(34px, 4.5vw, 58px); border-top: 1.5px solid var(--ink); }
.pc-stamp {
  grid-column: 2; grid-row: 1;
  width: 136px; height: 136px; margin-right: clamp(0px, 3vw, 44px); color: var(--red); opacity: .82;
  transform: rotate(-12deg); mix-blend-mode: multiply;
  transition: transform .5s cubic-bezier(.5, 1.8, .6, 1) .35s, opacity .3s .35s;
}
.pc-stamp.pre { opacity: 0; transform: rotate(-24deg) scale(1.6); }
.pc-stamp svg { display: block; width: 100%; height: 100%; }
.pc-log dl { margin: 0; }
.pc-log-cols, .pc-rfi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px clamp(24px, 4vw, 60px); }
.pc-log-cols > span:first-child, .pc-rfi dt { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 0 16px; align-items: baseline; }
.pc-log-cols { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--ink); font: 400 9.5px/1.3 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
.pc-rfi { padding: 26px 0 30px; border-bottom: 1px solid var(--rule); }
.pc-rfi .pc-no { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--blue); white-space: nowrap; }
.pc-q { font-size: clamp(21px, 1.9vw, 25px); line-height: 1.22; letter-spacing: -.012em; }
.pc-rfi dd { margin: 0; display: grid; gap: 12px; align-content: start; color: var(--pencil); font-size: 17.5px; }
.pc-rfi dd a { color: var(--ink); text-decoration-color: var(--rule-strong); }
.pc-rfi dd a:hover { text-decoration-color: currentColor; }
.pc-rfi .rev { display: block; justify-self: start; margin: 4px 12px; padding: 6px 12px; font: inherit; color: var(--ink); }
.pc-rfi .rev .delta { right: -16px; top: -22px; }
@media (max-width: 900px) {
  .pc-log-cols, .pc-rfi { grid-template-columns: minmax(0, 1fr); }
  .pc-log-cols > span:last-child { display: none; }
  .pc-rfi dd { padding-left: 92px; }
}
@media (max-width: 560px) {
  .pc-faq { grid-template-columns: minmax(0, 1fr); }
  .pc-stamp { grid-column: 1; grid-row: 3; justify-self: end; width: 104px; height: 104px; margin: 22px 6px 0 0; }
  .pc-br { display: none; }
  .pc-log-cols { display: none; }
  .pc-rfi dt { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pc-rfi dd { padding-left: 0; }
  .pc-rfi .rev .delta { right: -6px; top: -26px; }
}

/* projects page (pj-): featured sheet, built work, drawing wall, sheet index. */

.pj-case, .pj-built, .pj-wall-sec, .pj-deliv { scroll-margin-top: 74px; }
.pj-text p, .pj-roof-copy > p, .pj-dwg figcaption, .pj-more, .pj-ref p, .pj-pretty { text-wrap: pretty; }

/* title: keep each phrase on its own line where there is room */
.pj-g { white-space: nowrap; }
@media (max-width: 380px) { .pj-g { white-space: normal; } .pj-h1 { text-wrap: wrap; } }

/* ---------- 01 · featured drawing sheet ---------- */
.pj-case { padding-top: clamp(30px, 4.5vw, 64px); }
.pj-sheet {
  position: relative; margin: 7px;
  background: var(--sheet); border: 1.5px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 6px;
  box-shadow: 0 40px 70px -50px rgba(60, 48, 30, .55);
}
.pj-sheet-body {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 4.6vw, 68px);
  align-items: center; padding: clamp(24px, 4vw, 56px) clamp(22px, 4vw, 56px) clamp(34px, 4.4vw, 60px);
}
.pj-render { --ar: 924 / 608; --r: -1.2deg; }
/* print captions: let the second half drop to its own line on narrow prints */
.pj-render figcaption, .pj-roof figcaption { flex-wrap: wrap; row-gap: 2px; }
.pj-render figcaption span, .pj-roof figcaption span { white-space: nowrap; }
.pj-case-copy .label { margin-bottom: 16px; }
.pj-case-copy .h2 { font-size: clamp(36px, 4.1vw, 56px); }
.pj-text { display: grid; gap: 14px; margin-top: 20px; }
.pj-text p { color: var(--pencil); font-size: 17.5px; max-width: 50ch; }
.pj-case-copy .tags { margin-top: 22px; }
.pj-case-copy .link-line { display: inline-block; margin-top: 26px; }

/* title strip along the bottom edge of the sheet */
.pj-tb {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, .8fr) minmax(0, 1fr);
  border-top: 1.5px solid var(--ink); font-size: 15.5px; line-height: 1.35;
}
.pj-tb > div { padding: 11px 16px 13px; border-right: 1px solid var(--ink); min-width: 0; }
.pj-tb > div:last-child { border-right: 0; }
.pj-tb small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.pj-tb-title b { display: block; font-weight: 500; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.15; }
.pj-tb-title span { display: block; margin-top: 5px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--pencil); }
/* the seal, stamped over the corner of the print */
.pj-stamp {
  position: absolute; z-index: 3; right: -34px; bottom: 30px; display: block; width: 108px; height: 108px;
  color: var(--blue); opacity: .8; transform: rotate(-12deg); mix-blend-mode: multiply; pointer-events: none;
}
.pj-stamp svg { display: block; width: 100%; height: 100%; }
.pj-render.on .pj-stamp { animation: stamp .55s cubic-bezier(.5, 1.8, .6, 1) .8s both; }

@media (max-width: 1000px) {
  .pj-tb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-tb > div:nth-child(odd) { border-right: 0; }
  .pj-tb > div:nth-child(-n+3) { border-bottom: 1px solid var(--ink); }
  .pj-tb-title { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .pj-sheet-body { grid-template-columns: minmax(0, 1fr); }
  .pj-render { max-width: 620px; }
}
@media (max-width: 560px) {
  .pj-stamp { width: 84px; height: 84px; right: -12px; bottom: 40px; }
}

/* ---------- 02 · built work ---------- */
.pj-built { padding-top: 0; }
.pj-head { max-width: 760px; }
.pj-roof { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); gap: clamp(34px, 5.6vw, 88px); align-items: center; margin-top: clamp(50px, 6vw, 86px); }
.pj-roof + .pj-roof { margin-top: clamp(70px, 9vw, 130px); }
.pj-flip { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.pj-flip .pj-roof-art { order: 2; }
.pj-roof-art { position: relative; }
.pj-roof-copy h3 { font-size: clamp(28px, 2.7vw, 38px); font-weight: 340; letter-spacing: -.02em; line-height: 1.1; }
.pj-roof-copy > p { color: var(--pencil); margin-top: 16px; max-width: 44ch; }
.pj-data {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0 0; max-width: 420px;
  border: 1.5px solid var(--ink); background: color-mix(in srgb, var(--sheet) 72%, transparent);
}
.pj-data > div { padding: 9px 14px 11px; min-width: 0; border-bottom: 1px solid var(--ink); }
.pj-data > div:nth-child(odd) { border-right: 1px solid var(--ink); }
.pj-data > div:nth-last-child(-n+2) { border-bottom: 0; }
.pj-data dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
.pj-data dd { margin: 3px 0 0; font-size: 17px; line-height: 1.3; }
.pj-note-roof { position: absolute; right: -2%; bottom: -64px; --r: -3deg; }
.pj-roof:first-of-type { padding-bottom: 40px; }

@media (max-width: 900px) {
  .pj-roof, .pj-flip { grid-template-columns: minmax(0, 1fr); }
  .pj-flip .pj-roof-art { order: 0; }
  .pj-roof-art { max-width: 640px; }
  .pj-roof:first-of-type { padding-bottom: 0; }
  .pj-note-roof { position: static; margin: 26px 4% 0 auto; width: max-content; }
}

/* ---------- 03 · the drawing wall ---------- */
.pj-wall-sec {
  background-color: var(--paper-2);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  border-block: 1px solid var(--rule);
}
.pj-wall-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 32px; align-items: end; }
.pj-wall-head .note { justify-self: end; --r: 3deg; margin-bottom: 10px; }
.pj-wall {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(54px, 6vw, 90px) clamp(24px, 3.2vw, 44px);
  margin-top: clamp(50px, 6vw, 84px); align-items: start;
}
.pj-dwg { margin: 0; min-width: 0; }
.pj-dwg-1 { grid-column: 1 / 8; }
.pj-dwg-2 { grid-column: 8 / 13; margin-top: 72px; }
.pj-dwg-3 { grid-column: 1 / 6; }
.pj-dwg-4 { grid-column: 6 / 13; margin-top: 36px; }
.pj-dwg-5 { grid-column: 2 / 13; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 48px); align-items: end; }
/* the last sheet mirrors the one above it: caption first, drawing on the right */
.pj-dwg-6 { grid-column: 1 / 12; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(24px, 3.4vw, 48px); align-items: end; }
.pj-dwg-6 figcaption { order: -1; margin: 0 0 8px; justify-self: end; }
.pj-dwg-1 .print { --r: .7deg; }
.pj-dwg-2 .print { --r: -1.1deg; }
.pj-dwg-3 .print { --r: -.9deg; }
.pj-dwg-4 .print { --r: .8deg; }
.pj-dwg-5 .print { --r: -.6deg; }
.pj-dwg-6 .print { --r: .9deg; }
.pj-dwg figcaption { margin-top: 20px; font-size: 16px; line-height: 1.55; color: var(--pencil); max-width: 58ch; }
.pj-dwg-5 figcaption { margin: 0 0 8px; }
.pj-cap-k {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue);
}
.pj-bub {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px; border: 1.2px solid currentColor; border-radius: 50%;
  font-size: 11px; letter-spacing: 0; background: var(--paper-2);
}
/* drafting dots: the round tape that holds a sheet to the board */
.pj-dot {
  position: absolute; z-index: 2; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(236, 227, 201, .92); box-shadow: inset 0 0 0 1px rgba(60, 48, 30, .06), 0 1px 2px rgba(60, 48, 30, .2);
}
.pj-dot.tl { top: -9px; left: -9px; }
.pj-dot.tr { top: -9px; right: -9px; }
.pj-zoom { display: block; cursor: zoom-in; }

@media (max-width: 1000px) {
  .pj-dwg-1, .pj-dwg-2, .pj-dwg-3, .pj-dwg-4, .pj-dwg-5, .pj-dwg-6 { grid-column: 1 / -1; margin-top: 0; }
  .pj-wall { grid-template-columns: minmax(0, 1fr); }
  .pj-dwg { max-width: 680px; }
  .pj-dwg-3 { max-width: 470px; }
  .pj-dwg-4 { max-width: 560px; }
  .pj-dwg:nth-child(even) { justify-self: end; }
  .pj-dwg-5, .pj-dwg-6 { display: block; }
  .pj-dwg-5 figcaption, .pj-dwg-6 figcaption { margin: 20px 0 0; }
}
@media (max-width: 900px) {
  .pj-wall-head { grid-template-columns: minmax(0, 1fr); }
  .pj-wall-head .note { justify-self: start; }
}

/* ---------- 04 · deliverable: the sheet index ---------- */
.pj-deliv-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 6.4vw, 100px); align-items: start; }
.pj-more { color: var(--pencil); margin-top: 18px; max-width: 50ch; }
.pj-deliv-copy .link-line { display: inline-block; margin-top: 28px; }
.pj-list { position: relative; background: var(--white); border: 1.5px solid var(--ink); box-shadow: var(--shadow); transform: rotate(.5deg); }
.pj-list table { width: 100%; border-collapse: collapse; }
.pj-list caption {
  caption-side: top; text-align: left; padding: 12px 18px; border-bottom: 1.5px solid var(--ink);
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
}
.pj-list-meta { float: right; font-weight: 400; letter-spacing: .08em; color: var(--faint); }
.pj-list thead th {
  padding: 8px 18px; border-bottom: 1px solid var(--ink); text-align: left;
  font-family: var(--mono); font-size: 9.5px; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; color: var(--faint);
}
.pj-list thead th:first-child { width: 128px; border-right: 1px solid var(--ink); }
.pj-list tbody th, .pj-list tbody td { padding: 11px 18px; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.pj-list tbody tr:last-child > * { border-bottom: 0; }
.pj-list tbody th {
  border-right: 1px solid var(--ink); text-align: left; white-space: nowrap;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; color: var(--blue);
}
.pj-list tbody td { font-size: 17px; line-height: 1.4; }
.pj-list .box { width: 15px; height: 15px; margin-right: 12px; vertical-align: -2px; }
.pj-list .box rect { stroke: var(--pencil); stroke-width: 1.4; }
.pj-list .box .tick { stroke-dashoffset: 0; stroke-width: 2.2; transition-delay: calc(.35s + var(--i, 0) * .13s); }
.pj-list.pre .box .tick { stroke-dashoffset: 40; }

.pj-ref {
  display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 12px clamp(28px, 4vw, 60px);
  margin-top: clamp(60px, 7.5vw, 110px); padding-top: 24px; border-top: 1.5px solid var(--ink);
}
.pj-ref-k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding-top: 6px; }
.pj-ref h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.012em; line-height: 1.15; }
.pj-ref p:not(.pj-ref-k) { color: var(--pencil); margin-top: 12px; max-width: 64ch; }

@media (max-width: 900px) {
  .pj-deliv-grid, .pj-ref { grid-template-columns: minmax(0, 1fr); }
  .pj-list { transform: none; }
}
@media (max-width: 520px) {
  .pj-list caption { padding: 11px 14px; }
  .pj-list-meta { float: none; display: block; margin-top: 4px; }
  .pj-list thead th, .pj-list tbody th, .pj-list tbody td { padding-inline: 12px; }
  .pj-list thead th:first-child { width: 96px; }
  .pj-list tbody td { font-size: 16px; }
  .pj-list .box { margin-right: 8px; }
}
