:root {
  --bg: #080a0a;
  --paper: #e8e4db;
  --ink: #161817;
  --muted: #74756f;
  --green: #8fa45f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #080a0a;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img {
  object-fit: cover;
  object-position: center 56%;
  transform: scale(1.012);
  will-change: transform;
  filter: saturate(.93) contrast(1.02);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3,4,4,.48) 0%, rgba(3,4,4,.18) 28%, rgba(3,4,4,0) 55%),
    linear-gradient(180deg, rgba(2,3,3,.22) 0%, transparent 22%, transparent 72%, rgba(2,3,3,.16) 100%);
  pointer-events: none;
}
.grain {
  position: absolute;
  inset: -10%;
  z-index: 2;
  pointer-events: none;
  background: url('assets/grain.png') repeat;
  opacity: .14;
  mix-blend-mode: soft-light;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 34px;
  align-items: center;
  gap: 28px;
  padding: 32px clamp(28px, 3.4vw, 68px);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-header a { text-decoration: none; }
.brand { font-weight: 700; }
.site-header nav { display: flex; gap: 34px; }
.site-header nav a { opacity: .82; transition: opacity .2s ease; }
.site-header nav a:hover { opacity: 1; }
.menu-mark {
  width: 28px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  align-content: center;
  gap: 6px;
}
.menu-mark span { height: 1px; background: currentColor; display: block; }

.hero-copy {
  position: absolute;
  z-index: 4;
  left: clamp(34px, 4.2vw, 86px);
  top: 50%;
  transform: translateY(-37%);
  width: min(520px, 38vw);
}
.hero-copy h1 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(58px, 5.2vw, 108px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.roles {
  margin: 28px 0 0;
  font-size: clamp(9px, .72vw, 12px);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(236,232,223,.78);
}
.rule {
  display: block;
  width: 44px;
  height: 1px;
  margin: 38px 0 34px;
  background: rgba(236,232,223,.6);
}
.intro {
  margin: 0;
  max-width: 340px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(17px, 1.18vw, 22px);
  line-height: 1.55;
  color: rgba(236,232,223,.78);
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  left: clamp(34px, 4.2vw, 86px);
  bottom: 42px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none;
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(236,232,223,.68);
}
.scroll-cue i {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--paper), transparent);
  opacity: .55;
}

.section {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(54px, 7vw, 112px) clamp(28px, 7vw, 120px);
  border-top: 1px solid rgba(23,25,26,.14);
}
.eyebrow {
  margin-bottom: 32px;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #667053;
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
  gap: clamp(48px, 9vw, 160px);
  max-width: 1280px;
}
h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(42px, 5.6vw, 82px);
  line-height: .98;
  letter-spacing: -.035em;
}
.copy {
  align-self: end;
  max-width: 520px;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
  color: #3e403b;
}
.copy p { margin: 0; }
.section-work { background: #171a19; color: #ece8df; }
.section-work .eyebrow { color: #92a35f; }
.project-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  max-width: 1280px;
}
.project-row h2 { font-size: clamp(48px, 6.5vw, 94px); }
.project-row p { color: #a7aaa3; letter-spacing: .05em; }
.project-row a { text-decoration: none; border-bottom: 1px solid rgba(236,232,223,.3); padding-bottom: 4px; }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  padding-top: 54px;
  padding-bottom: 54px;
}
.footer p { color: var(--muted); margin: 0; }
.footer a { text-decoration: none; }

@media (min-aspect-ratio: 2/1) {
  .hero-copy { top: 52%; width: min(520px, 30vw); }
  .hero-copy h1 { font-size: clamp(64px, 4.6vw, 104px); }
  .hero-media img { object-position: center 58%; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr 28px; padding: 24px 22px; }
  .site-header nav { display: none; }
  .menu-mark { display: grid; }
  .hero-media img { object-position: 61% 55%; transform: scale(1.02); }
  .hero-shade {
    background: linear-gradient(180deg, rgba(4,5,5,.2) 0%, rgba(4,5,5,.05) 38%, rgba(4,5,5,.78) 100%);
  }
  .hero-copy {
    left: 22px;
    right: 22px;
    top: auto;
    bottom: 82px;
    width: auto;
    transform: none;
  }
  .hero-copy h1 { font-size: clamp(52px, 15vw, 84px); }
  .roles { margin-top: 20px; font-size: 9px; letter-spacing: .18em; }
  .rule { margin: 24px 0 22px; }
  .intro { font-size: 16px; max-width: 29rem; }
  .scroll-cue { display: none; }
  .section-grid { grid-template-columns: 1fr; gap: 36px; }
  .project-row, .footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { transform: none !important; }
}
