/* =====================================================================
   PLAY IN THE CITY — Instagram artboards, v1.1 "merge" direction
   Alumni Sans 800–900 display · Poppins 700 tracked labels · Fraunces
   italic mint connectors · black base, butter accent · real footage first.
   No decorative shapes, no rounded cards, no dashed boxes, radius 0.
   Units: container-query (1cqw = 1% of artboard width). Post 100 x 125cqw,
   story/reel 100 x 177.78cqw, highlight 100 x 100cqw.
   ===================================================================== */

.art {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden;
  container-type: inline-size; isolation: isolate;
  background: var(--black); color: var(--cream);
  -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision;
  user-select: none; -webkit-user-select: none; text-align: left; font-size: 16px; line-height: normal; letter-spacing: normal;
}
.art--story { aspect-ratio: 9 / 16; }
.art--hl { aspect-ratio: 1 / 1; }
.art *, .art *::before, .art *::after { box-sizing: border-box; }
.art img { display: block; -webkit-user-drag: none; }

.L { position: absolute; }
.fill { position: absolute; inset: 0; }
.ph-wrap { position: absolute; overflow: hidden; }
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bg-black { background: var(--black); color: var(--cream); }
.bg-cream { background: var(--cream); color: var(--black); }

/* ---- type ------------------------------------------------------------ */
.h  { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; line-height: .84; letter-spacing: -.004em; }
.h8 { font-weight: 800; }
.lab { font-family: var(--f-ui); font-weight: 700; text-transform: uppercase; letter-spacing: .2em; line-height: 1.35; font-size: 2.3cqw; }
.body { font-family: var(--f-ui); font-weight: 500; line-height: 1.4; }
.con { font-family: var(--f-serif); font-style: italic; font-weight: 600; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
       text-transform: none; letter-spacing: -.01em; line-height: 1; color: var(--mint); }
.c-cream { color: var(--cream); } .c-black { color: var(--black); } .c-butter { color: var(--butter); } .c-mint { color: var(--mint); }
.dim { opacity: .62; }

/* ---- furniture ------------------------------------------------------- */
.top { position: absolute; left: 6cqw; right: 6cqw; top: 5.6cqw; display: flex; justify-content: space-between; align-items: baseline; gap: 3cqw; z-index: 6; }
.foot { position: absolute; left: 6cqw; right: 6cqw; bottom: 5.6cqw; display: flex; justify-content: space-between; align-items: flex-end; gap: 3cqw; z-index: 6; }
.art-mark { position: absolute; z-index: 5; width: 20cqw; height: auto; right: 5.6cqw; bottom: 1cqw; pointer-events: none; }
.t-howCover .art-mark, .t-howStep .art-mark, .t-games .art-mark, .t-winners .art-mark { width: 18cqw; }
.t-howCover .how-credit { bottom: 4cqw; font-size: 1.8cqw; }
.t-afterparty .art-mark { top: 53cqw; bottom: auto; }
.t-tagPartner .art-mark, .t-house .art-mark { top: 16cqw; bottom: auto; }
.t-eyesDown .art-mark { top: 35cqw; bottom: auto; }
.art-mark--cream { background: var(--black); }
.t-numberOne .art-mark--cream { width: 17.5cqw; bottom: .7cqw; }
.art-mark--hero { width: 30cqw; top: 85cqw; bottom: auto; }
.art-mark--story { bottom: 12.5cqw; }
.t-stSeason .art-mark--story { bottom: 29cqw; }
.t-stPoll .art-mark--story, .t-stRules .art-mark--story, .t-stHost .art-mark--story { bottom: 10.5cqw; }
.t-stFaq .art-mark--story, .t-stSmall .art-mark--story { bottom: 8cqw; }
.t-playbackCover .art-mark--reel { top: 84cqw; bottom: auto; width: 19cqw; }
.t-yearOneCover .art-mark--reel { top: 135cqw; bottom: auto; }
.t-callsCover .art-mark--reel { top: 82cqw; bottom: auto; }
.art-mark--hl { width: 33cqw; right: 33.5cqw; bottom: 5cqw; }
.highlight-shade { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 68% at 50% 97%, rgba(11,10,9,.92), rgba(11,10,9,.58) 42%, transparent 78%); }
.rule { position: absolute; left: 6cqw; right: 6cqw; height: 0; border-top: .22cqw solid currentColor; opacity: .38; }
.rows { position: absolute; left: 6cqw; right: 6cqw; }
.rows > div { display: grid; grid-template-columns: var(--cols, 22cqw 1fr auto); align-items: center; column-gap: 3.4cqw;
              border-top: .22cqw solid rgba(243, 232, 210, .3); padding: var(--rp, 2.6cqw) 0; }
.rows > div:last-child { border-bottom: .22cqw solid rgba(243, 232, 210, .3); }
.rows.on-cream { color: var(--black); }
.rows.on-cream > div { border-color: rgba(11, 10, 9, .28); }
.cut { position: absolute; left: 0; right: 0; background: var(--black); }   /* hard photo/black cut */

/* the one allowed pill: primary ticket CTA */
.cta { display: inline-flex; align-items: center; justify-content: center; background: var(--butter); color: var(--black); border-radius: 99cqw;
       font: 700 2.3cqw/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; padding: 2.2cqw 4cqw 2cqw; white-space: nowrap; border: 0; cursor: pointer; }
/* placeholder marking (type only, no boxes): butter label + small "placeholder" note */
.tbc { color: var(--butter); }
.tbc-note { font: 700 1.6cqw/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; opacity: .7; }

/* ---- marquee band (slow-jams) ------------------------------------------ */
.band { position: absolute; left: 0; right: 0; overflow: hidden; background: var(--butter); color: var(--black); display: flex; align-items: center; z-index: 7; }
.band .trk { display: flex; flex: none; white-space: nowrap; animation: marq var(--md, 24s) linear infinite; }
.band.rev .trk { animation-direction: reverse; }
.band .trk span { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; line-height: 1; padding-right: 2.4cqw; }
.band .trk i { font-style: normal; font-family: var(--f-serif); font-style: italic; font-weight: 600; text-transform: none; padding-right: 2.4cqw; font-variation-settings: "SOFT" 100, "WONK" 1; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* kinetic word streams (endspeciesism) */
.stream { position: absolute; left: 0; right: 0; overflow: hidden; white-space: nowrap; }
.stream .trk { display: inline-flex; animation: marq var(--md, 30s) linear infinite; }
.stream.rev .trk { animation-direction: reverse; }
.stream .trk span { padding-right: .25em; }
.ghost { color: transparent; -webkit-text-stroke: .22cqw rgba(243, 232, 210, .32); }

/* ---- textures -------------------------------------------------------- */
.grain, .grain-d {
  position: absolute; inset: 0; pointer-events: none; z-index: 40; background-size: 180px 180px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .11; mix-blend-mode: screen;
}
.grain-d {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .2; mix-blend-mode: multiply;
}
.vig { position: absolute; inset: 0; pointer-events: none; z-index: 2; background: radial-gradient(ellipse 90% 75% at 50% 42%, transparent 50%, rgba(11,10,9,.6) 100%); }
.dim-l { position: absolute; inset: 0; background: rgba(11,10,9,var(--a, .35)); z-index: 1; }

/* ---- story stickers, restyled: square, ruled, no card chrome --------- */
.stk { position: absolute; color: var(--cream); }
.stk-q { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: 9cqw; line-height: .88; }
.stk-opts { margin-top: 4cqw; border-top: .3cqw solid rgba(243,232,210,.45); }
.stk-opt { position: relative; display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: 3cqw; padding: 3.2cqw 0 2.8cqw;
           background: none; border: 0; border-bottom: .3cqw solid rgba(243,232,210,.45); color: var(--cream); text-align: left; cursor: pointer;
           font: 900 7cqw/.9 var(--f-head); text-transform: uppercase; transition: background .25s, color .25s, padding .25s; }
.stk-opt .k { font: 700 2.1cqw/1 var(--f-ui); letter-spacing: .2em; opacity: .6; }
.stk-opt.sel, .stk-opt.ok { background: var(--butter); color: var(--black); padding-left: 2.4cqw; padding-right: 2.4cqw; }
.stk-opt.no { color: var(--cream); text-decoration: line-through; text-decoration-thickness: .5cqw; opacity: .55; }
.stk.answered .stk-opt:not(.sel):not(.ok):not(.no) { opacity: .4; }
.stk-note { margin-top: 2.6cqw; font: 700 1.9cqw/1.5 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.sq-btn { display: inline-flex; align-items: center; gap: 2cqw; border: 0; background: var(--butter); color: var(--black); cursor: pointer;
          font: 700 2.6cqw/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; padding: 3cqw 4.4cqw 2.8cqw; }
.sq-btn.ghostb { background: none; color: var(--cream); box-shadow: inset 0 0 0 .3cqw var(--cream); }

/* ---- motion ---------------------------------------------------------- */
.kb { animation: kb 14s cubic-bezier(.16,1,.3,1) infinite alternate; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.kb-once { animation: kb 9s cubic-bezier(.16,1,.3,1) both; }
.rise { animation: rise .9s cubic-bezier(.16,1,.3,1) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(8cqw); } to { opacity: 1; transform: none; } }
.reveal { animation: reveal 1.1s cubic-bezier(.65,0,.35,1) both; animation-delay: var(--d, 0s); }
@keyframes reveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.wipe { animation: wipe 1.1s cubic-bezier(.65,0,.35,1) both; animation-delay: var(--d, 0s); }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.frame-in { animation: framein 1.4s cubic-bezier(.65,0,.35,1) both; animation-delay: var(--d, 0s); }
@keyframes framein { from { clip-path: inset(18% 22% 30% 22%); } to { clip-path: inset(0 0 0 0); } }
/* grid loop: numeral swap 4 → 3 (clip-path, no boxes) */
.swap { position: relative; display: inline-block; }
.swap b { display: block; font-weight: inherit; }
.swap b + b { position: absolute; inset: 0; }
.swap b:first-child { animation: swapA 5s cubic-bezier(.65,0,.35,1) infinite; }
.swap b + b { animation: swapB 5s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes swapA { 0%, 30% { clip-path: inset(0 0 0 0); } 45%, 100% { clip-path: inset(0 0 100% 0); } }
@keyframes swapB { 0%, 30% { clip-path: inset(100% 0 0 0); } 45%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); } }
/* crossfade cycle of real stills */
.cyc img { opacity: 0; animation: cyc 12s infinite; }
.cyc img:nth-child(1) { animation-delay: 0s; } .cyc img:nth-child(2) { animation-delay: 4s; } .cyc img:nth-child(3) { animation-delay: 8s; }
@keyframes cyc { 0% { opacity: 0; transform: scale(1.06); } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }

/* static renders (PNG export) and reduced motion: final frame */
.is-static *, .is-static *::before, .is-static *::after { animation: none !important; transition: none !important; }
.is-static .swap b + b { clip-path: inset(0 0 0 0); }
.is-static .swap b:first-child { visibility: hidden; }
.is-static .cyc img:first-child { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .art *, .art *::before, .art *::after { animation: none !important; transition: none !important; }
  .art .swap b + b { clip-path: inset(0 0 0 0); }
  .art .swap b:first-child { visibility: hidden; }
  .art .cyc img:first-child { opacity: 1; }
}

/* P01 loading rule */
.load { animation: load 4.2s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes load { 0% { transform: scaleX(0); } 70%, 88% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.is-static .load { transform: scaleX(.62); }
@media (prefers-reduced-motion: reduce) { .art .load { transform: scaleX(.62); } }
