:root {
  --paper: #f5f4ef;
  --ink: #20211f;
  --muted: #74756e;
  --line: #d7d6cf;
  --accent: #c45d3b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

p { margin: 0; }

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

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

.page-shell { width: min(100% - 48px, 1400px); margin: 0 auto; }

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 28px 0;
}

.wordmark { font-size: 15px; font-weight: 700; letter-spacing: -.05em; }

.site-header nav {
  display: flex;
  gap: 24px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.site-header nav a,
.scroll-cue,
.text-link { transition: color 180ms ease; }

.site-header nav a:hover,
.scroll-cue:hover,
.text-link:hover { color: var(--accent); }

.hero {
  border-top: 1px solid var(--line);
  min-height: min(760px, calc(100vh - 80px));
  padding: 22px 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow-row { display: flex; justify-content: space-between; gap: 24px; }

.eyebrow,
.section-label,
.project-index,
.mini-label,
.tech-line {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: inherit;
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: .94;
  margin: 0;
}

h1 {
  font-size: clamp(4.4rem, 10.3vw, 10.5rem);
  max-width: none;
  padding-bottom: 0.18em;
}

html.pt h1 { font-size: clamp(4.4rem, 8.6vw, 8.9rem); }

h2 { font-size: clamp(2.45rem, 5vw, 5.5rem); max-width: 790px; }

.hero-bottom {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.intro-copy {
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1.35;
  max-width: 47rem;
}

.scroll-cue {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  gap: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 40px;
  grid-template-columns: 22% 1fr;
  padding: 100px 0 120px;
}

.section-label { padding-top: 8px; }

.section-content { max-width: 860px; }

.project-heading {
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
  padding-bottom: 28px;
}

.project-index { margin: 0 0 30px; }

.project-heading h2 { font-size: clamp(3.4rem, 8vw, 8rem); }

.project-deck {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.05;
  margin: 20px 0 0;
  max-width: 600px;
}

.project-copy,
.about-copy {
  font-size: 18px;
  line-height: 1.5;
  max-width: 590px;
}

.project-copy p,
.about-copy p { margin: 0 0 22px; }

.decision {
  border-left: 2px solid var(--accent);
  margin: 42px 0;
  padding-left: 24px;
}

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

.mini-label {
  color: var(--accent);
  margin-bottom: 12px !important;
}

.text-link {
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  gap: 12px;
  padding-bottom: 4px;
}

.project-link { font-size: 14px; margin-top: 14px; }

.about-section h2 { margin-bottom: 45px; }

.tech-line {
  border-top: 1px solid var(--line);
  margin: 56px 0 0;
  padding-top: 18px;
}

.contact-section { padding-bottom: 100px; }

.contact-content > p {
  font-size: 18px;
  margin: 34px 0;
  max-width: 470px;
}

.contact-links { display: flex; gap: 28px; }

.contact-links:empty { display: none; }

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  letter-spacing: .08em;
  padding: 22px 0 32px;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .page-shell { width: min(100% - 32px, 1400px); }

  .site-header { padding: 22px 0; }

  .site-header nav { gap: 14px; }

  .hero { min-height: 690px; padding-bottom: 48px; }

  .eyebrow-row { flex-direction: column; gap: 5px; }

  h1,
  html.pt h1 { font-size: clamp(3.8rem, 17vw, 7rem); }

  .hero-bottom { align-items: start; flex-direction: column; gap: 30px; }

  .intro-copy { font-size: 18px; }

  .scroll-cue { align-items: start; flex-direction: row; gap: 12px; }

  .section { display: block; padding: 72px 0 82px; }

  .section-label { margin-bottom: 40px; }

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

  .project-copy,
  .about-copy,
  .contact-content > p { font-size: 17px; }

  .decision { margin: 36px 0; padding-left: 18px; }

  .about-section h2 { margin-bottom: 32px; }

  .tech-line { line-height: 1.7; margin-top: 44px; }

  .site-footer { gap: 16px; flex-direction: column; }
}

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

  *,
  *::before,
  *::after { transition-duration: .01ms !important; }
}
