/* ==========================================================================
   Captain Flipper — shared styles
   Split-flap boards in the brand's navy, gold and parchment
   Poppins (brand font: headlines, prices, text) · Sofia Sans Extra Condensed (flip tiles, small labels)
   ========================================================================== */

:root {
  /* Captain Flipper brand palette (brand guide, Oct 2026) */
  --navy: #092137;        /* Deep Navy */
  --ocean: #0963b5;       /* Ocean Blue */
  --cyan: #159cd6;        /* Wave Cyan */
  --gold: #f4ac29;        /* Treasure Gold */
  --timber: #784319;      /* Ship Timber */
  --parchment: #f5d39d;   /* Parchment */
  --red: #c52d33;         /* Bandana Red */

  --ink: var(--navy);
  --ink-2: #2a3c4f;
  --ink-3: #566577;
  --paper: #f8efdc;       /* light parchment page */
  --paper-2: #f0e1c2;
  --white: #fffaf0;
  --orange: var(--red);   /* main call-to-action color */
  --orange-deep: #a11f24; /* red for small text on paper */
  --red-hi: #f0575b;      /* red that reads on the navy boards */
  --blue: var(--ocean);
  --blue-deep: #054b87;
  --board: #04172b;
  --tile: #0a2540;
  --tile-top: #102c4a;
  --tile-bot: #082037;
  --flap-ink: #fbf1dd;
  --amber: var(--gold);
  --line: rgba(9, 33, 55, 0.14);
  --line-strong: rgba(9, 33, 55, 0.85);

  --f-display: "Poppins", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-sign: "Poppins", "Avenir Next", "Segoe UI", system-ui, sans-serif;   /* prices: ExtraBold Italic */
  --f-gothic: "Sofia Sans Extra Condensed", "Arial Narrow", Impact, sans-serif;   /* flip tiles + small labels */
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --wrap: min(1320px, 100% - var(--gutter) * 2);
  --radius: 14px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --beam-h: 12px;          /* wooden beam under the header bar */
  --header-h: 86px;        /* whole sticky header: bar + beam */
  --bar-h: calc(var(--header-h) - var(--beam-h));
  /* Wood textures (generated in brand Ship Timber / Parchment, tile seamlessly along the grain) */
  --wood-plank: url("/assets/img/wood/wood-plank.webp");
  --wood-beam: url("/assets/img/wood/wood-beam.webp");
  --wood-dock: url("/assets/img/wood/wood-dock.webp");
  --wood-pallet: url("/assets/img/wood/wood-pallet.webp");
  --wood-wall: url("/assets/img/wood/wood-wall.webp");
}
@media (max-width: 760px) { :root { --beam-h: 10px; --header-h: 74px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* newsprint grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .07 0 0 0 0 .06 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
main[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.gothic { font-family: var(--f-gothic); font-weight: 800; text-transform: uppercase; line-height: .9; }
.slab, .sign { font-family: var(--f-sign); font-weight: 800; font-style: italic; }
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(44px, 7.6vw, 124px);
  line-height: .98;
  margin: 0;
  letter-spacing: -.035em;
}
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0;
}
.h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.1vw, 30px); line-height: 1; letter-spacing: -.015em; margin: 0; }
/* section label = a paper price tag with a punched hole */
.kicker {
  --k-bg: var(--ink); --k-fg: var(--paper);
  position: relative;
  display: inline-flex; align-items: center;
  font: 800 17px/1 var(--f-gothic); text-transform: uppercase; letter-spacing: .01em;
  background: var(--k-bg); color: var(--k-fg);
  padding: 6px 13px 5px 25px;
  margin: 0 0 20px;
  border-radius: 0 6px 6px 0;
  clip-path: polygon(11px 0, 100% 0, 100% 100%, 11px 100%, 0 50%);
  -webkit-mask: radial-gradient(circle at 13px 50%, #0000 3px, #020f1d 3.6px);
          mask: radial-gradient(circle at 13px 50%, #0000 3px, #020f1d 3.6px);
  transform: rotate(-2deg);
  transform-origin: 0 50%;
}
.bg-ink .kicker, .bg-board .kicker { --k-bg: var(--amber); --k-fg: var(--ink); }
.bg-blue .kicker { --k-bg: var(--white); --k-fg: var(--blue); }
.bg-orange .kicker { --k-bg: var(--ink); --k-fg: var(--orange); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 34em; color: var(--ink-2); }
.lede strong { color: var(--ink); }
.accent-o { color: var(--orange); }
.accent-b { color: var(--blue); }
.bg-board .accent-o, .bg-ink .accent-o, .board .accent-o { color: var(--red-hi); }
.bg-board .accent-b, .bg-ink .accent-b, .board .accent-b { color: var(--cyan); }
.bg-blue .accent-b { color: var(--gold); }
.tbd {
  background: repeating-linear-gradient(-45deg, rgba(244, 172, 41, .35) 0 6px, rgba(244, 172, 41, .18) 6px 12px);
  border-radius: 4px; padding: 0 .3em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.tbd::after { content: " ✎"; font-size: .8em; opacity: .7; }
.bg-ink .tbd, .bg-board .tbd { color: var(--amber); background: repeating-linear-gradient(-45deg, rgba(244, 172, 41, .2) 0 6px, rgba(244, 172, 41, .09) 6px 12px); }

/* ---------- Buttons (claim-ticket shape) ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --notch: 7px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px;
  padding: 10px 30px 8px;
  border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font: 800 24px/1 var(--f-gothic); text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none;
  -webkit-mask:
    radial-gradient(circle at 0 50%, #0000 var(--notch), #020f1d calc(var(--notch) + .5px)) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, #0000 var(--notch), #020f1d calc(var(--notch) + .5px)) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle at 0 50%, #0000 var(--notch), #020f1d calc(var(--notch) + .5px)) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, #0000 var(--notch), #020f1d calc(var(--notch) + .5px)) right / 51% 100% no-repeat;
  transition: transform .25s var(--ease-spring), background-color .2s;
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 5px 14px; border: 1.5px dashed currentColor; opacity: .28; border-radius: 3px; pointer-events: none;
}
.btn:hover { transform: translateY(-2px) rotate(-1.2deg); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--orange { --bg: var(--orange); --fg: #fff; }
.btn--blue { --bg: var(--blue); --fg: var(--white); }
.btn--paper { --bg: var(--paper); --fg: var(--ink); }
.btn--white { --bg: var(--white); --fg: var(--ink); }
/* outlined ticket: an ink ticket with a paper ticket 2px inside it */
.btn--outline { --bg: var(--ink); --fg: var(--ink); --fill: var(--paper); }
.btn--outline::before {
  content: ""; position: absolute; inset: 2px; z-index: -1; background: var(--fill);
  -webkit-mask:
    radial-gradient(circle at -2px 50%, #0000 calc(var(--notch) + 2px), #020f1d calc(var(--notch) + 2.5px)) left / 51% 100% no-repeat,
    radial-gradient(circle at calc(100% + 2px) 50%, #0000 calc(var(--notch) + 2px), #020f1d calc(var(--notch) + 2.5px)) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle at -2px 50%, #0000 calc(var(--notch) + 2px), #020f1d calc(var(--notch) + 2.5px)) left / 51% 100% no-repeat,
    radial-gradient(circle at calc(100% + 2px) 50%, #0000 calc(var(--notch) + 2px), #020f1d calc(var(--notch) + 2.5px)) right / 51% 100% no-repeat;
  transition: background-color .2s;
}
.btn--outline:hover { --fill: var(--white); }
.btn--sm { min-height: 40px; font-size: 20px; padding: 8px 20px 6px; --notch: 5px; }
.btn--sm::after { inset: 4px 10px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn .arr { display: inline-block; transition: transform .3s var(--ease-spring); }
.btn:hover .arr { transform: translateX(4px); }

.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--orange-deep); }

/* ---------- Split-flap cells ---------- */
.flaps { display: inline-flex; gap: var(--fgap, 3px); vertical-align: middle; }
.fc {
  --fw: 1em; --fh: 1.5em;
  position: relative;
  width: var(--fw); height: var(--fh);
  flex: 0 0 auto;
  perspective: calc(var(--fh) * 5);
  font-family: var(--f-gothic);
  font-weight: 800;
  color: var(--flap-ink);
  border-radius: calc(var(--fh) * .08);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 2px 3px rgba(2, 15, 29,.45);
}
.fc-h {
  position: absolute; left: 0; right: 0; height: 50%;
  overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.fc-t { top: 0; background: linear-gradient(var(--tile-top), var(--tile)); border-radius: calc(var(--fh) * .08) calc(var(--fh) * .08) 0 0; transform-origin: 50% 100%; }
.fc-b { bottom: 0; background: linear-gradient(var(--tile), var(--tile-bot)); border-radius: 0 0 calc(var(--fh) * .08) calc(var(--fh) * .08); transform-origin: 50% 0; }
.fc-g {
  position: absolute; left: 0; right: 0; height: 200%;
  display: flex; align-items: center; justify-content: center;
  font-size: calc(var(--fh) * .86);
  line-height: 1;
  padding-top: calc(var(--fh) * .06);
}
.fc-t .fc-g { top: 0; }
.fc-b .fc-g { bottom: 0; }
.fc-leaf { z-index: 2; visibility: hidden; }
.fc-leaf.fc-t { box-shadow: 0 -1px 0 rgba(255,255,255,.03) inset; }
.fc::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(50% - .5px); height: 1px; z-index: 3;
  background: rgba(2, 15, 29,.75);
}
.fc::before { /* side pins */
  content: ""; position: absolute; z-index: 4; top: calc(50% - 2px); left: -1px; right: -1px; height: 4px;
  background: linear-gradient(90deg, #020c16 0 2px, transparent 2px calc(100% - 2px), #020c16 calc(100% - 2px));
}
.fc.is-accent { color: var(--red-hi); }
.fc.is-amber { color: var(--amber); }
.fc.is-blue { color: #5cbde8; }
.fc.is-dim { color: #708297; }
.flaps--light .fc { --tile-top: #fefcf7; --tile: #fbf4e5; --tile-bot: #f5e9d2; color: var(--ink); box-shadow: 0 1px 2px rgba(2, 15, 29,.25); }
.flaps--light .fc::after { background: rgba(2, 15, 29,.22); }
.flaps--light .fc::before { background: linear-gradient(90deg, #c7ba9f 0 2px, transparent 2px calc(100% - 2px), #c7ba9f calc(100% - 2px)); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  padding-bottom: var(--beam-h);
}
/* Centered horizontal logo (brand guide p.4: "use for website headers").
   At the top of the page it hangs below the bar at full size; as you scroll it shrinks into the bar.
   Sizes keep the guide's clear space (10% of the logo's width) on every side.
   The logo is 1349x758, so its height is .562 x its width; clear space is .1 x its width. */
.site-header {
  --logo-w: 280px;       /* full width; 157px tall */
  --logo-top: 8px;
  --logo-k: .38;         /* scale when tucked into the bar: 106px wide, 60px tall */
  --hang: calc(var(--logo-w) * .662 + var(--logo-top) - var(--header-h));   /* room below the header for the full logo + clear space */
  margin-bottom: var(--hang);
  /* half-width of the break in the beam: the logo's current half-width plus clear space, closed once the logo is tucked */
  --gap: calc(var(--logo-w) * (1 - (1 - var(--logo-k)) * var(--t, 0)) * .6 * clamp(0, (1 - var(--t, 0)) * 12, 1));
}
/* wooden fascia beam under the bar; it breaks around the logo while the logo hangs across it */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--beam-h);
  background: var(--wood-beam) 0 50% / auto 100% repeat-x, #4a2610;
  box-shadow: inset 0 1px 0 rgba(255, 220, 170, .22), inset 0 -1px 0 rgba(0, 0, 0, .5);
  -webkit-mask: linear-gradient(90deg, #000 calc(50% - var(--gap)), transparent 0 calc(50% + var(--gap)), #000 0);
  mask: linear-gradient(90deg, #000 calc(50% - var(--gap)), transparent 0 calc(50% + var(--gap)), #000 0);
  pointer-events: none;
}
/* soft shadow the beam drops on the page */
.site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; pointer-events: none;
  background: linear-gradient(rgba(40, 18, 2, .28), transparent);
  -webkit-mask: linear-gradient(90deg, #000 calc(50% - var(--gap)), transparent 0 calc(50% + var(--gap)), #000 0);
  mask: linear-gradient(90deg, #000 calc(50% - var(--gap)), transparent 0 calc(50% + var(--gap)), #000 0);
}
.site-header .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--logo-w) minmax(0, 1fr); align-items: center; column-gap: 22px;
  height: var(--bar-h);
}
.header-left { display: flex; align-items: center; gap: 8px; min-width: 0; justify-self: start; }
.brand { position: relative; z-index: 2; display: block; width: var(--logo-w); height: var(--bar-h); align-self: start; }
.brand-logo {
  position: absolute; left: 50%; top: var(--logo-top);
  width: var(--logo-w); height: auto; max-width: none;
  transform-origin: 50% 0;
  transform: translateX(-50%) scale(calc(1 - (1 - var(--logo-k)) * var(--t, 0)));
  transition: translate .45s var(--ease-spring);
}
.brand:hover .brand-logo { translate: 0 -2px; }
.brand:active .brand-logo { translate: 0 1px; }
body.menu-open .site-header { --t: 1 !important; }

.nav { display: flex; gap: 2px; }
.nav a {
  position: relative; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 11px; border-radius: 999px;
  transition: background-color .2s;
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.header-right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.status-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--board); border-radius: 10px; padding: 6px 8px 6px 10px;
  text-decoration: none;
}
.status-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(197, 45, 51,.6); animation: pulse 2s infinite; }
.status-chip[data-mode="auction-live"] .dot { background: #2ea7df; }
.status-chip[data-mode="off"] .dot, .status-chip[data-mode="after"] .dot { background: #708297; animation: none; }
.status-chip .fc { --fw: 13px; --fh: 22px; }
.status-chip .flaps { --fgap: 2px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(197, 45, 51,.55); } 70% { box-shadow: 0 0 0 8px rgba(197, 45, 51,0); } 100% { box-shadow: 0 0 0 0 rgba(197, 45, 51,0); } }

.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--ink); background: transparent; cursor: pointer;
  position: relative;
}
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-spring), opacity .2s; }
.menu-btn span:nth-child(1) { top: 14px; } .menu-btn span:nth-child(2) { top: 20px; } .menu-btn span:nth-child(3) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--ink); color: var(--paper);
  padding: 28px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s var(--ease-out);
  visibility: hidden;
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu a.mm-link {
  font: 800 clamp(38px, 10.5vw, 64px)/1 var(--f-display); letter-spacing: -.03em; text-decoration: none;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; white-space: nowrap;
  transform: translateY(30px); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .4s, color .2s;
}
.mobile-menu a.mm-link small { font: 600 14px/1 var(--f-body); text-transform: none; color: #8191a4; }
.mobile-menu a.mm-link:hover { color: var(--orange); }
.menu-open .mobile-menu a.mm-link { transform: none; opacity: 1; }
.menu-open .mobile-menu a.mm-link:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu a.mm-link:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu a.mm-link:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu a.mm-link:nth-child(5) { transition-delay: .2s; }
.mm-board { margin-top: 28px; background: #020b15; border-radius: 12px; padding: 12px; display: grid; gap: 6px; justify-items: start; box-shadow: 0 0 0 1px #132e4b; }
.mm-board .flaps { --fgap: 2px; }
.mm-board .fc { --fw: min(22px, calc((100vw - 2 * var(--gutter) - 24px - 22px) / 12)); --fh: calc(var(--fw) * 1.5); }
.mm-board [data-r2] .fc { color: var(--amber); }
.mobile-menu .mm-foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
body.menu-open { overflow: hidden; }

.nav a { white-space: nowrap; }
@media (max-width: 1380px) {
  .nav a { font-size: 14px; padding: 8px 9px; }   /* keeps the links clear of the centered logo */
}
/* below 1290px the links and the paddle button move into the menu so everything keeps clear of the 280px logo */
@media (max-width: 1290px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .header-right .btn { display: none; }
}
@media (max-width: 760px) {
  /* as wide as fits between the 46px menu and cart buttons with 10% clear space, up to 210px (118px tall); 52px tall tucked */
  .site-header { --logo-w: min(210px, calc((100vw - 2 * var(--gutter) - 92px) / 1.2)); --logo-top: 6px; --logo-k: .44; }
  .site-header .wrap { column-gap: 12px; }
}
@media (max-width: 1180px) and (min-width: 961px) {
  .status-chip [data-chip-day] { display: none; }
}
@media (max-width: 960px) {
  .status-chip { display: none; }
  .header-right { gap: 10px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-board { background: var(--board); color: var(--paper); }
.bg-orange { background: var(--gold); color: var(--ink); }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-white { background: var(--white); }
.bg-ink .lede, .bg-board .lede { color: #d7c8aa; }
.bg-blue .lede { color: #d9eef9; }
.bg-orange .lede { color: #2a1406; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lede { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Ticker ---------- */
.ticker {
  position: relative; z-index: 1;
  overflow: hidden; white-space: nowrap;
  /* one long timber plank; the words are branded into it */
  background: var(--wood-plank) 0 50% / auto 100% repeat-x, #784319;
  color: var(--parchment);
  text-shadow: 0 -1px 0 rgba(20, 8, 0, .7), 0 1px 0 rgba(255, 214, 160, .2);
  box-shadow: inset 0 2px 0 rgba(255, 220, 170, .18), inset 0 -3px 0 rgba(0, 0, 0, .35), 0 10px 18px -10px rgba(40, 18, 2, .7);
  padding: 16px 0 12px;
  font: 800 clamp(28px, 3.2vw, 40px)/1 var(--f-gothic); text-transform: uppercase;
}
.ticker-track span::after { color: var(--gold); }
.ticker-track { display: inline-flex; will-change: transform; }
.ticker-track span { padding: 0 .55em; display: inline-flex; align-items: center; gap: .55em; }
.ticker-track span:nth-child(3n+1) { font-family: var(--f-display); text-transform: none; letter-spacing: -.02em; font-size: .8em; }
.ticker-track span:nth-child(3n+2) { font-family: var(--f-sign); font-style: italic; text-transform: none; font-size: .9em; }
.ticker-track span::after { content: "✺"; font-family: var(--f-body); font-size: .55em; transform: translateY(-.1em); }

/* ---------- Item card ---------- */
.grid-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
@media (max-width: 1100px) { .grid-items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1.5px var(--ink);
  overflow: visible;
  transition: transform .35s var(--ease-spring), box-shadow .25s;
  cursor: pointer;
  text-align: left; border: 0; padding: 0;
}
.card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 0 0 1.5px var(--ink), 6px 8px 0 var(--ink); }
.card .ph {
  position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
  background: var(--paper-2);
}
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card:hover .ph img { transform: scale(1.04); }
.lot-strip {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  font: 800 17px/1 var(--f-gothic); text-transform: uppercase; letter-spacing: .02em;
  padding: 7px 12px 5px;
}
.lot-strip span { white-space: nowrap; }
.lot-strip .cond { color: var(--amber); overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.card .body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .name { font: 600 16px/1.3 var(--f-body); margin: 0; text-wrap: pretty; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.price { font: italic 800 clamp(26px, 2.4vw, 32px)/1 var(--f-sign); letter-spacing: -.01em; }
.msrp { font: 500 14px/1 var(--f-body); color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--orange); }
.msrp-label { font-size: 12px; color: var(--ink-3); text-decoration: none; display: block; margin-bottom: 3px; }
@media (max-width: 760px) {
  .card .body { padding: 10px 10px 12px; }
  .card .name { font-size: 14px; }
  .lot-strip { font-size: 15px; padding: 6px 9px 4px; }
}

/* price sticker */
.sticker {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: clamp(66px, 6.6vw, 84px); aspect-ratio: 1; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-content: center; text-align: center;
  font: 800 15px/0.95 var(--f-gothic); text-transform: uppercase;
  box-shadow: 0 2px 0 rgba(2, 15, 29,.18), inset 0 0 0 3px rgba(255,255,255,.25);
  transform: rotate(var(--rot, 9deg));
}
.sticker b { display: block; font: italic 800 clamp(18px, 1.9vw, 24px)/1 var(--f-sign); margin-top: 2px; }
.sticker.is-blue { background: var(--blue); color: var(--white); }
.sticker.slap { animation: slap .5s var(--ease-spring) both; }
@keyframes slap {
  0% { transform: translate(-20px, -30px) scale(1.9) rotate(-20deg); opacity: 0; }
  55% { transform: scale(.92) rotate(calc(var(--rot, 9deg) + 4deg)); opacity: 1; }
  100% { transform: rotate(var(--rot, 9deg)); opacity: 1; }
}
@media (max-width: 760px) { .sticker { width: 58px; font-size: 13px; top: 8px; right: 8px; } .sticker b { font-size: 16px; } }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--ink); background: transparent; border-radius: 999px;
  padding: 8px 14px 7px; font: 600 14px/1 var(--f-body); cursor: pointer;
  transition: background-color .2s, color .2s, transform .25s var(--ease-spring);
}
.chip:hover { transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip .n { opacity: .55; margin-left: 4px; font-weight: 500; }
.chip.is-zero { opacity: .45; }

/* ---------- Board panel ---------- */
.board {
  --frame: clamp(12px, 1.5vw, 20px);
  position: relative;
  background: var(--board);
  padding: clamp(14px, 2vw, 26px);
  color: var(--flap-ink);
  /* mitred timber frame (9-slice: 56px corners in the source image) */
  border: var(--frame) solid #6a3a15;
  border-image: url("/assets/img/wood/wood-frame.webp") 56 round;
  border-radius: 3px;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(0, 0, 0, .6), 0 30px 60px -28px rgba(30, 12, 0, .6), 0 3px 0 rgba(30, 12, 0, .25);
}
.board::before, .board::after { /* nail heads in the top corners of the frame */
  content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #b9b2a6, #57524c 55%, #2b2723 80%);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .55), 0 0 0 2px rgba(40, 18, 2, .35);
  top: calc(var(--frame) / -2 - 4.5px); left: calc(var(--frame) / -2 - 4.5px);
}
.board::after { left: auto; right: calc(var(--frame) / -2 - 4.5px); }
@media (max-width: 560px) { .board { --frame: 10px; padding: 9px; } .board::before, .board::after { width: 7px; height: 7px; top: -8.5px; } .board::before { left: -8.5px; } .board::after { right: -8.5px; } }
.board-plate {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  font: 800 15px/1 var(--f-gothic); letter-spacing: .02em; text-transform: uppercase; color: #708297;
  padding: 0 6px 12px;
}
.board-plate .live { color: var(--amber); display: inline-flex; align-items: center; gap: 6px; }
.board-plate .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- Drawer / modal ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 80; background: rgba(9, 33, 55, .55);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(560px, 100%);
  background: var(--paper);
  border-left: 2px solid var(--ink);
  transform: translateX(105%);
  transition: transform .5s var(--ease-out);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 2px solid var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.drawer-foot { border-top: 2px solid var(--ink); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--white); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; cursor: pointer;
  display: grid; place-items: center; transition: transform .3s var(--ease-spring), background-color .2s;
}
.icon-btn:hover { transform: rotate(90deg); background: var(--ink); color: var(--paper); }
.icon-btn svg { width: 18px; height: 18px; }

.modal {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px;
  pointer-events: none;
}
.modal-card {
  width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto;
  background: var(--paper); border-radius: 20px; box-shadow: 0 0 0 2px var(--ink), 10px 12px 0 var(--ink);
  transform: translateY(30px) scale(.96); opacity: 0;
  transition: transform .45s var(--ease-spring), opacity .25s;
  pointer-events: auto;
  visibility: hidden;
}
.modal.is-open .modal-card { transform: none; opacity: 1; visibility: visible; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font: 600 14px/1.2 var(--f-body); }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 2px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--ink);
  font-size: 17px;
  transition: box-shadow .2s;
}
.input:focus { outline: none; box-shadow: 0 0 0 4px rgba(9, 99, 181, .35); }
.input::placeholder { color: #8191a4; }
.form-note { font-size: 13px; color: var(--ink-3); margin: 0; }

/* ---------- Paddle ---------- */
.paddle {
  --pc: var(--white);
  position: relative; width: 190px; height: 290px; margin: 0 auto;
  transform-origin: 50% 95%;
  transition: transform .6s var(--ease-spring);
}
.paddle .face {
  position: absolute; left: 0; right: 0; top: 0; height: 200px; border-radius: 50% 50% 46% 46% / 52% 52% 48% 48%;
  background: var(--pc); color: var(--ink);
  box-shadow: 0 0 0 2.5px var(--ink), 6px 7px 0 var(--ink);
  display: grid; place-content: center; text-align: center;
}
.paddle .face small { font: 800 18px/1 var(--f-gothic); letter-spacing: .02em; text-transform: uppercase; color: var(--ink-3); }
.paddle .face .num { font: italic 800 64px/1 var(--f-sign); letter-spacing: -.02em; margin-top: 6px; }
.paddle .handle {
  position: absolute; left: 50%; top: 188px; width: 34px; height: 100px; transform: translateX(-50%);
  background: linear-gradient(90deg, #9a5424, #c27a3e 45%, #784319);
  border-radius: 6px 6px 14px 14px; box-shadow: 0 0 0 2.5px var(--ink), 5px 6px 0 var(--ink);
  z-index: -1;
}
.paddle.is-raised { transform: translateY(-26px) rotate(-8deg); }

/* ---------- Accordion ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0 18px;
  font: 800 clamp(20px, 2.1vw, 27px)/1.12 var(--f-display); letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 2px solid currentColor; position: relative; transition: transform .4s var(--ease-spring), background-color .2s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2.5px; background: currentColor; transform: translate(-50%, -50%); border-radius: 2px; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq details[open] summary .pm { transform: rotate(180deg); background: var(--orange); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 0 24px; max-width: 46em; color: var(--ink-2); }
.faq .ans p { margin: 0 0 10px; }

/* ---------- Footer ---------- */
.site-footer { --dock-h: clamp(40px, 4.4vw, 56px); position: relative; background: var(--ink); color: var(--paper); padding: calc(var(--dock-h) + clamp(48px, 6vw, 84px)) 0 28px; overflow: hidden; }
/* the footer is the water; a dock runs along its top edge */
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--dock-h);
  background: var(--wood-dock) 0 0 / auto 100% repeat-x, #784319;
  box-shadow: 0 14px 20px -8px rgba(0, 0, 0, .6), inset 0 2px 0 rgba(255, 220, 170, .18);
}
/* pilings under the dock */
.site-footer::after {
  content: ""; position: absolute; top: var(--dock-h); left: 0; right: 0; height: clamp(26px, 3vw, 40px); pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 calc(8% - 9px), #3a1e0a calc(8% - 9px) calc(8% + 9px), transparent 0),
    linear-gradient(90deg, transparent 0 calc(50% - 9px), #3a1e0a calc(50% - 9px) calc(50% + 9px), transparent 0),
    linear-gradient(90deg, transparent 0 calc(92% - 9px), #3a1e0a calc(92% - 9px) calc(92% + 9px), transparent 0);
  -webkit-mask: linear-gradient(#000, transparent);
  mask: linear-gradient(#000, transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font: 800 22px/1 var(--f-gothic); text-transform: uppercase; letter-spacing: .02em; color: #708297; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: #f1e4c9; }
.footer-grid a:hover { color: var(--gold); }
.footer-name { font: 800 28px/1 var(--f-display); letter-spacing: -.025em; margin: 0 0 12px; }
.footer-blurb { color: #c2b69d; max-width: 26em; margin: 0; }
/* emblem + tagline. The emblem stays at the guide's 240px minimum or larger, with clear space around it */
.footer-brand {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 64px);
  margin: clamp(40px, 5vw, 72px) 0 clamp(8px, 1.5vw, 20px);
}
.fb-emblem {
  width: clamp(240px, 22vw, 290px); height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35));
  animation: emblem-bob 5.2s ease-in-out infinite;
}
.fb-tag {
  margin: 0; color: var(--paper); user-select: none;
  font: 800 clamp(40px, 6.6vw, 104px)/.98 var(--f-display); letter-spacing: -.035em;
}
.fb-tag b { display: block; color: var(--gold); font-weight: 800; }
.fb-tag span { display: inline-block; transform-origin: 50% 100%; transition: transform .5s var(--ease-spring), color .2s; }
.fb-tag span:hover { transform: translateY(-.08em) rotate(-3deg); color: var(--cyan); }
@keyframes emblem-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 760px) {
  .footer-brand { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .fb-emblem { width: 240px; }
}
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #2a3c4f; padding-top: 18px; margin-top: 18px; font-size: 14px; color: #8191a4; }
.footer-base a { color: var(--gold); font-weight: 700; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Wood: this week's items sit on a pallet floor ---------- */
.pallet-floor {
  background: var(--wood-pallet) 50% 0 / 1200px auto repeat, #edd2a0;
  box-shadow: inset 0 14px 20px -14px rgba(60, 28, 4, .5), inset 0 -14px 20px -14px rgba(60, 28, 4, .5);
}
.pallet-floor .lede { color: #2a1406; }
.pallet-floor .chip { background: rgba(255, 249, 236, .86); }
.pallet-floor .chip[aria-pressed="true"] { background: var(--ink); }
.pallet-floor .link-arrow { background: rgba(255, 249, 236, .86); padding: 7px 14px 6px; border: 1.5px solid var(--ink); border-radius: 999px; }
.pallet-floor .card { box-shadow: 0 0 0 1.5px var(--ink), 0 14px 24px -14px rgba(60, 28, 4, .55); }
.pallet-floor .card:hover { box-shadow: 0 0 0 1.5px var(--ink), 6px 8px 0 var(--ink); }
@media (max-width: 760px) { .pallet-floor { background-size: 800px auto; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* toast */
.toast-stack { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast {
  background: var(--ink); color: var(--paper); border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: 15px;
  box-shadow: 0 12px 30px -10px rgba(2, 15, 29,.5);
  display: flex; align-items: center; gap: 10px;
  animation: toast-in .45s var(--ease-spring) both;
}
.toast.out { animation: toast-out .3s ease-in both; }
.toast .t-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font: 800 16px/1 var(--f-gothic); flex: 0 0 auto; }
.toast.is-blue .t-ico { background: var(--blue); color: var(--white); }
@keyframes toast-in { from { transform: translateY(20px) scale(.95); opacity: 0; } }
@keyframes toast-out { to { transform: translateY(12px); opacity: 0; } }

/* cart button */
.cart-btn { position: relative; }
.cart-btn .count {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 11px; padding: 0 6px;
  background: var(--orange); color: #fff; font: 700 12px/22px var(--f-body); text-align: center;
  transform: scale(0); transition: transform .35s var(--ease-spring);
}
.cart-btn .count.has { transform: scale(1); }
.cart-btn.bump { animation: bump .45s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.18) rotate(-6deg); } }

/* ==========================================================================
   Extra life (fx.js)
   ========================================================================== */

/* headline words drop in like flap leaves */
.fw { display: inline-block; perspective: 700px; }
.fw-i { display: inline-block; transform-origin: 50% 0; }
.fw-ready .fw-i { animation: fw-drop 1s var(--ease-spring) both; }
@keyframes fw-drop {
  0% { transform: rotateX(94deg); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: none; opacity: 1; }
}

/* accent words land like a rubber stamp */
.h2 .accent-o, .h2 .accent-b, .display .accent-o { display: inline-block; }
.reveal.is-in .accent-o, .reveal.is-in .accent-b { animation: ink-stamp .7s .3s var(--ease-spring) both; }
@keyframes ink-stamp { 0% { transform: scale(1.5) rotate(-6deg); opacity: 0; } 50% { opacity: 1; } 100% { transform: none; opacity: 1; } }

/* spinning sale burst */
.burst {
  --bs: 160px;
  position: absolute; z-index: 4;
  width: var(--bs); aspect-ratio: 1;
  display: grid; place-items: center;
  color: var(--ink); text-decoration: none;
  transition: transform .45s var(--ease-spring);
}
.burst:hover { transform: scale(1.08) rotate(-5deg); }
.burst:active { transform: scale(.94); }
.burst-bg { position: absolute; inset: 0; filter: drop-shadow(4px 5px 0 var(--ink)); }
.burst-spin { position: absolute; inset: 0; will-change: transform; }
.burst-spin svg { display: block; width: 100%; height: 100%; overflow: visible; }
.burst-spin .bp { fill: var(--amber); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.burst-spin .br { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 2 6; stroke-linecap: round; opacity: .55; }
.burst-t { position: relative; display: grid; justify-items: center; text-align: center; transform: rotate(-12deg); line-height: 1; pointer-events: none; }
.burst-t small { font: 800 calc(var(--bs) * .095)/1 var(--f-gothic); text-transform: uppercase; letter-spacing: .02em; }
.burst-t b { font: italic 800 calc(var(--bs) * .24)/1 var(--f-sign); margin: .02em 0 .1em; }

/* price gun */
.gun-zone {
  position: relative;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cpath d='M5 6h19a5 5 0 0 1 5 5v3a3 3 0 0 1-3 3h-5l2 11a2 2 0 0 1-2 2.4h-3.4a2 2 0 0 1-2-1.7L14 17H8a3 3 0 0 1-3-3z' fill='%23c52d33' stroke='%23041426' stroke-width='2' stroke-linejoin='round'/%3E%3Crect x='9' y='9' width='14' height='5' rx='1.2' fill='%23fdfaf3' stroke='%23041426' stroke-width='1.5'/%3E%3Cpath d='M2 2l4.5 5' stroke='%23041426' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") 2 2, crosshair;
}
.gun-zone .board { cursor: default; }
.gun-tag {
  --tg-bg: var(--orange); --tg-fg: var(--ink);
  position: absolute; z-index: 6; pointer-events: none;
  display: grid; justify-items: center; gap: 2px;
  min-width: 78px; padding: 8px 14px 7px;
  background: var(--tg-bg); color: var(--tg-fg);
  border-radius: 6px;
  transform: translate(-50%, -50%) rotate(var(--rot));
  animation: gun-slap .45s var(--ease-spring) both;
  -webkit-mask:
    radial-gradient(circle at 0 50%, #0000 5px, #020f1d 5.5px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, #0000 5px, #020f1d 5.5px) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle at 0 50%, #0000 5px, #020f1d 5.5px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, #0000 5px, #020f1d 5.5px) right / 51% 100% no-repeat;
}
.gun-tag::after { content: ""; position: absolute; inset: 3px 9px; border: 1.5px dashed currentColor; border-radius: 3px; opacity: .32; }
.gun-tag small { font: 800 12px/1 var(--f-gothic); text-transform: uppercase; letter-spacing: .02em; opacity: .8; white-space: nowrap; }
.gun-tag b { font: italic 800 25px/1 var(--f-sign); white-space: nowrap; }
.gun-tag--a { --tg-bg: var(--amber); }
.gun-tag--w { --tg-bg: var(--white); }
.gun-tag--b { --tg-bg: var(--blue); --tg-fg: var(--white); }
@keyframes gun-slap {
  0% { transform: translate(-50%, -50%) rotate(calc(var(--rot) - 28deg)) scale(2); opacity: 0; }
  60% { transform: translate(-50%, -50%) rotate(calc(var(--rot) + 4deg)) scale(.92); opacity: 1; }
  100% { transform: translate(-50%, -50%) rotate(var(--rot)); opacity: 1; }
}
.gun-tag.peel { animation: gun-peel .75s cubic-bezier(.5, 0, .9, .5) forwards; }
@keyframes gun-peel {
  0% { transform: translate(-50%, -50%) rotate(var(--rot)); opacity: 1; }
  100% { transform: translate(-50%, 140px) rotate(calc(var(--rot) + 50deg)) scale(.8); opacity: 0; }
}

/* cards lean toward the cursor */
@media (hover: hover) and (pointer: fine) {
  .card.is-tilt {
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px);
    transition: transform .14s ease-out, box-shadow .25s;
    box-shadow: 0 0 0 1.5px var(--ink), 7px 9px 0 var(--ink);
  }
  .card .ph::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 52%);
    mix-blend-mode: soft-light; opacity: 0; transition: opacity .3s;
  }
  .card.is-tilt .ph::after { opacity: 1; }
}

/* price-tag confetti */
.confetti { position: fixed; inset: 0; z-index: 130; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; width: 15px; height: 9px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(2, 15, 29, .25); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .fw-ready .fw-i, .reveal.is-in .accent-o, .reveal.is-in .accent-b { animation: none; }
}
