/* Produckt Design · v3 kit — tokens and shared parts (copied from the v2 kit) */
@property --r { syntax: '<length>'; inherits: true; initial-value: 0px; }

:root{
  --navy:#2F53A1; --ink:#1B2A55; --ink2:#24366B; --sky:#9DE4FE; --yellow:#FFED80; --orange:#F3AE58; --orange2:#E07B2A;
  --pink:#D470CA; --cream:#FFF8DC; --white:#FFFDF5;
  --f-display:'Fredoka',system-ui,sans-serif; --f-pixel:'Pixelify Sans',monospace; --f-body:'Poppins',system-ui,sans-serif;
  --rad:18px; --gap:8px; --dots:8px;
  --cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='32' shape-rendering='crispEdges'%3E%3Cpath fill='%231B2A55' d='M0 0h2v2h-2zM0 2h4v2h-4zM0 4h2v2h-2zM4 4h2v2h-2zM0 6h2v2h-2zM6 6h2v2h-2zM0 8h2v2h-2zM8 8h2v2h-2zM0 10h2v2h-2zM10 10h2v2h-2zM0 12h2v2h-2zM12 12h2v2h-2zM0 14h2v2h-2zM14 14h2v2h-2zM0 16h2v2h-2zM16 16h2v2h-2zM0 18h2v2h-2zM10 18h10v2h-10zM0 20h2v2h-2zM6 20h2v2h-2zM12 20h2v2h-2zM0 22h2v2h-2zM4 22h2v2h-2zM8 22h2v2h-2zM14 22h2v2h-2zM0 24h4v2h-4zM8 24h2v2h-2zM14 24h2v2h-2zM10 26h2v2h-2zM16 26h2v2h-2zM10 28h2v2h-2zM16 28h2v2h-2zM12 30h4v2h-4z'/%3E%3Cpath fill='%23fff' d='M2 4h2v2h-2zM2 6h4v2h-4zM2 8h6v2h-6zM2 10h8v2h-8zM2 12h10v2h-10zM2 14h12v2h-12zM2 16h14v2h-14zM2 18h8v2h-8zM2 20h4v2h-4zM8 20h4v2h-4zM2 22h2v2h-2zM10 22h4v2h-4zM10 24h4v2h-4zM12 26h4v2h-4zM12 28h4v2h-4z'/%3E%3C/svg%3E") 1 1, auto;
}
*{box-sizing:border-box;margin:0;padding:0}
html{overflow-x:clip}
body{font-family:var(--f-body);color:var(--ink);-webkit-font-smoothing:antialiased;overflow-x:hidden;cursor:var(--cursor)}
a,button{cursor:var(--cursor);color:inherit;font:inherit;text-decoration:none;border:0;background:none}
img{display:block;max-width:100%}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}
.px{font-family:var(--f-pixel);font-weight:500;letter-spacing:.03em;text-transform:uppercase;font-size:13px;line-height:1.25}
.br::before{content:'[ '} .br::after{content:' ]'}
.w{display:inline-block}
:focus-visible{outline:3px solid var(--yellow);outline-offset:3px;box-shadow:0 0 0 6px var(--ink)}
.snd{min-height:44px}
.duck-cv{image-rendering:pixelated}

/* halftone-dot mask used by every reveal */
.dotm{-webkit-mask-image:radial-gradient(circle,#000 var(--r),transparent calc(var(--r) + .7px));mask-image:radial-gradient(circle,#000 var(--r),transparent calc(var(--r) + .7px));-webkit-mask-size:var(--dots) var(--dots);mask-size:var(--dots) var(--dots);-webkit-mask-position:center;mask-position:center}
.dotm.ok{-webkit-mask-image:none;mask-image:none}
/* a mask only covers its own box, so give each word room for descenders (g, y) and
   overhangs (w) with padding, and cancel it with a matching negative margin */
.w.dotm{padding:.08em .12em .28em;margin:-.08em -.12em -.28em}

/* duck */
.duck-stage{position:absolute;inset:0;touch-action:none}
.duck-cv{position:absolute;left:0;top:0;will-change:transform}
.bubble{position:absolute;z-index:5;left:0;top:0;background:var(--white);color:var(--ink);font-family:var(--f-display);font-weight:500;font-size:18px;line-height:1.25;padding:12px 16px;border-radius:16px;border:2.5px solid var(--ink);box-shadow:4px 4px 0 var(--ink);max-width:250px;pointer-events:none;transform-origin:20% 100%;text-wrap:pretty}
.bubble::after{content:'';position:absolute;left:30px;bottom:-12px;width:16px;height:16px;background:var(--white);border-right:2.5px solid var(--ink);border-bottom:2.5px solid var(--ink);transform:rotate(45deg);border-radius:0 0 4px 0}
.bubble b{color:var(--navy);font-weight:600}
.bubble:empty{display:none}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:12px;font-family:var(--f-display);font-weight:600;font-size:20px;line-height:1;padding:15px 22px;border-radius:999px;transition:transform .3s cubic-bezier(.3,1.6,.5,1),background .2s}
.btn:hover{transform:scale(1.04) rotate(-1.5deg)}
.btn.ink{background:var(--ink);color:var(--yellow)}
.btn.yellow{background:var(--yellow);color:var(--ink)}
.btn.line{border:2px solid currentColor}
.btn .arr{width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;font-size:17px;margin:-8px -12px -8px 0;background:var(--ink);color:var(--yellow);transition:transform .35s cubic-bezier(.3,1.6,.5,1)}
.btn.ink .arr{background:var(--cream);color:var(--ink)}
.btn:hover .arr{transform:rotate(-45deg) scale(1.06)}
.btn .arr.back{margin:-8px 0 -8px -10px;transform:rotate(180deg)}
.btn:hover .arr.back{transform:rotate(180deg) translateX(3px) scale(1.06)}

/* chips */
.chip{font-family:var(--f-pixel);font-weight:500;font-size:12px;text-transform:uppercase;letter-spacing:.04em;padding:5px 10px;border-radius:999px;border:1.5px solid currentColor;white-space:nowrap}
.chip.solid{background:var(--ink);color:var(--yellow);border-color:var(--ink)}
.chip.live{background:var(--yellow);color:var(--ink);border-color:var(--yellow);display:inline-flex;gap:7px;align-items:center}
.chip.live::before{content:'';width:8px;height:8px;background:var(--pink);border-radius:2px}
.picon rect{transform-box:fill-box;transform-origin:center;transition:transform .4s cubic-bezier(.3,1.8,.5,1)}

/* crew tile (from direction C, rounded for A) */
/* no background here, and the inner corners are rounder than the tile: otherwise white shows as a thin line around the corners */
.ctile{position:relative;border-radius:var(--rad);overflow:hidden;cursor:var(--cursor);isolation:isolate}
.ctile .ph{aspect-ratio:4/5;position:relative;overflow:hidden;background:var(--ink);border-radius:calc(var(--rad) + 2px) calc(var(--rad) + 2px) 0 0}
.ctile .ph img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.3) brightness(1.06);transform:scale(1.04);transition:filter .5s,transform .8s cubic-bezier(.2,.8,.2,1)}
.ctile .ph::before{content:'';position:absolute;inset:0;background:var(--tint,var(--yellow));mix-blend-mode:multiply;z-index:1;transition:opacity .5s}
.ctile .ph::after{content:'';position:absolute;inset:0;z-index:2;background-image:radial-gradient(rgba(27,42,85,.9) 1px,transparent 1.5px);background-size:5px 5px;mix-blend-mode:multiply;opacity:.5;transition:opacity .5s}
.ctile:hover .ph img,.ctile.on .ph img,.ctile:focus-visible .ph img{filter:none;transform:scale(1.09)}
.ctile:hover .ph::before,.ctile:hover .ph::after,.ctile.on .ph::before,.ctile.on .ph::after,.ctile:focus-visible .ph::before,.ctile:focus-visible .ph::after{opacity:0}
.ctile .cap{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;padding:12px 14px 14px;background:var(--white);border-radius:0 0 calc(var(--rad) + 2px) calc(var(--rad) + 2px);transition:background .25s}
.ctile:hover .cap,.ctile.on .cap,.ctile:focus-visible .cap{background:var(--yellow)}
.ctile .cap b{font-family:var(--f-display);font-weight:600;font-size:22px;line-height:1.05;letter-spacing:-.01em}
.ctile .cap span{font-family:var(--f-pixel);font-size:12px;text-transform:uppercase;text-align:right;line-height:1.2;flex:none;max-width:48%}
.ctile .pxc{position:absolute;inset:0;z-index:4;display:grid;pointer-events:none}
/* while the pixel cover is on, nothing lies under it, so no light line can show at the corners */
.ctile.cv .ph,.ctile.cv .cap{visibility:hidden}
@media (max-width: 900px){
  .ctile .cap{flex-direction:column;align-items:flex-start;gap:4px;padding:10px 11px 12px}
  .ctile .cap b{font-size:18px}
  .ctile .cap span{text-align:left;font-size:10.5px;max-width:none}
  .bubble{font-size:16px;max-width:210px;padding:10px 13px}
  .btn{font-size:18px;padding:13px 19px}
}
