/* ————————————————————————————————————————————
   HALIDE HOUSE — darkroom devotion
   palette: darkroom #171210 · safelight #E23D28 ·
   fiber paper #F2E9DA · sepia chem #8A7B6A · bakelite #2E2A26
———————————————————————————————————————————— */

:root {
  --darkroom: #171210;
  --safelight: #E23D28;
  --paper: #F2E9DA;
  --chem: #8A7B6A;
  --bakelite: #2E2A26;
  --film-base: #0D0A08;
  --ease-develop: cubic-bezier(.23, 1, .32, 1);
  --ease-snap: cubic-bezier(.77, 0, .18, 1);
  --measure: 34rem;
  --pad-x: clamp(1.25rem, 5vw, 4.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--darkroom);
  color: var(--paper);
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--safelight); color: var(--darkroom); }

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible {
  outline: 2px solid var(--safelight);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ————— grain overlay ————— */
#grain {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 60;
  opacity: .28;
  mix-blend-mode: overlay;
}

/* ————— push/pull page filter ————— */
#page { transition: filter .8s var(--ease-develop); }
#page.stop--2 { filter: brightness(1.22) contrast(.78) saturate(.8); }
#page.stop--1 { filter: brightness(1.1) contrast(.9) saturate(.92); }
#page.stop-1  { filter: brightness(.95) contrast(1.18) saturate(1.08); }
#page.stop-2  { filter: brightness(.88) contrast(1.38) saturate(1.15); }

/* ————— type utilities ————— */
h1, h2, .step-num, .foot-mark, .wordmark, .pp-side {
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-weight: 400;
}

.eyebrow {
  font-family: "Zilla Slab", serif;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--safelight);
  margin-bottom: 1.4rem;
}

.pencil {
  font-family: "Nanum Pen Script", cursive;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  color: var(--safelight);
  line-height: 1.2;
  transform: rotate(-2.5deg);
  display: inline-block;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.section-lede {
  max-width: var(--measure);
  color: var(--paper);
  margin-bottom: 3rem;
}
.section-lede em { color: var(--safelight); font-style: italic; }

/* ————— masthead ————— */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: .9rem var(--pad-x);
  background: color-mix(in srgb, var(--darkroom) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(242, 233, 218, .08);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .95rem;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--paper);
}

.bulb {
  width: .62rem; height: .62rem;
  border-radius: 50%;
  background: var(--safelight);
  box-shadow: 0 0 8px 2px rgba(226, 61, 40, .7);
  animation: bulb-hum 4s ease-in-out infinite;
}
@keyframes bulb-hum {
  0%, 100% { box-shadow: 0 0 8px 2px rgba(226,61,40,.7); }
  50%      { box-shadow: 0 0 12px 3px rgba(226,61,40,.45); }
}

.masthead nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
.masthead nav a {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--chem);
  transition: color .25s;
}
.masthead nav a:hover { color: var(--paper); }

.cta {
  font-family: "Zilla Slab", serif;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--darkroom);
  background: var(--safelight);
  text-decoration: none;
  padding: .55rem 1.1rem;
  border-radius: 2px;
  transition: background .25s, transform .25s var(--ease-develop);
}
.cta:hover { background: var(--paper); transform: translateY(-1px); }

/* ————— hero ————— */
.hero {
  min-height: calc(100svh - 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem var(--pad-x) 4rem;
  position: relative;
  background:
    radial-gradient(60rem 34rem at 82% -10%, rgba(226, 61, 40, .13), transparent 60%),
    radial-gradient(42rem 30rem at -10% 110%, rgba(138, 123, 106, .08), transparent 60%);
}

.hero h1 {
  font-size: clamp(3rem, 10.5vw, 8.5rem);
  line-height: .95;
  letter-spacing: -.015em;
  text-transform: uppercase;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
}
.hero h1 .line { display: block; }
.hero h1 .red { color: var(--safelight); text-shadow: 0 0 34px rgba(226,61,40,.35); }

.js .hero h1 .line {
  opacity: 0;
  transform: translateY(.35em);
  filter: brightness(.2) blur(3px);
  animation: line-develop 1.3s var(--ease-develop) forwards;
}
.js .hero h1 .line:nth-child(1) { animation-delay: .1s; }
.js .hero h1 .line:nth-child(2) { animation-delay: .28s; }
.js .hero h1 .line:nth-child(3) { animation-delay: .5s; }
.js .hero h1 .line:nth-child(4) { animation-delay: .68s; }
@keyframes line-develop {
  60% { filter: brightness(.75) blur(.6px); }
  to  { opacity: 1; transform: none; filter: none; }
}

.hero .lede {
  max-width: var(--measure);
  font-size: 1.15rem;
  color: color-mix(in srgb, var(--paper) 82%, var(--chem));
}

.scroll-hint {
  position: absolute;
  bottom: 1.6rem;
  left: var(--pad-x);
  right: var(--pad-x);
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .8rem;
  letter-spacing: .18em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--chem);
}
.scroll-hint span {
  width: 2.6rem; height: 1px;
  background: var(--chem);
  position: relative;
  overflow: hidden;
}
.scroll-hint span::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--safelight);
  transform: translateX(-100%);
  animation: hint-sweep 2.6s var(--ease-snap) infinite;
}
@keyframes hint-sweep {
  40% { transform: translateX(0); }
  80%, 100% { transform: translateX(100%); }
}

/* ————— filmstrip (signature) ————— */
.strip-track {
  height: 340vh;
  position: relative;
}

.strip-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.strip-glow {
  position: absolute; inset: 0;
  background: radial-gradient(55rem 30rem at 50% 118%, rgba(226, 61, 40, .16), transparent 65%);
  pointer-events: none;
}

.strip-caption {
  padding: 0 var(--pad-x);
  margin-bottom: 1.2rem;
}

.filmstrip {
  display: flex;
  align-items: stretch;
  width: max-content;
  will-change: transform;
  background:
    /* sprocket holes punched through the film base */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='19' viewBox='0 0 26 19'%3E%3Cpath fill='%230D0A08' fill-rule='evenodd' d='M0 0h26v19H0zM8 5.5h10a2.5 2.5 0 0 1 2.5 2.5v3a2.5 2.5 0 0 1-2.5 2.5H8A2.5 2.5 0 0 1 5.5 11V8A2.5 2.5 0 0 1 8 5.5z'/%3E%3C/svg%3E") 0 0 / 26px 19px repeat-x,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='19' viewBox='0 0 26 19'%3E%3Cpath fill='%230D0A08' fill-rule='evenodd' d='M0 0h26v19H0zM8 5.5h10a2.5 2.5 0 0 1 2.5 2.5v3a2.5 2.5 0 0 1-2.5 2.5H8A2.5 2.5 0 0 1 5.5 11V8A2.5 2.5 0 0 1 8 5.5z'/%3E%3C/svg%3E") 0 100% / 26px 19px repeat-x,
    linear-gradient(var(--film-base), var(--film-base)) 0 19px / 100% calc(100% - 38px) no-repeat;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .55);
}

.frame {
  padding: 19px 7px;
  display: flex;
  flex-direction: column;
}

.film-leader, .film-trailer {
  display: flex;
  align-items: center;
  padding: 19px 3rem;
}
.film-leader { padding-left: var(--pad-x); }

.leader-text {
  font-family: "Zilla Slab", serif;
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .42em;
  white-space: nowrap;
  color: rgba(226, 61, 40, .75);
}

.edge {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .22rem .3rem;
  font-family: "Zilla Slab", serif;
  font-weight: 600;
  font-size: .6rem;
  letter-spacing: .3em;
  color: rgba(226, 61, 40, .8);
  white-space: nowrap;
}

.frame-img-wrap {
  position: relative;
  height: min(52svh, 26rem);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #050403;
}

.frame-img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* undeveloped → developer-bath wash-in */
.js .frame-img {
  filter: brightness(.06) sepia(1) contrast(.45) saturate(.4);
}
.js .frame.developed .frame-img {
  animation: develop 2.6s var(--ease-develop) forwards;
}
@keyframes develop {
  0%   { filter: brightness(.06) sepia(1) contrast(.45) saturate(.4); }
  35%  { filter: brightness(.4) sepia(.7) contrast(.7) saturate(.6) hue-rotate(-14deg); }
  70%  { filter: brightness(.85) sepia(.2) contrast(.95) saturate(.9); }
  100% { filter: none; }
}

/* wet sheen that drains off as the frame develops */
.frame-img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(226,61,40,.22), rgba(13,10,8,.65) 55%, rgba(226,61,40,.12));
  opacity: 1;
  transition: opacity 2.2s var(--ease-develop) .3s;
  pointer-events: none;
}
.js .frame.developed .frame-img-wrap::after,
html:not(.js) .frame-img-wrap::after { opacity: 0; }

/* grease-pencil mark on the chosen frame */
.grease-circle {
  position: absolute;
  inset: 8% 6% auto;
  width: 88%;
  height: 84%;
  pointer-events: none;
  opacity: .92;
  mix-blend-mode: screen;
}
.js .grease-circle path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.js .frame.developed .grease-circle path {
  animation: grease-draw 1.1s var(--ease-snap) 2.3s forwards;
}
@keyframes grease-draw { to { stroke-dashoffset: 0; } }
html:not(.js) .grease-circle path { stroke-dashoffset: 0; }

.frame-note {
  position: absolute;
  right: 6%;
  bottom: 5%;
  font-size: 1.5rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
  opacity: 0;
  transition: opacity .5s ease 3s;
}
.frame.developed .frame-note, html:not(.js) .frame-note { opacity: 1; }

.strip-readout {
  display: flex;
  justify-content: space-between;
  padding: 1.2rem var(--pad-x) 0;
  font-family: "Zilla Slab", serif;
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .34em;
  color: var(--chem);
}
#stripState { color: var(--safelight); }

/* ————— generic section spacing ————— */
.process, .tank, .pushpull, .prices, .manifesto {
  padding: clamp(4.5rem, 10vw, 8rem) var(--pad-x);
}

/* reveal-on-scroll (JS only) */
.js .reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity .9s var(--ease-develop), transform .9s var(--ease-develop);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ————— process ————— */
.process { position: relative; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  counter-reset: step;
}

.step {
  border-top: 2px solid var(--bakelite);
  padding-top: 1.4rem;
  position: relative;
}
.step::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 2.4rem; height: 2px;
  background: var(--safelight);
}

.step-num {
  font-size: .85rem;
  color: var(--safelight);
  letter-spacing: .12em;
}

.step h3 {
  font-family: "Zilla Slab", serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin: .7rem 0 .6rem;
}

.step p {
  font-size: .97rem;
  color: color-mix(in srgb, var(--paper) 72%, var(--chem));
}

.process-note {
  margin-top: 2.6rem;
}

/* ————— the tank ————— */
.tank {
  background: linear-gradient(var(--bakelite), color-mix(in srgb, var(--bakelite) 70%, var(--darkroom)));
}

.baths {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.bath {
  position: relative;
  border: 1px solid rgba(242, 233, 218, .12);
  border-radius: 4px 4px 8px 8px;
  overflow: hidden;
  background: rgba(13, 10, 8, .5);
  min-height: 21rem;
  display: flex;
  align-items: flex-end;
}

.bath-liquid {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--fill) * 100%);
  background: linear-gradient(rgba(242,233,218,.06), transparent 12%),
              var(--tint);
  opacity: .5;
  transform: scaleY(0);
  transform-origin: bottom;
}
.js .bath.in .bath-liquid {
  transition: transform 1.6s var(--ease-develop);
  transform: scaleY(1);
}
html:not(.js) .bath-liquid { transform: scaleY(1); }

.bath-liquid::after {
  content: "";
  position: absolute;
  top: -4px; left: 0; right: 0;
  height: 4px;
  background: rgba(242, 233, 218, .18);
}

.bath-info {
  position: relative;
  padding: 1.5rem 1.4rem 1.6rem;
}

.bath-info h3 {
  font-family: "Zilla Slab", serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .95rem;
  color: var(--paper);
}

.bath-time {
  font-family: "Archivo Black", sans-serif;
  font-size: 2rem;
  color: var(--safelight);
  margin: .3rem 0 .7rem;
  line-height: 1;
}
.bath-time small {
  font-family: "Zilla Slab", serif;
  font-weight: 600;
  font-size: .75rem;
  color: var(--chem);
  letter-spacing: .08em;
}

.bath-info p:not(.bath-time) {
  font-size: .9rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--paper) 74%, var(--chem));
}

/* ————— push / pull ————— */
.pushpull { text-align: left; }

.pp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

/* the box-speed stamp — a film-carton exposure stamp, live-inked */
.pp-stamp {
  --tilt: -5deg;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 2.2rem clamp(1.6rem, 3.5vw, 3rem) 2.4rem;
  border: 5px solid rgba(226, 61, 40, .8);
  border-radius: 10px;
  transform: rotate(var(--tilt));
  color: var(--safelight);
  text-align: center;
  position: relative;
  box-shadow: inset 0 0 0 2px rgba(23, 18, 16, .9), inset 0 0 0 4px rgba(226, 61, 40, .35);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 .5'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 .5'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  transition: transform .8s var(--ease-develop);
}

/* the stamp thumps down again whenever a new stop is inked */
.pp-stamp.restamp { animation: restamp .55s var(--ease-snap); }
@keyframes restamp {
  0%   { transform: rotate(var(--tilt)) scale(1); opacity: 1; }
  30%  { transform: rotate(calc(var(--tilt) + 2deg)) scale(1.06); opacity: .35; }
  55%  { transform: rotate(var(--tilt)) scale(.97); opacity: 1; }
  100% { transform: rotate(var(--tilt)) scale(1); }
}

.stamp-ei {
  font-family: "Zilla Slab", serif;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .42em;
  text-indent: .42em;
}

.stamp-num {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  line-height: .95;
  letter-spacing: -.01em;
}

.stamp-label {
  font-family: "Zilla Slab", serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .3em;
  text-indent: .3em;
  border-top: 3px solid rgba(226, 61, 40, .7);
  padding-top: .7rem;
  margin-top: .4rem;
  white-space: nowrap;
}

.pp-control {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 2.4rem 0 1.4rem;
  flex-wrap: wrap;
}

.pp-side {
  font-size: .8rem;
  letter-spacing: .3em;
  color: var(--chem);
}

.pp-stops {
  display: flex;
  border: 1px solid rgba(242, 233, 218, .18);
  border-radius: 3px;
  overflow: hidden;
  background: rgba(13, 10, 8, .5);
}

.pp-stop { position: relative; }
.pp-stop input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.pp-stop span {
  display: grid;
  place-items: center;
  min-width: 3.4rem;
  padding: .8rem 0;
  font-family: "Zilla Slab", serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--chem);
  border-right: 1px solid rgba(242, 233, 218, .12);
  transition: background .3s, color .3s;
  pointer-events: none;
}
.pp-stop:last-child span { border-right: none; }
.pp-stop input:checked + span {
  background: var(--safelight);
  color: var(--darkroom);
}
.pp-stop input:focus-visible + span {
  outline: 2px solid var(--safelight);
  outline-offset: -4px;
}
.pp-stop:hover input:not(:checked) + span { color: var(--paper); }

.pp-readout {
  font-family: "Zilla Slab", serif;
  font-weight: 500;
  color: var(--paper);
  max-width: var(--measure);
  min-height: 3.4em;
}

.pp-note { margin-top: 1rem; }

/* ————— chalkboard prices ————— */
.prices { background: color-mix(in srgb, var(--darkroom) 82%, black); }

.board-row {
  display: grid;
  grid-template-columns: minmax(0, 46rem) minmax(12rem, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.board-aside {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  transform: rotate(-4deg);
  max-width: 15ch;
  justify-self: start;
}

.chalkboard {
  max-width: 46rem;
  border: 10px solid var(--bakelite);
  border-radius: 6px;
  background:
    radial-gradient(30rem 16rem at 20% 10%, rgba(242, 233, 218, .045), transparent 60%),
    radial-gradient(24rem 14rem at 85% 85%, rgba(242, 233, 218, .035), transparent 60%),
    #201B17;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  padding: clamp(1.6rem, 4vw, 3rem);
  font-family: "Nanum Pen Script", cursive;
  color: color-mix(in srgb, var(--paper) 92%, transparent);
}

.chalk-title {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 1.25;
  border-bottom: 2px solid rgba(242, 233, 218, .25);
  padding-bottom: .6rem;
  margin-bottom: 1.2rem;
  transform: rotate(-.6deg);
}
.chalk-sub {
  display: block;
  font-size: 1.2rem;
  line-height: 1.15;
  margin-top: .25rem;
  color: var(--chem);
}

.chalk-list { display: block; }
.chalk-row {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  padding: .34rem 0;
}
.chalk-row:nth-child(odd)  { transform: rotate(-.4deg); }
.chalk-row:nth-child(even) { transform: rotate(.35deg); }

/* run a finger along the board: the line squares up, the price catches light */
.chalk-row { transition: transform .4s var(--ease-develop), color .4s; }
.chalk-row:hover { transform: rotate(0deg); color: var(--paper); }
.chalk-row:hover dd { text-shadow: 0 0 14px rgba(226, 61, 40, .55); }

.chalk-row dt {
  flex: 1;
  display: flex;
  align-items: baseline;
  min-width: 0;
}
.chalk-row dt::after {
  content: "";
  flex: 1;
  min-width: 2.5rem;
  border-bottom: 2px dotted rgba(138, 123, 106, .5);
  margin: 0 0 0 .6rem;
  transform: translateY(-.3em);
}
.chalk-row dd {
  color: var(--safelight);
  white-space: nowrap;
}

.chalk-strike {
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--safelight);
  color: var(--chem);
  margin-left: .4rem;
}
.chalk-why {
  font-size: 1.05rem;
  color: var(--chem);
  margin-left: .4rem;
}

.chalk-foot {
  margin-top: 1.4rem;
  font-size: 1.15rem;
  color: var(--chem);
  border-top: 2px solid rgba(242, 233, 218, .18);
  padding-top: .9rem;
  transform: rotate(.3deg);
}

.cta-big {
  display: inline-block;
  margin-top: 2.6rem;
  font-size: 1rem;
  padding: 1rem 1.8rem;
}

/* ————— manifesto (the safelight section) ————— */
.manifesto {
  background: var(--safelight);
  color: var(--darkroom);
}
.manifesto .eyebrow { color: var(--darkroom); }
.manifesto ::selection { background: var(--darkroom); color: var(--safelight); }

.mani-lines {
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
}
.mani-lines p {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.4;
  font-weight: 500;
}
.mani-lines em { font-style: italic; }
.mani-close strong {
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: .92em;
  letter-spacing: .01em;
}

/* ————— footer ————— */
.footer {
  padding: 4rem var(--pad-x) 2.5rem;
  border-top: 1px solid rgba(242, 233, 218, .08);
  color: var(--chem);
  font-size: .95rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.foot-mark {
  color: var(--paper);
  font-size: 1.05rem;
  letter-spacing: .06em;
  margin-bottom: .8rem;
}

.foot-h {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  color: var(--paper);
  margin-bottom: .8rem;
}

.foot-fine {
  font-size: .8rem;
  max-width: 44rem;
  color: color-mix(in srgb, var(--chem) 75%, transparent);
  margin-bottom: 2rem;
}

.credit {
  font-size: .78rem;
  color: color-mix(in srgb, var(--chem) 70%, transparent);
}
.credit a { color: var(--chem); }
.credit a:hover { color: var(--paper); }

/* ————— responsive ————— */
@media (max-width: 1024px) {
  .steps, .baths { grid-template-columns: repeat(2, 1fr); }
  .bath { min-height: 18rem; }

  .pp-grid { grid-template-columns: 1fr; }
  .pp-stamp { justify-self: start; margin-top: 2.5rem; }

  .board-row { grid-template-columns: 1fr; }
  .board-aside { margin-top: 1.5rem; margin-left: 1rem; }
}

@media (max-width: 640px) {
  .masthead { gap: 1rem; }
  .masthead nav { display: none; }
  .cta { margin-left: auto; }

  .steps, .baths { grid-template-columns: 1fr; gap: 2rem; }
  .bath { min-height: 15rem; }

  .frame-img-wrap { height: min(38svh, 17rem); }
  .strip-track { height: 300vh; }
  .film-leader, .film-trailer { padding-inline: 1.5rem; }
  .film-leader { padding-left: var(--pad-x); }

  .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; }

  .pp-stop span { min-width: 2.9rem; }
  .pp-stamp { transform: rotate(-4deg) scale(.85); margin-top: 1.5rem; }

  .scroll-hint { font-size: .72rem; gap: .6rem; }
  .scroll-hint span { flex: none; width: 2rem; }

  .chalk-row dt::after { display: none; }
  .chalk-row dt { display: block; }
  .chalk-row { justify-content: space-between; }
  .chalk-why { display: block; margin-left: 0; }
}

/* ————— reduced motion ————— */
@media (prefers-reduced-motion: reduce) {
  #grain { display: none; }

  .js .hero h1 .line {
    animation: none;
    opacity: 1; transform: none; filter: none;
  }

  .bulb, .scroll-hint span::after { animation: none; }

  /* strip becomes a plain horizontal scroller */
  .strip-track { height: auto; }
  .strip-sticky { position: static; height: auto; padding: 4rem 0; overflow-x: auto; }
  .filmstrip { transform: none !important; }
  .js .frame-img { filter: none; }
  .js .frame .frame-img-wrap::after { opacity: 0; transition: none; }
  .js .grease-circle path { stroke-dashoffset: 0; animation: none; }
  .frame-note { opacity: 1; transition: none; }
  .strip-readout { display: none; }

  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .bath .bath-liquid { transform: scaleY(1); transition: none; }
  #page { transition: none; }
}
