/* Wara Harlow. Brutal minimalism: bone, tar, one fluorescent pink.
   Sharp corners everywhere (radius 0). One accent, used on both themes. */

@font-face { font-family: "Big Shoulders Stencil"; src: url(../fonts/big-shoulders-stencil.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(../fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(../fonts/archivo-italic.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/plex-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #eeeeec;
  --bg-2: #e2e2df;
  --ink: #151515;
  --ink-2: #4a4a47;
  --line: rgb(21 21 21 / .16);
  --accent: #ff2e88;
  --on-accent: #151515;
  --shadow: rgb(21 21 21 / .12);

  --stencil: "Big Shoulders Stencil", "Arial Narrow", sans-serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, monospace;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --nav-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121212; --bg-2: #1b1b1a; --ink: #ecebe7; --ink-2: #a5a5a0;
    --line: rgb(236 235 231 / .15); --accent: #ff4a98; --shadow: rgb(0 0 0 / .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121212; --bg-2: #1b1b1a; --ink: #ecebe7; --ink-2: #a5a5a0;
  --line: rgb(236 235 231 / .15); --accent: #ff4a98; --shadow: rgb(0 0 0 / .5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
em { font-style: italic; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 30; background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: .95rem 1.5rem; font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; border: 1.5px solid var(--ink);
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- Nav (z 20) ---------- */
.nav {
  position: sticky; top: 0; z-index: 20; height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem; padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__mark { font: 800 1.5rem/1 var(--stencil); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; margin-right: auto; }
.nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav ul a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: .4rem 0; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.nav ul a:hover, .nav ul a.is-current { background-size: 100% 2px; }
.nav__theme { background: none; border: 1px solid var(--line); padding: .35rem .75rem; font: 500 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.nav__theme:hover { border-color: var(--ink); }
.nav__menu { display: none; }

@media (max-width: 760px) {
  .nav { gap: .75rem; }
  .nav__menu { display: block; background: none; border: 1px solid var(--line); padding: .35rem .75rem; font: 500 .78rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
  .nav nav { position: absolute; left: 0; right: 0; top: var(--nav-h); background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .nav ul a { display: block; font: 800 2.2rem/1.2 var(--stencil); text-transform: uppercase; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: end;
  --hero-pt: clamp(2rem, 4.5vw, 4rem);
  --hero-pb: clamp(2.5rem, 5vw, 4.5rem);
  min-height: calc(100dvh - var(--nav-h));
  padding: var(--hero-pt) var(--gutter) var(--hero-pb);
}
.hero__name {
  font: 900 clamp(5rem, 13.5vw, 13.5rem)/.82 var(--stencil); text-transform: uppercase;
  letter-spacing: -.01em; display: grid; margin-left: -.04em;
}
.hero__sub { margin-top: clamp(1.5rem, 3vw, 2.5rem); max-width: 30ch; font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.4; font-weight: 450; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__portrait { position: relative; align-self: stretch; min-height: 0; }
.hero__portrait img { width: 100%; height: 100%; max-height: calc(100dvh - var(--nav-h) - var(--hero-pt) - var(--hero-pb)); object-fit: cover; object-position: 50% 30%; }
.hero__portrait::after { /* the white streak: one pink cut down the edge of the photo */
  content: ""; position: absolute; left: -3px; top: 9%; width: 6px; height: 30%; background: var(--accent);
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; align-items: start; }
  .hero__portrait img { max-height: none; aspect-ratio: 4 / 5; }
}

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(5rem, 12vw, 11rem) var(--gutter); border-top: 1px solid var(--line); }
.manifesto blockquote { text-align: center; }
.manifesto p { font: 600 clamp(1.9rem, 4.6vw, 4.2rem)/1.08 var(--sans); font-stretch: 88%; letter-spacing: -.02em; text-wrap: balance; max-width: 21ch; margin-inline: auto; }
.manifesto footer { margin-top: 2rem; font: 400 .85rem/1.4 var(--mono); color: var(--ink-2); }

/* ---------- Works (shared) ---------- */
.work { padding-top: clamp(4rem, 8vw, 7rem); }
.work__intro { padding: 0 var(--gutter); max-width: 62rem; }
.work__intro h2 { font: 700 clamp(2rem, 4.2vw, 3.6rem)/1.05 var(--sans); font-stretch: 85%; letter-spacing: -.02em; text-wrap: balance; }
.work__intro p { margin-top: 1.25rem; max-width: 58ch; color: var(--ink-2); }

.period { padding: clamp(4rem, 9vw, 8rem) 0 0; }
.period__head { padding: 0 var(--gutter); display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 2rem; row-gap: .75rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.period__head h3 { grid-row: span 2; font: 900 clamp(3.4rem, 10vw, 9.5rem)/.82 var(--stencil); text-transform: uppercase; }
.period__meta { font: 500 .85rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.period__meta span { color: var(--ink-2); margin-left: .75rem; }
.period__line { max-width: 38ch; color: var(--ink-2); }
@media (max-width: 760px) { .period__head { grid-template-columns: 1fr; } .period__head h3 { grid-row: auto; } }

.art { margin: 0; }
.art__open { display: block; width: 100%; padding: 0; border: 0; background: var(--bg-2); overflow: hidden; }
.art__open img { width: 100%; transition: transform .8s var(--ease), filter .5s var(--ease); }
.art__open:hover img { transform: scale(1.025); }
.art figcaption { display: flex; gap: .6rem; align-items: baseline; margin-top: .7rem; font-size: .95rem; line-height: 1.3; }
.art__num { font: 500 .75rem/1 var(--mono); color: var(--ink-2); }
.art__title { font-weight: 600; }
.art__year { font: 400 .8rem/1 var(--mono); color: var(--ink-2); margin-left: auto; }

/* Period I: the strip. Loud, horizontal, keeps moving. */
.period--neon .period__head h3 { color: var(--accent); }
.strip {
  --h: clamp(16rem, 50vh, 30rem);
  display: flex; gap: clamp(1rem, 2vw, 1.75rem); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) 1rem; scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
  cursor: grab;
}
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.is-dragging .art__open { pointer-events: none; }
.strip .art { flex: 0 0 auto; width: min(calc(var(--h) * var(--r)), 86vw); scroll-snap-align: start; }
.strip .art__open img { height: auto; aspect-ratio: var(--r); object-fit: cover; }
.strip__nav { display: flex; gap: .5rem; padding: 1rem var(--gutter) 0; }
.strip__btn { background: none; border: 1.5px solid var(--ink); padding: .55rem 1rem; font: 500 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; transition: background-color .2s, color .2s; }
.strip__btn:hover { background: var(--ink); color: var(--bg); }
.strip__btn:active { transform: translateY(1px); }

/* Period II: justified mosaic rows, every row one height. */
.mosaic { display: grid; gap: clamp(1.5rem, 3vw, 2.75rem); padding: 0 var(--gutter); }
.mosaic__row { display: flex; gap: clamp(1rem, 2vw, 1.75rem); align-items: flex-start; }
.mosaic__row .art { flex: var(--r) 1 0; min-width: 0; }
@media (max-width: 760px) { .mosaic__row { flex-direction: column; } .mosaic__row .art { width: 100%; } }

/* Period III: the page goes quiet. Sparse, lots of air. */
.period--silence { padding-top: clamp(6rem, 14vw, 13rem); }
.quiet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); row-gap: clamp(5rem, 12vw, 11rem); padding: 0 var(--gutter) clamp(4rem, 8vw, 8rem); }
.quiet .art { grid-column: var(--col); }
.quiet .art figcaption { flex-wrap: wrap; }
@media (max-width: 760px) {
  .quiet { grid-template-columns: 1fr; row-gap: 4.5rem; }
  .quiet .art { grid-column: 1; }
  .quiet .art:nth-child(odd) { margin-right: 12%; }
  .quiet .art:nth-child(even) { margin-left: 12%; }
}

/* ---------- Life ---------- */
.life {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(5rem, 10vw, 9rem) var(--gutter); border-top: 1px solid var(--line);
}
.life__aside { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; }
.life__aside h2 { font: 600 clamp(1.8rem, 3.2vw, 2.8rem)/1.1 var(--sans); font-stretch: 88%; letter-spacing: -.015em; text-wrap: balance; }
.life__aside p { margin-top: 1.25rem; max-width: 40ch; color: var(--ink-2); }
.timeline { display: grid; gap: clamp(2.5rem, 4vw, 3.5rem); }
.timeline li { display: grid; grid-template-columns: clamp(5.5rem, 10vw, 8.5rem) 1fr; gap: 1.5rem; }
.timeline__year { font: 800 clamp(2.2rem, 3.8vw, 3.2rem)/.9 var(--sans); font-stretch: 62%; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 1.15rem; font-weight: 650; margin-bottom: .4rem; }
.timeline p { max-width: 58ch; color: var(--ink-2); }
.timeline__redacted .timeline__year { background: var(--ink); color: var(--bg); align-self: start; padding: .2em .15em 0; text-align: center; }
@media (max-width: 900px) { .life { grid-template-columns: 1fr; } .life__aside { position: static; } }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: .5rem; } .timeline__redacted .timeline__year { justify-self: start; padding-inline: .3em; } }

/* ---------- Studios ---------- */
.studios { padding: clamp(4rem, 8vw, 7rem) var(--gutter); background: var(--bg-2); }
.studios h2 { font: 900 clamp(2.6rem, 6vw, 5.5rem)/.9 var(--stencil); text-transform: uppercase; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.studios__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.studio:last-child { margin-top: clamp(0rem, 14vw, 14rem); }
.studio figcaption { margin-top: 1.25rem; }
.studio h3 { font-size: 1.2rem; font-weight: 650; }
.studio p { margin-top: .5rem; max-width: 50ch; color: var(--ink-2); }
@media (max-width: 760px) { .studios__grid { grid-template-columns: 1fr; } .studio:last-child { margin-top: 1.5rem; } }

/* ---------- Shows ---------- */
.shows { padding: clamp(5rem, 10vw, 9rem) var(--gutter); }
.shows h2 { font: 700 clamp(2rem, 4.2vw, 3.6rem)/1.05 var(--sans); font-stretch: 85%; letter-spacing: -.02em; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.shows__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); row-gap: clamp(2.5rem, 4vw, 3.5rem); counter-reset: none; }
.shows__grid li { display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-content: start; padding-top: 1.25rem; border-top: 1.5px solid var(--ink); }
.shows__coord { grid-column: 1 / -1; font: 400 .78rem/1 var(--mono); color: var(--ink-2); margin-bottom: 1rem; }
.shows__year { grid-row: span 2; font: 800 2.4rem/.85 var(--sans); font-stretch: 62%; }
.shows__grid h3 { font-size: 1.15rem; font-weight: 650; }
.shows__grid p { margin-top: .35rem; color: var(--ink-2); max-width: 46ch; }
.shows__note { margin-top: clamp(3rem, 6vw, 5rem); max-width: 48ch; font: italic 500 clamp(1.2rem, 2vw, 1.6rem)/1.35 var(--sans); }
@media (max-width: 760px) { .shows__grid { grid-template-columns: 1fr; } }

/* ---------- Kindred ghosts: the one marquee ---------- */
.ghosts { border-block: 1px solid var(--line); overflow: hidden; }
.marquee { padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.marquee__track { display: flex; width: max-content; gap: 5rem; padding-left: 5rem; }
.marquee__track li { display: flex; align-items: baseline; gap: .8rem; white-space: nowrap; font: italic 400 1.05rem/1 var(--sans); color: var(--ink-2); }
.marquee__track b { font: 900 clamp(2rem, 4vw, 3.4rem)/1 var(--stencil); font-style: normal; text-transform: uppercase; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .js .marquee__track { animation: marquee 70s linear infinite; }
  .marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee:focus .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { flex-wrap: wrap; width: auto; row-gap: 1.5rem; padding-inline: var(--gutter); } }

/* ---------- Epilogue + contact ---------- */
.epilogue { padding: clamp(6rem, 12vw, 11rem) var(--gutter) clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: clamp(3rem, 7vw, 6rem); column-gap: 2rem; }
.epilogue__quote { grid-column: 1 / span 9; }
.epilogue__quote p { font: 600 clamp(1.8rem, 4.2vw, 3.8rem)/1.08 var(--sans); font-stretch: 88%; letter-spacing: -.02em; text-wrap: balance; }
.epilogue__say { grid-column: 1 / span 6; align-self: end; display: grid; gap: .6rem; font-size: 1.1rem; color: var(--ink-2); }
.epilogue__contact { grid-column: 8 / span 5; align-self: end; border-top: 1.5px solid var(--ink); padding-top: 1.5rem; }
.epilogue__contact h2 { font: 900 clamp(2rem, 3.4vw, 3rem)/.95 var(--stencil); text-transform: uppercase; }
.epilogue__contact p { margin: .8rem 0 1.6rem; color: var(--ink-2); max-width: 40ch; }
@media (max-width: 900px) { .epilogue > * { grid-column: 1 / -1 !important; } }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem var(--gutter) 2rem; border-top: 1px solid var(--line); font: 400 .8rem/1.5 var(--mono); color: var(--ink-2); }

/* ---------- Lightbox (dialog, top layer) ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--ink); }
.lightbox::backdrop { background: var(--bg); }
.lightbox__inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem); gap: clamp(1.5rem, 3vw, 3rem); padding: clamp(1rem, 3vw, 2.5rem); }
.lightbox__fig { display: grid; place-items: center; min-height: 0; }
.lightbox__fig img { max-width: 100%; max-height: calc(100dvh - 5rem); width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px var(--shadow); }
.lightbox__info { align-self: end; display: grid; gap: .8rem; }
.lightbox__num { font: 500 .8rem/1 var(--mono); color: var(--ink-2); }
.lightbox__title { font: 900 clamp(2.2rem, 3.6vw, 3.4rem)/.92 var(--stencil); text-transform: uppercase; }
.lightbox__meta { font: 400 .85rem/1.5 var(--mono); color: var(--ink-2); }
.lightbox__note { font-size: 1.1rem; line-height: 1.5; }
.lightbox__nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.lightbox__nav button { background: none; border: 1.5px solid var(--ink); padding: .6rem 1rem; font: 500 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.lightbox__nav button:hover { background: var(--ink); color: var(--bg); }
.lightbox__nav .lightbox__close { margin-left: auto; background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.lightbox__fig img.is-loading { opacity: .35; filter: blur(6px); }
.lightbox__fig img { transition: opacity .35s var(--ease), filter .35s var(--ease); }
@media (max-width: 900px) {
  .lightbox__inner { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; overflow-y: auto; }
  .lightbox__fig img { max-height: 62dvh; }
  .lightbox__info { align-self: start; }
}

/* ---------- Motion (JS on, motion allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  /* images arrive like a palette-knife pass, left to right */
  .js .art.reveal { transform: none; }
  .js .art.reveal .art__open { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
  .js .art.reveal.is-in .art__open { clip-path: inset(0 0 0 0); }

  .js .hero__name span { display: block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
  .js .hero__name span:last-child { animation-delay: .12s; }
  .js .hero__name { overflow: hidden; padding-bottom: .04em; }
  .js .hero__sub, .js .hero__cta { opacity: 0; animation: fade .9s var(--ease) .45s forwards; }
  .js .hero__cta { animation-delay: .6s; }
  .js .hero__portrait img { clip-path: inset(0 0 0 100%); animation: scrape 1.3s var(--ease) .2s forwards; }
  .js .hero__portrait::after { transform: scaleY(0); transform-origin: top; animation: streak .8s var(--ease) 1.2s forwards; }
}
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes scrape { to { clip-path: inset(0 0 0 0); } }
@keyframes streak { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
