:root {
  --paper: #f7f4eb;
  --ink: #102227;
  --muted: #596766;
  --line: #b9b7ae;
  --cobalt: #344fc4;
  --acid: #dff15c;
  --coral: #e66f48;
  --lavender: #d6caeb;
  --white: #fffdf8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--sans); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, a, summary, figcaption { overflow-wrap: anywhere; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h1 { overflow-wrap: normal; font-size: clamp(5rem, 11vw, 12rem); line-height: .72; }
h2 { font-size: clamp(3rem, 7vw, 7rem); line-height: .88; }
h3 { margin: 0 0 .6rem; font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; }
p { margin: 0; }

.skip { position: fixed; z-index: 100; top: -5rem; left: 1rem; padding: .75rem 1rem; background: var(--acid); color: var(--ink); font-weight: 700; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

.site-header { min-height: 5.25rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 1rem 2.5vw; border-bottom: 1px solid var(--line); }
.wordmark { width: 3rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: var(--acid); text-decoration: none; font: 700 1.05rem/1 var(--sans); }
.wordmark span { color: var(--cobalt); }
nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.5rem; }
nav a, footer a, .text-link, .button-link { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.example-label { justify-self: end; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; }

.hero { min-height: calc(100vh - 5.25rem); display: grid; grid-template-columns: minmax(19rem, .82fr) minmax(0, 1.18fr); gap: clamp(2rem, 5vw, 7rem); padding: clamp(3rem, 7vw, 7.5rem) 2.5vw 3rem; background: linear-gradient(90deg, var(--paper) 0 40%, var(--lavender) 40% 40.6%, var(--paper) 40.6%); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.eyebrow { margin-bottom: 2rem; font-size: .78rem; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }
.intro { max-width: 34rem; margin: 3rem 0 2rem; font: clamp(1.35rem, 2.2vw, 2.15rem)/1.22 var(--serif); }
.text-link { margin-top: auto; gap: .75rem; font-weight: 700; }
.hero-image { align-self: stretch; margin: 0; display: grid; grid-template-rows: minmax(24rem, 1fr) auto; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; border-bottom: .65rem solid var(--acid); }
.hero-image figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: .75rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.project { padding: clamp(5rem, 10vw, 10rem) 2.5vw; border-top: 1px solid currentColor; }
.project-heading { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(18rem, 29rem); gap: 2rem; align-items: start; margin-bottom: clamp(4rem, 8vw, 8rem); }
.project-number { font: 700 .78rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.project-summary { font: clamp(1.15rem, 1.7vw, 1.55rem)/1.35 var(--serif); }
.light-heading { color: var(--white); }
.project-note { max-width: 48rem; margin: clamp(4rem, 7vw, 7rem) 0 0 auto; padding-left: 2rem; border-left: .5rem solid var(--coral); }
.project-note > p { margin-bottom: 1.5rem; }
details { border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-weight: 700; }
details p { padding: .25rem 0 1.25rem; color: var(--muted); }
.button-link { justify-content: center; padding: .8rem 1.1rem; border: 1px solid currentColor; font-weight: 700; text-align: center; }

.photo-project { background: var(--paper); }
.photo-sequence { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 3rem); align-items: start; }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; }
.photo figcaption, .poster-run figcaption, .identity-layout figcaption, .contribution-layout figcaption { padding-top: .7rem; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.photo.first { grid-area: 1 / 1 / auto / 4; }
.photo.second { grid-area: 1 / 4 / auto / 9; padding-top: 8vw; }
.photo.third { grid-area: 1 / 9 / auto / 13; }
.photo.fourth { grid-area: 2 / 2 / auto / 5; }
.photo.fifth { grid-area: 2 / 5 / auto / 10; padding-top: 9vw; }
.photo.sixth { grid-area: 2 / 10 / auto / 13; }
.photo.seventh { grid-area: 3 / 1 / auto / 5; padding-top: 4vw; }
.photo.eighth { grid-area: 3 / 5 / auto / 13; }

.film-project { color: var(--white); background: var(--ink); }
.film-stage { display: grid; grid-template-columns: minmax(0, 1fr) 12rem; gap: 1.5rem; align-items: end; }
.film-stage video { width: 100%; background: #000; border: 1px solid #405153; }
.film-index { border-top: 1px solid var(--acid); }
.film-index p { display: grid; grid-template-columns: 3.5rem 1fr; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid #405153; }
.film-index span { color: var(--acid); font-size: .78rem; }
.film-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.film-frames img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.film-note { border-color: var(--acid); }
.film-project details p, .zine-project details p { color: #d9dedd; }

.poster-project { background: var(--lavender); }
.poster-run { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 4rem); align-items: start; }
.poster-run figure { margin: 0; }
.poster-run figure:first-child { margin-top: 4rem; }
.poster-run figure:last-child { margin-top: 8rem; }
.poster-run img { width: 100%; border: 1px solid rgba(16, 34, 39, .2); box-shadow: 0 1.5rem 3rem rgba(16, 34, 39, .11); }

.zine-project { color: var(--white); background: var(--cobalt); }
.zine-shelf { display: grid; grid-template-columns: minmax(13rem, .34fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.zine-cover { width: 100%; position: sticky; top: 2rem; border: 1px solid rgba(255,255,255,.55); }
.zine-spreads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.zine-spreads img { width: 100%; border: 1px solid rgba(255,255,255,.55); }
.zine-spreads img:last-child { grid-column: 1 / -1; width: calc(50% - .625rem); }
.zine-actions { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin: 3rem 0 2rem; }
.wide-detail { max-width: 48rem; margin-left: auto; }

.identity-project { color: var(--ink); background: var(--coral); }
.identity-project .light-heading { color: var(--ink); }
.identity-project details p { color: #27383b; }
.identity-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(1.5rem, 4vw, 5rem); align-items: start; }
.identity-layout figure { margin: 0; }
.identity-wordmark { grid-row: span 2; }
.identity-wordmark img, .identity-square img, .identity-sign img { width: 100%; background: var(--white); }
.identity-note { border-color: var(--acid); }

.contribution-project { background: var(--acid); }
.contribution-layout { display: grid; grid-template-columns: minmax(12rem, .55fr) minmax(15rem, .8fr) minmax(18rem, 1fr); gap: clamp(1.5rem, 4vw, 5rem); align-items: center; }
.contribution-layout figure { margin: 0; }
.contribution-layout img { width: 100%; }
.contribution-copy { padding: 2rem 0; }
.contribution-copy > p + p { margin-top: 2rem; }
.pullquote { font: clamp(1.8rem, 3.2vw, 3.4rem)/1.05 var(--serif); letter-spacing: -.025em; }
.contribution-copy details { margin-top: 2rem; }

.about-section { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(22rem, .72fr); gap: clamp(2rem, 4vw, 5rem); padding: clamp(5rem, 10vw, 10rem) 2.5vw; background: var(--ink); color: var(--white); }
.about-intro { max-width: 50rem; margin-top: 2.5rem; font: clamp(1.2rem, 1.9vw, 1.65rem)/1.4 var(--serif); }
.about-facts { display: grid; align-content: start; }
.about-facts section { padding: 1.3rem 0; border-top: 1px solid #526062; }
.about-facts section:last-child { border-bottom: 1px solid #526062; }
.about-facts p { color: #d9dedd; }

.contact-section { min-height: 80vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(5rem, 10vw, 10rem) 2.5vw; background: var(--lavender); }
.sample-email { max-width: 100%; margin: 2rem 0 1rem; font: clamp(1.35rem, 4vw, 4rem)/1.1 var(--serif); }
.contact-note { max-width: 37rem; color: #475451; }
.dark-button { margin-top: 2.5rem; background: var(--ink); color: var(--white); border-color: var(--ink); }

footer { min-height: 7rem; display: grid; grid-template-columns: 1fr 1.5fr auto; align-items: center; gap: 2rem; padding: 1.5rem 2.5vw; border-top: 1px solid var(--ink); background: var(--paper); font-size: .8rem; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; background: var(--paper); }
  .hero-image { grid-template-rows: auto auto; border-left: .65rem solid var(--lavender); }
  .project-heading, .about-section { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .project-heading .project-summary, .about-facts { grid-column: 2; }
  .film-stage { grid-template-columns: 1fr; }
  .film-index { display: grid; grid-template-columns: repeat(3, 1fr); }
  .film-index p { grid-template-columns: 1fr; }
  .contribution-layout { grid-template-columns: .6fr 1fr; }
  .contribution-copy { grid-column: 1 / -1; }
  footer { grid-template-columns: 1fr auto; }
  footer p:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 1rem; }
  .site-header { grid-template-columns: auto 1fr; padding: .75rem 1rem; }
  .example-label { grid-column: 1 / -1; justify-self: start; }
  nav { justify-content: flex-end; gap: .25rem .8rem; }
  .hero, .project, .about-section, .contact-section { padding-left: 1rem; padding-right: 1rem; }
  .hero { padding-top: 3rem; gap: 3rem; }
  h1 { font-size: clamp(4.6rem, 27vw, 8rem); }
  h2 { font-size: clamp(2.75rem, 16vw, 5rem); }
  .hero-image { margin-left: 11vw; }
  .hero-image img { aspect-ratio: 3 / 2; object-fit: cover; }
  .project-heading, .about-section { grid-template-columns: 1fr; gap: 1.25rem; }
  .project-heading .project-summary, .about-facts { grid-column: 1; }
  .photo-sequence { display: flex; flex-direction: column; align-items: stretch; gap: 2.5rem; }
  .photo.first, .photo.fourth, .photo.sixth { width: 68%; }
  .photo.second, .photo.fifth, .photo.eighth { width: 90%; margin-left: auto; }
  .photo.third, .photo.seventh { width: 74%; }
  .photo.second, .photo.fifth, .photo.seventh { padding-top: 0; }
  .project-note { margin-top: 4rem; padding-left: 1rem; }
  .film-frames { grid-template-columns: 1fr; }
  .poster-run { grid-template-columns: 1fr; gap: 2.5rem; }
  .poster-run figure { width: 84%; }
  .poster-run figure:nth-child(2) { margin-left: auto; }
  .poster-run figure:first-child, .poster-run figure:last-child { margin-top: 0; }
  .zine-shelf { grid-template-columns: 1fr; }
  .zine-cover { position: static; width: 62%; }
  .zine-spreads { grid-template-columns: 1fr; }
  .zine-spreads img:last-child { grid-column: auto; width: 100%; }
  .zine-actions { align-items: flex-start; flex-direction: column; }
  .identity-layout { grid-template-columns: 1fr; }
  .identity-wordmark { grid-row: auto; }
  .identity-square { width: 78%; margin-left: auto !important; }
  .identity-sign { width: 78%; }
  .contribution-layout { grid-template-columns: .62fr 1fr; }
  .pullquote { font-size: 2.25rem; }
  footer { grid-template-columns: 1fr; align-items: start; }
  footer p:nth-child(2) { grid-column: 1; grid-row: auto; }
}

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