/* OctoWorks: site styles
   Static, script-free brochure site. All colours are tokens. Always black on white, whatever the device theme.
   Typefaces: Newsreader (display, self-hosted, SIL OFL 1.1) and Helvetica Neue (text, from the visitor's device). Hanken Grotesk is kept for switching back. */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-var.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #faf9f5;
  --paper-2: #f0eee6;
  --paper-3: #e8e6dc;
  --ink: #141413;
  --ink-2: #3d3d3a;
  --ink-3: #5e5d59;
  --ink-4: #87867f;
  --line: #dcdad0;
  --line-strong: #c9c7bc;
  --field: #bfbdb3;
  --band: #141413;
  --band-ink: #faf9f5;
  --band-ink-2: #b0aea5;
  --band-line: #33322f;
  --band-field: #3d3c38;
  --btn-bg: #141413;
  --btn-ink: #faf9f5;
  --btn-bg-hover: #3d3d3a;
  --focus: #141413;
  --header-bg: rgba(250, 249, 245, 0.92);

  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  /* Body and interface text. Previous setting, to switch back:
     --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; */
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  color-scheme: only light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }

ul[role="list"],
ol[role="list"] { list-style: none; padding: 0; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}

a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--ink); color: var(--paper); }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */
h1, h2, .display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 1.5rem + 4.4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.1rem, 1.35rem + 2.7vw, 3.4rem);
  line-height: 1.06;
}

h3 {
  font-size: 1.1875rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.lead {
  font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 38em;
}

.muted { color: var(--ink-3); }

/* ---------- Buttons ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-bg-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

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

.chev::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.15em;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-1px, 1px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--paper);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand .logo { height: 44px; width: auto; }

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a:not(.btn) {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 0.96875rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-desktop a:not(.btn):hover {
  color: var(--ink);
  background: var(--paper-2);
}

.nav-desktop .btn {
  min-height: 40px;
  padding: 9px 16px;
  margin-left: 10px;
  font-size: 0.9375rem;
}

.nav-mobile { display: none; }

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .brand .logo { height: 38px; }
}

.nav-mobile summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.nav-mobile summary::-webkit-details-marker { display: none; }

.burger {
  position: relative;
  width: 16px;
  height: 10px;
  border-top: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
}

.nav-mobile[open] .burger {
  border-color: transparent;
}

.nav-mobile[open] .burger::before,
.nav-mobile[open] .burger::after {
  content: "";
  position: absolute;
  left: 0;
  top: 3.5px;
  width: 16px;
  border-top: 1.6px solid currentColor;
  transform: rotate(45deg);
}

.nav-mobile[open] .burger::after { transform: rotate(-45deg); }

.nav-mobile ul {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: grid;
  gap: 2px;
  padding: 12px var(--gutter) 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav-mobile a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.2;
  text-decoration: none;
}

.nav-mobile li:last-child a { border-bottom: 0; }

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section-y);
}

.section-alt { background: var(--paper-2); }

.band {
  background: var(--band);
  color: var(--band-ink);
  padding-block: var(--section-y);
}

.band .eyebrow { color: var(--band-ink-2); }

.section-head {
  display: grid;
  gap: 18px;
  max-width: 46rem;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-intro {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 40em;
}

.band .section-intro { color: var(--band-ink-2); }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(48px, 7vw, 104px) clamp(24px, 3vw, 40px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-copy {
  display: grid;
  gap: 26px;
  justify-items: start;
}

.hero-copy h1 { max-width: 13em; }

.hero-art {
  justify-self: end;
  width: 100%;
  max-width: 500px;
  color: var(--ink);
}

.print-field { width: 100%; height: auto; }
.print-field .ridges-field { stroke: var(--field); }
.print-field .ridges-mark { stroke: currentColor; }

.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.proof li {
  display: grid;
  gap: 2px;
  padding: 20px 20px 0 0;
}

.proof li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.proof-role {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.proof-org {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink-3);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art {
    justify-self: center;
    max-width: 380px;
    order: -1;
    margin-bottom: -8px;
  }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .proof li:nth-child(n + 3) { padding-top: 24px; }
}

@media (max-width: 520px) {
  .hero-art { max-width: 260px; }
  .proof { grid-template-columns: minmax(0, 1fr); }
  .proof li,
  .proof li + li {
    padding: 16px 0;
    border-left: 0;
  }
  .proof li + li { border-top: 1px solid var(--line); }
  .proof li:nth-child(n + 3) { padding-top: 16px; }
}

/* Hero accent: the tentacle waves, light and bleeding off the right edge */
.hero-art {
  align-self: stretch;
  justify-self: stretch;
  max-width: none;
  margin-right: calc(-1 * var(--gutter));
  color: var(--line-strong);
}

.hero-waves {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
  mask-image: linear-gradient(to right, transparent 0%, #000 45%);
}

@media (max-width: 900px) {
  .hero-art {
    order: 0;
    margin: 8px calc(-1 * var(--gutter)) 0 0;
    max-width: none;
    justify-self: stretch;
  }
  .hero-waves { min-height: 0; height: 120px; }
}

/* ---------- Practice areas ---------- */
.practice {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 80px);
  padding-block: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.practice:last-child { padding-bottom: 0; }

.practice-title {
  display: grid;
  gap: 12px;
  align-content: start;
}

.practice-title h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.practice-body {
  display: grid;
  gap: 22px;
  max-width: 40rem;
}

.practice-body > p:first-child {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.list-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: -8px;
}

.ticks {
  display: grid;
  gap: 10px;
}

.ticks li {
  position: relative;
  padding-left: 28px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 14px;
  border-top: 1.5px solid var(--ink-4);
}

.evidence {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  font-size: 0.96875rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.evidence strong {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (min-width: 821px) {
  .practice-title {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

@media (max-width: 820px) {
  .practice { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Principles (band) ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.principles li {
  display: grid;
  gap: 12px;
  align-content: start;
  padding-top: 22px;
  border-top: 1px solid var(--band-line);
}

.principles p {
  color: var(--band-ink-2);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .principles { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Diligence steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  counter-reset: step;
}

.steps li {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.step-no {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  line-height: 1;
  font-weight: 300;
  color: var(--ink-3);
  font-variant-numeric: lining-nums;
}

.steps p { color: var(--ink-2); }

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Clients ---------- */
.clients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.client {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 12px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.client-type {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.client h3 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.client-role {
  font-weight: 600;
  font-size: 0.96875rem;
}

.client-desc {
  color: var(--ink-2);
  font-size: 1rem;
}

.reference {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line-strong);
  background: var(--paper-2);
}

.reference blockquote p {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  line-height: 1.45;
  color: var(--ink-3);
}

.reference figcaption {
  font-size: 0.875rem;
  color: var(--ink-4);
}

.pending {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.clients-note {
  margin-top: 28px;
  font-size: 0.96875rem;
  color: var(--ink-3);
}

@media (max-width: 980px) {
  .clients { grid-template-columns: minmax(0, 1fr); }
  .client { grid-template-rows: none; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 20px;
}

.about-copy .role-line {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  line-height: 1.35;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.about-copy p:not(.eyebrow):not(.role-line) {
  max-width: 38em;
  color: var(--ink-2);
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 8px;
}

.about-links a { font-weight: 600; }

.facts {
  display: grid;
  gap: 36px;
}

.facts h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
}

.timeline {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
}

.timeline dt,
.timeline dd {
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 0.96875rem;
  line-height: 1.45;
}

.timeline dt {
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  padding-right: 12px;
}

.timeline dd span {
  display: block;
  color: var(--ink-3);
}

.creds {
  display: grid;
  gap: 0;
}

.creds li {
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 0.96875rem;
  line-height: 1.45;
}

.creds li span {
  display: block;
  color: var(--ink-3);
}

@media (min-width: 901px) {
  .about-copy {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline dt {
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 0.875rem;
  }
  .timeline dd { padding-top: 2px; }
}

/* ---------- Contact (band) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.contact-copy {
  display: grid;
  gap: 22px;
}

.contact-copy h2 { max-width: 11em; }

.contact-copy p:not(.eyebrow) {
  color: var(--band-ink-2);
  font-size: 1.125rem;
  max-width: 34em;
}

.contact-card {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--band-line);
  border-radius: var(--radius);
}

.contact-card .label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--band-ink-2);
  margin-bottom: -14px;
}

.email {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  line-height: 1.15;
  text-decoration-color: var(--band-line);
  overflow-wrap: anywhere;
  user-select: all;
}

.email:hover { text-decoration-color: currentColor; }

.band .btn {
  background: var(--band-ink);
  border-color: var(--band-ink);
  color: var(--band);
  justify-self: start;
}

.band .btn:hover {
  background: var(--band-ink-2);
  border-color: var(--band-ink-2);
}

.elsewhere {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.elsewhere a { text-decoration-color: var(--band-line); }
.elsewhere a:hover { text-decoration-color: currentColor; }

.small-print {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--band-ink-2);
  padding-top: 18px;
  border-top: 1px solid var(--band-line);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--band);
  color: var(--band-ink);
  padding-block: 56px 40px;
  border-top: 1px solid var(--band-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px;
}

.footer-brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.footer-brand .logo { height: 56px; width: auto; }

.footer-brand p {
  color: var(--band-ink-2);
  font-size: 0.96875rem;
  max-width: 22em;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-cols h2 {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--band-ink-2);
  margin-bottom: 12px;
}

.footer-cols ul {
  display: grid;
  gap: 8px;
}

.footer-cols a {
  font-size: 0.96875rem;
  text-decoration: none;
}

.footer-cols a:hover {
  text-decoration: underline;
  text-decoration-color: currentColor;
}

.footer-legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--band-line);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--band-ink-2);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
}

/* ---------- Simple pages (privacy, 404) ---------- */
.page {
  padding-block: clamp(56px, 8vw, 112px);
}

.prose {
  display: grid;
  gap: 18px;
  max-width: 44rem;
}

.prose h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4rem);
  margin-bottom: 8px;
}

.prose h2 {
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.9rem);
  margin-top: 24px;
}

.prose p,
.prose li { color: var(--ink-2); }

.prose ul {
  display: grid;
  gap: 8px;
  padding-left: 1.2em;
}

.not-found {
  display: grid;
  gap: 24px;
  justify-items: start;
  max-width: 40rem;
}

.not-found .mark { width: 120px; height: auto; color: var(--ink); }

/* ---------- Print ---------- */
@media print {
  :root {
    --paper: #fff; --paper-2: #fff; --band: #fff; --band-ink: #000; --band-ink-2: #333;
    --ink: #000; --ink-2: #222; --ink-3: #444;
  }
  .site-header { position: static; backdrop-filter: none; }
  .nav-desktop, .nav-mobile, .skip-link, .hero-art { display: none; }
  .band, .site-footer { border-top: 1px solid #999; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
