/* v3: TeX Gyre Heros (GUST Font License, fonts/GUST-FONT-LICENSE.txt), a free Helvetica equivalent for systems without Helvetica (Windows, Android). Macs and iPhones keep Helvetica Neue and never download these. Regular and Bold only: Light text shows as Regular there. */
@font-face { font-family: "Heros Web"; src: url("../fonts/heros-regular.woff2") format("woff2"); font-weight: 100 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Heros Web"; src: url("../fonts/heros-bold.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
/* chrisnolop.com, 2026-11 rebuild. System: cream ground, Helvetica Neue in three weights, sheet-numbered index (A-000 to A-501, details as 2/A-301, since 6 Nov 2026), hairlines that stop short of every plus mark, one slate blue per page, brick for labels (accent colours changed 3 Nov 2026; ground softened to #F1EFEA 6 Nov 2026). */

:root {
  --cream: #F1EFEA;
  --paper: #E7E4DE;
  --ink: #262626;
  --ink-soft: #4A4A4A;
  --grey: #6D6A64;
  --hair: #D2CFC9;
  --accent: #5E7FA8;
  --accent-2: #BE3F2D; /* 6 Nov 2026: a hair darker than #C2402E so brick labels pass 4.5:1 on the cream */
  --font: "Helvetica Neue", Helvetica, "Heros Web", Arial, sans-serif;
  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
p, .d, .body, dd, li, .cap { text-wrap: pretty; }
b, strong { font-weight: 700; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* type roles */
.label { font-weight: 400; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); }
.label-ink { font-weight: 400; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.label-ink b { color: var(--accent-2); }
.data { font-weight: 400; font-size: 14px; line-height: 1.35; }
.body { font-weight: 300; font-size: 17px; line-height: 1.55; max-width: 62ch; }
.num { font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
/* sheet numbers (A-301, 2/A-301) never break at the hyphen or slash */
.num, .n, .site-head nav a { white-space: nowrap; }
.fig .cap .n, .hero-cap .n { flex: none; }
.num.txt { white-space: normal; }
.display { font-weight: 700; letter-spacing: -0.045em; line-height: 0.86; }

/* header and footer, every page */
.site-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 40px 0 14px; border-bottom: 1px solid var(--hair);
  font-weight: 400; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.site-head .name { font-weight: 700; }
.site-head nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.site-head nav a.on { color: var(--accent); font-weight: 700; }
.site-foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin-top: 56px; padding: 14px 0 40px; border-top: 1px solid var(--hair); font-size: 13px;
}
.site-foot .n { font-weight: 700; }
.site-foot .t { font-weight: 700; letter-spacing: 0.04em; }
.site-foot .m { font-weight: 300; color: var(--grey); }

/* hairline and plus: the line never touches the plus */
.rule { height: 1px; background: var(--hair); }
.rule-ink { height: 1px; background: var(--ink); }
.plus { position: absolute; width: 13px; height: 13px; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--ink); }
.plus::before { left: 6px; top: 0; width: 1px; height: 13px; }
.plus::after { top: 6px; left: 0; width: 13px; height: 1px; }
.plus.orange::before, .plus.orange::after { background: var(--accent); }
.tab { width: 48px; height: 12px; background: var(--accent); }

/* frame: a block whose rules stop short of a plus at each corner */
.frame { position: relative; }
.frame > .plus.tl { left: -6px; top: -7px; }
.frame > .plus.tr { right: -6px; top: -7px; }
.frame > .plus.bl { left: -6px; bottom: -7px; }
.frame > .plus.br { right: -6px; bottom: -7px; }
.rows.frame { border-top: none; }
.rows.frame::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 1px; background: var(--hair); }
.rows.frame .row:last-child { border-bottom: none; }
.rows.frame::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 1px; background: var(--hair); }
.metrics.frame { border-top: none; }
.metrics.frame::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 1px; background: var(--hair); }
.process .steps.frame { border-top: none; }
.process .steps.frame::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 1px; background: var(--hair); }

/* section separator: one hairline stopping short of a plus at each end, numbered label beneath. Used for every numbered subheading. */
.sep { position: relative; padding-top: 22px; }
.sep .rule { position: absolute; left: 18px; right: 18px; top: 0; }
.sep > .plus.tl { left: -6px; top: -7px; }
.sep > .plus.tr { right: -6px; top: -7px; }
.sep:empty, .sep:not(:has(.label-ink)) { padding-top: 0; }
.sep + .blocks .k.first, .sep + .blocks p.first, .sep + .blocks .stats { border-top-color: transparent; }
.sep + .arc, .sep + .metrics, .sep + .process .steps, .sep + .awards { border-top: none; }
.sep + .narr { margin-top: 0; }

/* data block: fixed fields, same order on every project */
.fields { display: grid; grid-template-columns: 110px 1fr; gap: 9px 20px; font-size: 14px; line-height: 1.35; }
.fields dt { font-weight: 700; margin: 0; color: var(--accent-2); }
.fields dd { font-weight: 400; margin: 0; }

/* cover */
.cover { position: relative; padding-top: 24px; }
.cover .years { display: flex; justify-content: space-between; align-items: flex-start; }
.cover .year { display: flex; align-items: flex-start; gap: 14px; }
.cover .year .num { font-size: clamp(64px, 9.2vw, 132px); letter-spacing: -0.05em; line-height: 0.8; }
.cover .year .word { font-weight: 400; font-size: 13px; line-height: 1.25; color: var(--ink); margin-top: 6px; }
.cover .year.right .word { text-align: right; }
.cover .span { margin: 10px 16% 0; border-top: 1px solid var(--ink); padding-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ink); }
.cover .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); gap: 48px var(--gutter); margin-top: clamp(40px, 6vw, 90px); align-items: end; }
.cover .who .first { font-weight: 300; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -0.01em; line-height: 1; }
.cover .who .last { font-weight: 700; font-size: clamp(88px, 14.7vw, 212px); letter-spacing: -0.045em; line-height: 0.82; margin-left: -0.05em; }
.cover .who .fields { margin-top: 40px; max-width: 560px; }
.cover .who .body { margin-top: 36px; max-width: 480px; font-size: 19px; line-height: 1.35; letter-spacing: -0.01em; font-weight: 700; color: var(--accent); }
.cover .pic { position: relative; padding: 0 0 64px 32px; }
.cover .pic img { position: relative; width: 100%; aspect-ratio: 556 / 520; object-fit: cover; }
.cover .pic .plus { z-index: 2; right: -6px; top: -7px; }
.cover .pic .plus.b { top: auto; bottom: 57px; }
.cover .pic .cap { position: absolute; left: 32px; bottom: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* index register */
.register { margin-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px var(--gutter); }
.register .toc { display: flex; flex-direction: column; gap: 6px; }
.register .toc a { display: flex; align-items: baseline; gap: 20px; }
.register .toc .num { font-size: clamp(40px, 4vw, 56px); width: 3.1em; flex: none; }
.register .toc .w { font-weight: 300; font-size: 22px; }
.register .meta { margin-top: 40px; border-top: 1px solid var(--hair); padding-top: 16px; }
.rows { border-top: 1px solid var(--ink); }
.row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 220px 56px 96px; gap: 16px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 15px;
}
.row.head { font-weight: 400; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); }
.row .n { font-weight: 700; color: var(--accent-2); }
.row .p { font-weight: 400; }
.row .l { font-weight: 300; }
.row .c { font-weight: 300; font-size: 13px; }
.row.head .l, .row.head .c { font-weight: inherit; font-size: inherit; }
.row img { width: 96px; height: 60px; object-fit: cover; }

/* section pages (statement, practice, contact) */
.sec-head { padding-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 32px var(--gutter); align-items: end; padding-bottom: 28px; }
.sec-head .num { font-size: clamp(48px, 5vw, 72px); color: var(--accent); }
.statement .big em { color: var(--accent-2); }
.sec-head h1 { font-weight: 700; font-size: clamp(56px, 8.9vw, 128px); letter-spacing: -0.04em; line-height: 0.88; margin-top: 12px; }
.sec-head .kicker { display: flex; align-items: baseline; gap: 28px; }

/* statement */
.statement { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 640px); gap: 0 48px; }
.statement .big { grid-column: 1 / -1; font-weight: 700; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.03em; line-height: 1.05; max-width: 24ch; margin-bottom: 48px; }
.statement .big em { font-style: normal; color: var(--accent); }

/* narrative blocks */
.blocks { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 640px) minmax(0, 1fr); gap: 0 48px; align-content: start; }
.blocks .k { border-top: 1px solid var(--hair); padding: 14px 0 20px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.4; }
.blocks .k .i { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); }
.blocks .k .t { font-weight: 700; }
.blocks .k .tab { margin-top: 16px; }
.blocks p { border-top: 1px solid var(--hair); padding: 14px 0 20px; }
.blocks .k.first, .blocks p.first, .blocks .stats { border-top-color: var(--ink); }
.blocks .stats { grid-row: 1 / span 3; grid-column: 3; border-top: 1px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 22px; }
.blocks .stats .num { font-size: 40px; }
.blocks .stats .label { margin-top: 4px; }

.blocks.two { grid-template-columns: minmax(0, 240px) minmax(0, 640px); }

/* project page */
.proj-head { padding-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 32px var(--gutter); align-items: end; padding-bottom: 32px; }
.proj-head .kicker { display: flex; align-items: baseline; gap: 28px; }
.proj-head .kicker .num { font-size: clamp(48px, 5vw, 72px); color: var(--accent); }
.proj-head h1 { font-weight: 700; font-size: clamp(56px, 8.9vw, 128px); letter-spacing: -0.04em; line-height: 0.88; margin-top: 12px; }
.hero { position: relative; }
.hero img { width: 100%; aspect-ratio: 1440 / 800; object-fit: cover; }
.hero.cut { padding: 0 var(--gutter); margin-top: -24px; }
.proj-head { position: relative; z-index: 2; }
/* orange block: left 30%, 44% wide, rising from 4px above the Role line (set by script, 160px fallback) to 84% down the photo */
.hero.cut img { position: relative; aspect-ratio: auto; object-fit: contain; }
.hero a { display: block; }
.proj-head h1 a:hover { color: var(--accent); }
.hero-cap { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 12px; }
.hero-cap { position: relative; padding-left: 20px; }
.hero-cap .n { font-weight: 700; color: var(--accent-2); }
.hero-cap .plus.l { left: -6px; top: 10px; }
.hero-cap .plus.r { right: -6px; top: 10px; }
.narr { margin-top: 56px; }
.pair { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pair.wide { grid-template-columns: 3fr 2fr; }
.fig { display: flex; flex-direction: column; gap: 10px; }
.fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fig.tall img { aspect-ratio: 3 / 4; }
.fig.band img { aspect-ratio: 16 / 9; }
.fig .cap { display: flex; gap: 16px; }
.fig .cap .n { font-weight: 700; color: var(--accent-2); }
.single { margin-top: 24px; }
.single img { width: 100%; aspect-ratio: 1440 / 800; object-fit: cover; }
.drawing { position: relative; margin-top: 56px; padding-top: 24px; }
.drawing .rule { position: absolute; left: 18px; right: 18px; top: 0; }
.drawing .plus.tl { left: -6px; top: -7px; }
.drawing .plus.tr { right: -6px; top: -7px; }
.drawing .grid { display: grid; grid-template-columns: minmax(0, 236px) minmax(0, 1fr); gap: 24px; align-items: start; }
.drawing .key { display: flex; flex-direction: column; gap: 4px; font-size: 12px; line-height: 1.35; }
.drawing .key .t { font-weight: 700; }
.drawing .key .t:first-child { color: var(--accent-2); }
.drawing .key .s { font-weight: 300; color: var(--grey); margin-top: 6px; }
.drawing .sheet { background: none; }
.drawing .sheet img { width: 100%; }
.prevnext { margin-top: 56px; border-top: 1px solid var(--hair); padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
.prevnext a { display: flex; gap: 16px; }
.prevnext .n { font-weight: 700; }
.prevnext .m { font-weight: 300; color: var(--grey); }
.prevnext { align-items: flex-start; }
.prevnext a.next { position: relative; display: block; width: clamp(89px, 11.1vw, 152px); }
.prevnext a.next .arrow { display: block; width: 100%; height: auto; color: var(--accent); transition: transform 0.15s ease; }
.prevnext a.next:hover .arrow { transform: translateX(10px); }
.prevnext a.next .t { position: absolute; left: 4%; top: 38.5%; width: 92%; display: flex; flex-direction: column; gap: 0; font-weight: 700; font-size: 11px; line-height: 1.1; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cream); }
.prevnext a.next .t .n { font-size: 11px; letter-spacing: 0.08em; color: var(--cream); }
.blocks .stats .num.txt { font-size: 22px; letter-spacing: -0.01em; line-height: 1.1; }
.blocks .stats .num .u { font-size: 0.5em; font-weight: 400; letter-spacing: 0; margin-left: 0.2em; }
.awards { margin-top: 0; padding-top: 0; }
.awards ul { list-style: none; margin: 10px 0 0; padding: 0; font-weight: 400; font-size: 15px; line-height: 1.5; max-width: 62ch; }
.awards li { border-bottom: 1px solid var(--hair); padding: 8px 0; }
.awards li a { display: flex; justify-content: space-between; gap: 16px; }
.awards li a .ext { color: var(--accent); font-weight: 700; }

/* practice page */
.arc { margin-top: 24px; border-top: 1px solid var(--ink); }
.arc .job { display: grid; grid-template-columns: 110px minmax(0, 260px) minmax(0, 1fr); gap: 12px 24px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.arc .job .y { font-weight: 700; font-size: 14px; color: var(--accent-2); }
.arc .job .f { font-weight: 700; font-size: 15px; color: var(--accent); }
.arc .job .r { font-weight: 400; font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.arc .job .d { font-weight: 300; font-size: 15px; line-height: 1.5; max-width: 60ch; }
.metrics { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--ink); }
.metrics .m { padding-top: 18px; }
.metrics .m .num { font-size: clamp(40px, 4.2vw, 60px); }
.metrics .m .num sup { font-size: 0.4em; vertical-align: top; letter-spacing: 0; margin-left: 2px; }
.metrics .m .t { font-weight: 700; font-size: 13px; margin-top: 10px; color: var(--accent-2); }
.metrics .m .d { font-weight: 300; font-size: 13px; color: var(--grey); margin-top: 4px; }
/* competencies: one colour per row, thin cream gaps, no grid lines */
.comp { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.comp div { padding: 18px 16px 22px; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; display: flex; flex-direction: column; gap: 14px; min-height: 108px; }
.comp div .i { font-weight: 400; font-size: 11px; letter-spacing: 0.08em; }
.comp div.c { background: var(--paper); color: var(--accent-2); }
.comp div.b { background: var(--accent); color: var(--cream); }
.comp div.a { background: var(--accent-2); color: var(--cream); }
.p24 { max-width: none; width: calc((100% - 2 * var(--gutter)) * 2 / 3.4 + var(--gutter)); }
.lists { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px var(--gutter); }
.lists h2 { font-weight: 700; font-size: 13px; border-top: 1px solid var(--ink); padding-top: 14px; display: flex; gap: 14px; }
.lists h2 .i { color: var(--accent-2); }
.lists ul.reg { columns: 1; margin-top: 8px; }
.lists ul.reg li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--hair); font-size: 14px; line-height: 1.3; }
.lists ul.reg li .i { font-weight: 700; font-size: 11px; color: var(--accent-2); letter-spacing: 0.04em; padding-top: 2px; }
.lists ul.reg li .f { font-weight: 400; }
.lists ul.reg li .c { font-weight: 300; font-size: 12px; color: var(--grey); letter-spacing: 0.04em; text-transform: uppercase; padding-top: 2px; }
.lists ul { list-style: none; margin: 10px 0 0; padding: 0; columns: 2; column-gap: 24px; font-weight: 300; font-size: 14px; line-height: 1.6; }
.lists ul.one { columns: 1; }
.lists .map img { width: 100%; }
.lists .map .trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; border-top: 1px solid var(--hair); padding-top: 14px; }
.lists .map .trio .num { font-size: 40px; }
.lists .map img { margin-top: 8px; }
.lists .note { font-weight: 300; font-size: 12px; color: var(--grey); margin-top: 14px; max-width: none; }
.process { margin-top: 56px; }
.process .steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--ink); }
.process .step { padding-top: 14px; position: relative; display: flex; flex-direction: column; }
.process .step .i { position: absolute; left: -6px; top: 6px; font-weight: 700; font-size: 136px; line-height: 0.8; letter-spacing: -0.05em; color: var(--accent-2); opacity: 0.22; pointer-events: none; }
.process .step .t { position: relative; font-weight: 700; font-size: 15px; line-height: 1.3; margin-top: 64px; min-height: 2.6em; }
.process .step ul { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--hair); font-weight: 300; font-size: 12.5px; line-height: 1.6; }
.process .step .riba { margin-top: auto; padding-top: 12px; font-weight: 400; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-2); }

/* contact */
.contact { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px var(--gutter); align-items: start; }
.contact .big { font-weight: 700; font-size: clamp(32px, 4.2vw, 60px); letter-spacing: -0.035em; line-height: 1.02; max-width: 16ch; }
.contact .fields { border-top: 1px solid var(--ink); padding-top: 18px; }
.contact .fields a:hover { color: var(--accent); }

/* phone and tablet */
@media (max-width: 1000px) {
  .row { grid-template-columns: 48px minmax(0, 1fr) 72px; }
  .row .l, .row .c, .row.head .l, .row.head .c { display: none; }
  .row img { width: 72px; height: 46px; }
  .blocks { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); }
  .blocks .stats { grid-row: auto; grid-column: 1 / -1; flex-direction: row; gap: 32px; }
  .lists { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lists .map { grid-column: 1 / -1; }
  .process .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p24 { width: auto; max-width: 62ch; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-head { padding-top: 24px; flex-direction: column; gap: 12px; }
  .cover .grid, .register, .sec-head, .proj-head, .contact { grid-template-columns: minmax(0, 1fr); }
  .cover .span { margin: 10px 0 0; }
  .cover .pic { padding-left: 20px; }
  .register .toc .num { width: 3.1em; font-size: 36px; }
  .register .toc .w { font-size: 18px; }
  .blocks { grid-template-columns: minmax(0, 1fr); }
  .blocks .k { border-top: none; padding-bottom: 6px; }
  .blocks p { padding-top: 0; border-top: none; }
  .blocks .k.first { border-top: 1px solid var(--ink); }
  .blocks .stats { flex-wrap: wrap; }
  .pair, .pair.wide { grid-template-columns: minmax(0, 1fr); }
  .drawing .grid { grid-template-columns: minmax(0, 1fr); }
  .arc .job { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .comp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lists { grid-template-columns: minmax(0, 1fr); }
  .lists ul { columns: 1; }
  .process .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero img { aspect-ratio: 4 / 3; }
  .prevnext { flex-direction: column; gap: 10px; }
  .prevnext .m { order: 3; }
  .prevnext a.next { width: 70%; }
  .proj-head.cut .fields, .proj-head.cut .fields dt { color: var(--ink); }
  .proj-head.cut .fields dt { color: var(--accent-2); }
}
/* v3: a drawing that runs the full width, key set into its empty top-left corner (Lucas 3.2.8) */
@media (min-width: 1200px) {
  .drawing.wide .grid { display: block; position: relative; }
  .drawing.wide .key { position: absolute; left: 0; top: 0; width: 19%; z-index: 1; }
  .drawing.wide .sheet img { width: 81%; margin-left: auto; }
}
/* v3: contact page picture under the statement line */
.contact .avail { margin-top: 20px; max-width: 40ch; }
.contact .contact-pic { margin: 48px 0 0; max-width: 380px; }
.contact .contact-pic img { aspect-ratio: auto; }
@media (max-width: 720px) { .contact .contact-pic { max-width: none; } }
/* v3: a narrative line that links out, styled like the awards list */
.plink .ext { color: var(--accent); font-weight: 700; margin-left: 8px; }
.plink:hover { color: var(--accent); }
/* v3: on the contact page, drop the Base line so it sits as far above the rule as Email sits below it */
@media (min-width: 721px) { .sec-head.contact-head .fields { position: relative; top: 61px; } }
/* v3: scroll motion. Set up by MOTION_JS only (no JS or reduced motion: nothing hidden). Each element moves once, transform and opacity only. */
html.m body { overflow-x: clip; }
html.m .mv { opacity: 0; transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
html.m .mv.mv-up { transform: translateY(14px); }
html.m .mv.mv-l { transform: translateX(-28px); }
html.m .mv.mv-r { transform: translateX(28px); }
html.m .mv.in { opacity: 1; transform: none; }
html.m .mv-rule { transform: scaleX(0); transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
html.m .mv-rule.mv-l { transform-origin: 0 50%; }
html.m .mv-rule.mv-r { transform-origin: 100% 50%; }
html.m .mv-rule.in { transform: scaleX(1); }
@media print { html.m .mv, html.m .mv-rule { opacity: 1 !important; transform: none !important; } }
/* v3: sound toggle, styled as a nav link */
.site-head .snd { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--grey); background: none; border: 0; padding: 0; cursor: pointer; }
.site-head .snd:hover { color: var(--accent); }
.site-head .snd[aria-pressed="false"] { text-decoration: line-through; }

/* 5.0 CV */
.cv-arc .job { grid-template-columns: 150px minmax(0, 260px) minmax(0, 1fr); }
.cv-arc ul.d { list-style: none; margin: 0; padding: 0; }
.cv-arc ul.d li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.cv-arc ul.d li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 8px; height: 1px; background: var(--accent); }
.cv-arc .job .f a:hover { color: var(--ink); }
.cv-arc .job .f a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sec-head .fields a:hover { color: var(--accent); }
.cv-lists ul.one li, .cv-lists ul li { break-inside: avoid; }
@media (max-width: 720px) { .cv-arc .job { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .blocks.two { grid-template-columns: minmax(0, 1fr); } }

/* v3.2: contact heading and portrait link to the CV */
.sec-head h1 a { color: inherit; text-decoration: none; }
.sec-head h1 a:hover, .contact-pic figcaption a:hover { color: var(--accent); }
.contact-pic a { display: block; }
.contact-pic figcaption a { color: inherit; text-decoration: none; }
