:root {
  color-scheme: light;
  --ink: #20221f;
  --ink-deep: #171916;
  --ink-soft: #666861;
  --paper: #f3eee4;
  --paper-raised: #f8f4ec;
  --paper-muted: #e8e1d5;
  --line: #d5cdbf;
  --line-dark: rgba(248, 244, 236, 0.2);
  --teal: #477975;
  --teal-deep: #315f5c;
  --gold: #c7a64b;
  --white: #fffdf8;
  --focus: #0b66c3;
  --content: 1200px;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Aptos, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 900px;
  margin-bottom: 34px;
  font-size: clamp(3.8rem, 5.1vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
}

h1 span {
  color: var(--teal);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(3.55rem, 5.5vw, 5rem);
  line-height: 0.98;
}

.systems-heading h2,
.next-step h2 {
  font-size: clamp(3.15rem, 4.25vw, 3.5rem);
  letter-spacing: -0.015em;
  line-height: 1.06;
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  line-height: 1.02;
}

[id] {
  scroll-margin-top: 92px;
}

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

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink-deep);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
}

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(110px, 1fr);
  align-items: center;
  min-height: 76px;
  padding: 0 max(28px, calc((100% - var(--content)) / 2));
  background: rgba(243, 238, 228, 0.94);
  border-bottom: 1px solid rgba(32, 34, 31, 0.12);
  backdrop-filter: blur(18px);
}

.identity {
  display: grid;
  width: fit-content;
  color: var(--ink);
  line-height: 1.05;
  text-decoration: none;
}

.identity-name {
  font-size: 0.84rem;
  font-weight: 720;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.identity-role {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

.desktop-nav a,
.header-link {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a::after,
.header-link::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.header-link:hover::after {
  transform: scaleX(1);
}

.header-link {
  justify-self: end;
  color: var(--ink);
}

.mobile-menu {
  display: none;
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.17), transparent 40%),
    var(--paper);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.68fr);
  gap: clamp(44px, 5.2vw, 72px);
  align-items: center;
  width: min(1280px, calc(100% - 56px));
  min-height: 860px;
  margin: 0 auto;
  padding: 142px 0 92px;
}

.hero-copy-block {
  animation: rise-in 650ms both ease-out;
}

.eyebrow,
.row-kicker {
  margin: 0 0 22px;
  color: var(--teal-deep);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.45vw, 1.22rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.button.solid {
  color: var(--white);
  background: var(--ink-deep);
}

.button.solid:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}

.button.text-button {
  gap: 14px;
  padding-right: 2px;
  padding-left: 2px;
  border-color: transparent;
}

.button.text-button:hover {
  color: var(--teal-deep);
}

.hero-portrait {
  position: relative;
  width: min(100%, 470px);
  margin: 0;
  justify-self: end;
  animation: rise-in 760ms 100ms both ease-out;
}

.hero-portrait::before {
  position: absolute;
  z-index: 2;
  top: -18px;
  left: -18px;
  width: 124px;
  height: 124px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  content: "";
  pointer-events: none;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--paper-muted);
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 68%, rgba(23, 25, 22, 0.09));
  content: "";
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(0.82) contrast(0.98);
}

.hero-portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 15px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.discipline-strip {
  overflow: hidden;
  background: var(--paper-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.discipline-track {
  display: flex;
  width: 100%;
  min-width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 30px);
  min-height: 82px;
  padding: 0 28px;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  white-space: nowrap;
}

.discipline-track i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--gold);
  border-radius: 50%;
}

.section-shell,
.systems-inner,
.public-work {
  width: min(var(--content), calc(100% - 56px));
  margin: 0 auto;
}

.section-shell {
  padding: 142px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: 70px clamp(52px, 8vw, 118px);
}

.intro-statement h2 {
  max-width: 660px;
}

.intro-detail {
  padding-top: 40px;
}

.intro-detail p {
  margin-bottom: 24px;
  color: var(--ink-soft);
}

.intro-detail .lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  line-height: 1.26;
}

.metrics {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  min-width: 0;
  padding: 34px 28px 36px 0;
}

.metrics div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.metrics dt,
.proof-list dt {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.metrics dd {
  max-width: 250px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.experience {
  padding-top: 70px;
}

.section-intro,
.proof-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.55fr);
  gap: clamp(56px, 10vw, 140px);
  align-items: end;
  margin-bottom: 74px;
}

.section-intro h2,
.proof-heading h2 {
  max-width: 790px;
  margin-bottom: 0;
}

.section-intro > p,
.proof-heading > p {
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.experience-list {
  border-top: 1px solid var(--line);
}

.experience-row {
  display: grid;
  grid-template-columns: 58px minmax(290px, 0.92fr) minmax(340px, 1.08fr);
  gap: 34px;
  padding: 54px 0 58px;
  border-bottom: 1px solid var(--line);
}

.row-number {
  padding-top: 8px;
  color: var(--teal-deep);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.experience-name h3 {
  max-width: 440px;
  margin-bottom: 0;
}

.row-kicker {
  margin-bottom: 18px;
}

.experience-logo {
  display: block;
  width: min(100%, 400px);
  height: auto;
  margin-top: 26px;
  object-fit: contain;
  object-position: left center;
}

.experience-detail {
  padding-top: 7px;
}

.experience-detail > p {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.experience-detail .experience-tags {
  color: var(--teal-deep);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  line-height: 1.8;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-transform: uppercase;
}

.text-link::after {
  margin-left: 9px;
  content: "↗";
  text-decoration: none;
}

.text-link:hover {
  color: var(--teal-deep);
}

.systems {
  color: var(--white);
  background: var(--ink-deep);
}

.systems-inner {
  display: grid;
  grid-template-columns: minmax(540px, 1.05fr) minmax(500px, 0.95fr);
  gap: clamp(48px, 5vw, 64px);
  padding-top: 150px;
  padding-bottom: 150px;
}

.systems .eyebrow {
  color: #d7b95f;
}

.systems-heading h2 {
  position: sticky;
  top: 120px;
  max-width: 570px;
  color: var(--white);
}

.systems-list {
  border-top: 1px solid var(--line-dark);
}

.system-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px 28px;
  padding: 38px 0 42px;
  border-bottom: 1px solid var(--line-dark);
}

.system-row > span {
  padding-top: 7px;
  color: #d7b95f;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.system-row h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
}

.system-row p {
  grid-column: 2;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.63);
}

.proof {
  padding-bottom: 84px;
}

.proof-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.proof-list > div {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(360px, 1.28fr);
  gap: 80px;
  align-items: start;
  padding: 44px 0 48px;
  border-bottom: 1px solid var(--line);
}

.proof-list dt {
  color: var(--teal-deep);
}

.proof-list dd {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.proof-list .text-link {
  display: flex;
  width: fit-content;
  margin-top: 20px;
}

.next-step {
  display: grid;
  grid-template-columns: minmax(580px, 1.15fr) minmax(480px, 0.85fr);
  gap: clamp(48px, 5vw, 64px);
  padding-top: 88px;
}

.next-step h2 {
  max-width: 650px;
}

.next-links {
  border-top: 1px solid var(--line);
}

.next-links > a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  min-height: 138px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.next-links > a > span {
  max-width: 430px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  line-height: 1.12;
}

.next-links strong {
  color: var(--teal-deep);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.next-links i {
  margin-left: 5px;
  font-style: normal;
}

.next-links > a:hover > span {
  color: var(--teal-deep);
}

.public-work {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.public-work strong {
  margin-right: auto;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.public-work a {
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-underline-offset: 5px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 190px;
  padding: 42px max(28px, calc((100% - var(--content)) / 2));
  color: var(--white);
  background: var(--ink-deep);
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.site-footer strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.site-footer div span,
.site-footer a {
  color: rgba(255, 253, 248, 0.63);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer a {
  text-underline-offset: 6px;
}

.simple-page {
  display: grid;
  width: min(760px, calc(100% - 48px));
  min-height: 100vh;
  align-content: center;
  margin: 0 auto;
}

.simple-page h1 {
  max-width: 700px;
}

.not-found {
  background: var(--paper);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1175px) {
  .systems-inner,
  .next-step {
    grid-template-columns: 1fr;
  }

  .systems-heading h2 {
    position: static;
    max-width: 780px;
  }

  .next-step {
    gap: 36px;
  }

  .next-step h2 {
    max-width: 780px;
  }
}

@media (max-width: 1080px) {
  h1 {
    font-size: clamp(4rem, 7vw, 5.2rem);
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.7fr);
    gap: 52px;
  }

  .discipline-track {
    width: max-content;
    justify-content: flex-start;
  }

  .intro,
  .systems-inner,
  .next-step {
    grid-template-columns: 1fr;
  }

  .intro-detail {
    max-width: 720px;
    padding-top: 0;
  }

  .systems-heading h2 {
    position: static;
    max-width: 780px;
  }

  .experience-row {
    grid-template-columns: 48px minmax(250px, 0.8fr) minmax(300px, 1.2fr);
    gap: 24px;
  }

  .next-step {
    gap: 36px;
  }
}

@media (max-width: 1160px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 68px;
    width: min(calc(100% - 56px), 880px);
    min-height: auto;
    padding-top: 132px;
    padding-bottom: 88px;
  }

  .hero-copy-block {
    order: 1;
  }

  .hero-portrait {
    order: 2;
    width: min(100%, 440px);
    justify-self: start;
  }

  h1 {
    max-width: 860px;
    font-size: clamp(3.6rem, 6.5vw, 4.2rem);
  }
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 76px;
  }

  [id] {
    scroll-margin-top: 76px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 0 20px;
  }

  .identity-role,
  .desktop-nav,
  .header-link {
    display: none;
  }

  .identity-name {
    font-size: 0.75rem;
  }

  .mobile-menu {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    display: flex;
    min-width: 76px;
    min-height: 44px;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    list-style: none;
    text-transform: uppercase;
  }

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

  .menu-icon {
    display: grid;
    gap: 5px;
    width: 18px;
  }

  .menu-icon i {
    display: block;
    height: 1px;
    background: var(--ink);
    transition: transform 160ms ease;
  }

  .mobile-menu[open] .menu-icon i:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .mobile-menu[open] .menu-icon i:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .mobile-menu nav {
    position: absolute;
    top: 56px;
    right: 0;
    display: grid;
    width: min(280px, calc(100vw - 40px));
    padding: 12px 22px;
    color: var(--white);
    background: var(--ink-deep);
    box-shadow: 0 22px 50px rgba(32, 34, 31, 0.2);
  }

  .mobile-menu nav a {
    display: flex;
    min-height: 52px;
    align-items: center;
    border-bottom: 1px solid var(--line-dark);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
  }

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

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 72px;
    width: min(100% - 40px, 680px);
    min-height: auto;
    padding-top: 126px;
    padding-bottom: 80px;
  }

  .hero-copy-block {
    order: 1;
  }

  .hero-portrait {
    order: 2;
    width: min(100%, 480px);
    justify-self: start;
  }

  h1 {
    max-width: 680px;
    font-size: clamp(2.9rem, 10vw, 4.35rem);
  }

  .hero-copy {
    max-width: 620px;
  }

  .discipline-strip {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .discipline-strip::-webkit-scrollbar {
    display: none;
  }

  .section-shell,
  .systems-inner,
  .public-work {
    width: min(100% - 40px, 760px);
  }

  .section-shell {
    padding: 96px 0;
  }

  h2 {
    font-size: clamp(3rem, 10vw, 4.4rem);
  }

  .systems-heading h2,
  .next-step h2 {
    font-size: clamp(2.2rem, 9.2vw, 2.5rem);
    line-height: 1.08;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .metrics div {
    padding: 28px 0 30px;
  }

  .metrics div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .metrics dd {
    max-width: 360px;
  }

  .section-intro,
  .proof-heading {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 52px;
  }

  .experience {
    padding-top: 30px;
  }

  .experience-row {
    grid-template-columns: 38px 1fr;
    gap: 14px 18px;
    padding: 42px 0 46px;
  }

  .experience-name,
  .experience-detail {
    grid-column: 2;
  }

  .experience-detail {
    padding-top: 10px;
  }

  .systems-inner {
    gap: 46px;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .proof-list > div {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 36px 0 40px;
  }

  .next-step {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 64px;
  }

  .next-links > a {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 30px 0 34px;
  }

  .public-work {
    display: grid;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .hero-layout,
  .section-shell,
  .systems-inner,
  .public-work {
    width: calc(100% - 36px);
  }

  .hero-layout {
    gap: 58px;
    padding-top: 112px;
    padding-bottom: 68px;
  }

  h1 {
    margin-bottom: 28px;
    font-size: 2.65rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.78rem;
  }

  h3 {
    font-size: 2.05rem;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    justify-items: stretch;
    margin-top: 32px;
  }

  .button {
    width: 100%;
  }

  .button.text-button {
    justify-content: flex-start;
    padding: 0;
  }

  .hero-portrait::before {
    top: -12px;
    left: -12px;
    width: 90px;
    height: 90px;
  }

  .hero-portrait figcaption {
    display: grid;
    gap: 4px;
  }

  .discipline-track {
    min-height: 70px;
    padding-right: 22px;
    padding-left: 22px;
    font-size: 1.12rem;
  }

  .section-shell {
    padding: 82px 0;
  }

  .intro-detail .lead {
    font-size: 1.48rem;
  }

  .experience-row {
    grid-template-columns: 1fr;
  }

  .experience-name,
  .experience-detail {
    grid-column: 1;
  }

  .row-number {
    padding-top: 0;
  }

  .experience-logo {
    margin-top: 24px;
  }

  .system-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .system-row p {
    grid-column: 1;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    min-height: 220px;
  }
}

@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;
  }
}
