@property --lift {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

:root {
  --paper: #efebe4;
  --paper-2: #e6e1d8;
  --ink: #141312;
  --ink-soft: #4a4640;
  --line: #14131224;
  --line-hard: #141312;
  --cyan: #2ed3e6;
  --violet: #6a4bf0;
  --magenta: #e8459e;
  --accent: #a81466;
  --brand: linear-gradient(112deg, var(--cyan), var(--violet) 46%, var(--magenta));

  --display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --gutter: clamp(1.1rem, 4vw, 4.5rem);
  --rule: 1.5px solid var(--line-hard);

  --t-hero: clamp(2.6rem, 10.2vw, 8.6rem);
  --t-h2: clamp(2.1rem, 6.4vw, 5rem);
  --t-h3: clamp(1.15rem, 2.3vw, 1.6rem);
  --t-body: clamp(1rem, 1.05vw, 1.115rem);
  --t-micro: clamp(0.68rem, 0.82vw, 0.78rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-body) / 1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "wdth" 100, "opsz" 48;
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }

::selection { background: var(--magenta); color: #fff; }

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

.escape {
  position: absolute;
  left: -9999px;
}
.escape:focus {
  left: var(--gutter);
  top: 1rem;
  z-index: 60;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* canvas + cursor ------------------------------------------------------- */
#dust {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.pointer {
  position: fixed;
  z-index: 50;
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
  background: var(--magenta);
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: multiply;
  transition: width 0.28s cubic-bezier(0.2, 0.9, 0.2, 1),
              height 0.28s cubic-bezier(0.2, 0.9, 0.2, 1),
              margin 0.28s cubic-bezier(0.2, 0.9, 0.2, 1),
              opacity 0.3s;
}
.pointer.is-grown {
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  opacity: 0.55;
}
@media (hover: none), (pointer: coarse) { .pointer { display: none; } }

main, .masthead, .colophon { position: relative; z-index: 1; }

/* masthead -------------------------------------------------------------- */
.masthead { padding: 0 var(--gutter); }

.bar {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.4vw, 2.6rem);
  padding: 1.15rem 0 1.05rem;
  border-bottom: var(--rule);
}

.mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
}
.mark img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
}
.mark span {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "wdth" 88;
  font-size: 1.16rem;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.mark span i {
  display: block;
  font-style: normal;
  font-variation-settings: "wdth" 75;
  color: var(--ink-soft);
}

.menu {
  display: flex;
  gap: clamp(0.9rem, 2.2vw, 2.1rem);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.menu a {
  position: relative;
  padding: 0.35rem 0;
}
.menu a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.34s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.menu a:hover::after,
.menu a:focus-visible::after { transform: scaleX(1); }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.35rem;
  border: var(--rule);
  border-radius: 999px;
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.pill:hover { transform: translateY(-2px); }
.pill--fill {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.pill--fill:hover {
  background: transparent;
  color: var(--ink);
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border: var(--rule);
  border-radius: 999px;
  background: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.drawer {
  display: grid;
  border-bottom: var(--rule);
  background: var(--paper-2);
}
.drawer[hidden] { display: none; }
.drawer a {
  padding: 1.05rem var(--gutter);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.drawer a:last-child {
  border-bottom: 0;
  color: var(--accent);
}

/* opener ---------------------------------------------------------------- */
.opener {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2.4rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3.4rem);
}

.opener h1 {
  font-size: var(--t-hero);
  font-variation-settings: "wdth" 84, "opsz" 96;
  text-transform: uppercase;
}
.opener h1 .line {
  display: block;
  overflow: hidden;
}
.opener h1 .line > span {
  display: block;
  transform: translateY(105%);
  animation: rise 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.opener h1 .line:nth-child(2) > span { animation-delay: 0.11s; }
.opener h1 .line:nth-child(3) > span { animation-delay: 0.22s; }

@keyframes rise {
  to { transform: translateY(0); }
}

.grad {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 46ch;
  margin: 1.9rem 0 0;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.opener__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.9rem;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 3vw, 2.8rem);
  margin: 2.6rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.stats dt {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  font-variation-settings: "wdth" 84;
  line-height: 1;
}
.stats dd {
  margin: 0.35rem 0 0;
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* the wheel ------------------------------------------------------------- */
.wheel-cell {
  display: grid;
  gap: clamp(0.7rem, 1.6vw, 1.1rem);
  justify-items: center;
  align-content: center;
}

.wheel {
  --size: min(42vw, 440px, 100%);
  position: relative;
  width: var(--size);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
  animation: drift 7s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translateY(calc(-1 * var(--lift))); }
  50%      { transform: translateY(calc(-1 * var(--lift) - 16px)); }
}

.wheel__orbit {
  position: absolute;
  inset: 0;
  animation: spin 34s linear infinite;
}
.wheel__orbit text {
  font-family: var(--body);
  font-size: 12.4px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  fill: var(--ink-soft);
}
@keyframes spin { to { transform: rotate(360deg); } }

.wheel__ring {
  position: absolute;
  inset: 5.5%;
  border-radius: 50%;
  padding: 11px;
  background: conic-gradient(var(--cyan), var(--violet) 32%, var(--magenta) 58%, var(--cyan) 84%);
  animation: spin 11s linear infinite reverse;
}

.wheel__ring::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--paper);
}

.wheel__deck {
  position: relative;
  width: 76%;
  aspect-ratio: 1;
}

.wheel__shot {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #0d1020;
  box-shadow: 0 26px 60px #14131f33;
  opacity: 0;
  animation: deck 21s linear infinite;
}
.wheel__shot:nth-child(2) { animation-delay: -14s; }
.wheel__shot:nth-child(3) { animation-delay: -7s; }

@keyframes deck {
  0%    { opacity: 0; }
  2%    { opacity: 1; }
  33.3% { opacity: 1; }
  35.4% { opacity: 0; }
  100%  { opacity: 0; }
}

.wheel__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: settle 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes settle { to { transform: scale(1); } }

/* captions live under the circle, never over the rotating ring text ------- */
.wheel__tags {
  display: grid;
  place-items: center;
}
.wheel__tag {
  grid-area: 1 / 1;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  animation: deck 21s linear infinite;
}
.wheel__tag:nth-of-type(2) { animation-delay: -14s; }
.wheel__tag:nth-of-type(3) { animation-delay: -7s; }

.wheel-cell:hover .wheel__orbit,
.wheel-cell:hover .wheel__ring,
.wheel-cell:hover .wheel__shot,
.wheel-cell:hover .wheel__tag { animation-play-state: paused; }

/* tape ------------------------------------------------------------------ */
.tape {
  overflow: hidden;
  border-top: var(--rule);
  border-bottom: var(--rule);
  background: var(--ink);
  color: var(--paper);
}
.tape__run {
  display: flex;
  width: max-content;
  padding: 0.85rem 0;
  animation: slide 34s linear infinite;
}
.tape__item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: 2.4rem;
  font-family: var(--display);
  font-variation-settings: "wdth" 90;
  font-size: clamp(0.95rem, 1.7vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tape__icon {
  width: 1.3em;
  height: 1.3em;
  flex: none;
  color: var(--magenta);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.tape__item:hover .tape__icon { transform: rotate(-10deg) scale(1.12); }
@keyframes slide { to { transform: translateX(-50%); } }
.tape:hover .tape__run { animation-play-state: paused; }

/* sections -------------------------------------------------------------- */
section {
  padding: clamp(3.6rem, 9vw, 8rem) var(--gutter);
}

.section-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head h2 {
  font-size: var(--t-h2);
  text-transform: uppercase;
}
.section-head__sub {
  max-width: 52ch;
  margin: 1.2rem 0 0;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* reveal ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
      animation: scrub linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 34%;
    }
    @keyframes scrub {
      from { opacity: 0; transform: translateY(26px); }
      to   { opacity: 1; transform: none; }
    }
  }
}

/* chips ----------------------------------------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}
.chip {
  min-height: 44px;
  padding: 0 1.05rem;
  border: var(--rule);
  border-radius: 999px;
  background: none;
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.chip:hover { background: var(--paper-2); }
.chip.is-on {
  background: var(--ink);
  color: var(--paper);
}

/* board ------------------------------------------------------------------
   one fixed billboard; only the piece on the panel is swapped ------------ */
.work__stage {
  --frame: clamp(8px, 1.15vw, 12px);
  --rig: clamp(30px, 4.8vw, 44px);
  --stand: clamp(2.4rem, 5.4vw, 3.9rem);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.86fr);
  gap: clamp(1.4rem, 3.4vw, 3.2rem);
  align-items: start;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.board {
  position: relative;
  margin: 0;
  padding-bottom: var(--stand);
}

/* gantry: steel beam, lamp housings, visors --------------------------------- */
.board__rig {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: var(--rig);
  padding: 0 clamp(12px, 4%, 30px);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #605a51 0%, #322f2b 16%, #45413b 42%, #26231f 68%, #171513 100%);
  box-shadow:
    inset 0 1px 0 #ffffff3d,
    inset 0 -4px 10px #000000b8,
    0 1px 0 #000000a6;
}
.board__rig::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #7a736a, #2c2926);
}
.board__rig::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 20%;
  height: 3px;
  background-image: radial-gradient(circle, #8b8478 0 1.1px, transparent 1.6px);
  background-size: 26px 3px;
  background-repeat: repeat-x;
  opacity: 0.5;
}

.board__lamp {
  position: relative;
  width: clamp(56px, 13%, 96px);
  height: 60%;
  border-radius: 3px 3px 2px 2px;
  background: linear-gradient(180deg, #6f675c, #221f1c 72%, #0f0e0d);
  box-shadow:
    inset 0 1px 0 #ffffff52,
    inset 0 -3px 7px #000000d9,
    0 0 0 1px #0000008a;
}
.board__lamp::before {                       /* visor lip */
  content: "";
  position: absolute;
  left: -7%;
  right: -7%;
  top: 30%;
  height: 15%;
  border-radius: 2px;
  background: linear-gradient(180deg, #7d766a, #2a2724);
  box-shadow: 0 1px 2px #000000a6;
}
.board__lamp i {                             /* the tube itself */
  position: absolute;
  left: 10%;
  right: 10%;
  top: 47%;
  bottom: 8%;
  border-radius: 2px;
  background: linear-gradient(180deg, #fffef8, #ffedad 55%, #f4c869);
  box-shadow:
    0 0 10px 3px #ffedad8a,
    0 0 26px 12px #ffd98f3d,
    0 0 60px 26px #ffd98f1f;
  animation: lampThrob 6s ease-in-out infinite;
}
.board__lamp::after {                        /* the throw onto the board */
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 330%;
  height: clamp(96px, 18vw, 200px);
  translate: -50% 0;
  background: radial-gradient(46% 100% at 50% 0%, #fff3d24d 0%, #fff3d21c 40%, transparent 78%);
  filter: blur(2px);
  pointer-events: none;
}
@keyframes lampThrob {
  0%, 100% { opacity: 1; }
  47%      { opacity: 0.93; }
  53%      { opacity: 0.99; }
}

/* the panel keeps its frame; the artwork inside it is the only thing that moves */
.board__panel {
  position: relative;
  z-index: 1;
  container-type: inline-size;
  aspect-ratio: 16 / 10;
  border: var(--frame) solid #141312;
  border-image: linear-gradient(158deg, #6c655a 0%, #1a1817 24%, #403c36 52%, #131211 78%, #4c463f 100%) 1;
  background: radial-gradient(120% 96% at 50% -8%, #26242c 0%, #121116 46%, #08070a 100%);
  box-shadow: 0 24px 44px #14131f24;
  overflow: hidden;
  isolation: isolate;
}
.board__panel::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  background: var(--src, none) center / cover no-repeat;
  filter: blur(40px) saturate(1.3);
  opacity: 0.42;
  transform: scale(1.08);
}
.board__panel::after {
  content: "";
  position: absolute;
  left: 0;
  top: -25%;
  bottom: -25%;
  width: 30%;
  z-index: 4;
  background: linear-gradient(100deg, transparent, #ffffff26 42%, #ffffff6b 52%, transparent);
  transform: translateX(-140%) skewX(-13deg);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.board.is-swap .board__panel::after { animation: sheen 1.15s cubic-bezier(0.3, 0.7, 0.2, 1); }
@keyframes sheen {
  0%   { opacity: 0;    transform: translateX(-140%) skewX(-13deg); }
  12%  { opacity: 0.95; }
  100% { opacity: 0;    transform: translateX(430%) skewX(-13deg); }
}

/* the light the two lamps drop on the piece */
.board__wash {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    radial-gradient(34% 58% at 24% 0%, #fff4d842 0%, transparent 72%),
    radial-gradient(34% 58% at 76% 0%, #fff4d842 0%, transparent 72%),
    linear-gradient(180deg, #fff4d81f 0%, transparent 38%);
}

/* glass in front of the piece: reflection, vignette, bevel */
.board__glass {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(112deg, #ffffff1f 0%, #ffffff0a 16%, transparent 32%, transparent 74%, #ffffff12 88%, transparent 100%);
  box-shadow:
    inset 0 0 46px #000000a8,
    inset 0 0 0 1px #ffffff17,
    inset 0 2px 0 #ffffff14;
}

/* bolts holding the frame to the gantry */
.board__bolt {
  position: absolute;
  z-index: 5;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #a29a8c, #2b2825 74%);
  box-shadow: 0 0 0 1px #0000008f, inset 0 -1px 1px #000000b3;
  pointer-events: none;
}
.board__bolt--tl { left: calc(var(--frame) / 2 - 4.5px); top: calc(var(--rig) + var(--frame) / 2 - 4.5px); }
.board__bolt--tr { right: calc(var(--frame) / 2 - 4.5px); top: calc(var(--rig) + var(--frame) / 2 - 4.5px); }
.board__bolt--bl { left: calc(var(--frame) / 2 - 4.5px); bottom: calc(var(--stand) + var(--frame) / 2 - 4.5px); }
.board__bolt--br { right: calc(var(--frame) / 2 - 4.5px); bottom: calc(var(--stand) + var(--frame) / 2 - 4.5px); }

.board__deck { position: absolute; inset: 0; }
.board__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: clamp(5px, 1.2%, 14px);
  object-fit: contain;
  opacity: 0;
}
.board__shot.is-live { opacity: 1; }
.board__shot.is-in { animation: boardIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both; }
.board__shot.is-out { animation: boardOut 0.5s ease both; }
@keyframes boardIn {
  from {
    opacity: 0;
    clip-path: inset(var(--from, 0 100% 0 0));
    transform: scale(1.05);
    filter: blur(10px) saturate(1.15);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: none;
    filter: none;
  }
}
@keyframes boardOut {
  to { opacity: 0; transform: scale(1.015); filter: blur(7px); }
}

/* the sign-off: the last thing the board shows, on the same panel -------- */
.board__shot--thanks {
  display: grid;
  place-items: center;
  padding: clamp(8px, 3.4cqw, 40px);
  text-align: center;
  color: var(--paper);
}

.signoff__glow { position: absolute; inset: -24% -8%; pointer-events: none; }
.signoff__glow i {
  position: absolute;
  width: 54cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  animation: signFloat 10s ease-in-out infinite;
}
.signoff__glow i:nth-child(1) { left: -10%; top: -26%; background: radial-gradient(circle, var(--cyan), transparent 66%); }
.signoff__glow i:nth-child(2) { right: -12%; top: 2%;   background: radial-gradient(circle, var(--magenta), transparent 66%); animation-delay: -3.4s; }
.signoff__glow i:nth-child(3) { left: 24%;  bottom: -30%; background: radial-gradient(circle, var(--violet), transparent 66%); animation-delay: -6.8s; }
@keyframes signFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(4%, -8%, 0) scale(1.1); }
}

.signoff__kicker {
  margin: 0;
  font-size: clamp(0.54rem, 1.15cqw, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff9c;
}

.signoff__word {
  margin: clamp(0.25rem, 1.4cqw, 0.9rem) 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "wdth" 84, "opsz" 96;
  font-size: clamp(1.8rem, 6vw, 5rem);
  font-size: clamp(1.6rem, 12.5cqw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.signoff__letters > span { display: inline-block; }

/* the letters land one after another, every time the panel comes around */
.board__shot--thanks.is-armed .signoff__letters > span {
  opacity: 0;
  transform: translateY(0.5em) rotate(5deg);
  filter: blur(10px);
  animation: signLetter 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i) * 0.07s);
}
@keyframes signLetter {
  to { opacity: 1; transform: none; filter: none; }
}

.signoff__word em {
  display: block;
  margin-top: clamp(0.2rem, 1.1cqw, 0.7rem);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: normal;
  font-size: 0.4em;
  letter-spacing: -0.01em;
  text-transform: none;
  background: linear-gradient(100deg, var(--cyan), var(--violet) 44%, var(--magenta) 76%, var(--cyan));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: 220% 0; } }

.signoff__rota {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.9rem;
  margin: clamp(0.3rem, 1.8cqw, 1.1rem) 0 0;
  color: #ffffff8a;
}
.signoff__label {
  font-size: clamp(0.5rem, 1.05cqw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.signoff__cycle { display: grid; place-items: center; }
.signoff__cycle i {
  grid-area: 1 / 1;
  font-style: normal;
  font-family: var(--serif);
  font-size: clamp(0.85rem, 3vw, 1.5rem);
  font-size: clamp(0.8rem, 3.1cqw, 1.9rem);
  color: var(--paper);
  opacity: 0;
  animation: signRota 20s linear infinite;
}
.signoff__cycle i:nth-child(2) { animation-delay: -4s; }
.signoff__cycle i:nth-child(3) { animation-delay: -8s; }
.signoff__cycle i:nth-child(4) { animation-delay: -12s; }
.signoff__cycle i:nth-child(5) { animation-delay: -16s; }
@keyframes signRota {
  0%        { opacity: 0; }
  3%, 17%   { opacity: 1; }
  20%, 100% { opacity: 0; }
}

.board__nav .pill[hidden] { display: none; }

.board.is-swap .board__panel { animation: boardFlash 0.75s ease-out; }
@keyframes boardFlash {
  0%   { box-shadow: 0 24px 44px #14131f24, 0 0 0 0 #6a4bf000; }
  35%  { box-shadow: 0 24px 44px #14131f24, 0 0 46px 6px #6a4bf042, 0 0 96px 24px #2ed3e61f; }
  100% { box-shadow: 0 24px 44px #14131f24, 0 0 0 0 #6a4bf000; }
}
.board.is-swap .board__lamp i { animation: lampFlicker 0.9s ease-in-out; }
@keyframes lampFlicker {
  0%, 100% { box-shadow: 0 0 10px 3px #ffedad8a, 0 0 26px 12px #ffd98f3d, 0 0 60px 26px #ffd98f1f; }
  16%      { box-shadow: 0 0 16px 5px #fff3d2d6, 0 0 40px 18px #ffd98f70, 0 0 90px 38px #ffd98f2e; }
  34%      { box-shadow: 0 0 8px 2px #ffedad70, 0 0 20px 9px #ffd98f2e, 0 0 48px 20px #ffd98f1a; }
  60%      { box-shadow: 0 0 15px 4px #fff3d2cc, 0 0 36px 16px #ffd98f66, 0 0 84px 34px #ffd98f29; }
}

/* braced legs, foot plates, and the pool of light on the ground */
.board__stand {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 0;
  height: var(--stand);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.board__stand::before {                      /* cross brace */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26%;
  height: 5px;
  background: linear-gradient(180deg, #4a453f, #1b1917);
  box-shadow: 0 1px 0 #0000008f, inset 0 1px 0 #ffffff1f;
}
.board__stand span {
  position: relative;
  width: clamp(11px, 1.5vw, 17px);
  height: 100%;
  background: linear-gradient(90deg, #100f0e, #4a453f 42%, #2a2724 68%, #0d0c0b);
  box-shadow: 0 0 0 1px #0000008f;
}
.board__stand span::after {                 /* foot plate */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 320%;
  height: 8px;
  translate: -50% 0;
  border-radius: 2px;
  background: linear-gradient(180deg, #4a453f, #141312);
  box-shadow: 0 3px 8px #00000059;
}
.board__stand i {
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 84%;
  height: 30px;
  translate: -50% 0;
  border-radius: 50%;
  background:
    radial-gradient(50% 60% at 50% 42%, #ffd98f30 0%, transparent 70%),
    radial-gradient(62% 72% at 50% 58%, #6a4bf02b 0%, transparent 76%);
  filter: blur(9px);
}

/* the read-out beside the board */
.board__meta {
  display: grid;
  gap: 0.95rem;
  align-content: start;
  padding-top: calc(var(--rig) + var(--frame) / 2);
}

.board__count {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0;
  overflow: hidden;
  font-family: var(--display);
  font-variation-settings: "wdth" 84;
  line-height: 1;
}
.board__count b {
  display: inline-block;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 700;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.board__count b.is-roll { animation: roll 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes roll {
  from { transform: translateY(58%); opacity: 0; filter: blur(6px); }
  to   { transform: none; opacity: 1; filter: none; }
}
.board__count span { font-size: 1rem; color: var(--ink-soft); }
.board__count i {
  font-style: normal;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--ink-soft);
}

.board__title {
  overflow: hidden;
  /* two lines reserved, so a longer title never shifts the layout */
  min-height: 1.85em;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
}
.board__title > span { display: block; }
.board.is-swap .board__title > span { animation: titleRise 0.62s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes titleRise {
  from { transform: translateY(104%); opacity: 0; }
}

.board__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.8rem;
  margin: 0;
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.board__cat {
  padding: 0.34rem 0.78rem;
  border: var(--rule);
  border-radius: 999px;
  color: var(--ink);
}

.board__desc {
  max-width: 46ch;
  /* four lines reserved so the Prev / Next buttons never move under the cursor */
  min-height: 6.4em;
  margin: 0;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.board__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
}
.board__nav .pill {
  background: none;
  cursor: pointer;
}
.board__nav .pill--fill { background: var(--ink); }
.board__nav .pill--fill:hover { background: transparent; }

/* rail ------------------------------------------------------------------- */
.rail {
  display: flex;
  gap: clamp(0.6rem, 1.5vw, 1.1rem);
  margin: 0;
  padding: 0.45rem 6px 1.2rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-soft) transparent;
}
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-track { background: var(--line); border-radius: 99px; }
.rail::-webkit-scrollbar-thumb { background: var(--ink-soft); border-radius: 99px; }

.rail .card {
  flex: 0 0 clamp(146px, 16.5vw, 208px);
  scroll-snap-align: start;
}
.rail .card.is-live .card__shot {
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--magenta);
}
.rail .card.is-live .card__cap b { color: var(--accent); }

.card { container-type: inline-size; }
.card[hidden] { display: none; }

.card button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.card__shot {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
  border: var(--rule);
}
.card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
}
.card:hover .card__shot img,
.card button:focus-visible .card__shot img {
  transform: scale(1.045);
}

.card__shot::after {
  content: "Show";
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  translate: 0 8px;
  transition: opacity 0.3s, translate 0.3s;
}
.card:hover .card__shot::after,
.card button:focus-visible .card__shot::after {
  opacity: 1;
  translate: 0 0;
}

.card__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 0 0;
}
.card__cap b {
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 700;
  font-variation-settings: "wdth" 92;
  line-height: 1.15;
}
.card__cap i {
  flex: none;
  font-style: normal;
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@container (max-width: 300px) {
  .card__cap { flex-direction: column; gap: 0.3rem; }
}

.gallery__none {
  margin: 2rem 0 0;
  color: var(--ink-soft);
}

/* services -------------------------------------------------------------- */
.services { background: var(--paper-2); }

.svc {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--rule);
}
.svc li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: clamp(0.8rem, 3vw, 2.4rem);
  align-items: start;
  padding: clamp(1.1rem, 2.6vw, 1.9rem) 0;
  border-bottom: var(--rule);
}
.svc li > span {
  font-family: var(--display);
  font-size: var(--t-micro);
  font-weight: 700;
  font-variation-settings: "wdth" 80;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-top: 0.4rem;
}
.svc h3 {
  font-size: var(--t-h3);
  text-transform: uppercase;
}
.svc p {
  max-width: 60ch;
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* about ----------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(1.6rem, 5vw, 4.5rem);
}
.about h2 {
  font-size: var(--t-h2);
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
.about__col p {
  max-width: 58ch;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.about__col p + p { margin-top: 1rem; }

.facts {
  margin: 2.2rem 0 0;
  border-top: var(--rule);
}
.facts > div {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.facts dd { margin: 0; }
.facts a {
  border-bottom: 2px solid var(--magenta);
}
.tick {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  font-size: 10px;
  vertical-align: 1px;
}
.live {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: #1aa86b;
  animation: throb 2.4s ease-in-out infinite;
}
@keyframes throb {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.75); }
}

.about__side { display: grid; gap: 1.4rem; align-content: start; }
.about__logo {
  width: 100%;
  border: var(--rule);
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tools li {
  padding: 0.42rem 0.85rem;
  border: var(--rule);
  border-radius: 999px;
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* club ------------------------------------------------------------------ */
.club {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.6rem, 5vw, 4.5rem);
  background: var(--paper-2);
}
.club h2 {
  font-size: var(--t-h2);
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
.club__col p {
  max-width: 60ch;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.club__col p + p { margin-top: 1rem; }
.club__col em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08em;
  color: var(--ink);
}
.club__col a { border-bottom: 2px solid var(--magenta); }

.club__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 0;
}
.club__pills li {
  padding: 0.42rem 0.85rem;
  border: var(--rule);
  border-radius: 999px;
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.club__side { display: grid; gap: 1.4rem; align-content: start; }
.club__side .facts { margin: 0; }
.club__logo {
  width: 100%;
  border: var(--rule);
  background: #fff;
}

.club__links {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.club__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.95rem;
  border: var(--rule);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.club__links a:hover {
  background: var(--ink);
  color: var(--paper);
}
.club__links i {
  font-style: normal;
  color: var(--magenta);
}

/* contact --------------------------------------------------------------- */
.contact {
  background: var(--ink);
  color: var(--paper);
}
.contact .eyebrow { color: #ffffff9c; }
.contact h2 {
  font-size: var(--t-h2);
  text-transform: uppercase;
}
.contact h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: normal;
  text-transform: none;
  letter-spacing: -0.01em;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact__lede {
  max-width: 50ch;
  margin: 1.3rem 0 2.6rem;
  color: #ffffffa8;
  text-wrap: pretty;
}

.lines {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #ffffff2e;
}
.lines a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem 1.2rem;
  padding: clamp(1rem, 2.4vw, 1.5rem) 0;
  border-bottom: 1px solid #ffffff2e;
  transition: padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.lines a:hover { padding-left: 1.1rem; }
.lines span {
  grid-column: 1;
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff85;
}
.lines b {
  grid-column: 1;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.6vw, 1.9rem);
  font-weight: 700;
  font-variation-settings: "wdth" 88;
}
.lines i {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-style: normal;
  font-size: 1.4rem;
  color: var(--magenta);
}

/* colophon -------------------------------------------------------------- */
.colophon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  padding: 1.5rem var(--gutter);
  border-top: var(--rule);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.colophon a { margin-left: auto; color: var(--ink); }

/* viewer ---------------------------------------------------------------- */
.viewer {
  width: min(92vw, 940px);
  max-height: 90vh;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  border: var(--rule);
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}
.viewer::backdrop { background: #141312c4; backdrop-filter: blur(6px); }
.viewer[open] { animation: pop 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes pop {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
}
.viewer h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.viewer img {
  width: 100%;
  border: var(--rule);
  background: var(--paper-2);
}
.viewer p {
  max-width: 68ch;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.viewer__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 44px;
  height: 44px;
  border: var(--rule);
  border-radius: 50%;
  background: var(--paper);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .opener { grid-template-columns: minmax(0, 1fr); }
  .wheel { --size: min(66vw, 380px); margin-top: 1rem; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .club { grid-template-columns: minmax(0, 1fr); }
  .work__stage { grid-template-columns: minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 2rem); }
  .board__meta { gap: 0.75rem; padding-top: 0; }
}

@media (max-width: 760px) {
  .menu, .bar > .pill { display: none; }
  .hamburger { display: block; }
  .stats { gap: 1.4rem; }
  .svc li { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .lines a { grid-template-columns: minmax(0, 1fr) auto; }
  .colophon a { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .opener h1 .line > span { transform: none; }
  .wheel__shot img { transform: none; }
  .wheel__shot { opacity: 1; animation: none !important; }
  .wheel__shot + .wheel__shot { display: none; }
  .wheel__tag { opacity: 1; animation: none !important; }
  .wheel__tag + .wheel__tag { display: none; }
  .board__shot--thanks.is-armed .signoff__letters > span { animation-delay: 0s !important; }
  .signoff__cycle i { opacity: 0; animation: none !important; }
  .signoff__cycle i:first-child { opacity: 1; }
}
