:root {
  --paper: #FBF1EA;
  --ink: #2B1A14;
  --ink-body: #3A2820;
  --ink-soft: #4A342A;
  --muted: #7A5E52;
  --accent: #F2A27F;
  --accent-hover: #A4492A;
  --hero-sub: #F1E2D8;
  --footer-muted: #C9AFA2;
  --rule: rgba(43, 26, 20, .16);
  --gutter: clamp(20px, 4vw, 48px);
  --section-gap: clamp(80px, 10vw, 140px);
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent-hover); }
.plain { text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; }
.serif { font-family: var(--serif); font-weight: 400; }
.label { font-size: 13px; color: var(--muted); }

/* Hero */
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  z-index: 0;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(.7) brightness(.45);
  will-change: transform;
}
.nav {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}
.nav__brand { font-weight: 500; }
.nav__links { display: flex; gap: 24px; }
.hero__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 var(--gutter) clamp(32px, 6vh, 64px);
  will-change: opacity, transform;
}
.hero__title {
  font-size: clamp(64px, 11vw, 176px);
  line-height: .88;
  letter-spacing: -.02em;
  margin: 0;
}
.hero__title em, .contact__title em { color: var(--accent); }
.hero__sub {
  margin: 20px 0 0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  max-width: 40ch;
  color: var(--hero-sub);
}

/* Main sheet that slides over the hero */
main {
  position: relative;
  z-index: 1;
  background: var(--paper);
  box-shadow: 0 -30px 60px rgba(43, 26, 20, .35);
}
.section { padding: 0 var(--gutter) var(--section-gap); }

/* About */
.about { padding: var(--section-gap) var(--gutter); }
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about__portrait {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
}
.about__copy { display: flex; flex-direction: column; gap: 24px; }
.about__name {
  font-size: clamp(52px, 6.4vw, 96px);
  line-height: .92;
  letter-spacing: -.02em;
  margin: 0;
}
.about__intro {
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  max-width: 46ch;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.now-list { display: flex; flex-direction: column; border-top: 1px solid var(--ink); margin-top: 8px; }
.now-list__row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}

/* Aspire */
.kicker {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.aspire__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(24px, 5vw, 80px);
  margin-top: 28px;
  align-items: end;
}
.aspire__title {
  font-size: clamp(64px, 9vw, 140px);
  line-height: .85;
  letter-spacing: -.02em;
  margin: 0;
}
.aspire__lede { font-size: 18px; line-height: 1.65; margin: 0; max-width: 48ch; }
.aspire__shot {
  width: 100%;
  aspect-ratio: 2576 / 1307;
  object-fit: cover;
  margin-top: clamp(36px, 4vw, 56px);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(36px, 4vw, 56px);
}
.metric__value { font-family: var(--serif); font-size: clamp(44px, 4.4vw, 64px); line-height: .9; }
.metric__label { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
.aspire__backers {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: clamp(32px, 4vw, 48px) 0 0;
  max-width: 70ch;
}
.links { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 20px; font-size: 15px; font-weight: 500; }

/* Everything else */
.work__title {
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1;
  margin: 0 0 clamp(28px, 3vw, 40px);
}
.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(10px, 3vw, 48px);
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}
.row__head { display: flex; flex-direction: column; gap: 6px; }
.row__title { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; }
.row__body { display: flex; flex-direction: column; gap: 10px; grid-column: span 2; }
.row__body p { font-size: 16px; line-height: 1.65; margin: 0; max-width: 60ch; color: var(--ink-body); }
.row__body a { font-size: 14px; font-weight: 500; }
@media (max-width: 679px) {
  .row__body { grid-column: auto; }
}

/* Outside work */
.outside__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.outside__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 55%; }
.outside__copy { display: flex; flex-direction: column; gap: 16px; }
.outside__line {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.18;
  margin: 0;
  text-wrap: pretty;
}

/* Contact */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(80px, 10vw, 128px) var(--gutter) 32px;
}
.contact__title { font-size: clamp(56px, 9vw, 140px); line-height: .88; margin: 0; }
.contact__links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 28px; font-size: clamp(17px, 1.6vw, 21px); }
.contact a:hover { color: var(--accent); }
.footer {
  margin-top: clamp(64px, 8vw, 104px);
  padding-top: 16px;
  border-top: 1px solid rgba(251, 241, 234, .2);
  font-size: 12px;
  color: var(--footer-muted);
}

/* Scroll reveal: only hidden once JS has opted the element in */
.reveal-pending {
  opacity: 0;
  transform: translateY(40px);
}
.reveal-ready {
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}
.reveal-done { opacity: 1; transform: none; }

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