:root {
  color-scheme: light;
  --paper: #f3f0e9;
  --ink: #161616;
  --muted: #68645e;
  --line: #d5d0c6;
  --white: #fff;
  --accent: #d96535;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

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

.wordmark,
.back {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.back { color: var(--muted); }

.hero { padding: clamp(70px, 11vw, 140px) 0 72px; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(48px, 9vw, 104px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .9;
}

.lede {
  max-width: 720px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  padding-bottom: 110px;
}

.project {
  display: block;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}

.project:hover { transform: translateY(-4px); border-color: var(--ink); }

.project-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.project:nth-child(2) .project-visual img { object-position: 50% 8%; }

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 10px;
  background: rgba(20,20,20,.88);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-copy { padding: 24px; }
.project-copy h2 { margin: 0 0 8px; font-size: 25px; line-height: 1.1; }
.project-copy p { margin: 0; color: var(--muted); }

.method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.method h2 { margin: 0; font-size: clamp(32px, 5vw, 58px); line-height: 1; letter-spacing: -.04em; }
.method p { margin: 0 0 16px; color: var(--muted); }

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 56px;
  padding: clamp(64px, 9vw, 110px) 0 64px;
  align-items: end;
}

.detail-hero h1 { font-size: clamp(52px, 8vw, 92px); }

.facts {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.facts li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.facts strong { color: var(--ink); }

.artifact-zone {
  padding: 54px 20px 90px;
  background: #d7d5d1;
  border-top: 1px solid #c3c0ba;
  border-bottom: 1px solid #c3c0ba;
}

.artifact-label {
  width: min(920px, 100%);
  margin: 0 auto 18px;
  color: #57534e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.email-frame {
  display: block;
  width: min(700px, 100%);
  height: auto;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}

.email-frame.proof { width: min(808px, 100%); }

.catalog-zone {
  padding: 72px 20px 100px;
  background: #151515;
  color: #fff;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.catalog-intro {
  width: min(1160px, 100%);
  margin: 0 auto 34px;
}

.catalog-intro .artifact-label {
  width: auto;
  margin: 0 0 10px;
  color: #aaa49b;
}

.catalog-intro p:last-child {
  max-width: 720px;
  margin: 0;
  color: #bbb6ae;
}

.spread-grid {
  display: grid;
  width: min(1160px, 100%);
  margin: 0 auto;
  gap: 34px;
}

.spread {
  margin: 0;
}

.spread img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

.spread figcaption {
  margin-top: 12px;
  color: #aaa49b;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 72px 0 110px;
}

.notes h2 { margin: 0; font-size: clamp(32px, 5vw, 58px); line-height: 1; letter-spacing: -.04em; }
.notes p { margin: 0 0 18px; color: var(--muted); }
.notes a { text-underline-offset: 3px; }

footer {
  padding: 28px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .archive-grid,
  .method,
  .detail-hero,
  .notes { grid-template-columns: 1fr; }
  .detail-hero { gap: 38px; }
  .artifact-zone { padding-inline: 10px; }
  .facts li { grid-template-columns: 76px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
