/* ============================================================
   AIMIGHTY STUDIO — film studio, Mumbai
   Near-black. Condensed display. Nothing speaks until asked.
   ============================================================ */

:root {
  --ink: #0B0B0B;
  --ink-2: #121212;
  --ink-3: #191919;
  --bone: #F4F3F0;
  --dim: rgba(244, 243, 240, 0.62);
  --dimmer: rgba(244, 243, 240, 0.58);
  --dim-lg: rgba(244, 243, 240, 0.44);
  --hair: rgba(244, 243, 240, 0.14);
  --red: #C3161C;
  --red-lift: #FF4B3E;

  --display: "Big Shoulders Display", "Haettenschweiler", sans-serif;
  --ui: "Inter Tight", -apple-system, sans-serif;
  --mono: "JetBrains Mono", monospace;

  --pad: clamp(20px, 5vw, 96px);
  --gap: clamp(56px, 12vh, 170px);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: var(--bone); }

img, video { display: block; max-width: 100%; }
a { color: inherit; }

.mono { font-family: var(--mono); }

/* a diagonal arrow that never resolves to the colour emoji tile —
   U+2192 has no emoji presentation, so we just turn it 45° */
.ne {
  display: inline-block;
  transform: rotate(-45deg);
  transform-origin: 50% 50%;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--red-lift); outline-offset: 4px; }

/* the header is fixed — keep anchor targets and focused controls clear of it */
:is(a, button, [tabindex], section[id]) { scroll-margin-top: 96px; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- section heads ---------------- */
.sec-head {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--bone);
}

/* ---------------- nav ---------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 54px);
  padding: 20px var(--pad);
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 11, 11, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--hair);
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 20px; width: auto; }

.nav-links {
  margin-left: auto;
  display: flex;
  gap: clamp(16px, 2.6vw, 38px);
}
.nav-links a {
  font-size: 13.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--dim);
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--bone); }

.btn {
  font-family: var(--ui);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--bone);
  background: var(--red);
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn:hover { background: #9E0F14; transform: translateY(-1px); }

/* ---------------- home: the reel ---------------- */
.reel {
  position: relative;
  height: 100svh;
  min-height: 340px;
  overflow: hidden;
}
.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,11,0.9) 0%, rgba(11,11,11,0.5) 14%, rgba(11,11,11,0.22) 34%, rgba(11,11,11,0.42) 66%, rgba(11,11,11,0.95) 100%),
    linear-gradient(90deg, rgba(11,11,11,0.5) 0%, rgba(11,11,11,0) 42%);
}

.reel-face {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(84px, 14vh, 150px);
  z-index: 2;
}
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(64px, 17vw, 300px);
  line-height: 0.8;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--bone);
}
.reel-line {
  margin-top: clamp(14px, 2vh, 26px);
  font-size: clamp(15px, 1.5vw, 21px);
  letter-spacing: 0.01em;
  color: var(--bone);
  max-width: 34ch;
}

.reel-corner {
  position: absolute;
  top: clamp(96px, 11vh, 116px);
  left: var(--pad);
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(244, 243, 240, 0.72);
}

.reel-controls {
  position: absolute;
  right: var(--pad);
  bottom: clamp(84px, 14vh, 150px);
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
}
.sound {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--dim);
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.sound:hover { color: var(--bone); border-color: rgba(244,243,240,0.4); }
.sound-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--dimmer);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.sound[aria-pressed="true"] { color: var(--bone); border-color: rgba(255,75,62,0.55); }
.sound[aria-pressed="true"] .sound-dot {
  background: var(--red-lift);
  box-shadow: 0 0 0 4px rgba(255,75,62,0.18);
}
.sound-label { font-size: 10.5px; letter-spacing: 0.16em; }
.sound-label b { font-weight: 500; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 15px;
  color: var(--dimmer);
  animation: drift 2.4s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(7px); opacity: 1; }
}

/* ---------------- work ---------------- */
.work { padding: var(--gap) var(--pad); }

.work-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(30px, 5vh, 62px);
}
.all-link {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--dim);
  transition: color 0.25s ease;
  white-space: nowrap;
}
.all-link:hover { color: var(--red-lift); }
.all-link span { display: inline-block; transition: transform 0.25s ease; }
.all-link:hover span { transform: translateX(4px); }

/* ---------------- the timeline (NLE strip) ---------------- */
.tl {
  position: relative;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: var(--ink-2);
  overflow: hidden;
}
.tl-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(244,243,240,0.25) transparent;
  cursor: grab;
}
.tl-scroll.dragging { cursor: grabbing; }
.tl-scroll::-webkit-scrollbar { height: 6px; }
.tl-scroll::-webkit-scrollbar-track { background: transparent; }
.tl-scroll::-webkit-scrollbar-thumb {
  background: rgba(244,243,240,0.22);
  border-radius: 3px;
}
.tl-inner { position: relative; }

/* ruler */
.tl-ruler {
  position: relative;
  height: 30px;
  border-bottom: 1px solid var(--hair);
  background: var(--ink-3);
}
.tl-ruler .tick {
  position: absolute;
  top: 0;
  width: 1px;
  height: 7px;
  background: rgba(244,243,240,0.25);
}
.tl-ruler .tick.major { height: 12px; background: rgba(244,243,240,0.45); }
.tl-ruler .tick i {
  position: absolute;
  left: 6px;
  top: 11px;
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--dimmer);
  white-space: nowrap;
}

/* clips */
.tl-row { padding: 12px 0 14px; }
.tl-clips { display: flex; gap: 3px; padding-left: 52px; }
.clip {
  position: relative;
  flex: none;
  height: clamp(150px, 20vw, 260px);
  padding: 0;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  background: var(--ink-3);
  cursor: pointer;
  color: inherit;
  font: inherit;
  outline-offset: -3px;
  transition: filter 0.35s ease;
}
.clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) brightness(0.62);
  transition: filter 0.45s ease, transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.clip:hover img, .clip:focus-visible img {
  filter: saturate(1) brightness(0.92);
  transform: scale(1.04);
}
/* the sprocket edge, so a clip reads as a clip */
.clip-grade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,11,11,0.55), transparent 26%, transparent 52%, rgba(11,11,11,0.88)),
    repeating-linear-gradient(90deg, rgba(244,243,240,0.16) 0 3px, transparent 3px 13px) top/100% 4px no-repeat,
    repeating-linear-gradient(90deg, rgba(244,243,240,0.16) 0 3px, transparent 3px 13px) bottom/100% 4px no-repeat;
}
.clip-face {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  pointer-events: none;
}
.clip-no {
  position: absolute;
  top: -999px;
  left: 0;
}
.clip .clip-no {
  position: static;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--red-lift);
}
.clip-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(17px, 1.7vw, 26px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--bone);
}
.clip-meta {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(244,243,240,0.72);
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.clip-meta i { font-style: normal; color: var(--red-lift); padding: 0 3px; }
.clip:hover .clip-meta, .clip:focus-visible .clip-meta { opacity: 1; transform: none; }

/* playhead + chrome */
.tl-playhead {
  position: absolute;
  left: 18%;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: var(--red-lift);
  pointer-events: none;
  z-index: 3;
}
.tl-playhead::before {
  content: "";
  position: absolute;
  top: 0;
  left: -5.25px;
  border: 6px solid transparent;
  border-top-color: var(--red-lift);
}
.tl-track-tag {
  position: absolute;
  left: 14px;
  top: 44px;
  z-index: 2;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--dimmer);
  pointer-events: none;
}
.tl-tc {
  position: absolute;
  right: 14px;
  top: 9px;
  z-index: 4;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--red-lift);
  background: var(--ink-2);
  padding: 0 6px;
  pointer-events: none;
}
.tl-hint {
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--dimmer);
}
.tl-hint i { font-style: normal; color: var(--red-lift); padding: 0 4px; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(22px, 3.4vw, 64px) clamp(20px, 2.6vw, 46px);
}

/* ---------------- work page ---------------- */
.wmast {
  padding: clamp(120px, 20vh, 220px) var(--pad) clamp(36px, 6vh, 70px);
  border-bottom: 1px solid var(--hair);
}
.wmast-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(64px, 15vw, 240px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.wmast-line {
  margin-top: clamp(10px, 1.6vh, 20px);
  font-size: clamp(15px, 1.5vw, 21px);
  color: var(--dim);
}
.wmast-count {
  margin-top: clamp(22px, 3.4vh, 40px);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--dimmer);
}

.allwork { padding: clamp(48px, 8vh, 110px) var(--pad); }
.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 36px);
}

.film {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.film-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink-2);
  aspect-ratio: 16 / 9;
}
.film-media img,
.film-prev {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-media img {
  transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease;
  opacity: 0.86;
}
.film-prev {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.film:hover .film-media img,
.film:focus-visible .film-media img { transform: scale(1.03); opacity: 1; }
.film:hover .film-prev,
.film:focus-visible .film-prev { opacity: 1; }

.film-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
}
.film-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(21px, 2.1vw, 34px);
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.film-meta {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
}
.film-meta i { font-style: normal; color: var(--red-lift); padding: 0 4px; }
.film:hover .film-meta,
.film:focus-visible .film-meta { opacity: 1; transform: none; }

/* ---------------- manifesto ---------------- */
.manifesto {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 6vw, 110px);
  align-items: center;
  padding: var(--gap) var(--pad);
}
.man-still img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  opacity: 0.92;
}
.man-head {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(46px, 7vw, 130px);
  line-height: 0.88;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}
.spec {
  margin-top: clamp(26px, 4vh, 46px);
  border-top: 1px solid var(--hair);
}
.spec div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--hair);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.spec dt { color: var(--dim); text-transform: uppercase; }

.more {
  margin-top: clamp(24px, 3.6vh, 40px);
  background: none;
  border: 0;
  padding: 0;
  color: var(--dim);
  cursor: pointer;
  transition: color 0.25s ease;
}
.more .mono { font-size: 12px; letter-spacing: 0.12em; }
.more:hover { color: var(--bone); }
.more[aria-expanded="true"] { color: var(--red-lift); }

.more-panel {
  margin-top: 18px;
  max-width: 52ch;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--bone);
  animation: unfold 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.more-panel p + p { margin-top: 14px; color: var(--dim); }
.more-panel[hidden] { display: none; }
@keyframes unfold {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------------- numbers ---------------- */
.numbers {
  padding: var(--gap) var(--pad);
  border-top: 1px solid var(--hair);
}
.num-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.num-row li { display: flex; flex-direction: column; gap: 10px; }
.num-row b {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 150px);
  line-height: 0.82;
  letter-spacing: -0.02em;
}
.num-row .mono {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
}

/* ---------------- the line ---------------- */
.line {
  position: relative;
  height: clamp(420px, 92svh, 900px);
  overflow: hidden;
}
.line-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.6), rgba(11,11,11,0.25) 45%, rgba(11,11,11,0.85));
}
.line-type {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(40px, 9vh, 96px);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 8vw, 150px);
  line-height: 0.88;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}

/* ---------------- people ---------------- */
.people { padding: var(--gap) var(--pad); }
.people .sec-head { margin-bottom: clamp(30px, 5vh, 62px); }
/* a contact sheet, not a spread-out grid: the cards are the width of the
   portraits and sit together, so the row reads as one block of people */
.folk {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.1vw, 18px);
  align-items: flex-start;
}
.who {
  position: relative;
  display: block;
  width: clamp(148px, 15.5vw, 214px);
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.who-no {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--bone);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.who-media {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  width: 100%;         /* the card itself is already half-size */
}
.who-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) brightness(0.72) contrast(1.06);
  transition: filter 0.6s cubic-bezier(0.19, 1, 0.22, 1), transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}
.who:hover .who-media img,
.who:focus-visible .who-media img,
.who[aria-expanded="true"] .who-media img {
  filter: grayscale(0) brightness(1) contrast(1);
  transform: scale(1.03);
}
.who:hover .who-no,
.who:focus-visible .who-no,
.who[aria-expanded="true"] .who-no { opacity: 0.75; }

.who-name {
  display: block;
  padding-top: 14px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(19px, 1.9vw, 30px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.who:hover .who-name,
.who:focus-visible .who-name,
.who[aria-expanded="true"] .who-name { opacity: 1; transform: none; }

.who-role {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--red-lift);
  opacity: 0;
  transition: opacity 0.4s ease 0.05s;
}
.who:hover .who-role,
.who:focus-visible .who-role,
.who[aria-expanded="true"] .who-role { opacity: 1; }

.who-bio {
  display: block;
  margin-top: 10px;
  max-width: 30ch;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.who[aria-expanded="true"] .who-bio { max-height: 120px; opacity: 1; }

/* ---------------- push a frame ---------------- */
.push {
  position: relative;
  height: clamp(420px, 88svh, 820px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pad);
}
.push-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.push::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.7), rgba(11,11,11,0.3) 50%, rgba(11,11,11,0.9));
}
.push-banner {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 9vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red-lift);
  transition: color 0.3s ease;
}
.push-banner:hover { color: var(--bone); }
.push-mail {
  position: relative;
  z-index: 2;
  margin-top: clamp(16px, 2.4vh, 28px);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(244, 243, 240, 0.82);
  text-decoration: none;
  transition: color 0.25s ease;
}
.push-mail:hover { color: var(--red-lift); }

/* ---------------- contact ---------------- */
.contact {
  padding: var(--gap) var(--pad);
  border-top: 1px solid var(--hair);
}
.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 70px);
}
.col { display: flex; flex-direction: column; gap: 12px; }
.col-head { font-size: 11px; letter-spacing: 0.2em; color: var(--dimmer); }
.col-head-sub { margin-top: 14px; }
.col a {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(21px, 2.2vw, 34px);
  line-height: 1.05;
  text-decoration: none;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.col a:hover { border-bottom-color: var(--red-lift); color: var(--red-lift); }
.addr { font-size: 14.5px; line-height: 1.6; color: var(--dim); }
.social { display: flex; gap: 20px; margin-top: 6px; }
.social a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  border-bottom: 0;
  color: var(--dim);
}
.social a:hover { color: var(--red-lift); }

/* ---------------- footer ---------------- */
.foot {
  padding: clamp(34px, 5vh, 60px) var(--pad) 26px;
  border-top: 1px solid var(--hair);
}
.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding-bottom: 26px;
}
.foot-logo img { height: 22px; }
.foot-links { display: flex; gap: clamp(16px, 2.6vw, 36px); }
.foot-links a {
  font-size: 13.5px;
  text-decoration: none;
  color: var(--dim);
  transition: color 0.25s ease;
}
.foot-links a:hover { color: var(--bone); }
.foot-mail { font-size: 12px; letter-spacing: 0.04em; text-decoration: none; color: var(--dim); }
.foot-mail:hover { color: var(--bone); }
.foot-legal {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--dimmer);
}

/* ---------------- player ---------------- */
.player {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(6, 6, 6, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 60px);
}
.player[hidden] { display: none; }
.player-inner { width: min(1400px, 100%); }
.player-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.player-stage video,
.player-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.player-title {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.player-close {
  position: absolute;
  top: clamp(14px, 3vw, 32px);
  right: clamp(14px, 3vw, 32px);
  width: 46px; height: 46px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  background: none;
  color: var(--bone);
  font-size: 17px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s;
}
.player-close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }

/* ---------------- reveals ---------------- */
.rise {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.rise.in { opacity: 1; transform: none; }

.capture .rise { opacity: 1; transform: none; transition: none; }
.capture .scroll-cue { animation: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
  .film-media img, .who-media img { transition: none; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 1000px) {
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .num-row { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .manifesto { grid-template-columns: 1fr; }
  .man-still img { aspect-ratio: 16 / 10; }
  .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  /* ---- touch ergonomics ---- */
  /* every tap target clears 44px, and the hairline labels stop shrinking */
  .nav { padding-left: max(var(--pad), env(safe-area-inset-left));
         padding-right: max(var(--pad), env(safe-area-inset-right)); }
  .nav-links a { padding: 13px 2px; }
  .btn { padding: 13px 18px; font-size: 12px; }
  .logo { padding: 10px 0; }
  .sound { padding: 12px 16px; min-height: 44px; }
  .sound-label { font-size: 11px; }
  .reel-corner { font-size: 11px; }
  .clip-no, .clip-meta, .tl-hint, .tl-tc, .tl-ruler .tick i { font-size: 11px; }
  .film-meta, .who-role, .col-head, .foot-legal, .wmast-count,
  .proc-label, .num-row .mono { font-size: 11px; }
  .more { padding: 10px 0; }
  .foot-links a { padding: 10px 0; }
  .social a { padding: 8px 0; }

  /* the reel's own furniture, clear of the notch and the home indicator */
  .reel-face { left: max(var(--pad), env(safe-area-inset-left));
               right: max(var(--pad), env(safe-area-inset-right)); }
  .reel-controls { right: max(var(--pad), env(safe-area-inset-right));
                   bottom: max(22px, env(safe-area-inset-bottom)); }
  .foot { padding-bottom: max(26px, env(safe-area-inset-bottom)); }

  .grid { grid-template-columns: 1fr; }
  .genre-grid { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12.5px; }
  .btn { font-size: 11px; padding: 9px 15px; }
  .logo img { height: 16px; }
  .reel-corner { top: 106px; }
  .sound { bottom: 22px; right: var(--pad); }
  .reel-face { bottom: 74px; }
  .scroll-cue { display: none; }
}

/* Touch devices have no hover: the work cards must still show their cue, and the
   portraits must still look tappable — but they stay portraits-only until tapped,
   which is the whole point of the People section. */
@media (hover: none), (pointer: coarse) {
  .film-meta { opacity: 1; transform: none; }
  .who-no { opacity: 0.75; }
  .who-media img { filter: grayscale(1) brightness(0.88) contrast(1.04); }
  .who[aria-expanded="true"] .who-media img { filter: grayscale(0) brightness(1) contrast(1); }
}

@media (max-width: 420px) {
  .who { width: calc(50% - 6px); }
  .foot-row { justify-content: flex-start; }
}

/* ---------------- phones: tap targets and a legible floor ----------------
   appended last so these win over the earlier mobile rules                */
@media (max-width: 700px), (pointer: coarse) {
  /* tap ergonomics follow the pointer, not the width — a 768px iPad is touch */
  .nav-links a { padding: 13px 2px; }
  .btn { min-height: 44px; display: inline-flex; align-items: center; }
  .logo { min-height: 44px; }
  .all-link { padding: 14px 0; display: inline-block; }
  .more { min-height: 44px; }
  .push-mail { padding: 13px 0; display: inline-block; }
  .col a { padding: 11px 0; display: inline-block; }
  .social a { padding: 16px 0; display: inline-block; }
  .foot-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .foot-mail { padding: 13px 0; display: inline-block; }

  /* these three are set at higher specificity earlier in the file */
  .clip .clip-no { font-size: 11px; }
  .tl-track-tag { font-size: 11px; }
  .who .who-no { font-size: 11px; }
}
