:root {
  --paper: #f4f6f8;
  --ink: #1c2034;
  --body: #2d3142;
  --muted: #5a6272;
  --rule: #d5dae1;
  --accent: #1f5a4e;
  --accent-soft: #e3eeeb;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #141821; --ink: #e8ecf2; --body: #c9cfda; --muted: #8c95a6;
    --rule: #2a303c; --accent: #7fc2b0; --accent-soft: #1b2a29;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #141821; --ink: #e8ecf2; --body: #c9cfda; --muted: #8c95a6;
  --rule: #2a303c; --accent: #7fc2b0; --accent-soft: #1b2a29;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
}
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

/* ---------- frame ---------- */
.wrap {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 2rem;
}
.site-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--rule);
  font-family: var(--sans); font-size: 0.9375rem;
}
.site-head .mark { white-space: nowrap; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.site-head nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-head nav a { color: var(--muted); text-decoration: none; }
.site-head nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 5.5rem 0 4.5rem; border-bottom: 1px solid var(--rule); }
.hero h1 {
  font-family: var(--sans); font-weight: 800; color: var(--ink);
  font-size: clamp(3rem, 9vw, 7.25rem); line-height: 0.92; letter-spacing: -0.045em;
  margin: 0 0 2.5rem;
}
.hero .role { font-family: var(--sans); font-size: 1.0625rem; color: var(--muted); margin: 0 0 0.75rem; }
.hero .statement {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem); line-height: 1.35; color: var(--ink);
  max-width: 34ch; margin: 0 0 2rem; font-weight: 400;
}
.hero .lead { max-width: 60ch; }
.hero .lead p:last-child { margin-bottom: 0; }

/* ---------- sections: label | text | margin note ---------- */
.section {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  column-gap: 3rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--rule);
}
.section > .label {
  grid-column: 1; font-family: var(--sans); font-weight: 700; font-size: 1rem;
  color: var(--ink); margin: 0.2rem 0 0; letter-spacing: -0.005em;
}
.section > .content { grid-column: 2; min-width: 0; }
.section .lede { max-width: 40rem; }

.item {
  display: grid;
  grid-template-columns: minmax(0, 36rem) minmax(12rem, 17rem);
  column-gap: 3.5rem;
}
.item + .item { margin-top: 3.25rem; padding-top: 3.25rem; border-top: 1px solid var(--rule); }
.item .main { grid-column: 1; }
.item .aside { grid-column: 2; }

.item h3 {
  font-family: var(--sans); font-weight: 700; color: var(--ink);
  font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.015em; margin: 0 0 0.4rem;
}
.item .sector { font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); margin: 0 0 1.25rem; }
.item h4 { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--ink); margin: 1.25rem 0 0.35rem; }
.item ul { list-style: none; }
.item li { padding-left: 1.1rem; position: relative; margin-bottom: 0.45rem; }
.item li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 0.45rem; height: 1px; background: var(--muted); }
.item .more { font-family: var(--sans); font-size: 0.9375rem; margin: 1.25rem 0 0; }

/* the margin note: the one distinctive device */
.note {
  font-style: italic; color: var(--accent); font-size: 1rem; line-height: 1.5;
  border-left: 2px solid var(--accent); padding: 0.1rem 0 0.1rem 1rem; margin: 3.2rem 0 0;
  max-width: 17rem;
}

/* built + writing + career */
.product + .product { margin-top: 2rem; }
.product h3 { font-family: var(--sans); font-size: 1.125rem; font-weight: 700; color: var(--ink); margin: 0 0 0.15rem; }
.product .link { font-family: var(--sans); font-size: 0.9375rem; margin: 0 0 0.5rem; }
.prose { max-width: 40rem; }
.essay { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--rule); max-width: 40rem; }

.timeline { list-style: none; max-width: 44rem; padding: 0; }
.timeline li {
  display: grid; grid-template-columns: 8rem 1fr; column-gap: 1.5rem; padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
}
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline .yrs { font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 0.1rem; }
.timeline .what { color: var(--ink); }
.timeline .where { color: var(--muted); }
.timeline .detail { margin: 0.3rem 0 0; font-size: 0.975rem; }
.small { font-size: 0.975rem; color: var(--muted); }

/* tailored page opening note */
.brief { padding: 4rem 0 3.5rem; border-bottom: 1px solid var(--rule); }
.brief .for { font-family: var(--sans); color: var(--muted); font-size: 1rem; margin: 0 0 0.5rem; }
.brief h1 {
  font-family: var(--sans); font-weight: 800; color: var(--ink);
  font-size: clamp(2.25rem, 5.5vw, 4rem); line-height: 1; letter-spacing: -0.035em; margin: 0 0 1.75rem;
}
.brief .text { max-width: 40rem; font-size: 1.125rem; }
.points {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 2px solid var(--accent);
}
.points h2 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 700; color: var(--ink); margin: 0 0 0.4rem; line-height: 1.3; }
.points p { margin: 0; font-size: 1rem; }

/* what I do */
.services { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 3rem; max-width: 56rem; }
.services h3 { font-family: var(--sans); font-size: 1.125rem; font-weight: 700; color: var(--ink); margin: 0 0 0.4rem; letter-spacing: -0.01em; }
.services p { margin: 0; }
.services .see { font-family: var(--sans); font-size: 0.875rem; color: var(--muted); margin-top: 0.6rem; }
.standing { max-width: 44rem; margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: 1rem; }

/* work index */
.index { list-style: none; padding: 0; margin: 0 0 3.25rem; max-width: 40rem; font-family: var(--sans); font-size: 0.9375rem; columns: 1; }
.index li { padding: 0.3rem 0; }
.index a { color: var(--body); text-decoration: none; border-bottom: 1px solid var(--rule); }
.index a:hover { color: var(--accent); border-color: var(--accent); }

/* samples */
.group + .group { margin-top: 2.25rem; }
.group-head { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--muted); margin: 0 0 0.9rem; }
.samples { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; max-width: 56rem; }
.samples a { font-family: var(--sans); font-weight: 700; font-size: 1.0625rem; }
.samples p { margin: 0.3rem 0 0; font-size: 1rem; }

/* testimonials */
.quotes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; max-width: 56rem; }
.quotes blockquote { margin: 0; font-size: 1.1875rem; line-height: 1.5; color: var(--ink); font-style: italic; }
.quotes .who { font-family: var(--sans); font-size: 0.9375rem; color: var(--accent); margin: 0.75rem 0 0; }

.method { margin-top: 2.25rem; }
.essay .more { font-family: var(--sans); font-size: 0.9375rem; margin: 0; }
.timeline { margin-top: 2rem; }
.timeline + .small { margin-top: 1.75rem; }

/* contact */
.contact { padding: 4.5rem 0 3rem; }
.contact h2 { font-family: var(--sans); font-weight: 800; color: var(--ink); font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 1rem; }
.contact .email { font-family: var(--sans); font-size: clamp(1.125rem, 2.4vw, 1.5rem); font-weight: 600; }
.site-foot { padding: 2rem 0 3rem; font-family: var(--sans); font-size: 0.875rem; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .section { column-gap: 2rem; }
  .item { grid-template-columns: minmax(0, 1fr); }
  .item .aside { grid-column: 1; }
  .note { margin-top: 1.5rem; max-width: 34rem; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 1rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .section { display: block; padding: 3rem 0; }
  .section > .label { margin-bottom: 1.5rem; font-size: 1.0625rem; }
  .timeline li { grid-template-columns: 1fr; row-gap: 0.15rem; }
  .services, .samples, .quotes { grid-template-columns: 1fr; }
  .site-head nav { display: none; }
}
@media print {
  .site-head nav, .contact .print-hide { display: none; }
  body { background: #fff; }
}

.quotes + .small { margin-top: 2rem; }
