/* Marketing Can Be Fun — single playful page. Palette lifted from the old Squarespace theme. */
:root {
  --yellow: hsl(59.07 86.58% 70.78%);
  --ink: hsl(220 23.35% 32.75%);
  --peri: hsl(222.22 72.97% 70.98%);
  --cream: hsl(55 35.29% 93.33%);
  --black: #1d211c;
  --white: #fff;
  --line: hsl(220 23.35% 32.75% / .55);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 3vw, 44px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); line-height: 1.5; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--yellow); }

/* custom cursor (fine pointers only) */
.cursor { position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--black); pointer-events: none; z-index: 100; mix-blend-mode: difference; filter: invert(1);
  transition: width .2s, height .2s, margin .2s; display: none; }
.cursor.big { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (pointer: fine) { .cursor { display: block; } body, button, a { cursor: none; } }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px var(--gutter); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--black); pointer-events: none; }
.site-header > * { pointer-events: auto; }
.brand { text-decoration: none; background: var(--white); border: 1.5px solid var(--black); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.ticker { margin: 0; display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; white-space: nowrap;
  background: var(--white); border: 1.5px solid var(--black); border-radius: 999px; padding: 6px 12px; }
.ticker .dot { width: 7px; height: 7px; border-radius: 50%; background: #e2412e; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* hero */
.hero { position: relative; min-height: 100svh; background: var(--yellow); color: var(--black); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 96px var(--gutter) clamp(28px, 5vh, 56px); user-select: none; -webkit-user-select: none; }
.hero .tagline { position: relative; z-index: 2; margin: 0 auto; max-width: 1100px; text-align: center; font-family: var(--serif); font-weight: 300;
  font-variation-settings: "opsz" 72; font-size: clamp(24px, 3.6vw, 52px); line-height: 1.14; letter-spacing: -.012em; padding-top: 4vh; margin-bottom: 0; }
.wordmark { position: relative; z-index: 3; margin: 0; font-family: var(--serif); font-weight: 800;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; font-size: clamp(54px, 10.2vw, 150px); line-height: .98; letter-spacing: -.03em; }
.wordmark .w { display: inline-block; white-space: nowrap; }
.wordmark .ch, .mark .ch { display: inline-block; will-change: transform; transform-origin: 50% 80%; }
.powered { position: relative; z-index: 3; margin: 8px 0 0; font-size: clamp(16px, 2vw, 26px); }
.hint { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(28px, 5vh, 56px); margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.hint .arrow { display: inline-block; animation: bob 1.4s ease-in-out infinite; }
.hint-touch { display: none; }
@media (pointer: coarse) { .hint-fine { display: none; } .hint-touch { display: inline; } }
@keyframes bob { 50% { transform: translateY(4px) rotate(10deg); } }
.stage { position: absolute; inset: 0; z-index: 4; pointer-events: none; }

/* live scoreboard — sits above the falling posts so it always reads */
.scoreboard { position: relative; z-index: 5; margin: auto; padding: clamp(14px, 2vw, 22px) clamp(20px, 3vw, 40px) clamp(12px, 1.6vw, 18px);
  background: var(--white); border: 2.5px solid var(--black); border-radius: 22px; box-shadow: 7px 7px 0 var(--black); text-align: center; pointer-events: none; }
.sb-label { margin: 0 0 4px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: clamp(11px, 1.1vw, 14px); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sb-label .dot { width: 10px; height: 10px; border-radius: 50%; background: #e2412e; box-shadow: 0 0 0 0 rgb(226 65 46 / .5); animation: pulse 1.4s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgb(226 65 46 / 0); } }
.sb-num { margin: 0; font-family: var(--serif); font-weight: 800; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-size: clamp(52px, 10vw, 150px); line-height: 1; letter-spacing: -.02em; color: var(--black); }
.sb-sub { margin: 6px 0 0; font-size: clamp(13px, 1.4vw, 18px); color: var(--ink); }
.sb-sub .odo { font-weight: 700; color: var(--black); }
.odo { font-variant-numeric: tabular-nums lining-nums; display: inline-flex; justify-content: center; }
.odo .d { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.odo .d > span { display: block; transition: transform .7s cubic-bezier(.2,.9,.25,1.15); }
.sb-sub .odo .d > span { transition-duration: .35s; }
.odo .d i { display: block; height: 1em; font-style: normal; }
.odo .sep { display: inline-block; line-height: 1; }
.ticker { transition: opacity .3s, transform .3s; }
.ticker.away { opacity: 0; transform: translateY(-8px); pointer-events: none; }

/* falling posts */
.post { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; justify-content: space-between;
  border: 2px solid var(--black); border-radius: 14px; padding: 8px 10px; box-shadow: 4px 4px 0 var(--black);
  font: 700 13px/1.1 var(--sans); letter-spacing: .02em; will-change: transform; }
.post .top { display: flex; justify-content: space-between; font-size: 10px; font-weight: 600; opacity: .75; text-transform: uppercase; }
.post .big { font-family: var(--serif); font-weight: 800; font-variation-settings: "opsz" 144, "SOFT" 100; font-size: 22px; letter-spacing: -.02em; }
.post.c0 { background: var(--white); color: var(--black); }
.post.c1 { background: var(--ink); color: var(--yellow); }
.post.c2 { background: var(--peri); color: var(--black); }
.post.c3 { background: var(--black); color: var(--yellow); }
.post.c4 { background: var(--cream); color: var(--ink); }
.post.pop { animation: pop .35s ease-out; }
@keyframes pop { from { scale: .2; } 70% { scale: 1.12; } to { scale: 1; } }

/* marquee */
.marquee { background: var(--ink); color: var(--yellow); overflow: hidden; border-block: 2px solid var(--black); }
.track { display: flex; width: max-content; padding: 18px 0; font-family: var(--serif); font-weight: 800;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; font-size: clamp(26px, 3.4vw, 48px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; will-change: transform; }
.track span { padding-right: .6em; }
.track i { font-style: normal; padding-right: .6em; color: var(--peri); }

/* classified */
.classified { position: relative; padding: clamp(72px, 11vw, 150px) var(--gutter); max-width: 1200px; margin: 0 auto; }
.eyebrow { margin: 0 0 22px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.stamp { position: absolute; right: var(--gutter); top: clamp(48px, 8vw, 110px); margin: 0; padding: 6px 16px; border: 3px solid #c8372d; color: #c8372d; border-radius: 6px;
  font: 800 clamp(16px, 2vw, 24px)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; transform: rotate(-12deg); opacity: .8; }
.line { margin: 0 0 clamp(28px, 4vw, 52px); font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 72;
  font-size: clamp(30px, 4.6vw, 66px); line-height: 1.14; letter-spacing: -.012em; max-width: 22ch; }
.redact { display: inline; padding: 0 .12em; margin: 0; border: 0; border-radius: 4px; background: var(--black); color: transparent; line-height: inherit;
  font: inherit; font-variation-settings: inherit; letter-spacing: inherit; text-align: inherit; transition: background .25s, color .25s;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.redact:hover, .redact:focus-visible, .redact.open { background: var(--yellow); color: var(--black); outline: none; }
.note { margin: 0; font-size: 14px; }
.declass { margin-left: 6px; font-weight: 700; }

/* contact */
.contact { position: relative; background: var(--yellow); color: var(--black); padding: clamp(72px, 11vw, 150px) var(--gutter) clamp(56px, 8vw, 100px); overflow: hidden; }
.punch { margin: 0 0 clamp(36px, 5vw, 64px); font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 72;
  font-size: clamp(36px, 6vw, 92px); line-height: 1.04; letter-spacing: -.02em; max-width: 18ch; }
.dodge-zone { position: relative; height: clamp(160px, 22vw, 260px); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px;
  border: 2px solid var(--black); border-radius: 999px; background: var(--white); color: var(--black); box-shadow: 4px 4px 0 var(--black);
  font: 700 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.dodge { position: absolute; left: 0; top: 0; transition: left .28s cubic-bezier(.3,1.6,.5,1), top .28s cubic-bezier(.3,1.6,.5,1), transform .2s; white-space: nowrap; }
.dodge:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--black); }
.attempts { margin: 12px 0 0; min-height: 1.5em; font-size: 14px; }

/* footer */
.site-footer { padding: 40px var(--gutter) 0; overflow: hidden; background: var(--white); }
.site-footer .mark { margin: 0; padding-top: 4px; border-top: 1px solid var(--line); font-family: var(--serif); font-weight: 800;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; color: var(--ink);
  font-size: clamp(30px, 11.1vw, 162px); line-height: 1.05; letter-spacing: -.035em; white-space: nowrap; }
.site-footer .mark .ch { transition: transform .35s cubic-bezier(.3,1.8,.5,1); }
.site-footer .mark .ch:hover { transform: translateY(-.18em) rotate(-8deg); }
.site-footer .meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 16px 0 24px; font-size: 12px; letter-spacing: .04em; }

/* scroll reveals */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .ticker { font-size: 10px; padding: 5px 10px; }
  .brand { font-size: 10px; padding: 5px 10px; }
  .stamp { top: 28px; }
  .hint { bottom: auto; top: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker .dot, .hint .arrow, .sb-label .dot { animation: none; }
  .odo .d > span { transition: none !important; }
  .dodge { transition: none; }
}
