:root {
  --paper: #f1efe9;
  --ink: #171a19;
  --muted: #6f7773;
  --white: #f7f6f1;
  --line: rgba(23, 26, 25, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 0.98;
}
h1 { font-size: clamp(4.4rem, 9.5vw, 10rem); }
h2 { font-size: clamp(3rem, 6vw, 6.5rem); }
p { line-height: 1.7; }

.nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  mix-blend-mode: difference;
}
.nav nav { display: flex; gap: 1.5rem; font-size: 0.82rem; }
.name { font-weight: 400; }

.hero, .story {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: white;
  padding: 7rem 5vw 5rem;
}
.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-fallback, .story-fallback {
  position: absolute;
  inset: 0;
}
.hero-fallback {
  background:
    radial-gradient(circle at 68% 35%, rgba(188, 146, 121, .42), transparent 15%),
    radial-gradient(circle at 38% 56%, rgba(107, 145, 150, .48), transparent 25%),
    linear-gradient(140deg, #0c1111, #243332 58%, #101414);
}
.fallback-one {
  background:
    radial-gradient(circle at 72% 45%, rgba(211, 164, 135, .62), transparent 14%),
    linear-gradient(145deg, #111a19, #415e58 58%, #849c94);
}
.fallback-two {
  background:
    radial-gradient(circle at 50% 50%, rgba(246, 239, 209, .75), transparent 7%),
    radial-gradient(circle at 66% 40%, rgba(212, 162, 135, .45), transparent 6%),
    radial-gradient(circle at 38% 65%, rgba(212, 162, 135, .5), transparent 7%),
    linear-gradient(145deg, #1e2d2d, #718a84);
}
.fallback-three {
  background:
    linear-gradient(28deg, transparent 45%, rgba(255,255,255,.12) 45% 46%, transparent 46%),
    linear-gradient(145deg, #101719, #2c444c 56%, #718b94);
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 9, .88), rgba(7, 9, 9, .08) 72%);
}
.hero-content, .story-content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
}
.eyebrow, .chapter, .tag {
  font-size: .72rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow { opacity: .7; }
.eyebrow.dark, .tag { color: var(--muted); opacity: 1; }
.intro, .story-content > p:last-child {
  max-width: 620px;
  font-size: 1.02rem;
  opacity: .72;
}
.scroll {
  position: absolute;
  z-index: 2;
  right: 3vw;
  bottom: 3rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section { padding: 9rem 5vw; }
.statement {
  min-height: 95vh;
  display: flex;
  align-items: center;
}
.statement-inner { max-width: 1200px; }
.statement h2 em {
  color: var(--muted);
  font-weight: 400;
}

.story-content h2 { max-width: 980px; }
.chapter { opacity: .65; }

.section-heading { margin-bottom: 4rem; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.placeholder, .portrait {
  min-height: 420px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #d8ded9, #9fafaa);
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  text-align: center;
  padding: 2rem;
}
.work-card h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
}
.tag { margin-top: 1.4rem; }

.about { background: #dfe4df; }
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 6vw;
  align-items: center;
}
.portrait { min-height: 660px; }
.about-copy { max-width: 700px; }
.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.02rem;
}

.contact {
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.contact-inner { max-width: 950px; }
.contact-inner > p:not(.eyebrow) {
  max-width: 670px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}
.email {
  display: inline-block;
  margin-top: 2rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  border-bottom: 1px solid var(--ink);
}
.links {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  margin-top: 2.7rem;
  font-size: .82rem;
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 3vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .85s ease, transform .85s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .nav nav { display: none; }
  .work-grid, .about-grid { grid-template-columns: 1fr; }
  .portrait { min-height: 500px; }
}
@media (max-width: 600px) {
  .hero, .story { padding-left: 5vw; padding-right: 5vw; }
  .scroll { display: none; }
  .section { padding-top: 6rem; padding-bottom: 6rem; }
  footer { flex-direction: column; gap: .3rem; }
}
