/* Layout: full-bleed photo opener, then a single quiet column of text, an image wall, footage reels and the night itself. Monochrome, VHS grain over everything. */
:root {
  --ink: #0a0a09;
  --ink-2: #151513;
  --paper: #e8e5de;
  --dim: #8d8a83;
  --line: #2a2926;
  --rec: #d2483a;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  background: var(--ink);
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-variation-settings: 'wdth' 100;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--ink);
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 1px solid var(--paper);
  outline-offset: 3px;
}

/* grain + scanlines */
.grain {
  position: fixed;
  /* extra overscan so the grain still covers the screen while iPhone Safari's toolbars slide in and out */
  inset: -25%;
  z-index: 50;
  pointer-events: none;
  opacity: 0.09;
  background-size: 180px;
  will-change: transform;
  animation: grain 1s steps(6) infinite;
}
.scan {
  position: fixed;
  inset: -20vh 0;
  z-index: 49;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 3px);
}
/* while a photo or video is open full screen, hold the grain still */
body.viewing .grain {
  animation-play-state: paused;
}
@keyframes grain {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-4%, 3%);
  }
  40% {
    transform: translate(3%, -5%);
  }
  60% {
    transform: translate(-2%, 6%);
  }
  80% {
    transform: translate(5%, 1%);
  }
  100% {
    transform: translate(0, 0);
  }
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.label {
  font-family: var(--body);
  font-weight: 300;
  text-transform: lowercase;
  letter-spacing: 0.14em;
  line-height: 1.25;
}
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

/* nav */
.nav {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--gutter-r) 18px var(--gutter);
  mix-blend-mode: difference;
  color: #fff;
}
.nav .mark {
  font-size: 13px;
  text-decoration: none;
}
.nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav ul a {
  font-size: 12px;
  text-decoration: none;
  opacity: 0.75;
}
.nav ul a:hover {
  opacity: 1;
}
@media (max-width: 560px) {
  .nav ul {
    display: none;
  }
}

/* hero */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  filter: grayscale(1) contrast(1.06) brightness(0.82);
  transform: scale(1.06);
  animation: settle 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes settle {
  to {
    transform: scale(1);
  }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 9, 0.35),
    transparent 30%,
    transparent 62%,
    rgba(10, 10, 9, 0.9)
  );
}
.hero-title {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: clamp(48px, 9vh, 96px);
  font-size: clamp(22px, 3.4vw, 40px);
}
.hero-title span {
  display: block;
}
.hero-title span + span {
  padding-left: 1.2em;
}
.edge {
  position: absolute;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 12px;
  color: rgba(232, 229, 222, 0.7);
}
.edge.l {
  left: calc(var(--gutter) - 2px);
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
}
.edge.r {
  right: calc(var(--gutter-r) - 2px);
  bottom: clamp(48px, 9vh, 96px);
}
.tc {
  position: absolute;
  z-index: 2;
  right: var(--gutter-r);
  top: calc(64px + env(safe-area-inset-top, 0px));
  color: rgba(232, 229, 222, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tc i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rec);
  animation: blink 1.4s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: rgba(232, 229, 222, 0.55);
  font-size: 10px;
}

/* statement */
.wrap {
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.statement {
  padding-block: clamp(80px, 14vw, 160px);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.statement p {
  margin: 0 auto 1.2em;
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.45;
  max-width: 34ch;
  text-wrap: pretty;
}
.statement p.small {
  font-size: 15px;
  color: var(--dim);
  max-width: 52ch;
}

/* stacked type */
.stack {
  padding-block: 24px clamp(60px, 10vw, 120px);
  overflow: hidden;
}
.stack-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: 'wdth' 112;
  text-transform: uppercase;
  font-size: clamp(40px, 17vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.stack-word {
  display: grid;
  justify-items: center;
}
.stack-word span:nth-child(1) {
  color: #3a3935;
}
.stack-word span:nth-child(2) {
  color: var(--paper);
}
.stack-word span:nth-child(3) {
  color: #5a5852;
}

/* section heads */
.head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-block: 18px 28px;
  max-width: 1400px;
  margin: 0 auto;
}
.head h2 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 300;
}

/* gallery */
.gallery {
  max-width: 1400px;
  margin: 0 auto;
  columns: 2 300px;
  column-gap: 12px;
  padding-bottom: clamp(80px, 12vw, 140px);
}
.tile {
  break-inside: avoid;
  margin: 0 0 12px;
  position: relative;
  cursor: zoom-in;
  background: var(--ink-2);
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
}
.tile img {
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.05);
  transition:
    filter 0.7s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tile:hover img,
.tile:focus-visible img,
.tile.on img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.02);
}
.tile figcaption {
  position: absolute;
  left: 10px;
  bottom: 8px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  color: rgba(232, 229, 222, 0.85);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.ph {
  aspect-ratio: 4/5;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  background: repeating-linear-gradient(135deg, var(--ink-2) 0 10px, var(--ink) 10px 20px);
}
.ph.wide {
  aspect-ratio: 4/3;
}
.ph .mono {
  text-align: center;
}

/* footage: full-width banner */
.tape-banner {
  position: relative;
  isolation: isolate;
  height: min(78vh, 62vw);
  min-height: 360px;
  overflow: hidden;
  background: var(--ink-2);
  margin-bottom: clamp(32px, 5vw, 64px);
}
@media (max-width: 720px) {
  /* phones: let the footage run tall instead of a thin strip */
  .tape-banner {
    height: 72svh;
    min-height: 460px;
    max-height: 720px;
  }
}
.tape-banner video {
  opacity: 0;
  transition: opacity 1.6s ease;
  position: absolute;
  /* bleed a few pixels past the edges; the banner clips them. On iPhone the video and the
     dark overlay can round to different pixel edges, which leaves a light hairline. */
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}
.tape-banner::after {
  content: '';
  position: absolute;
  inset: -3px;
  background:
    linear-gradient(to bottom, rgba(10, 10, 9, 0.55), transparent 30%, transparent 60%, rgba(10, 10, 9, 0.85)),
    rgba(10, 10, 9, 0.25);
}
.tape-banner-text {
  position: absolute;
  z-index: 2;
  inset: auto 0 clamp(32px, 7vh, 72px);
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.tape-banner-text p {
  margin: 0;
  color: rgba(232, 229, 222, 0.75);
}
.tape-banner-text h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 300;
}
.tape-banner video.ready {
  opacity: 1;
}

/* footage: cards */
.reels {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: clamp(80px, 12vw, 140px);
}
@media (max-width: 900px) {
  .reels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.reel {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  position: relative;
  aspect-ratio: 9/14;
  overflow: hidden;
  background: var(--ink-2);
}
.reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.1);
}
.reel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(10, 10, 9, 0.85));
}
.reel .play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border: 1px solid rgba(232, 229, 222, 0.7);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.reel .play::before {
  content: '';
  border-left: 12px solid var(--paper);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}
.reel .meta {
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: rgba(232, 229, 222, 0.85);
}
.reel .meta span:first-child {
  font-size: 14px;
}

/* the night */
.night {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 24px;
}
.night .tile {
  margin: 0;
  aspect-ratio: 4 / 5;
}
.night .tile img {
  height: 100%;
  object-fit: cover;
}
/* the main wall runs wide across the top */
.night .tile:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}
@media (max-width: 720px) {
  .night {
    grid-template-columns: 1fr 1fr;
  }
  .night .tile:first-child {
    aspect-ratio: 4 / 3;
  }
  .night .tile:last-child {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
  }
}
.night-note {
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: clamp(80px, 12vw, 140px);
  color: var(--dim);
  font-size: 15px;
}

/* soundtrack */
.sound {
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: clamp(80px, 12vw, 140px);
}
.sound iframe {
  display: block;
  width: 100%;
  max-width: 960px;
  height: 480px;
  margin: 0 auto;
  border: 0;
  border-radius: 12px;
  background: var(--ink-2);
}
@media (max-width: 720px) {
  .sound iframe {
    height: 420px;
  }
}

/* footer */
footer {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-block: 56px calc(28px + env(safe-area-inset-bottom, 0px));
}
.foot-cols {
  display: grid;
  grid-template-columns: 1fr minmax(0, 360px) 1fr;
  gap: 40px;
}
.foot-cols > .news {
  text-align: center;
}
.news p {
  margin-inline: auto;
}
.news form {
  margin-inline: auto;
  text-align: left;
}
.foot-cols > .follow {
  justify-self: end;
  text-align: right;
}
.social {
  justify-content: flex-end;
}
.foot-cols h3 {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
}
.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.foot-links a {
  text-decoration: none;
  color: var(--dim);
  font-size: 15px;
}
.foot-links a:hover {
  color: var(--paper);
}
.news p {
  margin: 0 0 14px;
  color: var(--dim);
  font-size: 15px;
  max-width: 34ch;
}
.news form {
  display: flex;
  max-width: 360px;
  border: 1px solid var(--line);
}
.news input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--paper);
  font: inherit;
  font-size: 15px;
  padding: 14px 16px;
}
.news input::placeholder {
  color: var(--dim);
}
.news input:focus {
  outline: none;
}
.news form:focus-within {
  border-color: var(--dim);
}
.news button {
  background: none;
  border: 0;
  color: var(--paper);
  padding: 0 16px;
  cursor: pointer;
  font-size: 18px;
}
.news .note {
  margin-top: 10px;
  min-height: 1.4em;
}
.social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--paper);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.social a:hover {
  border-color: var(--dim);
  background: var(--ink-2);
}
.social svg {
  width: 18px;
  height: 18px;
}
.foot-base {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 820px) {
  .foot-cols {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .foot-cols > .news,
  .foot-cols > .follow {
    text-align: left;
    justify-self: stretch;
  }
  .news p,
  .news form {
    margin-inline: 0;
  }
  .social {
    justify-content: flex-start;
  }
  .foot-base {
    margin-top: 40px;
  }
}

/* lightbox */
.lb {
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 60;
  background: var(--ink);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter-r)
    calc(14px + env(safe-area-inset-bottom, 0px)) var(--gutter);
}
.lb-top,
.lb-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.lb-stage {
  position: relative;
  min-height: 0;
  margin-block: 12px;
}
.lb-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}
.lb button {
  background: none;
  border: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
}
.lb button:hover {
  border-color: var(--dim);
}

/* ---------- scroll effects (only when motion is allowed; see .fx in script) ---------- */
#dust {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100lvh;
  z-index: 48;
  pointer-events: none;
}

/* 1. fade and rise */
.fx .rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s ease,
    transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.fx .rv.in {
  opacity: 1;
  transform: none;
}

/* 2. photos develop like a print in the tray */
.fx .tile img {
  transition:
    filter 1.4s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fx .tile:not(.dev) img {
  filter: grayscale(1) brightness(0.12) contrast(1.4) blur(6px);
  transform: scale(1.04);
}
.fx .tile.dev img {
  filter: grayscale(1) brightness(1) contrast(1.05) blur(0);
}
.fx .tile.dev:hover img,
.fx .tile.dev:focus-visible img,
.fx .tile.dev.on img {
  filter: grayscale(0) brightness(1) contrast(1) blur(0);
}
.fx .tile figcaption {
  transition: opacity 0.6s ease 1s;
}
.fx .tile:not(.dev) figcaption {
  opacity: 0;
}

/* 3. stacked type: rows switch on one at a time */
.fx .stack-word span {
  color: #1c1b19;
}
.fx .stack-word span.on {
  animation: track 0.5s steps(1, end) forwards;
}
.fx .stack-word span.on:nth-child(1) {
  --c: #3a3935;
}
.fx .stack-word span.on:nth-child(2) {
  --c: var(--paper);
}
.fx .stack-word span.on:nth-child(3) {
  --c: #5a5852;
}
@keyframes track {
  0% {
    color: var(--c);
    transform: translateX(-6px);
    clip-path: inset(0 0 55% 0);
  }
  20% {
    color: #1c1b19;
    transform: none;
    clip-path: none;
  }
  40% {
    color: var(--c);
    transform: translateX(4px);
    clip-path: inset(40% 0 0 0);
  }
  60% {
    color: var(--c);
    transform: none;
    clip-path: none;
  }
  100% {
    color: var(--c);
  }
}

@media (prefers-reduced-motion: reduce) {
  .grain,
  .hero img,
  .tc i {
    animation: none;
  }
  .hero img {
    transform: none;
  }
  .tile img {
    transition: none;
  }
}

.reel:not([data-video]) {
  cursor: default;
}
.reel:not([data-video]) .play {
  opacity: 0.35;
}
.reel img {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reel[data-video]:hover img,
.reel[data-video]:focus-visible img {
  transform: scale(1.04);
}

/* video viewer */
.vb {
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 60;
  background: var(--ink);
  display: grid;
  grid-template-rows: auto 1fr;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
    calc(14px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.vb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.vb-stage {
  position: relative;
  min-height: 0;
  margin-top: 12px;
}
.vb-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--ink);
}
.vb button {
  background: none;
  border: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
}
.vb button:hover {
  border-color: var(--dim);
}

/* privacy page */
.legal {
  max-width: 680px;
  margin: 0 auto;
  padding-block: clamp(48px, 10vw, 120px) clamp(80px, 12vw, 140px);
  font-size: 16px;
  line-height: 1.7;
}
.legal-back {
  display: inline-block;
  margin-bottom: 48px;
  text-decoration: none;
}
.legal-back:hover {
  color: var(--paper);
}
.legal h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
}
.legal-lede {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--paper);
  margin: 0 0 48px;
}
.legal h2 {
  margin: 40px 0 10px;
  color: var(--paper);
  font-weight: 500;
}
.legal p:not(.legal-lede),
.legal li {
  color: var(--dim);
}
.legal ul {
  padding-left: 1.1em;
  display: grid;
  gap: 14px;
}
.legal strong {
  color: var(--paper);
  font-weight: 500;
}
.legal a:not(.legal-back) {
  color: var(--paper);
  text-underline-offset: 3px;
}
.legal-date {
  margin-top: 56px;
}
