/* Eight Count: a rehearsal floor. Marley ground, spike tape, prints on marks. */

@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("fonts/big-shoulders-display.woff2") format("woff2");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
}

:root {
  --floor: #c8c9cc;
  --floor-deep: #aeb0b5;
  --ink: #15151a;
  --paper: #f4f3ee;
  --wall: #1a1a1f;
  --pink: #ff2d95;
  --yellow: #ffe600;
  --cyan: #00d1ff;
  --orange: #ff7a14;
  --white: #f8f8f5;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  /* Generated marley tile, 2048px: see img/.provenance.txt */
  --floor-tex: url("img/marley-floor.webp");
  --zig: polygon(0 0, 100% 0, calc(100% - 4px) 33%, 100% 66%, calc(100% - 3px) 100%, 0 100%, 4px 66%, 0 33%);
}

* { box-sizing: border-box; }

html {
  background: var(--floor);
  color-scheme: light;
  caret-color: var(--pink);
  scrollbar-color: var(--ink) var(--floor-deep);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
  background-color: var(--floor);
  background-image: var(--floor-tex);
  background-size: 1536px 1536px;
}

img { max-width: 100%; }

::selection { background: var(--pink); color: var(--ink); }

::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: var(--floor-deep); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 3px solid var(--floor-deep); border-radius: 0; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

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

.skip {
  position: absolute;
  left: var(--gut);
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- Tape atoms ---------- */

[data-tape="pink"] { --tape: var(--pink); }
[data-tape="yellow"] { --tape: var(--yellow); }
[data-tape="cyan"] { --tape: var(--cyan); }
[data-tape="orange"] { --tape: var(--orange); }
[data-tape="white"] { --tape: var(--white); }

.tape {
  position: relative;
  isolation: isolate;
  display: inline-block;
  margin: 0;
  padding: 0.5em 1.1em 0.45em;
  border: 0;
  color: var(--ink);
  font: 700 0.8rem/1.3 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  rotate: var(--tilt, -1.2deg);
}

.tape::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.25), rgb(255 255 255 / 0) 45%, rgb(0 0 0 / 0.08)),
    var(--tape, var(--yellow));
  clip-path: var(--zig);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.2);
}

.tape--soft { font-size: 0.88rem; letter-spacing: 0.02em; text-transform: none; }

a.tape, button.tape {
  cursor: pointer;
  transition: translate 0.2s var(--ease), filter 0.2s var(--ease);
}
a.tape:hover, button.tape:hover { translate: 0 -2px; filter: brightness(1.08) saturate(1.15); }

/* ---------- Taped Email Aileen ---------- */

.top-row {
  position: absolute;
  top: 22px;
  right: calc(var(--gut) * 0.6 + 32px);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 30px;
}

.mark-email {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 1.4rem;
  color: var(--ink);
  font: 900 1.7rem/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  rotate: -2deg;
  transition: filter 0.2s var(--ease), scale 0.2s var(--ease);
}
.mark-email::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.22), rgb(255 255 255 / 0) 45%, rgb(0 0 0 / 0.08)), var(--pink);
  clip-path: var(--zig);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.2);
}
/* The X tape the button is stuck over. */
.mark-email::after {
  content: "";
  position: absolute;
  inset: -16px -26px;
  z-index: -2;
  background:
    linear-gradient(to top right, transparent calc(50% - 5px), var(--white) calc(50% - 5px), var(--white) calc(50% + 5px), transparent calc(50% + 5px)),
    linear-gradient(to bottom right, transparent calc(50% - 5px), var(--white) calc(50% - 5px), var(--white) calc(50% + 5px), transparent calc(50% + 5px));
  filter: drop-shadow(0 1px 0 rgb(0 0 0 / 0.2));
}
.mark-email:hover { filter: brightness(1.08) saturate(1.1); scale: 1.04; }

.mark-email--big {
  position: relative;
  top: auto;
  right: auto;
  z-index: 0;
  min-height: 84px;
  padding: 0 2.6rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

/* ---------- Count controls ---------- */

.hud {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  translate: 0 12px;
  transition: opacity 0.25s var(--ease), translate 0.25s var(--ease), visibility 0s 0.25s;
}
.hud.is-shown { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.no-js .hud, .no-js .pause--hero { display: none; }

.pause--hero { position: absolute; right: var(--gut); bottom: 36px; z-index: 6; }

.hud-email {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.2rem;
  font-size: 0.85rem;
  --tilt: 1.4deg;
}

.pause {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0 1.2rem;
  font-size: 0.85rem;
}
.pause svg { fill: var(--ink); flex: none; }
.pause .ico-play { display: none; }
.pause[data-paused] .ico-pause { display: none; }
.pause[data-paused] .ico-play { display: block; }

.hud-count {
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  font: 900 1.9rem/1 var(--display);
  letter-spacing: 0;
  --tilt: 1.5deg;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gut) 120px;
}

.hero-wrap { order: 1; }

.hero-id {
  order: 0;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-id h1 {
  margin: 0 0 18px;
  font: 900 clamp(3.4rem, 10.5vh, 6rem)/0.84 var(--display);
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.back { --tilt: 0.8deg; display: inline-flex; align-items: center; min-height: 44px; }
.top-row .back { --tilt: -1.5deg; }

.count {
  position: absolute;
  right: var(--gut);
  bottom: 104px;
  z-index: 2;
  display: flex;
  gap: 0.2em;
  font: 900 clamp(4.5rem, 12vw, 8.5rem)/0.8 var(--display);
  pointer-events: none;
  user-select: none;
}
.count span {
  color: transparent;
  -webkit-text-stroke: 2px rgb(21 21 26 / 0.3);
  transition: color 0.12s linear, -webkit-text-stroke-color 0.12s linear;
}
.count span:nth-child(1) { --lit: var(--pink); }
.count span:nth-child(2) { --lit: var(--yellow); }
.count span:nth-child(3) { --lit: var(--cyan); }
.count span:nth-child(4) { --lit: var(--orange); }
.count span.is-on { color: var(--lit); -webkit-text-stroke-color: var(--ink); }

/* ---------- Stages: the floor a formation is laid on ---------- */

.stage-wrap { position: relative; }

.stage {
  position: relative;
  width: 100%;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 34px;
}

.js .stage { display: block; }

.js .hero-wrap { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.js .hero { height: 100svh; min-height: 640px; padding-bottom: 0; display: block; }
.js .hero-id { position: absolute; top: 28px; left: var(--gut); }
.js .hero-stage { height: 100%; }
.js .hero-stage .print { pointer-events: auto; }

.marks { position: absolute; inset: 0; z-index: 0; pointer-events: none; contain: paint; }

.print {
  position: relative;
  width: min(220px, 44%);
  margin: 0;
  z-index: 2;
}
.js .print {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w, 200px);
}

.print-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 6px;
  border: 0;
  background: var(--paper);
  box-shadow: 0 1px 2px rgb(21 21 26 / 0.3), 0 16px 26px -10px rgb(21 21 26 / 0.45);
  cursor: zoom-in;
  transition: scale 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.print-btn img { display: block; width: 100%; height: auto; }
.print-btn:hover { scale: 1.03; box-shadow: 0 2px 3px rgb(21 21 26 / 0.3), 0 26px 34px -12px rgb(21 21 26 / 0.5); }
.print--baked .print-btn { padding: 0; background: none; box-shadow: none; }
.print--baked .print-btn:hover { box-shadow: none; }

.print-cap {
  position: absolute;
  left: -8px;
  bottom: -12px;
  z-index: 2;
  max-width: 90%;
  padding: 0.4em 0.9em 0.35em;
  color: var(--ink);
  font: 700 0.8rem/1.3 var(--body);
  letter-spacing: 0.02em;
  rotate: -1.5deg;
  pointer-events: none;
  isolation: isolate;
}
.print-cap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.25), rgb(255 255 255 / 0) 45%, rgb(0 0 0 / 0.08)), var(--tape);
  clip-path: var(--zig);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.2);
}
.print:nth-of-type(5n + 1) { --tape: var(--yellow); }
.print:nth-of-type(5n + 2) { --tape: var(--cyan); }
.print:nth-of-type(5n + 3) { --tape: var(--pink); }
.print:nth-of-type(5n + 4) { --tape: var(--orange); }
.print:nth-of-type(5n + 5) { --tape: var(--white); }

.print-num {
  position: absolute;
  top: -10px;
  right: -8px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  background: var(--white);
  color: var(--ink);
  font: 800 1.05rem/1 var(--display);
  rotate: 3deg;
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.25);
  pointer-events: none;
}

/* Tape marks. JS sets --len, --ang, --hw, --hh, --p and the transform. */
.mark {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  --t: 9px;
  --c: var(--white);
  transform-origin: 0 0;
  transition: opacity 0.5s var(--ease), filter 0.2s var(--ease);
}
.mark::before, .mark::after {
  content: "";
  position: absolute;
  background: var(--c);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.18);
}
.mark--x::before, .mark--x::after {
  left: calc(var(--len) / -2);
  top: calc(var(--t) / -2);
  width: var(--len);
  height: var(--t);
}
.mark--x::before { rotate: var(--ang); }
.mark--x::after { rotate: calc(var(--ang) * -1); }
.mark--tee::before {
  left: calc(var(--hw) * -1 - var(--p));
  top: calc(var(--hh) + 12px);
  width: calc(var(--hw) * 2 + var(--p) * 2);
  height: var(--t);
}
.mark--tee::after {
  left: calc(var(--t) / -2);
  top: calc(var(--hh) + 12px + var(--t));
  width: var(--t);
  height: 36px;
}
.mark[data-set]:not(.is-current) { opacity: 0.38; }
.mark.is-lit {
  --t: 12px;
  filter: brightness(1.08) drop-shadow(0 3px 9px color-mix(in srgb, var(--c) 80%, transparent));
}
.mark.is-hit { animation: hit 0.7s var(--ease); }

.line {
  position: absolute;
  left: 0;
  top: 0;
  height: 6px;
  background: var(--white);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.14);
  transform-origin: 0 50%;
  opacity: 0.9;
}
.line--ring {
  height: auto;
  background: none;
  border: 6px solid var(--white);
  border-radius: 50%;
  box-shadow: none;
  transform-origin: 50% 50%;
}

/* Marks of a stage still waiting for its count-in blink on every beat. */
.stage.is-calling .mark.is-current,
.stage.is-calling .mark:not([data-set]) { animation: call-a 0.5s linear; }
body[data-parity="1"] .stage.is-calling .mark.is-current,
body[data-parity="1"] .stage.is-calling .mark:not([data-set]) { animation-name: call-b; }

@keyframes call-a { from { filter: brightness(1.45) saturate(1.3); } to { filter: brightness(1); } }
@keyframes call-b { from { filter: brightness(1.45) saturate(1.3); } to { filter: brightness(1); } }
@keyframes hit {
  0% { filter: brightness(1.7) drop-shadow(0 0 0 transparent); }
  35% { filter: brightness(1.25) drop-shadow(0 4px 12px color-mix(in srgb, var(--c) 90%, transparent)); }
  100% { filter: brightness(1); }
}

/* Pull quotes laid inside a formation. */
.stage-core {
  margin: 0 0 clamp(28px, 5vw, 48px);
  max-width: 24ch;
  font: 700 clamp(2rem, 3.6vw, 3.1rem)/1.02 var(--display);
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.stage-core p { margin: 0; }
.stage-core.is-placed { position: absolute; z-index: 3; margin: 0; max-width: none; }

/* ---------- Sections ---------- */

.sec { padding: 88px 16px 8px; }

.sec-inner {
  width: min(100%, 1480px);
  margin: 0 auto;
}

.sec-head { margin-bottom: clamp(32px, 5vw, 60px); }
.sec-head h2 {
  margin: 0;
  font: 900 clamp(3.25rem, 8vw, 6rem)/0.86 var(--display);
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.sec-head .tape { margin-top: 20px; }

.stage-label { margin: clamp(56px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); }

.callsheet {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: clamp(48px, 7vw, 80px) 0 0;
  padding: 0;
  list-style: none;
}
.callsheet li { padding-top: 14px; border-top: 4px solid var(--ink); }
.callsheet strong {
  display: block;
  margin-bottom: 8px;
  font: 800 1.75rem/0.95 var(--display);
  text-transform: uppercase;
}
.callsheet span { display: block; max-width: 38ch; font-size: 0.92rem; line-height: 1.5; }

.aside {
  max-width: 54ch;
  margin: clamp(40px, 6vw, 72px) 0 0 auto;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.about-copy h3 {
  margin: 0 0 12px;
  font: 800 clamp(1.7rem, 2.6vw, 2.2rem)/1.02 var(--display);
}
.about-copy p { max-width: 62ch; margin: 0 0 32px; }
.pull {
  margin: 12px 0 0;
  max-width: 24ch;
  font: 700 clamp(1.8rem, 2.8vw, 2.5rem)/1.04 var(--display);
  text-wrap: balance;
}

/* Reel */
.reel { margin-top: clamp(64px, 9vw, 110px); }
.reel h3 {
  margin: 0 0 22px;
  font: 800 clamp(2rem, 3.4vw, 2.6rem)/1 var(--display);
  text-transform: uppercase;
}
.reel-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.take {
  position: relative;
  display: block;
  padding: 6px 6px 16px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(21 21 26 / 0.3), 0 16px 26px -10px rgb(21 21 26 / 0.45);
  transition: translate 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.reel-list li:nth-child(odd) .take { rotate: -0.8deg; }
.reel-list li:nth-child(even) .take { rotate: 0.7deg; }
.take:hover { translate: 0 -4px; box-shadow: 0 2px 3px rgb(21 21 26 / 0.3), 0 26px 34px -12px rgb(21 21 26 / 0.5); }
.take-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.take-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.take-thumb::before {
  content: "";
  position: absolute;
  left: calc(50% - 24px);
  top: calc(50% - 24px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tape);
  box-shadow: 0 2px 6px rgb(21 21 26 / 0.4);
}
.take-thumb::after {
  content: "";
  position: absolute;
  left: calc(50% - 8px);
  top: calc(50% - 11px);
  width: 20px;
  height: 22px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.take-n { position: absolute; top: -12px; left: -8px; z-index: 2; --tilt: -2deg; }
.take-title { display: block; margin-top: 14px; padding: 0 8px; font: 700 1.02rem/1.3 var(--body); }
.take-by { display: block; margin-top: 3px; padding: 0 8px; font-size: 0.88rem; color: #3b3b43; }
.reel-past { max-width: 70ch; margin: 44px 0 0; font-size: 0.95rem; }

/* Kind words, taped up */
.notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 40px;
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}
.note:nth-child(3n + 2) { margin-top: 44px; }
.note {
  position: relative;
  margin: 0;
  padding: 34px 28px 40px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgb(21 21 26 / 0.25), 0 18px 28px -12px rgb(21 21 26 / 0.4);
}
.note:nth-child(odd) { rotate: -0.9deg; }
.note:nth-child(even) { rotate: 0.8deg; }
.note::before {
  content: "";
  position: absolute;
  top: -13px;
  left: calc(50% - 48px);
  width: 96px;
  height: 28px;
  background: var(--tape);
  clip-path: var(--zig);
  rotate: -3deg;
  opacity: 0.95;
}
.note blockquote { margin: 0; }
.note blockquote p { margin: 0; font-size: 1.1rem; line-height: 1.5; }
.note-by { position: absolute; left: 18px; bottom: -14px; letter-spacing: 0.02em; text-transform: none; font-size: 0.85rem; }

/* Clients: the call list pinned on the wall */
.sec--wall {
  margin-top: 120px;
  padding-bottom: 120px;
  background: var(--wall);
  color: var(--paper);
  box-shadow: inset 0 -22px 0 #0d0d11;
}
.sec--wall :focus-visible { outline-color: var(--yellow); }
.sec--wall .tape { background-color: var(--tape); }
.calllist {
  position: relative;
  columns: 3 280px;
  column-gap: 48px;
  margin: 0;
  padding: 48px 28px;
  list-style: none;
  background: var(--paper);
  color: var(--ink);
  rotate: -0.5deg;
  box-shadow: 0 24px 40px -16px rgb(0 0 0 / 0.7);
}
.calllist::before, .calllist::after {
  content: "";
  position: absolute;
  top: -14px;
  width: 120px;
  height: 30px;
  clip-path: var(--zig);
}
.calllist::before { left: 6%; background: var(--pink); rotate: -4deg; }
.calllist::after { right: 6%; background: var(--cyan); rotate: 3deg; }
.calllist li {
  break-inside: avoid;
  padding: 7px 0 5px;
  border-bottom: 1px solid rgb(21 21 26 / 0.22);
  font: 700 clamp(1.5rem, 2.2vw, 1.9rem)/1.05 var(--display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* Places: the five asks as five marks */
.places-lead { max-width: 46ch; margin: 0 0 clamp(40px, 6vw, 72px); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; }

.places-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.places-list li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.places-list li:nth-child(even) { translate: 0 34px; }
.places-list .x { position: relative; width: 112px; height: 112px; }
.places-list .x::before, .places-list .x::after {
  content: "";
  position: absolute;
  left: -8px;
  top: calc(50% - 7px);
  width: calc(100% + 16px);
  height: 14px;
  background: var(--tape);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.2);
}
.places-list .x::before { rotate: 45deg; }
.places-list .x::after { rotate: -45deg; }
.places-list .n {
  position: absolute;
  top: 28px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  font: 900 2.4rem/1 var(--display);
  box-shadow: 0 2px 0 rgb(0 0 0 / 0.2);
}
.places-list .ask { max-width: 100%; text-align: center; font-size: 0.82rem; --tilt: -1deg; }
.places-list li:nth-child(even) .ask { --tilt: 1.2deg; }

.places-act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 48px;
  margin-top: clamp(72px, 9vw, 120px);
}
.address { margin: 0; font: 600 clamp(1.3rem, 2.4vw, 1.8rem)/1.2 var(--body); }
.address a { color: inherit; text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--pink); text-underline-offset: 6px; }
.address a:hover { text-decoration-color: var(--ink); }
.socials { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 0; padding: 0; list-style: none; }
.socials a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.3rem; }

.invites {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px clamp(24px, 4vw, 56px);
  margin-top: clamp(72px, 9vw, 120px);
}
.invite-lead { grid-column: 1 / -1; max-width: 70ch; margin: 0; font-size: 1.1rem; }
.invite h3 { margin: 0 0 18px; font-size: 0.9rem; }
.invite p { margin: 0; max-width: 40ch; }

.foot {
  position: relative;
  margin-top: clamp(96px, 12vw, 160px);
  padding: 56px var(--gut) 120px;
  font-size: 0.9rem;
}
.foot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.14);
}
.foot p { max-width: 70ch; margin: 0; }

/* ---------- Photo viewer ---------- */

.viewer {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.viewer::backdrop { background: rgb(21 21 26 / 0.86); }

.viewer-floor {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 16px var(--gut) 20px;
  background-color: var(--floor);
  background-image: var(--floor-tex);
  background-size: 1536px 1536px;
  overflow: hidden;
}
.viewer-floor::before, .viewer-floor::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(140vw, 1900px);
  height: 14px;
  background: var(--white);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.14);
  translate: -50% -50%;
  opacity: 0.85;
  pointer-events: none;
}
.viewer-floor::before { rotate: 28deg; }
.viewer-floor::after { rotate: -28deg; }

.v-close { justify-self: end; z-index: 2; min-height: 48px; padding: 0 1.4rem; }
.v-fig {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  min-height: 0;
  margin: 0;
}
.v-fig img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 1200px);
  max-height: calc(100svh - 250px);
  border: 8px solid var(--paper);
  background: var(--paper);
  box-shadow: 0 2px 3px rgb(21 21 26 / 0.3), 0 30px 44px -14px rgb(21 21 26 / 0.55);
}
.viewer[open] .v-fig img { animation: land 0.42s var(--ease); }
@keyframes land {
  from { translate: 0 -26px; scale: 1.05; opacity: 0.2; }
  to { translate: 0 0; scale: 1; opacity: 1; }
}
.v-cap { display: grid; justify-items: center; gap: 10px; max-width: 80ch; text-align: center; font-size: 0.92rem; line-height: 1.45; }
.v-cap strong { font-size: 0.95rem; letter-spacing: 0.02em; text-transform: none; }
.v-nav { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 16px; }
.v-prev, .v-next { min-height: 48px; padding: 0 1.4rem; }
.v-count { min-height: 48px; display: inline-grid; place-items: center; }

body:has(dialog[open]) { overflow: hidden; }

@media (min-width: 700px) {
  .sec { padding: 112px 32px 8px; }
  .calllist { padding: 56px 40px; }
}

@media (min-width: 1200px) {
  .sec { padding: 144px 56px 8px; }
  .calllist { padding: 64px 56px; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .reel-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .callsheet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .places-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .note:nth-child(3n + 2) { margin-top: 0; }
  .places-list li:nth-child(even) { translate: 0; }
  .invites { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .js .hero-id { top: 84px; }
  .hero-id h1 { font-size: clamp(3rem, 15vw, 4.2rem); margin: 0 0 14px; }
  .top-row { top: 14px; gap: 18px; }
  .top-row .back { min-height: 48px; padding: 0 0.9rem; font-size: 0.72rem; }
  .mark-email--big { margin: 0 22px; padding: 0 1.8rem; }
  .mark-email { font-size: 1.35rem; min-height: 48px; padding: 0 1.1rem; }
  .count { bottom: 112px; font-size: clamp(3.6rem, 19vw, 5rem); }
  .hero .print-cap { display: none; }
  .callsheet { grid-template-columns: 1fr; }
  .reel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 18px; }
  .notes { grid-template-columns: 1fr; }
  .places-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .places-list .x { width: 92px; height: 92px; }
  .places-list .n { top: 18px; width: 52px; height: 52px; font-size: 2.2rem; }
  .hud { right: 10px; bottom: 10px; gap: 8px; }
  .hud-email { display: none; }
  .hud .pause { width: 48px; padding: 0; justify-content: center; }
  .hud .pause-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .v-fig img { max-height: calc(100svh - 270px); }
}

/* ---------- Reduced motion: final formations, no ticking, no travel ---------- */

@media (prefers-reduced-motion: reduce) {
  .hud, .pause--hero { display: none; }
  .count span { color: var(--lit); -webkit-text-stroke-color: var(--ink); transition: none; }
  .print-btn, .mark, a.tape, button.tape, .mark-email, .take { transition: none; }
  .print-btn:hover { scale: 1; }
  .mark.is-hit, .stage.is-calling .mark { animation: none; }
  .viewer[open] .v-fig img { animation: fade 0.2s linear; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}
