/* ============================================================
   /drop  SLUMPED x Morton Grove Studio collab drop.
   Same dark studio look as /vote: Helvetica Neue + mono labels,
   Archivo 900 for display lines, white pill buttons, same radii
   and easing. Nothing new: every value here is one /vote or
   styles.css already uses. Phone first, wider screens after.
   ============================================================ */

@font-face{font-family:'Archivo';font-style:normal;font-weight:900;font-display:swap;src:url(/assets/fonts/archivo-900.woff2) format('woff2')}

.drop-page{
  --bg:#000; --panel:#101014; --panel2:#1B1B22;
  --ink:#F3F2ED; --soft:#C9C8CF; --muted:#8B8A93; --line:rgba(243,242,237,.10);
  --grot:'Archivo',var(--sans);
  --ease:cubic-bezier(.2,.7,.2,1);
  --c:#F3F2ED; /* the tee's print color; each tee sets its own */
  --tee-sm:url(/vote/assets/tee-b-640.webp?v=3);
  --mask-sm:url(/vote/assets/tee-m-640.webp?v=3);
  --mask-lg:url(/vote/assets/tee-m-1400.webp?v=3);
  --camo:url(/vote/assets/camo-a.webp?v=1);
  background:var(--bg);color:var(--ink);
}
.drop-page ::selection{background:#fff;color:#0C0C10}
.drop-page :focus-visible{outline:2px solid #fff;outline-offset:3px}
.drop-page.is-cart{overflow:hidden}

/* ---- shared chrome, inverted (same rules as /vote) ---- */
.drop-page .site-header{background:rgba(12,12,16,.84);border-bottom-color:var(--line)}
.drop-page .brand__mark{filter:brightness(0) invert(1)}
.drop-page .brand__name{color:#fff}
.drop-page .site-nav{color:var(--muted)}
.drop-page .site-nav a:hover,.drop-page .site-nav a.is-active{color:#fff}
.drop-page .nav-toggle span{background:#fff}
@media (max-width:1060px){
  .drop-page .site-nav{background:rgba(12,12,16,.97);border-bottom-color:var(--line)}
  .drop-page .site-nav a{border-bottom-color:var(--line)}
}

/* ---- footer: the drop's own (the shared footer is off on these pages) ----
   One type style for every line. Phone: centered, three rows on the same
   44px pitch. From 640px the links fit on one line. From 900px it is one row:
   copyright left, links right, on one baseline. */
.drop-foot{padding:clamp(20px,3vw,32px) clamp(20px,5vw,72px) max(clamp(20px,3vw,32px),env(safe-area-inset-bottom));border-top:1px solid var(--line)}
.drop-foot__row{display:flex;flex-direction:column;align-items:center;max-width:var(--wrap);margin:0 auto}
.drop-foot,.drop-foot a,.drop-foot p,.drop-foot i{font-family:var(--mono);font-size:12px;font-weight:400;font-style:normal;line-height:16px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.drop-foot__c{margin:0;padding-block:14px;white-space:nowrap}
.drop-foot__nav{display:flex;flex-direction:column;align-items:center;margin-inline:-8px} /* -8px: the links' side padding, so the text still lines up with the page edge */
.drop-foot__g{display:flex;align-items:baseline;white-space:nowrap}
.drop-foot a{display:block;padding:14px 8px;text-decoration:none;transition:color .2s}
.drop-foot a:hover{color:#fff}
.drop-foot i{padding-inline:4px}
.drop-foot__mid{display:none}
@media (min-width:640px){
  .drop-foot__nav{flex-direction:row;align-items:baseline}
  .drop-foot .drop-foot__mid{display:block}
}
@media (min-width:900px){
  .drop-foot__row{flex-direction:row;justify-content:space-between;align-items:baseline}
}
/* the cart button floats over the bottom edge: give the footer room under it */
.drop-page.has-cart .drop-foot{padding-bottom:104px}

/* ---- hero ---- */
.dh{padding:clamp(22px,4vh,48px) clamp(20px,5vw,72px) 0}
.dh__eyebrow{display:flex;flex-wrap:wrap;gap:6px 20px;font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.dh__eyebrow b{color:#fff;font-weight:600}
.dh h1{font-family:var(--grot);font-weight:900;font-size:clamp(30px,10.8vw,46px);line-height:.92;letter-spacing:-.03em;text-transform:uppercase;color:#fff;margin-top:12px}
.dh h1 span{display:block}
.dh h1 i{font-style:normal;color:var(--muted)}
.dh__tag{margin-top:14px;max-width:44ch;font-size:14px;line-height:1.45;color:var(--soft)}
.dh__spectrum{height:3px;margin-top:clamp(18px,3vh,30px);background:linear-gradient(90deg,#FF1E1E 0 14.28%,#FF6A00 0 28.57%,#FFEE00 0 42.85%,#39FF14 0 57.14%,#1FE5FF 0 71.42%,#A52BFF 0 85.71%,#FF1F8F 0 100%);opacity:.9}

/* ---- preview strip: only while catalog.js still has placeholder values ---- */
.pv{margin:18px clamp(20px,5vw,72px) 0;padding:12px 16px;border-radius:12px;border:1px dashed rgba(255,255,255,.35);font-family:var(--mono);font-size:12px;line-height:1.5;color:#fff} /* a full sentence: no added tracking */
.pv[hidden]{display:none}

/* ---- closing time (live-at.js). Before it: one line under the intro saying
   when orders close. After it: a solid strip above the products. ---- */
.dh__until{margin-top:12px;font-family:var(--mono);font-size:12px;line-height:1.4;letter-spacing:.12em;text-transform:uppercase;color:#fff}
.dh__until[hidden]{display:none}
.shut{margin:18px clamp(20px,5vw,72px) 0;padding:16px 18px;border-radius:12px;border:1px solid rgba(255,255,255,.35);font-family:var(--grot);font-weight:900;font-size:clamp(20px,5.6vw,28px);line-height:1;letter-spacing:-.02em;text-transform:uppercase;color:#fff}
.shut[hidden]{display:none}

/* ---- the products ---- */
.shop{padding:clamp(26px,4vw,56px) clamp(20px,5vw,72px) clamp(72px,9vw,120px)}
.shop__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(48px,6vw,72px) clamp(24px,4vw,56px)}
.shop__none{font-size:15px;line-height:1.5;color:var(--soft)}
/* The vote's top 3 under one heading; whatever else is in the drop sits below a rule. */
.shop__all > * + *{margin-top:clamp(56px,8vw,104px);padding-top:clamp(48px,6vw,72px);border-top:1px solid var(--line)}
.shop__h{font-family:var(--grot);font-weight:900;font-size:clamp(30px,10.8vw,46px);line-height:.92;letter-spacing:-.03em;text-transform:uppercase;color:#fff;margin-bottom:clamp(22px,4vw,40px)}

.pc{min-width:0}
.pc__media{position:relative;display:grid;place-items:center;aspect-ratio:4/3;border-radius:18px;background:var(--panel);border:1px solid var(--line);overflow:hidden}
.pc__media img{width:100%;height:100%;object-fit:cover}
.pc__ph{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
/* the tee stands on the black page by itself, glowing in its print color */
.pc__media--tee{display:block;aspect-ratio:auto;background:none;border:0;border-radius:0;overflow:visible;padding:2% 3% 0}
.pc__media--tee .tee{width:100%;filter:drop-shadow(0 0 46px color-mix(in srgb,var(--glow,var(--c)) 26%,transparent))} /* same glow as a cutout photo's, below */

/* a cutout photo stands on the black page the same way, in a frame the
   shape of the tee's, so two cards side by side line up */
.pc__media--cut{display:block;aspect-ratio:auto;background:none;border:0;border-radius:0;overflow:visible;padding:2% 3% 0}
.pc__frame{position:relative;width:100%;height:100%}
.pc__media--cut .pc__frame,.pc__media--tee .pc__frame{aspect-ratio:40/31;height:auto} /* the one picture frame: see .fit */
.pc__frame .pc__img{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility 0s .25s}
.pc__frame .pc__img.is-on{opacity:1;visibility:visible;transition:opacity .25s ease}
.pc__media--cut .pc__img,.pc__media--tee img.pc__img{object-fit:contain;filter:drop-shadow(0 0 46px color-mix(in srgb,var(--glow,var(--c)) 26%,transparent))}
/* Back / Front: under the picture on a phone, over its bottom edge on wide
   screens (so the two cards' names stay on one line) */
.pc__views{position:relative;z-index:1;display:flex;width:max-content;margin:8px auto 0;padding:3px;border-radius:999px;background:rgba(12,12,16,.82);border:1px solid rgba(255,255,255,.22)}
.pc__views button{min-width:72px;height:44px;padding:0 16px;border:0;border-radius:999px;background:transparent;color:var(--soft);font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .2s,color .2s}
.pc__views button.is-on{background:#fff;color:#0C0C10;font-weight:700}

.pc__body{margin-top:20px}
.pc__name{font-family:var(--grot);font-weight:900;font-size:clamp(26px,7.4vw,34px);line-height:.95;letter-spacing:-.025em;text-transform:uppercase;color:#fff}
.pc__color{display:flex;align-items:center;gap:9px;margin-top:12px;font-family:var(--mono);font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--soft)}
.pc__color .sw{flex:none;width:12px;height:12px;border-radius:50%;background:var(--c);box-shadow:0 0 12px -1px var(--c)}
/* a top-3 tee: its place, then its color, right under the picture */
.pc__place{margin:0 0 12px}
.pc__place b{margin-right:3px;font-family:var(--grot);font-weight:900;font-size:26px;line-height:1;letter-spacing:-.02em;text-transform:none;color:#fff}
.pc__price{margin-top:14px;font-family:var(--grot);font-weight:900;font-size:30px;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:#fff}
.pc__ship{margin-top:8px;font-size:15px;line-height:1.4;color:var(--soft)}

.pc__sizes{margin:22px 0 0;padding:0;border:0;min-width:0}
.pc__sizes legend,.pc__qtyl{padding:0;margin-bottom:10px;font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.pc__sizerow{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.sz{position:relative;display:block;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sz input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.sz span{display:grid;place-items:center;height:48px;border-radius:999px;border:1px solid rgba(255,255,255,.3);font-family:var(--mono);font-size:13px;letter-spacing:.04em;color:#fff;transition:background .2s,color .2s,border-color .2s,transform .15s}
.sz input:checked + span{background:#fff;border-color:#fff;color:#0C0C10;font-weight:700}
.sz input:focus-visible + span{outline:2px solid #fff;outline-offset:3px}
.sz:active span{transform:scale(.96)}
.pc__sizes.is-missing .sz span{border-color:#FF6B6B}
/* a sold-out size (catalog soldOut): stays in the row, greyed out, one line through the whole button, cannot be picked */
.sz.is-out,.sz.is-out input{cursor:not-allowed}
.sz.is-out span,.pc__sizes.is-missing .sz.is-out span{color:rgba(255,255,255,.38);border-color:rgba(255,255,255,.16);background:linear-gradient(to top right,transparent calc(50% - .75px),rgba(255,255,255,.38) calc(50% - .75px),rgba(255,255,255,.38) calc(50% + .75px),transparent calc(50% + .75px))}
.sz.is-out:active span{transform:none}

.pc__buy{display:flex;align-items:stretch;gap:10px;margin-top:18px}
.qty{flex:none;display:flex;align-items:center;border-radius:999px;border:1px solid rgba(255,255,255,.3)}
.qty button{width:46px;height:54px;padding:0;border:0;background:transparent;color:#fff;font-size:20px;line-height:1;cursor:pointer;border-radius:999px;-webkit-tap-highlight-color:transparent}
.qty button:active{transform:scale(.9)}
.qty output{min-width:22px;text-align:center;font-family:var(--mono);font-size:14px;font-variant-numeric:tabular-nums;color:#fff}

.drop-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:1;min-height:56px;padding:0 22px;border-radius:999px;border:0;
  background:#fff;color:#0C0C10;font-weight:800;font-size:14px;letter-spacing:.16em;text-transform:uppercase;cursor:pointer;
  transition:transform .2s var(--ease),box-shadow .35s ease,opacity .2s;-webkit-tap-highlight-color:transparent;
}
.drop-btn:hover{transform:translateY(-2px);box-shadow:0 18px 50px -12px color-mix(in srgb,var(--c) 85%,transparent)}
.drop-btn:active{transform:scale(.97)}
.drop-btn.is-busy{opacity:.55;cursor:default;transform:none;box-shadow:none}
/* not open yet: plainly not a button to press, still easy to read */
.drop-btn.is-locked,.drop-btn.is-locked:hover,.drop-btn.is-locked:active{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.35);cursor:default;transform:none;box-shadow:none}
.drop-btn--ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.35)}
.drop-btn--ghost:hover{background:#fff;color:#0C0C10}
.pc__msg{min-height:20px;margin-top:10px;font-size:14px;line-height:1.4;color:#FF6B6B}

/* ---- the shirt: the /vote build, same two baked layers ----
   tee-b  the photo with its print knocked down to cotton
   tee-m  a mask cut from the print file. The tint is the color
          through that mask, so only the ink takes it. */
.tee{position:relative;display:block;isolation:isolate;aspect-ratio:640/537}
.tee img{display:block;width:100%;height:auto;pointer-events:none;user-select:none;-webkit-user-drag:none}
.tee__tint{position:absolute;inset:0;background:var(--c);pointer-events:none;-webkit-mask:var(--mask-sm) center/100% 100% no-repeat;mask:var(--mask-sm) center/100% 100% no-repeat}
.tee--big{aspect-ratio:1400/1174}
.tee--big .tee__tint{-webkit-mask-image:var(--mask-lg);mask-image:var(--mask-lg)}
.tee__gloss{position:absolute;inset:0;pointer-events:none;display:none;mix-blend-mode:screen;
  background:
    radial-gradient(ellipse 34% 26% at 36% 28%,rgba(255,255,255,.58) 0%,rgba(255,255,255,.22) 45%,transparent 78%),
    radial-gradient(ellipse 26% 18% at 66% 74%,rgba(255,255,255,.24) 0%,transparent 75%);
  -webkit-mask:var(--mask-sm) center/100% 100% no-repeat;mask:var(--mask-sm) center/100% 100% no-repeat}
.tee--big .tee__gloss{-webkit-mask-image:var(--mask-lg);mask-image:var(--mask-lg)}
.tee.is-gloss .tee__tint{background:#3A3D42}
.tee.is-gloss .tee__gloss{display:block}
.tee.is-camo .tee__tint{background:var(--camo) center/46% repeat;background-color:#3E5C2A}

/* ---- cart button: floats at the bottom once something is in the cart ---- */
.cartbar{
  position:fixed;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:80;
  display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:0 24px;border:0;border-radius:999px;
  background:#fff;color:#0C0C10;font-weight:800;font-size:14px;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;
  box-shadow:0 0 0 1px rgba(0,0,0,.6),0 18px 50px -8px rgba(0,0,0,.9);
  transition:transform .35s var(--ease),opacity .25s ease;-webkit-tap-highlight-color:transparent;
}
.cartbar[hidden]{display:none}
.cartbar.is-off{transform:translateY(20px);opacity:0}
.cartbar:active{transform:scale(.98)}
.cartbar__n{display:inline-grid;place-items:center;min-width:24px;height:24px;margin-left:8px;padding:0 7px;border-radius:999px;background:#0C0C10;color:#fff;font-family:var(--mono);font-size:12px;letter-spacing:0;font-weight:400}
.cartbar__sum{font-variant-numeric:tabular-nums;letter-spacing:.04em}

/* ---- cart: a sheet from the bottom on phones, a panel from the right on wide screens ---- */
.cart{position:fixed;inset:0;z-index:100}
.cart[hidden]{display:none}
.cart__scrim{position:absolute;inset:0;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);opacity:0;transition:opacity .32s ease}
.cart.is-open .cart__scrim{opacity:1}
.cart__panel{
  position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;max-height:calc(100dvh - 36px);
  border-radius:24px 24px 0 0;background:#08080A;border:1px solid var(--line);border-bottom:0;
  transform:translateY(100%);transition:transform .26s cubic-bezier(.4,0,1,1); /* closing */
}
.cart.is-open .cart__panel{transform:none;transition:transform .42s var(--ease)} /* opening */
.cart__head{flex:none;display:flex;align-items:center;justify-content:space-between;padding:18px 14px 12px 22px}
.cart__title{font-family:var(--grot);font-weight:900;font-size:26px;line-height:1;letter-spacing:-.02em;text-transform:uppercase;color:#fff}
.cart__close{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.06);color:#fff;font-size:24px;line-height:1;cursor:pointer}
.cart__lines{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;list-style:none;margin:0;padding:0 22px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.18) transparent}
.cart__empty{padding:8px 22px 28px;font-size:15px;line-height:1.5;color:var(--soft)}
.cart__empty[hidden]{display:none}

.cl{display:grid;grid-template-columns:68px minmax(0,1fr);gap:14px;padding:16px 0;border-top:1px solid var(--line)}
.cl:first-child{border-top:0}
.cl__pic{display:grid;place-items:center;width:68px;height:68px;border-radius:12px;background:var(--panel);border:1px solid var(--line);overflow:hidden}
.cl__pic .fit{width:92%}
.cl__pic img.cl__img{width:100%;height:100%;object-fit:cover}
.cl__pic .fit > img.cl__img{object-fit:contain}
.cl__top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.cl__name{font-weight:700;font-size:15px;line-height:1.25;color:#fff}
.cl__price{flex:none;font-family:var(--mono);font-size:14px;font-variant-numeric:tabular-nums;color:#fff}
.cl__meta{margin-top:4px;font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.cl__ship{margin-top:4px;font-size:13px;line-height:1.4;color:var(--soft)}
.cl__row{display:flex;align-items:center;justify-content:space-between;margin-top:8px}
.cl .qty button{width:44px;height:44px}
.cl__rm{min-height:44px;padding:0 4px;border:0;background:transparent;color:var(--muted);font-family:var(--mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.cl__rm:hover{color:#fff}

.cart__foot{flex:none;padding:14px 22px max(18px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}
.cart__foot[hidden]{display:none}
.cart__sum{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:15px;line-height:1.7;color:var(--soft)}
.cart__sum b{font-family:var(--mono);font-weight:400;font-variant-numeric:tabular-nums;color:#fff}
.cart__sum--sub{color:#fff;font-weight:700}
.cart__sum--sub b{font-size:17px}
.cart__go{width:100%;margin-top:12px}
.cart__err{margin-top:10px;font-size:14px;line-height:1.4;color:#FF6B6B}
.cart__err[hidden]{display:none}
.cart__fine{margin-top:10px;font-size:13px;line-height:1.5;color:var(--muted)}

/* ---- thank-you page ----
   One centered column, phone first: the trophy shot (headline behind, what
   they bought in front), name, color and size, receipt line, then the order
   card, the steps and the buttons. From 900px the card and the steps sit
   side by side under the shot. */
.drop-ty main,.drop-ty .drop-foot{position:relative;z-index:1}
/* the Morton Grove mark, bottom right, cropped by the screen edge. #111 on
   #000. Fixed, and sized off the tall viewport, so nothing moves when a
   phone's toolbar slides away. */
.ty-bg{position:fixed;top:0;left:0;z-index:0;width:100%;height:100vh;height:100lvh;overflow:hidden;pointer-events:none}
.ty-bg svg{position:absolute;right:-34vw;bottom:-5vw;width:168vw;max-width:none;height:auto;fill:#111}

.ty{padding:clamp(20px,3.6vh,44px) clamp(20px,5vw,72px) clamp(64px,9vw,120px);overflow:hidden;overflow:clip} /* the glow is wider than a phone */
.trophy{--fs:clamp(56px,min(20.6vw,34vh),300px);display:flex;flex-direction:column;align-items:center;text-align:center}
.trophy__eyebrow{justify-content:center}
.trophy__stage{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;margin-top:clamp(14px,2.2vh,22px)}
.ty h1{position:relative;z-index:0;font-family:var(--grot);font-weight:900;font-size:var(--fs);line-height:.8;letter-spacing:-.045em;text-transform:uppercase;white-space:nowrap;color:#fff;margin:0}
/* the shirt comes up over the bottom of the letters */
.trophy__shot{position:relative;z-index:1;width:min(100%,520px,58vh);margin-top:calc(var(--fs) * -.4)}
.trophy__shot[hidden],.trophy__name[hidden],.trophy__meta[hidden],.ty__share[hidden]{display:none}
/* the print color, glowing low behind the shirt and behind the letters, so
   the letters stay crisp where the shirt crosses them */
.trophy__stage.has-shot::before{content:"";position:absolute;left:50%;bottom:-12%;width:min(150%,760px);aspect-ratio:1.25;transform:translateX(-50%);background:radial-gradient(closest-side,color-mix(in srgb,var(--glow,var(--c)) 24%,transparent),transparent);pointer-events:none}
.trophy__shot img.trophy__img{display:block;width:100%;height:auto;border-radius:18px}
.trophy__shot img.trophy__img--cut{border-radius:0}
.trophy__cap{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;margin-top:clamp(14px,2.2vh,24px);max-width:100%}
.trophy__name{font-family:var(--grot);font-weight:900;font-size:clamp(22px,6.2vw,34px);line-height:.98;letter-spacing:-.025em;text-transform:uppercase;color:#fff;text-wrap:balance}
.trophy__meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;margin-top:10px;font-family:var(--mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--soft)}
.trophy__more{padding:5px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.3);font-size:11px;letter-spacing:.12em;color:#fff}
.ty__lead{margin-top:14px;font-size:clamp(16px,1.6vw,18px);line-height:1.4;color:var(--soft)}
.trophy__name[hidden] ~ .ty__lead{margin-top:0;font-size:clamp(18px,2vw,22px);color:#fff}

/* "Payment still processing." is three words: smaller, and the shirt sits
   under it instead of over it */
.ty.is-pending h1{font-size:clamp(34px,11.4vw,72px);line-height:.92;letter-spacing:-.03em;white-space:normal}
.ty.is-pending .trophy__shot{margin-top:clamp(12px,2vh,24px);width:min(100%,420px,46vh)}
/* size off the short viewport (a phone with its toolbars showing) where the
   browser knows it, so the headline and the shirt fit the first screen */
@supports (height:1svh){
  .trophy{--fs:clamp(56px,min(20.6vw,34svh),300px)}
  .trophy__shot{width:min(100%,520px,58svh)}
  .ty.is-pending .trophy__shot{width:min(100%,420px,46svh)}
}

.ty__body{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;max-width:560px;margin:clamp(40px,7vh,72px) auto 0}
.ty__k{font-family:var(--mono);font-size:11px;font-weight:400;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.ty__date{font-size:clamp(18px,2vw,22px);line-height:1.4;color:#fff}

/* the order: same line layout as the cart, in a card */
.oc{border-radius:18px;background:var(--panel);border:1px solid var(--line);overflow:hidden}
.oc[hidden],.next[hidden]{display:none}
.oc__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line);font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.oc__head b{font-weight:600;color:#fff}
.oc__state.is-paid{color:#fff}
.oc__lines{list-style:none;margin:0;padding:0 18px}
.oc .cl{grid-template-columns:84px minmax(0,1fr);gap:16px;padding:18px 0}
.oc .cl__pic{width:84px;height:84px;background:#08080A}
.oc .cl__top{margin-top:2px}
.oc .cl--bare{grid-template-columns:minmax(0,1fr)}
.nb{white-space:nowrap}
.oc__sums{padding:12px 18px 16px;border-top:1px solid var(--line)}

/* what happens next */
.next__list{list-style:none;margin:12px 0 0;padding:0;counter-reset:step}
.next__list li{counter-increment:step;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:baseline;padding:14px 0;border-top:1px solid var(--line);font-size:16px;line-height:1.45;color:var(--soft)}
.next__list li:last-child{border-bottom:1px solid var(--line)}
.next__list li::before{content:counter(step);font-family:var(--mono);font-size:12px;color:var(--muted)}
.next__list a{display:inline-block;padding-block:12px;margin-block:-12px;color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.4);text-underline-offset:4px;overflow-wrap:anywhere}
.next__list a:hover{text-decoration-color:#fff}

.ty__foot{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:clamp(56px,10vh,104px)}
.ty__back,.ty__share{flex:none;text-decoration:none}

/* nothing shows until drop.js knows what was ordered. Then, once: the
   headline fades in, the shirt rises into place, the rest follows. */
.ty-wait .trophy,.ty-wait .ty__body,.ty-wait .ty__foot{visibility:hidden}
.ty.is-in .trophy__eyebrow,.ty.is-in h1{animation:tyFade .6s ease both}
.ty.is-in .trophy__shot{animation:tyRise .85s var(--ease) .35s both}
.ty.is-in .trophy__cap{animation:tyIn .5s var(--ease) .75s both}
.ty.is-in .ty__body{animation:tyIn .5s var(--ease) .9s both}
.ty.is-in .ty__foot{animation:tyIn .5s var(--ease) 1s both}
@keyframes tyFade{from{opacity:0}to{opacity:1}}
@keyframes tyRise{from{opacity:0;transform:translateY(56px)}to{opacity:1;transform:none}}
@keyframes tyIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* ---- the one picture frame ----
   Every shirt, on the cards, in the cart, on the order card and on the
   thank-you page, sits in this 40:31 frame. Sizes are matched by the shirt's
   own outline, not by the file it comes in: the outline's top edge is at
   2.5% of the frame's height, its bottom edge at 97.5%, and it is centered.
   - Cut photos (tools/drop-photos/cut.py) are saved already placed, so they
     simply fill the frame.
   - The Blackout tee's two views (item-a-1, item-a-2) are tinted tees on
     the same shirt photos as the cut ones, saved placed the same way.
   - A tinted tee on the vote page's own photo (image: 'tee' in catalog.js,
     not used right now) is a longer shirt in a 1400x1174 file with its own
     margins. --tee-w/x/y put its outline on the same top and bottom edges
     (numbers printed by cut.py). Nothing is stretched. */
.drop-page{--tee-w:91.95%;--tee-x:4.06%;--tee-y:.30%}
.fit{position:relative;display:block;width:100%;aspect-ratio:40/31}
.fit > img,.trophy__shot .fit > img.trophy__img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;border-radius:0}
.fit > .tee,.pc__img--tee > .tee,.pc__media--tee .pc__img--tee > .tee,.cl__pic .fit > .tee{position:absolute;left:var(--tee-x);top:var(--tee-y);width:var(--tee-w)}
/* a tinted tee built on the drop's own shirt photos (cut.py: item-a-*) is
   saved already placed, like the cut photos: it fills the frame */
.tee.tee--fit,.tee--big.tee--fit{aspect-ratio:40/31}
.fit > .tee.tee--fit,.pc__media--tee .pc__img--tee > .tee.tee--fit,.cl__pic .fit > .tee.tee--fit{left:0;top:0;width:100%}

/* ---- wider screens ---- */
@media (min-width:900px){
  .dh h1{font-size:clamp(40px,4.5vw,74px)} /* the whole line is about 19em wide: this keeps it on one row */
  .dh h1 span{display:inline}
  .dh__tag{font-size:16px}
  .shop__grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .shop__h{font-size:clamp(34px,3.7vw,58px)}
  .shop__grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
  /* three across, the shirt is small: the Back / Front switch sits under it, not over it */
  .shop__grid--3 .pc__views{position:relative;left:auto;bottom:auto;margin:8px auto 0;transform:none}
  /* the tee leads: full row, shirt beside its details */
  .pc--lead{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(32px,5vw,80px);align-items:center}
  .pc--lead .pc__body{margin-top:0}
  .pc--lead .pc__name{font-size:clamp(34px,3.7vw,58px)}
  .pc__views{position:absolute;left:50%;bottom:0;margin:0;transform:translateX(-50%)}
  .pc__name{font-size:clamp(26px,2.4vw,34px)}
  .cartbar{left:auto;right:24px;bottom:24px;min-width:280px}
  .cart__panel{left:auto;top:0;width:440px;max-height:none;border-radius:24px 0 0 24px;border:1px solid var(--line);border-right:0;transform:translateX(100%)}
}

/* three tees across on a small laptop: each card is narrow, so the sizes take two rows and
   the quantity and the button each get a full row (same idea as the smallest phones below) */
@media (min-width:900px) and (max-width:1199px){
  .shop__grid--3 .pc__sizerow{grid-template-columns:repeat(3,minmax(0,1fr))}
  .shop__grid--3 .pc__buy{flex-wrap:wrap}
  .shop__grid--3 .pc__buy .qty{flex:1 1 100%;justify-content:space-between}
  .shop__grid--3 .pc__buy .drop-btn{flex:1 1 100%}
}
@media (max-width:340px){
  .pc__sizerow{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (min-width:900px){
  .ty-bg svg{right:-16vw;bottom:-7vw;width:min(96vw,1500px)}
  .trophy__shot{margin-top:calc(var(--fs) * -.46)}
  .ty.is-pending h1{font-size:clamp(44px,4.6vw,72px)}
  /* card left, steps right, under the shot */
  .ty__body.has-order{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,5vw,72px);align-items:start;max-width:1000px}
  .ty__body.has-order .next{padding-top:16px}
}

@media (prefers-reduced-motion:reduce){
  .cart__panel,.cart__scrim,.cartbar,.drop-btn,.sz span,.drop-foot a,.pc__frame .pc__img,.pc__views button{transition:none !important}
  .ty.is-in .trophy__eyebrow,.ty.is-in h1,.ty.is-in .trophy__shot,.ty.is-in .trophy__cap,.ty.is-in .ty__body,.ty.is-in .ty__foot{animation:none}
}
