:root {
  --ink: #171819;
  --muted: #69635d;
  --paper: #f5f1ea;
  --cream: #fffaf1;
  --line: rgba(23, 24, 25, 0.14);
  --accent: #8d6c45;
  --soft: #e7ded1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(245, 241, 234, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9);
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 0.95rem;
  line-height: 1.1;
}

.brand em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.15;
}

nav {
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

nav a {
  text-underline-offset: 4px;
}

nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
}

.icon-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero,
.profile,
.project,
.foundation {
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.9fr);
  gap: clamp(30px, 5.5vw, 72px);
  align-items: end;
  padding-top: clamp(46px, 7vw, 88px);
  padding-bottom: 64px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-kicker {
  white-space: nowrap;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 5.4vw, 5.2rem);
  line-height: 0.98;
}

h2 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3.35vw, 3.35rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 1.9vw, 1.85rem);
  line-height: 1.12;
}

.hero-copy > p,
.profile-text > p,
.project-copy > p,
.foundation > p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-image {
  margin: 0;
}

.hero-image img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.86);
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.72fr);
  gap: clamp(34px, 6.5vw, 86px);
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 78px;
}

.profile-text > .kicker {
  margin-bottom: 26px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.foundation-copy > .kicker {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-text > h2 {
  max-width: 880px;
  margin-bottom: 24px;
}

.profile-text > p:not(.kicker):not(.right-to-work) {
  max-width: 900px;
  margin-bottom: 16px;
}

.profile-text > p:not(.kicker):not(.right-to-work):last-of-type {
  margin-bottom: 0;
}

.role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.role-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.2;
}

.profile-text .right-to-work {
  margin: 34px 0 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 760;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-self: center;
  background: transparent;
}

.proof-grid article {
  min-height: 142px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.proof-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  line-height: 1;
  font-weight: 820;
}

.proof-grid p {
  margin-bottom: 6px;
  color: var(--muted);
  line-height: 1.35;
}

.proof-grid em {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.35;
}

.project {
  padding-top: 82px;
  padding-bottom: 82px;
  scroll-margin-top: 78px;
}

.project-heading {
  margin-bottom: 36px;
}

.project-heading > p:not(.kicker) {
  max-width: 920px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.project-layout figure {
  margin: 0;
  background: var(--cream);
}

.project-layout img {
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.86);
}

.project-copy {
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 56px);
  background: var(--cream);
}

.impact-list {
  display: grid;
  gap: 22px;
  margin-bottom: 0;
  padding-top: 8px;
}

.impact-list div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.impact-list dt {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.impact-list dd {
  margin-left: 0;
  color: var(--muted);
}

.wide-proof-image {
  margin: 18px 0 0;
  border: 1px solid var(--line);
  background: var(--cream);
}

.wide-proof-image img,
.wide-proof-image video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center 48%;
  filter: brightness(1.08) saturate(0.88);
}

.wide-proof-image figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.asset-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.asset-row figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--cream);
}

.asset-row img {
  height: 260px;
  object-fit: cover;
  filter: saturate(0.86);
}

.asset-row figure:nth-child(2) img {
  object-fit: contain;
  padding: 0;
  background: #fbfaf6;
  object-position: center top;
}

.asset-row figure:nth-child(3) img {
  object-position: center center;
}

.asset-row figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.supporting {
  background: var(--soft);
}

.guidepost-case {
  display: grid;
  gap: 18px;
}

.guidepost-case + .guidepost-case {
  margin-top: 34px;
}

.guidepost-case article {
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.guidepost-case p:last-child {
  max-width: 100%;
  color: var(--muted);
}

.image-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.image-row.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.image-row figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
}

.image-row img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  filter: saturate(0.86);
}

.image-row figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.foundation {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  padding-top: 62px;
  padding-bottom: 72px;
  background: var(--cream);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.foundation h2 {
  max-width: 920px;
  margin-bottom: 22px;
  color: var(--ink);
}

.foundation p {
  max-width: 920px;
  color: var(--muted);
}

.foundation .right-to-work {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 760;
}

.foundation-image {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.foundation-image img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  filter: saturate(0.82);
}

.foundation-image figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.cv-hero,
.cv-section {
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
}

.cv-hero {
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.cv-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.42fr);
  gap: clamp(30px, 5vw, 66px);
  align-items: center;
}

.cv-intro {
  max-width: 860px;
}

.cv-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.cv-hero > .kicker {
  margin-bottom: 26px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.headshot-frame {
  display: block;
  width: clamp(74px, 9vw, 104px);
  height: clamp(74px, 9vw, 104px);
  border: 1px solid var(--line);
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}

.headshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9);
  transform: translateY(8%) scale(1.18);
}

.cv-hero h1 {
  max-width: 940px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.cv-hero p {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.04rem;
}

.cv-contact-card {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--cream);
  border: 1px solid var(--line);
}

.cv-contact-card .cv-work-rights {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 760;
  line-height: 1.35;
}

.cv-contact-card a {
  color: var(--muted);
  text-underline-offset: 4px;
}

.cv-contact-card a:last-child {
  width: max-content;
  margin-top: 10px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
}

.cv-section {
  padding-top: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.cv-capabilities {
  background: var(--cream);
}

.cv-capabilities ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cv-capabilities li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 720;
}

.cv-timeline {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.cv-role {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 46px);
  padding: clamp(24px, 4vw, 38px);
  background: var(--cream);
}

.cv-role h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.1;
}

.cv-role p,
.cv-role span {
  display: block;
  margin: 0;
  color: var(--muted);
}

.cv-role span {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 760;
}

.cv-role ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.cv-meta {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  background: var(--cream);
}

.cv-meta h2 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

.cv-meta p:not(.kicker) {
  color: var(--muted);
}

.cv-software-list {
  columns: 2;
  column-gap: 34px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.cv-software-list li {
  margin-bottom: 8px;
  padding-left: 2px;
}

@media (max-width: 900px) {
  .hero,
  .profile,
  .project-layout,
  .asset-row,
  .guidepost-case,
  .image-row,
  .foundation {
    grid-template-columns: 1fr;
  }

  .cv-hero-grid,
  .cv-role,
  .cv-meta {
    grid-template-columns: 1fr;
  }

  .cv-hero-grid {
    align-items: start;
  }

  .image-row.three-up {
    grid-template-columns: 1fr;
  }

  .hero-image img {
    aspect-ratio: 16 / 10;
  }

  .project-layout img,
  .asset-row img {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px;
  }

  .brand em {
    display: none;
  }

  nav {
    gap: 13px;
    font-size: 0.84rem;
  }

  .hero,
  .profile,
  .project,
  .foundation {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cv-hero,
  .cv-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: clamp(2.55rem, 11vw, 3.8rem);
  }

  .hero-kicker {
    white-space: normal;
  }

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

  .cv-software-list {
    columns: 1;
  }
}
