:root {
  --paper: #e9e8e6;
  --ink: #171717;
  --line: rgba(23, 23, 23, .22);
  --pad: clamp(18px, 2.5vw, 38px);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad);
  color: #fff;
  mix-blend-mode: difference;
  font-size: 13px;
  letter-spacing: -.01em;
}
.wordmark { font-weight: 400; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a { opacity: .92; transition: opacity .25s ease; }
.site-header nav a:hover { opacity: .55; }

.hero { height: 180vh; }
.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #ddddda;
}
.hero-image,
.sequence-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image {
  transform: scale(1.02);
  will-change: transform, opacity;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.10) 42%, rgba(0,0,0,.34));
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  z-index: 1;
  inset: 0;
  max-width: 760px;
  margin: auto;
  padding: calc(var(--pad) * 2) var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  will-change: transform, opacity;
}
h1, h2, p { margin: 0; }
h1 {
  font-size: clamp(42px, 6vw, 98px);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 300;
}
.hero-copy p {
  margin-top: 22px;
  max-width: 550px;
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.35;
  letter-spacing: -.025em;
}
.scroll-hint {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 11px;
  letter-spacing: .02em;
  opacity: .85;
}

.sequence { position: relative; height: calc(var(--frames, 3) * 100svh); }
.sequence-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #d9d8d6;
}
.sequence-sticky::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.58));
  pointer-events: none;
}
.sequence-visuals,
.sequence-image { position: absolute; inset: 0; }
.sequence-image {
  opacity: 0;
  transform: scale(1.055);
  transition: opacity 850ms cubic-bezier(.2,.65,.2,1), transform 1200ms cubic-bezier(.2,.65,.2,1);
}
.sequence-image.is-active { opacity: 1; transform: scale(1); }
.sequence-caption {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: 120px minmax(250px, 480px) auto;
  align-items: end;
  gap: 30px;
  inset: auto var(--pad) clamp(32px, 4vw, 58px);
  color: #fff;
  text-shadow: 0 1px 24px rgba(0,0,0,.42);
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 400;
}
.sequence-title { font-size: clamp(20px, 2.25vw, 34px); line-height: 1.02; letter-spacing: -.045em; }
.sequence-counter { justify-self: end; font-size: 12px; }
.sequence-counter b { font-weight: 400; }
.sequence-steps { position: absolute; inset: 0; pointer-events: none; }
.sequence-step { height: 100vh; }

.work { padding: clamp(90px, 13vw, 190px) var(--pad) clamp(80px, 10vw, 130px); }
.section-heading { display: grid; grid-template-columns: 18% minmax(0, 700px); gap: 20px; margin-bottom: clamp(48px, 8vw, 110px); }
.section-heading h2 { font-size: clamp(29px, 4vw, 58px); line-height: .98; letter-spacing: -.058em; font-weight: 300; }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 30px); align-items: start; }
.work-card { margin: 0; overflow: hidden; }
.work-card img,
.work-card video { width: 100%; display: block; border-radius: 6px; object-fit: cover; transition: transform 850ms cubic-bezier(.2,.65,.2,1); }
.work-card img { cursor: zoom-in; }
.work-card:hover img,
.work-card:hover video { transform: scale(1.025); }
.work-card-wide { grid-column: span 7; }
.work-card-wide img,
.work-card-wide video { aspect-ratio: 2 / 1; }
.work-card-tall { grid-column: span 5; }
.work-card-tall img,
.work-card-tall video { aspect-ratio: 4 / 5; }
.work-card-detail { grid-column: 3 / span 7; margin-top: clamp(38px, 9vw, 180px); }
.work-card-detail img,
.work-card-detail video { aspect-ratio: 1.65 / 1; }
.work-meta { display: flex; justify-content: space-between; gap: 20px; padding-top: 11px; border-top: 1px solid var(--line); margin-top: 11px; font-size: 12px; line-height: 1.18; }
.work-meta span { min-width: 0; overflow-wrap: anywhere; }

.about { padding: clamp(90px, 13vw, 190px) var(--pad); border-top: 1px solid var(--line); }
.about-heading { margin-bottom: clamp(34px, 5vw, 70px); }
.about-copy { max-width: 640px; margin-left: 18%; font-size: clamp(19px, 2vw, 30px); line-height: 1.08; letter-spacing: -.04em; }

.contact { padding: clamp(90px, 13vw, 190px) var(--pad); background: var(--ink); color: var(--paper); }
.contact h2 { margin-top: 24px; max-width: 780px; font-size: clamp(32px, 4.6vw, 72px); line-height: .96; letter-spacing: -.063em; font-weight: 300; }
.contact-email {
  display: inline-block;
  margin-top: 22px;
  color: rgba(233, 232, 230, .72);
  font-size: clamp(13px, 1.15vw, 16px);
  letter-spacing: -.015em;
  transition: color .25s ease;
}
.contact-email:hover { color: var(--paper); }
.contact-actions { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.instagram-link, .email-button, .form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(233, 232, 230, .65);
  color: var(--paper);
  background: transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.instagram-link, .email-button {
  width: 48px;
  height: 48px;
  padding: 0;
}
.instagram-link svg, .email-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
}
.instagram-link .instagram-dot { fill: currentColor; stroke: none; }
.instagram-link:hover, .email-button:hover, .form-submit:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.form-submit span { font-size: 16px; line-height: 1; }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 16px var(--pad) 20px; background: var(--ink); color: var(--paper); font-size: 11px; border-top: 1px solid rgba(255,255,255,.25); }

.contact-modal {
  width: min(560px, calc(100vw - 32px));
  max-height: min(760px, calc(100svh - 32px));
  margin: auto;
  padding: 22px;
  overflow: auto;
  border: 1px solid rgba(233, 232, 230, .38);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 18px 90px rgba(0,0,0,.38);
}
.contact-modal::backdrop { background: rgba(8, 8, 8, .7); backdrop-filter: blur(7px); }
.modal-topline { display: flex; align-items: center; justify-content: space-between; }
.modal-close { width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--paper); font-size: 31px; line-height: .75; font-weight: 200; transition: opacity .2s ease; }
.modal-close:hover { opacity: .55; }
.contact-modal h2 { margin-top: 36px; font-size: clamp(38px, 5vw, 62px); line-height: .9; letter-spacing: -.065em; font-weight: 300; }
.modal-intro { margin-top: 15px; max-width: 360px; font-size: 15px; line-height: 1.3; color: rgba(233,232,230,.72); }
.contact-form { margin-top: 34px; }
.form-field { display: grid; gap: 9px; margin-top: 20px; }
.form-field label { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; font-weight: 400; }
.form-field input, .form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(233, 232, 230, .46);
  border-radius: 0;
  outline: none;
  padding: 8px 0 10px;
  color: var(--paper);
  background: transparent;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -.02em;
  transition: border-color .2s ease;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--paper); }
.form-submit { margin-top: 31px; padding: 0 18px; min-width: 164px; }
.form-submit[disabled] { opacity: .58; cursor: wait; }
.form-status { min-height: 20px; margin-top: 15px; font-size: 13px; line-height: 1.3; color: rgba(233,232,230,.74); }
.form-status.is-error { color: #f0b7b7; }
.visually-hidden { position: absolute !important; overflow: hidden; width: 1px; height: 1px; padding: 0; border: 0; margin: -1px; white-space: nowrap; clip: rect(0 0 0 0); }
body.has-work-lightbox { overflow: hidden; }
.work-lightbox {
  width: 100vw;
  max-width: none;
  height: 100svh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}
.work-lightbox[open] {
  display: grid;
  place-items: center;
}
.work-lightbox::backdrop {
  background: rgba(8, 8, 8, .76);
}
.work-lightbox img {
  width: 100vw;
  height: 100svh;
  display: block;
  object-fit: contain;
}



/* Work gallery — square responsive grid */
.work-grid--expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(14px, 2vw, 30px);
  row-gap: clamp(20px, 3vw, 42px);
}
.work-grid--expanded .work-card {
  grid-column: auto;
  align-self: start;
  margin-top: 0;
}
.work-grid--expanded .work-card img,
.work-grid--expanded .work-card video {
  aspect-ratio: 1 / 1;
  object-position: center;
}

@media (max-width: 720px) {
  .site-header { padding-top: 16px; font-size: 12px; }
  .site-header nav { gap: 14px; }
  .hero { height: 150vh; }
  .hero-image { object-position: 50% 50%; }
  .hero-copy p { max-width: 370px; }
  .sequence-caption { display: block; bottom: 24px; }
  .sequence-title { margin-top: 14px; max-width: 360px; }
  .sequence-counter { display: block; margin-top: 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .work-card-wide { grid-column: 1 / -1; }
  .work-card-tall { grid-column: span 1; }
  .work-card-detail { grid-column: 1 / -1; margin-top: 28px; }
  .about-copy { margin-left: 0; }
  .contact-actions { align-items: center; flex-direction: row; }
}


@media (max-width: 720px) {
  .work-grid--expanded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 18px;
  }
  .work-grid--expanded .work-card { grid-column: auto; }
  .work-grid--expanded .work-card img,
  .work-grid--expanded .work-card video { aspect-ratio: 1 / 1; }
  .work-meta {
    flex-direction: column;
    gap: 3px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sequence-image, .work-card img, .work-card video, .instagram-link, .email-button, .form-submit { transition: none; }
}

/* About page */
.about-page { background: #f4f4f2; }
.about-site-header { color: var(--ink); mix-blend-mode: normal; }
.site-header nav a.is-current { opacity: .55; pointer-events: none; }
.about-main { overflow: hidden; }
.about-intro {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(300px, .92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 7vw, 128px);
  padding: clamp(104px, 11vw, 164px) var(--pad) clamp(72px, 8vw, 126px);
  background: #f4f4f2;
  color: var(--ink);
}
.about-intro-media {
  width: min(100%, 560px);
  justify-self: end;
  margin: 0;
  overflow: hidden;
  background: #111;
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
}
.about-intro-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.about-intro-content {
  max-width: 640px;
  padding-right: clamp(0px, 3vw, 54px);
}
.about-intro-content h1 {
  margin-top: clamp(32px, 5vw, 70px);
  font-size: clamp(46px, 5.7vw, 94px);
  line-height: .9;
  letter-spacing: -.07em;
}
.about-lede {
  max-width: 610px;
  margin-top: clamp(30px, 4vw, 60px);
  font-size: clamp(20px, 1.9vw, 32px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.about-biography {
  display: grid;
  grid-template-columns: 18% minmax(0, 720px);
  gap: 20px;
  padding: clamp(104px, 15vw, 230px) var(--pad) clamp(100px, 13vw, 190px);
  border-top: 1px solid var(--line);
}
.about-biography-label { padding-top: 7px; }
.about-biography-copy { display: grid; gap: clamp(30px, 4vw, 55px); }
.about-biography-copy p {
  font-size: clamp(22px, 2.55vw, 42px);
  line-height: 1.04;
  letter-spacing: -.05em;
}
.about-footer-image {
  position: relative;
  min-height: min(76vw, 920px);
  overflow: hidden;
  background: #b9b8b5;
}
.about-footer-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-work-link {
  position: absolute;
  right: var(--pad);
  bottom: var(--pad);
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding: 14px 17px;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(15,15,15,.26);
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(10px);
  transition: background-color .25s ease, color .25s ease;
}
.about-work-link:hover { background: var(--paper); color: var(--ink); }
.about-footer { border-top: 0; }

@media (max-width: 720px) {
  .about-intro {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 46px;
    padding-top: 104px;
    padding-bottom: 74px;
  }
  .about-intro-media { width: min(100%, 460px); justify-self: center; }
  .about-intro-content { max-width: 540px; padding: 0; }
  .about-intro-content h1 { margin-top: 30px; }
  .about-lede { font-size: clamp(21px, 6vw, 31px); }
  .about-biography { grid-template-columns: 1fr; gap: 27px; }
  .about-biography-copy p { font-size: clamp(22px, 6.6vw, 35px); }
  .about-footer-image { min-height: 110vw; }
  .about-work-link { left: var(--pad); right: var(--pad); justify-content: space-between; }
}
