:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --ink: #171714;
  --muted: #77766f;
  --line: #d9d7cf;
  --orange: #e85a32;
  font-family: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }

.site-header, main, .site-footer {
  width: min(100% - 96px, 1440px);
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font: 700 16px/1 "Segoe UI", Arial, sans-serif;
  letter-spacing: -.06em;
}

.wordmark span { margin-left: 3px; font-size: 9px; vertical-align: top; }

.primary-nav { display: flex; gap: 38px; font-size: 13px; }
.primary-nav a { color: var(--muted); transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--ink); }
.menu-toggle { display: none; }

.intro { padding: clamp(82px, 14vw, 190px) 0 clamp(80px, 11vw, 150px); }
.eyebrow, .project-number, .section-heading span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 25px 0;
  font: 500 clamp(62px, 10.5vw, 144px)/.93 "Segoe UI", Arial, sans-serif;
  letter-spacing: -.085em;
}

.accent { color: var(--orange); }
.intro-copy { max-width: 390px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.section-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font: 500 21px "Segoe UI", Arial, sans-serif; letter-spacing: -.04em; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card {
  min-height: clamp(300px, 43vw, 590px);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .25s ease;
}
.project-card:hover { transform: translateY(-5px); }
.project-card--one { background: #e7ded3; }
.project-card--two { background: #d9dcd4; }
.project-number { color: #59574e; }
.project-title { align-self: center; font: 500 clamp(30px, 5vw, 68px)/1 "Segoe UI", Arial, sans-serif; letter-spacing: -.07em; }
.project-link { width: 100%; padding-top: 15px; border-top: 1px solid rgb(23 23 20 / 22%); font-size: 12px; }
.project-link span { float: right; }
.content-note { max-width: 700px; margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.text-page { min-height: calc(100vh - 170px); padding-top: clamp(90px, 14vw, 180px); }
.text-page h1 { margin-bottom: 55px; }
.text-page-copy { max-width: 600px; color: var(--muted); font-size: clamp(17px, 2vw, 22px); line-height: 1.7; }
.text-page-copy p { margin: 0; }
.back-link { display: inline-block; margin-top: 45px; font-size: 13px; }
.poster-placeholder {
  min-height: clamp(260px, 55vw, 650px);
  display: grid;
  place-items: center;
  background: #e7ded3;
  color: #77766f;
  font-size: 13px;
}
.project-page { padding-bottom: 90px; }

.site-footer {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.site-footer a { color: var(--ink); }

@media (max-width: 640px) {
  .site-header, main, .site-footer { width: min(100% - 40px, 1440px); }
  .site-header { min-height: 72px; }
  .menu-toggle {
    display: block;
    padding: 8px 0 8px 12px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 12px;
  }
  .primary-nav {
    position: absolute;
    z-index: 1;
    top: 71px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 20px;
    flex-direction: column;
    gap: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
  }
  .primary-nav.is-open { display: flex; }
  .intro { padding-block: 100px 95px; }
  .project-grid { grid-template-columns: 1fr; gap: 12px; }
  .project-card { min-height: 380px; padding: 20px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .site-footer { min-height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
