/* plain — restrained two-column page: who on the left, work on the right. No motion. */
:root {
  --paper: #FFFFFF;
  --ink: #1B1E22;
  --muted: #5F666E;
  --line: #DFE2E6;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 40px; --s6: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font); }
img { display: block; max-width: 100%; height: auto; background: var(--line); }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s3); top: -48px; background: var(--ink); color: var(--paper); padding: var(--s2) var(--s3); }
.skip:focus { top: var(--s3); }

.page { max-width: 1320px; margin: 0 auto; padding: var(--s5) var(--s4) var(--s6);
  display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: var(--s6); }
.side { position: sticky; top: var(--s5); align-self: start; display: grid; gap: var(--s4); }

h1 { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.role { font-size: 16px; }
.location { color: var(--muted); }
.lede { margin-top: var(--s3); display: grid; gap: var(--s2); max-width: 46ch; }

.facts { margin: 0; display: grid; gap: var(--s2); font-size: 14px; }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: var(--s2); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); }

/* Project index: the architect-firm list, so every project is one click away. */
.index { list-style: none; margin: 0 0 var(--s6); padding: 0; border-top: 1px solid var(--ink); }
.index a { display: flex; justify-content: space-between; gap: var(--s3); padding: 10px 0;
  border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.index a:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.meta { color: var(--muted); white-space: nowrap; }

.project { display: grid; gap: var(--s3); margin-bottom: var(--s6); scroll-margin-top: var(--s4); }
.cover { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.project header { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.project h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.summary { display: grid; gap: var(--s2); max-width: 68ch; }
.credits { font-size: 14px; color: var(--muted); max-width: 68ch; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.thumbs img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.about, .cv { border-top: 1px solid var(--ink); padding-top: var(--s3); margin-bottom: var(--s6); display: grid; gap: var(--s3); }
h2 { font-size: 16px; font-weight: 600; }
.about p { max-width: 68ch; }
.cv h3 { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: var(--s3); }
.cv ul { list-style: none; margin: 0; padding: 0; }
.cv li { display: grid; grid-template-columns: 8em 1fr; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.cv strong { font-weight: 500; }
.years { color: var(--muted); font-variant-numeric: tabular-nums; }

footer { border-top: 1px solid var(--line); padding-top: var(--s3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); color: var(--muted); font-size: 14px; }
footer .contact { display: flex; flex-wrap: wrap; gap: var(--s3); }

@media (max-width: 860px) {
  .page { grid-template-columns: 1fr; gap: var(--s5); padding: var(--s4) var(--s3) var(--s5); }
  .side { position: static; }
  .index { margin-bottom: var(--s5); }
  .cv li, .facts div { grid-template-columns: 7em 1fr; }
}
@media print {
  .side { position: static; }
  .page { grid-template-columns: 1fr; }
  .skip { display: none; }
}
