:root {
  --paper: #f5f5f4;
  --paper-2: #e7e5e4;
  --ink: #1c1a17;
  --muted: #57534e;
  --faint: #a8a29e;
  --line: rgba(28, 26, 23, 0.12);
  --line-strong: rgba(28, 26, 23, 0.22);
  --white-glass: rgba(255, 255, 255, 0.52);
  --serif: "Newsreader", Georgia, serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 30px clamp(22px, 5vw, 48px);
  border-bottom: 1px solid rgba(28, 26, 23, 0.08);
}

.site-header--hero {
  position: relative;
  z-index: 2;
  border-bottom: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.brand {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  text-decoration: none;
}

.brand--mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 245, 244, 0.96) 0%, rgba(245, 245, 244, 0.78) 32%, rgba(245, 245, 244, 0.1) 62%, rgba(245, 245, 244, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 clamp(22px, 5vw, 48px) 54px;
}

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

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.hero h1,
.page-title h1 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(54px, 7.4vw, 100px);
  margin-bottom: 30px;
}

.role {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 34px;
}

.lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.45;
  color: #44403c;
  margin: 0;
}

.hero .lead {
  max-width: 560px;
  margin-bottom: 46px;
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border-radius: 4px;
  padding: 14px 28px;
  font-size: 14.5px;
  text-decoration: none;
  border: 1px solid transparent;
}

.button--primary {
  background: var(--ink);
  color: var(--paper);
}

.button--primary:hover {
  background: #000;
}

.button--secondary {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--ink);
}

.hero-footer {
  position: relative;
  z-index: 1;
  padding: 0 clamp(22px, 5vw, 48px) 34px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.section {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 128px clamp(22px, 5vw, 48px);
}

.about {
  display: block;
}

.about > div {
  max-width: 680px;
}

.about h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 28px 0 32px;
}

.body-copy {
  font-size: 17px;
  line-height: 1.72;
  color: #44403c;
  margin: 0 0 20px;
  max-width: 560px;
}

.body-copy.muted {
  color: var(--muted);
}

.contact-block {
  margin-top: 42px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.contact-links a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 26, 23, 0.24);
}

.contact-links a:hover {
  color: #78716c;
  border-bottom-color: rgba(120, 113, 108, 0.4);
}

.feature-image {
  margin: 0;
}

.feature-image div {
  overflow: hidden;
  border: 1px solid rgba(28, 26, 23, 0.08);
}

.feature-image img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.feature-image figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--faint);
  margin-top: 14px;
}

.index-section {
  padding-top: 0;
}

.link-list {
  margin-top: 8px;
}

.index-link {
  display: grid;
  grid-template-columns: 34px auto minmax(24px, 1fr) auto;
  align-items: baseline;
  gap: 22px;
  text-decoration: none;
  color: var(--ink);
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.index-link:last-child,
.project-link:last-child {
  border-bottom: 1px solid var(--line);
}

.index-link:hover,
.project-link:hover {
  color: #78716c;
}

.index-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
}

.index-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 300;
}

.index-line {
  border-bottom: 1px dotted rgba(28, 26, 23, 0.24);
  transform: translateY(-6px);
}

.index-note {
  font-family: var(--mono);
  font-size: 12px;
  color: #78716c;
  white-space: nowrap;
}

.page-main {
  flex: 1;
}

.page-title {
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 104px clamp(22px, 5vw, 48px) 56px;
}

.page-title h1 {
  font-size: clamp(44px, 6vw, 76px);
  margin: 26px 0;
}

.page-title .lead {
  color: var(--muted);
  max-width: 560px;
  font-size: clamp(19px, 2.2vw, 24px);
}

.projects {
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 48px) 120px;
}

.project-link {
  display: grid;
  grid-template-columns: 34px auto minmax(24px, 1fr) auto;
  align-items: baseline;
  gap: 22px;
  text-decoration: none;
  color: var(--ink);
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.project-link .index-title {
  font-size: clamp(28px, 3.6vw, 38px);
}

.project-description {
  margin: 0 0 34px 56px;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.legal {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 48px clamp(22px, 5vw, 48px) 120px;
}

.legal-panel {
  border: 1px dashed rgba(28, 26, 23, 0.2);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--white-glass);
}

.legal-panel h2 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 12px;
}

.legal-panel p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--muted);
  margin: 0 0 24px;
}

.legal-panel p:last-child {
  margin-bottom: 0;
}

.legal-panel .legal-updated {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--faint);
  margin-bottom: 32px;
}

.legal-panel ul {
  margin: -10px 0 24px 20px;
  padding: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.legal-panel a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 26, 23, 0.24);
}

.legal-panel a:hover {
  color: #78716c;
  border-bottom-color: rgba(120, 113, 108, 0.4);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(28, 26, 23, 0.1);
}

.site-footer__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 40px clamp(22px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.site-footer__inner a {
  color: var(--faint);
  text-decoration: none;
}

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

.footer-nav {
  display: flex;
  gap: 24px;
}

@media (max-width: 760px) {
  .site-header,
  .site-header--hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
  }

  .hero {
    min-height: 760px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(245, 245, 244, 0.98) 0%, rgba(245, 245, 244, 0.88) 42%, rgba(245, 245, 244, 0.18) 100%);
  }

  .hero-content {
    align-items: flex-start;
    padding-top: 52px;
  }

  .role {
    line-height: 1.8;
  }

  .section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

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

  .feature-image img {
    height: 340px;
  }

  .index-link,
  .project-link {
    grid-template-columns: 34px 1fr;
    gap: 12px 18px;
  }

  .index-line {
    display: none;
  }

  .index-note {
    grid-column: 2;
    white-space: normal;
    line-height: 1.5;
  }

  .project-description {
    margin-left: 52px;
  }
}
