:root {
  --ink: #171310;
  --ink-soft: #2e271f;
  --ink-muted: #4d4339;
  --paper: #f2ede4;
  --paper-warm: #faf7f0;
  --paper-deep: #eae3d6;
  --accent: #a74827;
  --accent-light: #c3a57c;
  --muted: #6e6154;
  --rule: rgb(23 19 16 / 16%);
  --rule-light: rgb(242 237 228 / 18%);
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --header-height: 72px;
  --page-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-space: clamp(4.5rem, 9vw, 8rem);
  --content-width: 90rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  transform: translateY(-180%);
  background: var(--paper-warm);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section-pad {
  padding-inline: var(--page-gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--page-gutter);
  border-bottom: 1px solid transparent;
}

.site-header--dark {
  background: rgb(23 19 16 / 97%);
  color: var(--paper);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--rule-light);
}

.wordmark,
.site-nav a,
.nav-toggle {
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.wordmark {
  position: relative;
  z-index: 22;
  font-weight: 500;
  letter-spacing: 0.21em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.15rem);
}

.site-nav a {
  color: rgb(242 237 228 / 68%);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--paper);
}

.nav-toggle {
  position: relative;
  z-index: 22;
  display: none;
  align-items: center;
  gap: 0.7rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 1.25rem;
  height: 1px;
  background: currentcolor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle__icon::before { transform: translateY(-5px); }
.nav-toggle__icon::after { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: rotate(-45deg); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100svh - var(--header-height));
  background: var(--ink);
  color: var(--paper);
}

.hero__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(4rem, 8vh, 6.5rem) var(--page-gutter) var(--page-gutter);
}

.hero__content h1,
.bio-hero h1 {
  margin-top: 1.3rem;
  font-size: clamp(3.6rem, 7.3vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.hero__lede {
  max-width: 31rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  color: rgb(242 237 228 / 82%);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 300;
  line-height: 1.5;
  text-wrap: pretty;
}

.hero__index {
  display: flex;
  max-width: 31rem;
  flex-wrap: wrap;
  gap: 0.8rem clamp(1.5rem, 3vw, 2.75rem);
  padding-top: 1rem;
  border-top: 1px solid var(--rule-light);
}

.hero__index a {
  color: rgb(242 237 228 / 66%);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  transition: color 180ms ease;
}

.hero__index a:hover {
  color: var(--paper);
}

.hero__portrait {
  min-width: 0;
  overflow: hidden;
  background: #1e1814;
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  scale: 1.002;
}

.eyebrow,
.section-rule,
.fact-label,
.contact-grid span,
.timeline-item__date,
.chronology-item__date {
  font-size: 0.6875rem;
  line-height: 1.35;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--muted);
}

.eyebrow--light {
  color: rgb(242 237 228 / 62%);
}

.thesis {
  padding-block: var(--section-space);
  background: var(--paper);
}

.thesis__grid {
  display: grid;
  max-width: var(--content-width);
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 24rem);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  margin-inline: auto;
}

.thesis__copy {
  max-width: 43rem;
  margin-left: clamp(0rem, 11vw, 11rem);
}

.display-serif {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.75vw, 2.35rem);
  font-weight: 300;
  letter-spacing: -0.012em;
  line-height: 1.3;
  text-wrap: pretty;
}

.thesis__copy > p {
  max-width: 39rem;
  margin-top: 2rem;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.thesis__portrait {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-deep);
}

.thesis__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practice {
  padding-bottom: clamp(5rem, 9vw, 8rem);
  background: var(--paper);
}

.section-rule {
  display: flex;
  max-width: var(--content-width);
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  margin-inline: auto;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}

.section-rule h2 {
  font: inherit;
}

.practice-item {
  display: grid;
  max-width: var(--content-width);
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 19rem);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  margin-inline: auto;
  border-bottom: 1px solid var(--rule);
}

.practice-item:first-of-type {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}

.practice-item__body {
  max-width: 43rem;
}

.practice-item h3,
.bio-preview__copy h3 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.practice-item__standfirst {
  margin-top: 1rem;
  color: var(--ink-muted);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.45;
}

.practice-item__standfirst + p {
  max-width: 39rem;
  margin-top: 1.5rem;
  color: var(--ink-muted);
  line-height: 1.75;
  text-wrap: pretty;
}

.text-link {
  display: inline-block;
  padding-bottom: 0.2rem;
  margin-top: 1.8rem;
  border-bottom: 1px solid rgb(167 72 39 / 42%);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 180ms ease, color 180ms ease;
}

.text-link:hover {
  border-color: var(--accent);
  color: #7d321c;
}

.facts {
  display: grid;
  gap: 1.4rem;
  padding-top: 0.4rem;
}

.fact-label {
  color: var(--muted);
}

.facts p {
  margin-top: 0.42rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.metric strong,
.timeline-item__metrics strong {
  display: block;
  color: var(--accent);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.metric span,
.timeline-item__metrics span {
  display: block;
  max-width: 15rem;
  margin-top: 0.65rem;
  color: var(--ink-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.practice-item blockquote {
  padding-left: 1.35rem;
  border-left: 2px solid var(--accent-light);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.45;
  text-wrap: pretty;
}

.experience,
.chronology {
  padding-bottom: clamp(5rem, 9vw, 7rem);
  background: var(--paper-deep);
}

.timeline-item {
  display: grid;
  max-width: var(--content-width);
  grid-template-columns: clamp(5rem, 10vw, 9rem) minmax(0, 1fr) minmax(12rem, 18rem);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
  margin-inline: auto;
  border-bottom: 1px solid var(--rule);
}

.timeline-item__date,
.chronology-item__date {
  color: var(--muted);
  line-height: 1.55;
}

.timeline-item__body h3 {
  max-width: 44rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: pretty;
}

.timeline-item__body p {
  max-width: 39rem;
  margin-top: 1.35rem;
  color: var(--ink-muted);
  line-height: 1.75;
  text-wrap: pretty;
}

.timeline-item__metrics {
  display: grid;
  gap: 1.5rem;
}

.timeline-item__role,
.chronology-item__role {
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.statement {
  padding: clamp(6rem, 10vw, 9rem) var(--page-gutter);
  background: #2a2018;
  color: var(--paper);
}

.statement__inner {
  max-width: 54rem;
  margin-inline: auto;
}

.statement blockquote {
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3.1vw, 2.5rem);
  font-weight: 300;
  line-height: 1.35;
  text-wrap: pretty;
}

.bio-preview {
  padding-bottom: clamp(5.5rem, 9vw, 8rem);
  background: var(--paper-warm);
}

.bio-preview__grid {
  display: grid;
  max-width: var(--content-width);
  grid-template-columns: minmax(17rem, 30rem) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding-top: clamp(3rem, 6vw, 5rem);
  margin-inline: auto;
}

.bio-preview__portrait {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-deep);
}

.bio-preview__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-preview__copy {
  max-width: 39rem;
}

.bio-preview__copy p {
  margin-top: 1.6rem;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.site-footer {
  padding-block: clamp(5.5rem, 9vw, 7rem) 2rem;
  background: var(--ink);
  color: var(--paper);
}

.site-footer__lead {
  display: grid;
  max-width: var(--content-width);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 7vw, 7rem);
  margin-inline: auto;
}

.site-footer__statement {
  max-width: 28rem;
  margin-top: 1.6rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.4;
  text-wrap: pretty;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 2rem;
  align-self: end;
}

.contact-grid div {
  min-width: 0;
}

.contact-grid span {
  display: block;
  color: rgb(242 237 228 / 56%);
}

.contact-grid a {
  display: block;
  margin-top: 0.55rem;
  overflow-wrap: anywhere;
  font-size: 0.93rem;
  transition: color 180ms ease;
}

.contact-grid a:hover,
.site-footer__base a:hover {
  color: #e79a79;
}

.site-footer__base {
  display: flex;
  max-width: var(--content-width);
  align-items: center;
  justify-content: space-between;
  padding-top: 1.15rem;
  margin: clamp(4.5rem, 8vw, 7rem) auto 0;
  border-top: 1px solid var(--rule-light);
  color: rgb(242 237 228 / 52%);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.bio-hero {
  position: relative;
  min-height: min(54rem, calc(100svh - var(--header-height)));
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.bio-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 31%;
}

.bio-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(102deg, rgb(19 15 12 / 90%) 0%, rgb(19 15 12 / 72%) 43%, rgb(19 15 12 / 20%) 82%);
}

.bio-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  max-width: var(--content-width);
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(4rem, 8vw, 7rem) var(--page-gutter);
  margin-inline: auto;
}

.bio-hero__copy > p:last-child {
  max-width: 39rem;
  margin-top: 1.8rem;
  color: rgb(242 237 228 / 84%);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 300;
  line-height: 1.45;
  text-wrap: pretty;
}

.longform {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--paper-warm);
}

.longform__inner {
  max-width: 44rem;
  margin-inline: auto;
}

.longform p {
  margin-top: 1.75rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.78;
  text-wrap: pretty;
}

.longform p:first-child {
  margin-top: 0;
}

.longform .longform__lead {
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

.chronology-item {
  display: grid;
  max-width: var(--content-width);
  grid-template-columns: clamp(5rem, 10vw, 9rem) minmax(0, 1fr) minmax(12rem, 18rem);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-block: 2rem;
  margin-inline: auto;
  border-bottom: 1px solid var(--rule);
}

.chronology-item h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.chronology-item div > p {
  max-width: 39rem;
  margin-top: 0.8rem;
  color: var(--ink-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  text-wrap: pretty;
}

@media (max-width: 68rem) {
  .thesis__copy {
    margin-left: 0;
  }

  .timeline-item,
  .chronology-item {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }

  .timeline-item__metrics,
  .timeline-item__role,
  .chronology-item__role {
    grid-column: 2;
  }

  .timeline-item__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 48rem) {
  :root {
    --header-height: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 21;
    display: flex;
    visibility: hidden;
    height: calc(100svh - var(--header-height));
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 2rem var(--page-gutter);
    overflow-y: auto;
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    padding-block: 1.1rem;
    border-bottom: 1px solid var(--rule-light);
    color: var(--paper);
    font-size: clamp(1.7rem, 8vw, 2.4rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    text-transform: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    min-height: calc(72svh - var(--header-height));
    padding-top: 4rem;
  }

  .hero__content h1,
  .bio-hero h1 {
    font-size: clamp(3.65rem, 17vw, 5.5rem);
  }

  .hero__index {
    margin-top: 4rem;
  }

  .hero__portrait {
    min-height: 74svh;
  }

  .thesis__grid,
  .practice-item,
  .bio-preview__grid,
  .site-footer__lead {
    grid-template-columns: 1fr;
  }

  .thesis__grid {
    gap: 3rem;
  }

  .thesis__portrait {
    width: min(75%, 20rem);
    justify-self: end;
  }

  .practice-item {
    gap: 2rem;
  }

  .facts,
  .metric,
  .practice-item blockquote {
    max-width: 24rem;
  }

  .timeline-item,
  .chronology-item {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .timeline-item__metrics,
  .timeline-item__role,
  .chronology-item__role {
    grid-column: 1;
  }

  .bio-preview__portrait {
    aspect-ratio: 4 / 5;
  }

  .bio-preview__copy {
    padding-bottom: 0.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .bio-hero {
    min-height: calc(100svh - var(--header-height));
  }

  .bio-hero > img {
    object-position: 58% center;
  }

  .bio-hero__scrim {
    background: linear-gradient(0deg, rgb(19 15 12 / 91%) 0%, rgb(19 15 12 / 45%) 62%, rgb(19 15 12 / 16%) 100%);
  }
}

@media (max-width: 30rem) {
  .wordmark {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
  }

  .nav-toggle__label {
    display: none;
  }

  .hero__copy {
    min-height: 70svh;
  }

  .hero__portrait {
    min-height: 63svh;
  }

  .hero__index {
    display: grid;
    gap: 0.65rem;
  }

  .section-rule--split {
    align-items: flex-start;
    gap: 1rem;
  }

  .timeline-item__metrics {
    grid-template-columns: 1fr;
  }

  .thesis__portrait {
    width: 88%;
  }

  .contact-grid a {
    font-size: 0.86rem;
  }

  .site-footer__base {
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}
