
html.force-top-on-load {
  overflow: hidden !important;
  scroll-behavior: auto !important;
}
html.force-top-on-load body {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

:root {
  --paper: #f4efe7;
  --ink: #171714;
  --muted: #6f6a62;
  --line: rgba(23, 23, 20, .18);
  --red: #173f35;
  --brand-green: #173f35;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.35;
  letter-spacing: -.02em;
}
img, video { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 28px;
  color: #fff;
  mix-blend-mode: normal;
  transition: color .28s ease;
  pointer-events: none;
}
.site-header a, .site-header button { pointer-events: auto; }

.site-header.on-light { color: var(--brand-green); }
.site-header.on-dark { color: #fff; }
.brand { display: grid; gap: 4px; line-height: .9; letter-spacing: -.045em; }
.brand-name { display: block; font-size: 22px; font-weight: 500; white-space: nowrap; }
.brand-name em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-style: italic; }
.brand small { font-size: 10px; line-height: 1; text-transform: uppercase; letter-spacing: .20em; font-weight: 400; }
nav { display: flex; gap: 25px; font-size: 12px; }
nav a { border-bottom: 1px solid transparent; }
nav a:hover { border-bottom-color: currentColor; }
.menu-toggle { display: none; border: 0; color: inherit; background: transparent; padding: 0; }

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 52% 48%;
  background: #173f35;
  color: #fff;
}
.hero-image {
  min-height: 100svh;
  background: url("assets/new-tomatoes.webp") center center / cover no-repeat;
}
.hero-copy {
  min-height: 100svh;
  padding: 130px 5vw 55px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.eyebrow { margin: 0 0 20px; font-size: 10px; letter-spacing: .20em; text-transform: uppercase; }
.hero h1 {
  margin: 0;
  font-size: clamp(72px, 10vw, 150px);
  line-height: .82;
  font-weight: 500;
  letter-spacing: -.075em;
}
.hero h1 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.hero-bottom {
  margin-top: 55px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 35px;
  border-top: 1px solid rgba(255,255,255,.45);
  padding-top: 18px;
}
.hero-bottom p { max-width: 430px; margin: 0; font-size: clamp(16px, 1.5vw, 23px); }
.hero-tagline { font-family: Georgia, 'Times New Roman', serif; font-style: italic; }
.arrow-link { font-size: 12px; white-space: nowrap; }
.arrow-link span { display: inline-block; margin-left: 10px; }

.work-section { padding: 105px 28px 115px; }
.section-heading { display: grid; grid-template-columns: .52fr 1.48fr; gap: 20px; align-items: start; margin-bottom: 58px; }
.section-heading .eyebrow { padding-top: 12px; color: var(--muted); }
.section-heading h2, .about h2, .contact h2 {
  margin: 0;
  font-size: clamp(52px, 7.3vw, 112px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.06em;
}

.portfolio-grid {
  overflow-anchor: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tile { margin: 0; min-width: 0; }
.media-button {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  background: #ddd5ca;
  cursor: zoom-in;
  overflow: hidden;
}
.media-button.is-video { cursor: pointer; }
.media-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}
.media-button:hover img { transform: scale(1.018); filter: saturate(1.04); }

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(58px, 6vw, 88px);
  height: clamp(58px, 6vw, 88px);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(244,239,231,.92);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
  transition: transform .25s ease, background .25s ease;
}
.play-badge::before {
  content: '';
  display: block;
  margin-left: 6%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid currentColor;
}
.media-button:hover .play-badge { transform: translate(-50%, -50%) scale(1.07); background: #fff; }
.video-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 7px 9px 6px;
  background: rgba(23,23,20,.82);
  color: #fff;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.about {
  padding: clamp(88px, 9vw, 145px) 28px clamp(96px, 10vw, 155px);
  border-top: 1px solid var(--line);
}
.about-inner {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(110px, .22fr) minmax(0, 1fr);
  gap: clamp(38px, 6vw, 110px);
  align-items: start;
}
.about .eyebrow {
  margin: .45em 0 0;
  color: var(--muted);
}
.about-content {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: start;
}
.about-portrait {
  margin: 0;
}
.about-portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(1);
}
.about-text {
  min-width: 0;
}
.about-location {
  margin: 0 0 24px;
  color: var(--brand-green);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.about-copy {
  width: 100%;
  max-width: 880px;
}
.about-copy p { margin: 0; }
.about-copy p:first-child {
  font-size: clamp(27px, 3vw, 47px);
  line-height: 1.08;
  letter-spacing: -.042em;
  text-wrap: balance;
}
.about-copy p + p {
  max-width: 690px;
  margin-top: clamp(38px, 4vw, 58px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.48;
  letter-spacing: -.015em;
}

.contact {
  padding: 95px 28px 75px;
  background: var(--brand-green);
  color: #f7f2e9;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 100px;
  align-items: end;
}
.contact .eyebrow { color: rgba(255,255,255,.68); }
.contact h2 { font-size: clamp(60px, 8.5vw, 132px); }
.contact-details { border-top: 1px solid rgba(255,255,255,.24); }
.contact-details a {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 25px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.24);
}
.contact-details a span { color: rgba(255,255,255,.68); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.contact-details a strong { font-size: clamp(16px, 1.45vw, 21px); font-weight: 400; overflow-wrap: anywhere; }
.contact-details a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

footer {
  padding: 20px 28px 24px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background: var(--brand-green);
  color: rgba(255,255,255,.62);
  font-size: 11px;
  border-top: 1px solid rgba(255,255,255,.14);
}
footer a:hover { color: #fff; }

.lightbox {
  width: min(94vw, 1600px);
  max-width: none;
  height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(10,10,9,.93); backdrop-filter: blur(5px); }
.lightbox-stage { width: 100%; height: 100%; display: grid; place-items: center; }
.lightbox-stage img, .lightbox-stage video { width: 100%; height: 100%; object-fit: contain; }
.lightbox-stage video { background: #000; }
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 26px;
  z-index: 3;
  border: 0;
  background: rgba(0,0,0,.18);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.loading-note { grid-column: 1 / -1; padding: 30px 0; color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 62svh; }
  .hero-copy { min-height: auto; padding: 70px 24px 55px; }
  .hero h1 { font-size: clamp(70px, 17vw, 130px); }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading .eyebrow { padding: 0; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-inner, .contact { grid-template-columns: 1fr; gap: 55px; }
  .about-content { grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 38px; }
  .about-copy { max-width: 900px; }
}

@media (max-width: 620px) {
  .site-header { padding: 16px 18px; align-items: start; }
  .brand-name { font-size: 18px; }
  .brand small { font-size: 9px; }
  .menu-toggle { display: block; font-size: 12px; }
  nav {
    display: none;
    position: absolute;
    top: 48px;
    right: 18px;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-size: 14px;
  }
  nav.open { display: flex; }
  .hero-image { min-height: 58svh; }
  .hero-copy { padding: 58px 18px 42px; }
  .hero h1 { font-size: clamp(67px, 20vw, 100px); }
  .hero-bottom { grid-template-columns: 1fr; align-items: start; gap: 26px; margin-top: 42px; }
  .work-section, .about, .contact { padding-left: 18px; padding-right: 18px; }
  .work-section { padding-top: 78px; padding-bottom: 84px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: clamp(48px, 15vw, 76px); }
  .portfolio-grid { grid-template-columns: 1fr; gap: 8px; }
  .media-button { aspect-ratio: 1 / 1; }
  .about { padding-top: 72px; padding-bottom: 84px; }
  .about-inner { gap: 32px; }
  .about .eyebrow { margin-top: 0; }
  .about-content { grid-template-columns: 1fr; gap: 32px; }
  .about-portrait { max-width: 520px; }
  .about-location { margin-bottom: 18px; }
  .about-copy p:first-child { font-size: clamp(30px, 9.5vw, 44px); }
  .about-copy p + p { margin-top: 38px; }
  .contact { padding-top: 75px; padding-bottom: 65px; gap: 48px; }
  .contact h2 { font-size: clamp(55px, 18vw, 90px); }
  .contact-details a { grid-template-columns: 80px 1fr; gap: 12px; }
  footer { padding-left: 18px; padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .media-button img, .play-badge { transition: none; }
}


/* Credits page */
.credits-page {
  background: var(--paper);
}

.credits-header {
  position: fixed;
  color: #fff;
  background: #173f35;
  mix-blend-mode: normal;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.credits-header nav a.active {
  border-bottom-color: currentColor;
}

.credits-masthead {
  min-height: 58svh;
  padding: 150px 28px 66px;
  background: #173f35;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: end;
}

.credits-masthead .eyebrow {
  margin-bottom: 24px;
}

.credits-masthead h1 {
  margin: 0;
  font-size: clamp(88px, 13vw, 200px);
  line-height: .80;
  font-weight: 500;
  letter-spacing: -.075em;
}

.credits-masthead-note {
  margin: 0 0 8px;
  max-width: 330px;
  color: rgba(255,255,255,.72);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.35;
}

.credits-section {
  padding: 92px 28px 118px;
  border-bottom: 1px solid var(--line);
}

.credits-section-heading {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 58px;
}

.credits-section-heading .section-number {
  padding-top: 11px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .18em;
}

.credits-section-heading h2 {
  margin: 0;
  font-size: clamp(58px, 7.8vw, 118px);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -.065em;
}

.year-group {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 34px;
  padding: 0 0 54px;
}

.year-group + .year-group {
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.year-label {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1;
}

.year-credits {
  border-top: 1px solid var(--ink);
}

.credit-item {
  padding: 24px 0 27px;
  border-bottom: 1px solid var(--line);
}

.credit-item h3 {
  margin: 0 0 18px;
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.credit-meta {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(250px, 1.2fr) minmax(180px, .9fr);
  gap: 28px;
}

.credit-meta div {
  display: grid;
  gap: 5px;
  align-content: start;
}

.credit-meta span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.credit-meta strong {
  font-size: 14px;
  line-height: 1.42;
  font-weight: 400;
}

.advertising-list {
  margin-left: 174px;
  border-top: 1px solid var(--ink);
}

.advertising-list .credit-item {
  padding-top: 28px;
  padding-bottom: 31px;
}

.advertising-list .credit-item h3 {
  font-size: clamp(24px, 2.4vw, 36px);
}

@media (max-width: 900px) {
  .credits-masthead {
    grid-template-columns: 1fr;
    min-height: 54svh;
    gap: 40px;
  }

  .credits-masthead-note {
    max-width: 600px;
  }

  .credits-section-heading,
  .year-group {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 24px;
  }

  .credit-meta {
    grid-template-columns: 1fr 1fr;
  }

  .credit-meta div:last-child {
    grid-column: 1 / -1;
  }

  .advertising-list {
    margin-left: 116px;
  }
}

@media (max-width: 620px) {
  .credits-masthead {
    padding: 112px 18px 52px;
    min-height: 48svh;
  }

  .credits-masthead h1 {
    font-size: clamp(76px, 26vw, 120px);
  }

  .credits-section {
    padding: 70px 18px 84px;
  }

  .credits-section-heading {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    margin-bottom: 42px;
  }

  .credits-section-heading h2 {
    font-size: clamp(50px, 15vw, 78px);
  }

  .year-group {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 42px;
  }

  .year-group + .year-group {
    padding-top: 42px;
  }

  .year-label {
    font-size: 34px;
  }

  .credit-meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .credit-meta div:last-child {
    grid-column: auto;
  }

  .advertising-list {
    margin-left: 0;
  }
}
