:root {
  --bg: #0b0b0c;
  --panel: #111113;
  --text: #eeeae1;
  --muted: #8d8a84;
  --line: #2b2a29;
  --accent: #a84b3e;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.shell {
  min-height: 100vh;
  width: min(100%, var(--max));
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.topbar {
  min-height: 88px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--text);
  color: var(--bg);
  font-size: 12px;
  line-height: 1;
}
.brand-name { font-size: 15px; }

.nav { display: flex; gap: clamp(16px, 3vw, 36px); color: var(--muted); font-size: 13px; }

.hero {
  min-height: 610px;
  padding: clamp(76px, 9vw, 140px) var(--pad) 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.55fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(40px, 8vw, 120px);
  position: relative;
}

.hero::after {
  content: "71";
  position: absolute;
  right: calc(var(--pad) - 8px);
  top: 22px;
  font-size: clamp(110px, 20vw, 290px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.12em;
  color: transparent;
  -webkit-text-stroke: 1px #242323;
  pointer-events: none;
  user-select: none;
}

.hero-kicker {
  grid-column: 1 / -1;
  margin-bottom: 48px;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  z-index: 1;
}

.hero h1 {
  grid-column: 1;
  margin: 0;
  align-self: end;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(58px, 8.5vw, 136px);
  line-height: 0.88;
  letter-spacing: -0.07em;
  font-weight: 700;
  max-width: 960px;
  z-index: 1;
}

.hero-copy {
  grid-column: 2;
  align-self: end;
  margin: 0 0 8px;
  max-width: 460px;
  color: #c8c4bb;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  z-index: 1;
}

.hero-meta {
  grid-column: 1 / -1;
  margin-top: 72px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.work { padding: clamp(72px, 8vw, 120px) var(--pad); }
.section-label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 24px; }

.project-card {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 230px;
  display: grid;
  grid-template-columns: 90px 1fr minmax(180px, 0.35fr);
  align-items: center;
  gap: 32px;
  transition: background-color 180ms ease;
}
.project-card:hover { background: var(--panel); }
.project-index { color: var(--accent); font-size: 12px; }
.project-main h2 {
  margin: 0 0 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.project-main p { margin: 0; color: #c8c4bb; font-size: 18px; }
.project-side { display: grid; gap: 8px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }

.statement {
  padding: clamp(76px, 9vw, 136px) var(--pad);
  border-top: 1px solid var(--line);
}
.statement p {
  margin: 0;
  max-width: 1050px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 5.5vw, 82px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.footer {
  min-height: 120px;
  padding: 28px var(--pad);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  color: var(--muted);
  font-size: 12px;
}
.footer-left, .footer-right { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-right { justify-content: flex-end; }
.footer a { color: var(--text); }
.footer a:hover { color: var(--accent); }
.muted { color: var(--muted); }

.page-shell { display: flex; min-height: 100vh; flex-direction: column; }
.page-main {
  width: 100%;
  max-width: 1040px;
  margin: 0;
  padding: clamp(80px, 10vw, 150px) var(--pad) clamp(110px, 12vw, 180px);
  flex: 1;
  position: relative;
}
.page-number {
  position: absolute;
  right: var(--pad);
  top: 48px;
  color: transparent;
  -webkit-text-stroke: 1px #242323;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(90px, 14vw, 190px);
  font-weight: 700;
  line-height: 1;
}
.page-main h1 {
  margin: 0 0 44px;
  max-width: 860px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(52px, 8vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}
.page-lede {
  max-width: 760px;
  margin: 0 0 56px;
  color: #c8c4bb;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.contact-link {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--accent);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  letter-spacing: -0.03em;
}
.contact-link:hover { color: var(--accent); }
.contact-link.compact { font-size: 22px; margin-top: 8px; }
.page-note { margin-top: 68px; max-width: 620px; color: var(--muted); font-size: 13px; }
.privacy-copy h2 {
  margin: 58px 0 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.privacy-copy p:not(.page-lede):not(.page-note) { max-width: 720px; color: #b9b5ad; font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.7; }

@media (max-width: 820px) {
  .shell { border-left: 0; border-right: 0; }
  .topbar { min-height: 76px; }
  .brand-name { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 74px; }
  .hero::after { font-size: 150px; top: 34px; }
  .hero h1, .hero-copy { grid-column: 1; }
  .hero-copy { margin-top: 48px; max-width: 560px; }
  .hero-meta { display: grid; justify-content: start; }
  .project-card { grid-template-columns: 56px 1fr; padding: 34px 0; }
  .project-side { grid-column: 2; }
  .footer { align-items: flex-start; flex-direction: column; }
  .footer-right { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .nav { gap: 14px; font-size: 12px; }
  .hero h1 { font-size: 54px; }
  .hero::after { right: 10px; font-size: 118px; }
  .project-card { grid-template-columns: 1fr; }
  .project-index, .project-side { grid-column: 1; }
  .page-main { padding-top: 96px; }
  .page-number { top: 56px; font-size: 86px; }
}

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