:root {
  --page: #49022a;
  --lavender: #eae0fa;
  --burgundy: #701b40;
  --butter: #fff0a6;
  --font: "BenzinRegular", "Helvetica Neue", Arial, sans-serif;
  --font-strong: "BenzinSemibold", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;

  --card: clamp(280px, 43vw, 620px);
  --gap: 30px;
  --stroke: 5px;
  --radius: 16px;
  --lift: 1.15;
  --room: 44px;
  --speed: 79s;

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html { background: var(--page); }

/* Fixed layer, so the swirls stay on screen behind the whole page as it scrolls. */
body::before,
#swirl {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  height: 100lvh;
}

body::before {
  content: "";
  background: var(--page) url("/assets/swirl.jpg") center / cover no-repeat;
}

/* Liquid swirls, drawn over the still image once they're ready. */
#swirl {
  display: block;
  opacity: 0;
  transition: opacity .6s ease;
}
#swirl.ready { opacity: 1; }

body {
  margin: 0;
  color: var(--lavender);
  font-family: var(--font);
  font-size: 12px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
}
a { color: inherit; }

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
}

.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }

.nav a {
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}
.nav a:hover,
.nav a:focus-visible { color: var(--butter); }

/* Hovering Work lists the projects. On touch screens, Work goes to the homepage grid. */
.site-header { position: relative; z-index: 20; }
.nav-work { position: relative; }
.nav-menu {
  position: absolute;
  top: 100%;
  left: -14px;
  display: grid;
  gap: 2px;
  min-width: max-content;
  margin: 0;
  padding: 10px 0 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.nav-menu::before {
  content: "";
  position: absolute;
  inset: 10px 0 0;
  z-index: -1;
  border-radius: 12px;
  background: rgba(234, 224, 250, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(40, 0, 20, .2);
}
.nav-menu li:first-child { padding-top: 8px; }
.nav-menu li:last-child { padding-bottom: 8px; }
.nav .nav-menu a {
  display: block;
  padding: 6px 14px;
  color: var(--burgundy);
  font-size: 11px;
  white-space: nowrap;
}
.nav .nav-menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.nav .nav-menu a:hover,
.nav .nav-menu a:focus-visible,
.nav .nav-menu a:active { color: var(--butter); }
@media (hover: hover) {
  .nav-work:hover .nav-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.nav-work:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-work.open .nav-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
/* On touch screens a tap on Work opens the list, which ends with a link to the full grid. */
.nav-all { display: none; }
@media (hover: none) {
  .nav-all { display: block; }
  .nav .nav-menu a { padding: 9px 16px; }
}

.name {
  max-width: var(--max);
  margin: 36px auto 0;
  padding: 0 var(--gutter);
  font-size: 0;
}

/* The little spiral that leads the opening. */
.spiral {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10;
  width: clamp(72px, 9vw, 120px);
  height: auto;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  translate: -50% -50%;
}

.name-mark { display: block; }
.name-tag { width: 100%; }

/* Opening: a plain page while the swirl and name play, then the rest fades in. */
html.intro { overflow: hidden; }
html.intro body::before { background-image: none; }
html.intro #swirl { transition: none; }
html.intro .spiral { display: block; will-change: rotate, scale, opacity; }
html.intro .name-mark { will-change: scale, translate, opacity; }
html.intro .track { animation-play-state: paused; }
html.intro .name-mark,
html.intro .nav,
html.intro .name-tag,
html.intro .stage,
html.intro .strip-arrow,
html.intro .work,
html.intro .site-footer { opacity: 0; }

html.settling .nav,
html.settling .name-tag,
html.settling .stage,
html.settling .strip-arrow,
html.settling .work,
html.settling .site-footer { transition: opacity .7s ease; }
html.settling .stage,
html.settling .strip-arrow { transition-delay: .15s; }
html.settling .work,
html.settling .site-footer { transition-delay: .3s; }

/* Scrolling strip. The vertical padding is the room a hovered image grows into. */
.stage {
  margin-top: 8px;
  padding-block: var(--room);
  overflow: hidden;
}

.strip { position: relative; }

.strip-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--lavender);
  cursor: pointer;
  transform: translateY(-50%);
}
.strip-arrow.prev { left: 8px; }
.strip-arrow.next { right: 8px; }
.strip-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--burgundy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  padding-inline: calc(var(--gap) / 2);
  animation: slide var(--speed) linear infinite;
}
.stage.paused .track { animation-play-state: paused; }

@keyframes slide {
  to { transform: translateX(-50%); }
}

.card {
  position: relative;
  flex: 0 0 var(--card);
  width: var(--card);
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: var(--page);
  border: var(--stroke) solid var(--lavender);
  border-radius: var(--radius);
  cursor: pointer;
  outline: 0;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 100%;
  padding: .9em 1.2em 1em;
  background: var(--box);
  color: var(--ink);
  /* Sized from the card so the longest credit fits one line; if it can't, it splits evenly. */
  font-size: clamp(7.5px, calc((var(--card) - 10px) / 46), 12px);
  line-height: 1.45;
  text-align: right;
  text-wrap: balance;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}
.card figcaption strong,
.card figcaption span {
  display: block;
  text-wrap: balance;
}
.card figcaption strong { font-family: var(--font-strong); font-weight: 400; }

.card.on {
  z-index: 5;
  transform: scale(var(--lift));
  box-shadow: 0 18px 44px rgba(20, 0, 12, .55);
}
.card.on figcaption { opacity: 1; transform: none; }
.card:focus-visible { box-shadow: 0 0 0 3px var(--butter); }

/* Project covers */
.work {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--gutter) 96px;
}

.cover {
  max-width: 960px;
  margin: 0 auto;
}
.cover + .cover { margin-top: clamp(48px, 7vw, 88px); }
.cover img { width: 100%; }

.cover-image {
  position: relative;
  display: block;
  overflow: hidden;
  color: inherit;
  outline: 0;
  text-decoration: none;
}

.cover-image img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.cover-image:focus-visible img { transform: scale(1.03); }
.cover-image.going img {
  transform: scale(1.06);
  transition-duration: .22s;
}

@media (hover: hover) {
  .cover-image:not(.going):hover img { transform: scale(1.03); }
}

.cover figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  text-transform: uppercase;
}

.cover-title {
  margin: 0;
  font-family: var(--font-strong);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.cover-by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 .7em;
  margin: .5em 0 0;
  color: var(--butter);
  font-size: 9px;
  letter-spacing: .04em;
  line-height: 1.4;
}
.cover-by .dot {
  flex: none;
  background: var(--butter);
}

.cover-tags {
  margin: 0;
  padding: 0;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: .04em;
  line-height: 1.5;
  list-style: none;
  text-align: right;
}
.cover-tags li { white-space: nowrap; }

/* Footer */
.site-footer {
  background: var(--lavender);
  color: var(--burgundy);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--gutter);
}

.site-footer h2 {
  margin: 0 0 32px;
  font-family: var(--font-strong);
  font-size: clamp(32px, 9.4vw, 112px);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
}

.contact-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-links a {
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  text-decoration: none;
  transition: background-size .25s ease;
}
.contact-links a:hover,
.contact-links a:focus-visible { background-size: 100% 1px; }

.credits { padding-top: 24px; }
.credits p { margin: 0; }

.footer-logo {
  width: 240px;
  height: auto;
  margin-bottom: 14px;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
}

.imprint {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px .75em;
}
.imprint { letter-spacing: .08em; }
.imprint span { white-space: nowrap; }

.dot {
  width: .3em;
  height: .3em;
  background: currentColor;
  border-radius: 50%;
}

/* Project pages */
/* Project headers sit on the same column as the page below them. */
.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(960px + var(--gutter) * 2);
  padding-bottom: 20px;
}
.home-mark img { width: clamp(85px, 9.2vw, 115px); }
.nav a,
.back a { font-size: 12px; }

/* One shared column, so every image on the page lines up to the same widths. */
.details,
.chapter {
  --pair-gap: clamp(4px, .5vw, 6px);
  max-width: calc(960px + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.details {
  display: grid;
  gap: clamp(20px, 2.4vw, 28px);
  padding-top: clamp(20px, 3vw, 40px);
}
.details h1 {
  margin: 0;
  font-family: var(--font-strong);
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.lede {
  max-width: 70ch;
  margin: 0;
  font-size: clamp(11px, .85vw, 12px);
  line-height: 1.6;
}
.details dl {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 16px 24px;
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  text-transform: uppercase;
}
.details dt {
  margin-bottom: 4px;
  color: var(--butter);
  font-family: var(--font-strong);
}
.details dd { margin: 0; }
.details dd span { display: block; }
.details .as-typed { text-transform: none; }

.chapter { margin-top: clamp(80px, 11vw, 160px); }

/* A little spiral breaking a thin line, between the project details and the story. */
.spiral-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(4px, 1vw, 10px);
}
.spiral-rule::before,
.spiral-rule::after {
  content: "";
  flex: 1;
  height: 2px;
  border-radius: 1px;
  background: var(--butter);
}
.spiral-rule img { width: clamp(20px, 2vw, 26px); }
.site-footer .spiral-rule { margin-top: clamp(24px, 3vw, 36px); }
.site-footer .spiral-rule::before,
.site-footer .spiral-rule::after { background: var(--burgundy); }
.details + .chapter { margin-top: clamp(36px, 5vw, 64px); }
.about-hero {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  padding: clamp(5px, 1vw, 12px);
  border-radius: clamp(10px, 1.5vw, 18px);
  background: var(--lavender);
}

.copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px clamp(24px, 4vw, 64px);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.copy h2 {
  margin: 0;
  font-family: var(--font-strong);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}
.copy p {
  max-width: 62ch;
  margin: 0 0 1em;
  font-size: clamp(11px, .85vw, 12px);
  line-height: 1.6;
}

.project figure { margin: 0; }
.project figure img { width: 100%; }
.project figcaption,
.credit {
  margin: 6px 0 0;
  font-size: 10px;
  letter-spacing: .04em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Keeps mixed shapes the same height. */
.pair {
  display: flex;
  gap: var(--pair-gap);
  margin-top: var(--pair-gap);
}
.pair figure {
  flex: var(--ratio) 1 0;
  min-width: 0;
}
.merch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pair-gap);
}
.merch img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.poster-strip .strip-arrow,
.swipe-hint { display: none; }

.posters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.1vw, 14px) var(--pair-gap);
}
/* An odd poster out sits on the left at the same width as the rest. */
.posters .loop-copy { display: none; }
/* A wide photo over a row of two on laptops, the same heights as a normal pair. */
/* The two wide Red Rocks photos each take a full row, then the poster and the video
   share the last row at one height. */
.posters.world {
  grid-template-columns: .7499fr .5625fr;
  gap: var(--pair-gap);
}
.posters.world figure { min-width: 0; }
.posters.world .world-lead,
.posters.world .world-lead + figure { grid-column: 1 / -1; }
.clip-frame { position: relative; aspect-ratio: 9 / 16; background: #000; }
.clip-frame video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.world-clip .reel-play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.world-clip .reel-play svg { width: 22px; height: 22px; margin-left: 3px; }
.posters .odd-out {
  grid-column: 1 / -1;
  justify-self: start;
  width: calc((100% - var(--pair-gap)) / 2);
}
.wide { margin-top: var(--pair-gap); }

/* A single portrait image, the same width as one side of a pair. */
.solo {
  width: calc((100% - var(--pair-gap)) / 2);
  margin: var(--pair-gap) auto 0;
}

.stop { color: var(--butter); }

/* Lines up with the image edges above and below it, on every project page. */
.reveal {
  width: min(960px, calc(100% - var(--gutter) * 2));
  margin: clamp(56px, 7vw, 96px) auto 0;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 3.4vw, 48px);
  background: var(--lavender);
}
.reveal-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 4.4vw, 72px);
  max-width: 1200px;
  margin: 0 auto;
}
.reveal-inner.duo { grid-template-columns: 1fr 1.5fr; }
.reveal.after-copy { margin-top: 4px; }
.project .reveal-sheet {
  max-width: 1200px;
  margin: 0 auto clamp(36px, 6vw, 80px);
}
.tight-top.chapter { margin-top: var(--pair-gap); }
.project .tickets {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  max-width: 1200px;
  margin: 0 auto;
}
/* One row per ticket: label on top, front and back side by side. */
.ticket-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.2vw, 14px) clamp(10px, 1.6vw, 20px);
}
.ticket-label {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--burgundy);
  font-family: var(--font-strong);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
/* On phones: fronts on one row, backs on the row below, each ticket in its own column. */
@media (max-width: 640px) {
  .project .tickets { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ticket-set { display: contents; }
  .ticket-set:nth-child(1) > * { grid-column: 1; }
  .ticket-set:nth-child(2) > * { grid-column: 2; }
  .ticket-label { grid-row: 1; font-size: 9px; }
  .ticket-set img:nth-of-type(1) { grid-row: 2; }
  .ticket-set img:nth-of-type(2) { grid-row: 3; }
  .reveal .tickets figcaption { grid-column: 1 / -1; grid-row: 4; margin-top: 4px; }
}
.reveal .tickets figcaption { margin-top: 0; white-space: normal; }

/* Two images on the same layout, with a handle that wipes between them. */
.compare-hint {
  margin: 0 0 12px;
  color: var(--burgundy);
  font-size: 10px;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}
.compare {
  --split: 50%;
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  outline: 0;
  touch-action: pan-y;
  user-select: none;
}
.compare img { width: 100%; }
.compare .compare-top {
  position: absolute;
  inset: 0;
  height: 100%;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  margin-left: -1px;
  background: var(--burgundy);
  pointer-events: none;
}
.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 0 2px var(--burgundy);
  transform: translate(-50%, -50%);
}
.compare-knob svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--burgundy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}
.compare:focus-visible .compare-knob { box-shadow: 0 0 0 3px var(--butter); }

.hats {
  display: grid;
  gap: clamp(24px, 3.4vw, 48px);
}
.reveal figcaption { color: var(--burgundy); white-space: nowrap; }

.back {
  max-width: var(--max);
  margin: clamp(72px, 9vw, 120px) auto;
  padding: 0 var(--gutter);
}
.back a { text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.back a:hover,
.back a:focus-visible { color: var(--butter); }
.back {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.next-project {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}
.back .next-label { color: var(--butter); font-size: 11px; }
.back .next-name {
  font-family: var(--font-strong);
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.1;
  white-space: nowrap;
}
.next-arrow { display: inline-block; transition: transform .2s ease; }
.next-project:hover .next-arrow,
.next-project:focus-visible .next-arrow { transform: translateX(6px); }

/* Phones and anyone who turns off motion: swipe through, with arrows as the hint. */
@media (hover: none) {
  :root {
    --card: min(78vw, 620px);
    --lift: 1;
    --room: 16px;
  }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip-arrow { display: flex; }
  .stage {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .stage::-webkit-scrollbar { display: none; }
  .track { animation: none; }
  .track .dupe { display: none; }
  .card { scroll-snap-align: center; }
}

@media (max-aspect-ratio: 1/1) {
  body::before { background-image: url("/assets/swirl-phone.jpg"); }
}

/* Tighter stacking on larger screens, where the story and images sit closer together. */
@media (min-width: 641px) {
  .chapter { margin-top: clamp(36px, 4.4vw, 56px); }
  .copy { margin-bottom: 14px; }
  .copy p { margin-bottom: .6em; }
  .copy p:last-child { margin-bottom: 0; }
  .details { gap: clamp(14px, 1.6vw, 20px); }
  .details + .chapter { margin-top: clamp(20px, 2.4vw, 28px); }
  .back { margin-top: clamp(48px, 5vw, 64px); margin-bottom: clamp(48px, 5vw, 64px); }
}

/* Pages with five details: every item stays on its own single line. */
.details dl:has(> div:nth-child(5)) { grid-template-columns: repeat(5, max-content); }
@media (max-width: 1139px) {
  /* Two columns in reading order: Brand | My Role, Scope | Output, Timeline. */
  .details dl:has(> div:nth-child(5)) {
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    column-gap: clamp(40px, 8vw, 96px);
  }
}
@media (max-width: 640px) and (min-width: 371px) {
  /* Brand and My Role side by side, then Creative Scope, Creative Output and
     Timeline each across the full width so every item stays on one line. */
  .details dl:has(> div:nth-child(5)) {
    grid-template-columns: repeat(2, max-content);
    grid-template-areas: "brand role" "scope scope" "output output" "time time";
  }
  .details dl:has(> div:nth-child(5)) > div:nth-child(1) { grid-area: brand; }
  .details dl:has(> div:nth-child(5)) > div:nth-child(2) { grid-area: role; }
  .details dl:has(> div:nth-child(5)) > div:nth-child(3) { grid-area: scope; }
  .details dl:has(> div:nth-child(5)) > div:nth-child(4) { grid-area: output; }
  .details dl:has(> div:nth-child(5)) > div:nth-child(5) { grid-area: time; }
}
@media (max-width: 370px) {
  .details dl:has(> div:nth-child(5)) { grid-template-columns: 1fr; }
}
@media (min-width: 360px) {
  .details dl:has(> div:nth-child(5)) span { white-space: nowrap; }
}

@media (max-width: 760px) {
  .copy { grid-template-columns: 1fr; }
  .details dl { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  /* The artwork has empty space at its sides, so it can run wider than the column. */
  .name-mark img,
  .name-tag {
    width: 112%;
    max-width: none;
    margin-left: -6%;
  }
  .chapter { margin-top: 28px; }
  .copy {
    gap: 8px;
    margin-bottom: 10px;
  }
  .copy p { margin-bottom: .55em; }
  .copy p:last-child { margin-bottom: 0; }
  .details {
    gap: 10px;
    padding-top: 12px;
  }
  .details dl { gap: 10px 16px; }
  .details + .chapter { margin-top: 16px; }
  .spiral-rule { margin-top: 2px; }
  .back {
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .details h1 { font-size: 26px; }
  .copy h2 { font-size: 16px; }
  .lede,
  .copy p { font-size: 10.5px; line-height: 1.55; }
  .details dl { font-size: 10px; }
  .project .nav a,
  .project .back a { font-size: 11px; }
  .back .next-label { font-size: 9px; }
  .back .next-name { font-size: 20px; }
  .project figcaption,
  .credit { font-size: 7px; }

  /* A long item can wrap here, so each one is spaced to stay readable as one item. */
  .details dl {
    grid-template-columns: 1fr 1fr;
    line-height: 1.3;
  }
  .details dt { margin-bottom: 3px; }
  .details dd span { margin-bottom: .25em; }
  .pair { flex-direction: column; }
  .pair figure { flex: none; }
  .pair.keep { flex-direction: row; }
  .pair.keep figure { flex: var(--ratio) 1 0; }
  .solo { width: 100%; }
  /* Three photos on laptops: on phones, two side by side with the third below. */
  .pair.trio {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .pair.trio figure:nth-child(3) { grid-column: 1 / -1; }
  /* Posters become one swipeable row, the same as the homepage strip. */
  .poster-strip .strip-arrow { display: flex; }
  .swipe-hint {
    display: block;
    margin: 0 0 8px;
    color: var(--butter);
    font-size: 9px;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  .posters {
    display: flex;
    gap: var(--pair-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .posters::-webkit-scrollbar { display: none; }
  .posters .loop-copy { display: block; }
  .posters figure,
  .posters .odd-out {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
  }
  /* Mixed shapes share one frame, shown whole, so the row keeps a steady height. */
  .posters.world img,
  .posters.world .clip-frame {
    aspect-ratio: 3 / 2;
    object-fit: contain;
  }
  .posters.world .clip-frame { background: none; }
  .posters.world .clip-frame video { width: auto; margin: 0 auto; aspect-ratio: 9 / 16; }
  .reveal { padding: 20px 12px; }
  .compare-hint {
    margin-bottom: 8px;
    font-size: 7.5px;
  }
  .compare-knob {
    width: 30px;
    height: 30px;
  }
  .compare-knob svg {
    width: 16px;
    height: 16px;
  }
  .reveal-inner { grid-template-columns: 1fr 1fr; }
  /* Can run a little past the photo, into the empty space below the character. */
  .reveal figcaption {
    font-size: 7px;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .hats {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  /* Scales with the screen so the copyright and tagline always share one line. */
  .legal {
    flex-wrap: nowrap;
    gap: 2vw;
    font-size: 1.95vw;
    white-space: nowrap;
  }
  .imprint {
    flex-wrap: nowrap;
    gap: .5em;
    letter-spacing: 0;
  }
  .cover figcaption { gap: 12px; }
  .cover-title { font-size: 20px; }
  .cover-tags {
    flex: none;
    font-size: 10px;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .cover-name { min-width: 0; }
  /* Scales with the screen so it always fits on one line beside the tags. */
  .cover-by {
    flex-wrap: nowrap;
    gap: .55em;
    font-size: 1.75vw;
    letter-spacing: 0;
    white-space: nowrap;
  }
}

/* An Instagram carousel shown inside a phone, swipeable like the real post. */
.phone {
  display: flex;
  width: clamp(260px, 26vw, 320px);
  aspect-ratio: 9 / 19.5;
  min-height: 0;
  overflow: hidden;
  margin: 0 auto;
  padding: 9px;
  border-radius: 46px;
  background: #121212;
  box-shadow: 0 0 0 2px #3a3a3a inset, 0 18px 40px rgba(73, 2, 42, .25);
}
.phone-screen {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  padding-top: 44px;
  border-radius: 38px;
  background: #fff;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  /* iPhone Safari enlarges small text in narrow boxes; this keeps the post at its real size. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 30%;
  height: 22px;
  border-radius: 12px;
  background: #121212;
  transform: translateX(-50%);
}
.ig-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 8px;
}
.ig-avatar { width: 28px; height: 28px; border-radius: 50%; }
.ig-who { display: grid; flex: 1; font-size: 11.5px; line-height: 1.25; }
.ig-who b { font-weight: 600; }
.ig-who span { font-size: 10px; }
.ig-more svg, .ig-icons svg, .ig-save svg { display: block; width: 20px; height: 20px; }
.ig-more svg { fill: #000; }
.ig-frame { position: relative; }
.ig-slides {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
}
.ig-slides::-webkit-scrollbar { display: none; }
.ig-slides img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 1;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-select: none;
}
.ig-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  cursor: pointer;
}
.ig-arrow svg { width: 14px; height: 14px; fill: none; stroke: #262626; stroke-width: 2.4; }
.ig-arrow.prev { left: 8px; }
.ig-arrow.next { right: 8px; }
.ig-arrow[hidden] { display: none; }
@media (hover: none) { .ig-arrow { display: none; } }
.ig-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 9px 10px 6px;
}
.ig-icons { display: flex; gap: 12px; }
.ig-icons svg, .ig-save svg { fill: none; stroke: #000; stroke-width: 1.8; stroke-linejoin: round; }
.ig-save { justify-self: end; }
.ig-dots { display: flex; gap: 4px; }
.ig-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c7c7c7; }
.ig-dots i.on { background: #0095f6; }
.ig-caption {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 2px 10px 0;
  font-size: 11px;
  line-height: 1.35;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 28px), transparent);
}
.ig-caption p { margin: 0 0 9px; }
.ig-caption b { font-weight: 600; }
.ig-top {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  padding: 0 8px 6px;
  font-size: 13px;
  text-align: center;
}
.ig-top svg { width: 20px; height: 20px; fill: none; stroke: #000; stroke-width: 2.2; }
.ig-top b { font-weight: 600; }
.ig-comments { margin: 0; padding: 0 10px; color: #737373; font-size: 11px; }
.ig-fill { flex: 1; }
.ig-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 6px 26px;
  border-top: 1px solid #efefef;
}
.ig-nav svg { width: 21px; height: 21px; fill: none; stroke: #000; stroke-width: 1.8; stroke-linejoin: round; }
.ig-nav img { width: 22px; height: 22px; border-radius: 50%; }
.phone-screen::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 36%;
  height: 4px;
  border-radius: 2px;
  background: #000;
  transform: translateX(-50%);
}
.ig-tag { color: #00376b; }
.ig-dim { color: #737373; }

/* Two phones side by side: the carousel and the reel. */
.phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(10px, 5vw, 72px);
}
.phone-col { display: grid; justify-items: center; align-content: start; width: min-content; }
.reel-credit { color: var(--burgundy); text-align: center; }
.reel-credit .nowrap { white-space: nowrap; }
/* On phones both stay side by side: each phone is drawn at full size, then scaled to fit. */
@media (max-width: 640px) {
  .phone { width: 300px; height: 650px; zoom: .5; }
  /* Each hint and credit line stays on one line, sized to fit the half-size phone. */
  .phone-col .compare-hint { margin-bottom: 6px; font-size: 6px; letter-spacing: 0; white-space: nowrap; }
  .phone-col .reel-credit { font-size: 6.5px; letter-spacing: 0; }
}
@media (max-width: 374px) {
  .phone { zoom: .46; }
  .phone-col .compare-hint { font-size: 5.5px; }
  .phone-col .reel-credit { font-size: 6px; }
}
@media (max-width: 340px) {
  .phone { zoom: .42; }
  .phone-col .compare-hint { font-size: 5px; }
  .phone-col .reel-credit { font-size: 5.5px; }
}
.reel-screen { padding-top: 0; background: #000; }
.reel-screen::after { background: #fff; z-index: 2; }
.reel-screen::before { z-index: 2; }
.reel-screen video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.reel-play svg { width: 28px; height: 28px; margin-left: 4px; fill: #fff; }
.reel-play:hover,
.reel-play:focus-visible { background: rgba(0, 0, 0, .6); transform: scale(1.06); }
.reel-play[hidden] { display: none; }

/* A grid of square brand artworks in a lavender band: five across. */
.art-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
/* The last square holds four smaller artworks, two by two. */
.art-quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
/* A thin lavender frame, so the artwork itself carries the band. */
.reveal.art-band { padding: clamp(5px, 1vw, 12px); }
.art-band .art-caption { margin: clamp(8px, 1vw, 12px) 4px 2px; }
.project .art-grid figure { margin: 0; }
.art-grid img { display: block; width: 100%; aspect-ratio: 1; }
.art-caption { margin: 10px 0 0; color: var(--burgundy); }

/* A phone on its own in a band can be bigger on phones, since it has the row to itself. */
@media (max-width: 640px) {
  .phones > .phone-col:only-child .phone { zoom: .8; }
  .phones > .phone-col:only-child .compare-hint { font-size: 7.5px; }
  .phones > .phone-col:only-child .reel-credit { font-size: 7px; }
}
/* A date range stays on one line, or breaks only after the dash, never mid-date. */
.details dd .date-part { display: inline; white-space: nowrap; }
@media (max-width: 640px) {
  .details dd .date-part { display: block; margin: 0; }
}
.details dd .date-range { display: inline; white-space: nowrap; }

/* About title stays on one line, shrinking to fit narrow phones. */
.about .details h1 { font-size: min(72px, calc((100vw - var(--gutter) * 2) / 14)); }


/* About: the creative toolkit, logos with their names in a lavender box. */
.toolkit {
  border-radius: clamp(10px, 1.5vw, 18px);
  color: var(--burgundy);
}
.toolkit h2 {
  margin: 0;
  font-family: var(--font-strong);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}
.toolkit .stop { color: var(--burgundy); }
.toolkit-lede {
  margin: 8px 0 0;
  padding-bottom: clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid rgba(112, 27, 64, .3);
  font-size: clamp(11px, .85vw, 12px);
}
.toolkit-group { margin-top: clamp(18px, 2.4vw, 28px); }
.toolkit h3 {
  margin: 0 0 14px;
  font-family: var(--font-strong);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tools {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tools li {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}
.tools img { width: clamp(44px, 5vw, 60px); height: auto; }
.tools span {
  font-size: 10px;
  letter-spacing: .04em;
  line-height: 1.4;
  text-transform: uppercase;
  text-wrap: balance;
}
@media (max-width: 640px) {
  .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tools span { font-size: 8.5px; }
}
/* The toolkit box sits the same distance from the copy above as from the heading below. */
.toolkit { margin-top: 28px; }
@media (min-width: 641px) {
  .toolkit { margin-top: clamp(36px, 4.4vw, 56px); }
}

/* SuperBus artworks: seven tall panels in one row on laptops, a full-size swipe on phones. */
.posters.art-panels { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
.art-panels img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; }
.art-band .swipe-hint { color: var(--burgundy); margin: 4px 4px 8px; }
@media (max-width: 640px) {
  .posters.art-panels { gap: 0; }
  .art-panels img { aspect-ratio: 1; }
}

/* It's Murph bucket hat box: kept close to the merch photos above and the next section below. */
.reveal.hats-band { margin-top: clamp(20px, 2.5vw, 32px); }
.hats-band + .chapter { margin-top: clamp(20px, 2.5vw, 32px); }

/* Two-line project title (Experiential & Environmental Design) */
.details h1.two-line { white-space: normal; font-size: min(72px, calc((100vw - var(--gutter)*2)/12)); }

/* Joanna Vargas flat lays: lavender board with labels in the site font */
.flatlay { background: var(--lavender); padding-top: clamp(14px, 2.2vw, 30px); }
.flatlay-labels { position: relative; height: clamp(12px, 1.4vw, 20px); }
.flatlay-labels span {
  position: absolute; left: var(--x); top: 0; transform: translateX(-50%);
  white-space: nowrap; color: var(--burgundy);
  font-family: var(--font-strong); font-size: clamp(8px, 1.15vw, 16px);
  line-height: 1; text-transform: uppercase;
}

/* Long project names (Experiential & Environmental Design) wrap instead of
   pushing the page wider than the screen. */
.next-project { min-width: 0; }
.back .next-name { white-space: normal; text-wrap: balance; }
@media (max-width: 1199px) {
  .nav-menu { min-width: 0; width: 232px; }
  .nav .nav-menu a { white-space: normal; }
}
.back .all-work { white-space: nowrap; }
/* Tablets: a long tag can wrap so a long cover title still fits beside it. */
@media (min-width: 641px) and (max-width: 900px) {
  .cover-name { min-width: 0; }
  .cover-tags { flex: 0 1 auto; max-width: 15em; }
  .cover-tags li { white-space: normal; }
}
/* The long Experiential card title goes to three lines on phones. */
.cover-title br.phone-break { display: none; }
@media (max-width: 640px) {
  .cover-title br.phone-break { display: inline; }
  /* Long titles and tags share the row without touching: tags wrap inside
     their own column and titles shrink slightly on narrow phones. */
  .cover-title { font-size: clamp(15px, 5vw, 20px); }
  .cover-tags { flex: 0 1 auto; max-width: 40%; white-space: normal; }
  .cover-tags li { white-space: normal; }
}

/* Photo booth band (Experiential): the booth on the left, its strips cycling on the right. */
.reveal.booth-band { padding: clamp(10px, 2vw, 28px); }
.booth {
  display: grid;
  grid-template-columns: 1000fr 936fr;   /* equal heights: 2:3 photo beside 780:1250 strips */
  gap: clamp(8px, 2vw, 28px);
  align-items: start;
}
.booth figure { margin: 0; }
.booth img { display: block; width: 100%; height: auto; }
.booth-stack { position: relative; aspect-ratio: 780 / 1250; }
.booth-stack img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; }
.booth-stack img.on { opacity: 1; }
.booth figcaption,
.flats figcaption {
  margin: 0 0 clamp(6px, .8vw, 10px);
  color: var(--burgundy);
  font-family: var(--font-strong);
  font-size: clamp(8px, 1vw, 13px);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 640px) { .booth figcaption { font-size: 7px; } }

/* ACL flats band (Experiential): the activation artwork, labeled, before the photos.
   Two rows of two; each figure grows by its aspect ratio (--r) so a row shares one height. */
.reveal.flats-band { padding: clamp(14px, 2.4vw, 32px); }
.flats { display: grid; gap: clamp(14px, 2.2vw, 30px); }
.flats-row { display: flex; gap: clamp(10px, 2vw, 28px); align-items: flex-end; }
.flats figure { flex: var(--r) 1 0; min-width: 0; margin: 0; }
.flats img { display: block; width: 100%; height: auto; }
.flats figcaption {
  margin: 0 0 clamp(6px, .8vw, 10px);
  color: var(--burgundy);
  font-family: var(--font-strong);
  font-size: clamp(8px, 1vw, 13px);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}
/* Phones keep both rows side by side; labels shrink so they fit over each piece. */
@media (max-width: 640px) {
  .flats figcaption { font-size: 7px; }
}
.reveal.flats-band { margin-top: clamp(20px, 2.5vw, 32px); }
.flats-band + .booth-band { margin-top: var(--pair-gap); }

/* Collaborations band (Experiential): Sofi Tukker video, Bob's Dance Shop photos to follow. */
.reveal.collab-band { padding: clamp(14px, 2.4vw, 32px); }
.collab {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 340px));
  justify-content: center;
  gap: clamp(12px, 2.4vw, 32px);
}
.collab-item { margin: 0; min-width: 0; }
.collab-label {
  margin: 0 0 clamp(6px, .8vw, 10px);
  color: var(--burgundy);
  font-family: var(--font-strong);
  font-size: clamp(8px, 1vw, 13px);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}
.collab-note {
  margin: 8px 0 0;
  color: var(--burgundy);
  font-size: clamp(7px, .8vw, 9px);
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 640px) {
  .collab { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
