/* WORKS GUMMY CO. — v3 POP. Yellow field, comic block type, loud. */
:root {
  --yellow: #FFD400;
  --cream: #FFF6E3;
  --ink: #141414;
  --red: #E8262C;
  --blue: #1D3FBF;
  --pink: #FF4FA0;
  --gtfs: #1D3FBF;
  --gsd: #E8262C;
  --jwc: #FF4FA0;
  --display: 'Anton', 'Archivo Black', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --body: 'Archivo', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--pink); color: var(--cream); }
a { color: inherit; }
img, svg { display: block; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .92;
}
.skew { display: inline-block; transform: skewX(-8deg) rotate(-2deg); }
.mono { font-family: var(--mono); }

/* comic block text: colored face, ink outline, ink extrusion, cream halo */
.pop {
  -webkit-text-stroke: 2.5px var(--ink);
  text-shadow:
    3px 3px 0 var(--ink), 5px 5px 0 var(--ink), 7px 7px 0 var(--ink),
    9px 9px 0 var(--ink), 12px 12px 0 rgba(20,20,20,.0);
  letter-spacing: .01em;
}
.pop.on-color { text-shadow: 3px 3px 0 var(--ink), 5px 5px 0 var(--ink), 7px 7px 0 var(--ink), 9px 9px 0 var(--ink), 0 0 0 transparent, -2px -2px 0 var(--cream), 2px -2px 0 var(--cream), -2px 2px 0 var(--cream); }
.c-cream { color: var(--cream); }
.c-red { color: var(--red); }
.c-blue { color: var(--blue); }
.c-pink { color: var(--pink); }
.c-yellow { color: var(--yellow); }

/* star scatter background */
.starbg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='200' viewBox='0 0 220 200'%3E%3Cg fill='none' stroke='%23141414' stroke-opacity='.18' stroke-width='4'%3E%3Cpath d='M40 30l6 18 19 0-15 11 6 18-16-11-16 11 6-18-15-11 19 0z'/%3E%3Cpath d='M170 130l5 14 15 0-12 9 5 14-13-9-13 9 5-14-12-9 15 0z'/%3E%3C/g%3E%3C/svg%3E");
}

/* checkered strip */
.checker {
  height: 26px;
  background:
    linear-gradient(45deg, var(--ink) 25%, transparent 25%, transparent 75%, var(--ink) 75%),
    linear-gradient(45deg, var(--ink) 25%, var(--cream) 25%, var(--cream) 75%, var(--ink) 75%);
  background-size: 26px 26px;
  background-position: 0 0, 13px 13px;
  border-bottom: 3px solid var(--ink);
}

/* ---------- ticker ---------- */
.ticker {
  background: var(--ink);
  color: var(--yellow);
  overflow: hidden;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  padding: 9px 0;
  white-space: nowrap;
}
.ticker-track { display: inline-block; animation: tick 22s linear infinite; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- masthead ---------- */
.masthead {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 28px;
  border-bottom: 4px solid var(--ink);
  background: var(--yellow);
  position: sticky;
  top: 0;
  z-index: 50;
}
.masthead .mark { font-family: var(--display); font-size: 30px; text-decoration: none; color: var(--red); -webkit-text-stroke: 1.6px var(--ink); text-shadow: 2px 2px 0 var(--ink); transform: skewX(-8deg); }
.masthead .mark small { color: var(--yellow); }
.masthead nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.masthead nav a {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 2.5px solid transparent;
}
.masthead nav a:hover, .masthead nav a.on { border-color: var(--ink); background: var(--cream); box-shadow: 3px 3px 0 var(--ink); }
.btn {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--red);
  color: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 10px;
  padding: 10px 22px 8px;
  display: inline-block;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .1s ease, box-shadow .1s ease;
}
.btn:hover { transform: translate(-2px,-2px) rotate(-1deg); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.blue { background: var(--blue); }
.btn.pink { background: var(--pink); }
.btn.ink { background: var(--ink); color: var(--yellow); }

/* ---------- layout ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }

/* ---------- stickers & bursts ---------- */
.burst {
  clip-path: polygon(100% 50%, 83.6% 63.9%, 85.4% 85.4%, 63.9% 83.6%, 50% 100%, 36.1% 83.6%, 14.6% 85.4%, 16.4% 63.9%, 0% 50%, 16.4% 36.1%, 14.6% 14.6%, 36.1% 16.4%, 50% 0%, 63.9% 16.4%, 85.4% 14.6%, 83.6% 36.1%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 170px; height: 170px;
  background: var(--red);
  color: var(--cream);
  font-family: var(--display);
  font-size: 26px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  transform: rotate(-8deg);
}
.burst small { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .08em; margin-top: 6px; }
.burst.blue { background: var(--blue); }
.burst.pink { background: var(--pink); }
.burst.ink { background: var(--ink); color: var(--yellow); }
.sticker {
  display: inline-block;
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  border-radius: 10px;
  padding: 8px 18px 6px;
  transform: rotate(-4deg);
  border: 3px solid var(--cream);
  box-shadow: 4px 4px 0 rgba(20,20,20,.35);
}
.chip {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .05em;
  background: var(--cream);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  box-shadow: 4px 4px 0 var(--ink);
}

/* ---------- hero ---------- */
.hero { padding: 56px 0 30px; text-align: center; position: relative; }
.hero .biglogo { max-width: 660px; margin: 0 auto; }
.hero .biglogo svg { width: 100%; height: auto; }
.hero .line { font-family: var(--display); font-size: clamp(24px, 3.2vw, 40px); text-transform: uppercase; margin: 6px 0 22px; }
.hero .ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* fanned bags */
.bagfan { display: flex; justify-content: center; align-items: flex-end; gap: 0; padding: 40px 0 64px; }
.bagfan .bag { width: 300px; transition: transform .15s ease; }
.bagfan .bag svg { width: 100%; height: auto; filter: drop-shadow(10px 12px 0 rgba(20,20,20,.3)); }
.bagfan .bag:nth-child(1) { transform: rotate(-8deg) translateY(18px) translateX(30px); z-index: 1; }
.bagfan .bag:nth-child(2) { transform: rotate(1deg); z-index: 2; }
.bagfan .bag:nth-child(3) { transform: rotate(8deg) translateY(22px) translateX(-30px); z-index: 1; }
.bagfan .bag:hover { transform: rotate(0deg) translateY(-14px) scale(1.04); z-index: 5; }

/* ---------- family blocks ---------- */
.fam { border-top: 4px solid var(--ink); padding: 56px 0; }
.fam.gtfs { background: var(--gtfs); }
.fam.gsd { background: var(--gsd); }
.fam.jwc { background: var(--jwc); }
.fam .inner { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: center; }
.fam h2 { font-size: clamp(52px, 7.5vw, 104px); color: var(--cream); -webkit-text-stroke: 2.5px var(--ink); text-shadow: 4px 4px 0 var(--ink), 7px 7px 0 var(--ink); }
.fam .oneliner { font-family: var(--display); font-size: clamp(20px, 2.4vw, 30px); text-transform: uppercase; color: var(--yellow); -webkit-text-stroke: 1.2px var(--ink); text-shadow: 2px 2px 0 var(--ink); margin: 14px 0 22px; }
.fam .chips { display: flex; gap: 12px; flex-wrap: wrap; }
.fam .bagshot svg { width: 100%; height: auto; filter: drop-shadow(10px 12px 0 rgba(20,20,20,.35)); transform: rotate(4deg); transition: transform .15s ease; }
.fam .bagshot:hover svg { transform: rotate(0deg) scale(1.03); }

/* ---------- gummy marquee ---------- */
.gummyline { border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); background: var(--cream); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.gummyline .track { display: inline-block; animation: tick 18s linear infinite; }
.gummyline .track span { font-family: var(--display); font-size: 34px; text-transform: uppercase; padding: 0 14px; vertical-align: middle; }
.gummyline .track svg { display: inline-block; width: 54px; height: 48px; vertical-align: middle; }

/* ---------- sticker strip ---------- */
.stickerstrip { padding: 56px 0; display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* ---------- supreme / tin block ---------- */
.supreme { background: var(--ink); border-top: 4px solid var(--ink); padding: 64px 0; color: var(--cream); }
.supreme .inner { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.supreme .tin svg { width: 100%; height: auto; }
.supreme h2 { font-size: clamp(44px, 6vw, 84px); color: var(--yellow); -webkit-text-stroke: 2px var(--cream); text-shadow: 4px 4px 0 var(--red); }
.supreme .specline { font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: .1em; margin: 18px 0 24px; color: var(--cream); }

/* ---------- generic page hero (subpages) ---------- */
.pagehero { padding: 56px 0 36px; text-align: center; }
.pagehero h1 { font-size: clamp(48px, 7vw, 96px); }
.pagehero p { font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: .08em; margin-top: 16px; }

/* ---------- empty states ---------- */
.empty { text-align: center; padding: 56px 0 72px; }
.empty .burst { width: 220px; height: 220px; font-size: 30px; }
.empty p { font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: .06em; margin-top: 28px; }

/* ---------- cards / faq ---------- */
.card {
  background: var(--cream);
  border: 3.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: 7px 7px 0 var(--ink);
  padding: 24px 26px;
  margin-bottom: 22px;
}
.card h3 { font-size: 26px; margin-bottom: 8px; }
.card p { font-size: 15px; max-width: 64ch; }
.ruleline { font-weight: 700; font-size: 12px; letter-spacing: .08em; margin-top: 18px; }
.list-note { max-width: 520px; margin: 18px auto 0; font-size: 11px; letter-spacing: .08em; line-height: 1.7; }
.list-note a { color: var(--ink); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.spec-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: stretch; }
.dose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.status-card { background: var(--yellow); }
.archive-card { max-width: 760px; margin: 0 auto; }
.spec-hero { padding-bottom: 18px; }
.spec-cta { border-top: 4px solid var(--ink); background: var(--cream); padding: 64px 0; }
.spec-cta h2 { font-size: clamp(38px, 6vw, 78px); margin-bottom: 18px; }
.spec-cta p { margin-bottom: 24px; font-weight: 700; letter-spacing: .08em; }
table.spec.mini { margin-top: 14px; font-size: 12px; box-shadow: 5px 5px 0 var(--ink); }

/* ---------- tables ---------- */
table.spec { width: 100%; border-collapse: separate; border-spacing: 0; font-family: var(--mono); font-size: 13px; margin-top: 24px; background: var(--cream); border: 3.5px solid var(--ink); border-radius: 12px; overflow: hidden; box-shadow: 7px 7px 0 var(--ink); }
table.spec th, table.spec td { border-bottom: 2.5px solid var(--ink); padding: 11px 14px; text-align: left; }
table.spec tr:last-child td { border-bottom: 0; }
table.spec th { background: var(--ink); color: var(--yellow); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
table.spec td + td { border-left: 2.5px solid var(--ink); }
table.spec th + th { border-left: 2.5px solid var(--cream); }

/* ---------- footer ---------- */
footer { border-top: 4px solid var(--ink); background: var(--ink); color: var(--cream); padding: 36px 0 28px; }
footer .row1 { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; justify-content: center; margin-bottom: 22px; }
footer .row1 a { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); text-decoration: none; }
footer .row1 a:hover { text-decoration: underline; }
footer .legal { text-align: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; opacity: .55; max-width: 900px; margin: 0 auto; line-height: 1.8; }

/* ---------- age gate ---------- */
#gate {
  position: fixed; inset: 0; z-index: 200;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
#gate .inner { max-width: 480px; padding: 32px; }
#gate .glogo { width: 360px; margin: 0 auto 10px; }
#gate .glogo svg { width: 100%; height: auto; }
#gate p { font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: .08em; margin-bottom: 26px; }
#gate .row { display: flex; gap: 16px; justify-content: center; }

/* ---------- load reveal (hero) ---------- */
.reveal { opacity: 0; transform: translateY(20px) scale(.94) rotate(-1deg); animation: popin .65s cubic-bezier(.2,1.2,.3,1) forwards; }
.reveal.d1 { animation-delay: .12s; } .reveal.d2 { animation-delay: .24s; }
.reveal.d3 { animation-delay: .38s; } .reveal.d4 { animation-delay: .5s; }
@keyframes popin {
  60% { opacity: 1; transform: translateY(-6px) scale(1.02) rotate(.5deg); }
  100% { opacity: 1; transform: none; }
}
.wiggle:hover { animation: wig .4s ease; }
@keyframes wig { 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }

/* ---------- scroll reveal ---------- */
.sr { opacity: 0; transform: translateY(28px) scale(.95) rotate(-1.2deg); transition: opacity .55s cubic-bezier(.2,1.1,.3,1), transform .55s cubic-bezier(.2,1.1,.3,1); }
.sr.in { opacity: 1; transform: none; }

/* ---------- ambient motion ---------- */
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(var(--tilt, 0deg)); } 50% { transform: translateY(-12px) rotate(var(--tilt, 0deg)); } }
.fam .bagshot.in svg { animation: floaty 4.5s ease-in-out infinite; }
.fam .bagshot:hover svg { animation-play-state: paused; }
@keyframes pulse { 0%,100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(-5deg) scale(1.06); } }
.stickerstrip .burst.in, .empty .burst.in { animation: pulse 2.8s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
.masthead .mark:hover { animation: wig .4s ease; }
.gummyline .track svg { animation: bob 1.6s ease-in-out infinite; }
.gummyline .track svg:nth-child(odd) { animation-delay: .4s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(4deg); } }
.btn, .chip { will-change: transform; }
.chip:hover { transform: translate(-2px,-2px) rotate(-2deg); box-shadow: 6px 6px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .sr { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .fam .bagshot.in svg, .stickerstrip .burst.in, .empty .burst.in, .gummyline .track svg { animation: none !important; }
  .ticker-track, .gummyline .track { animation: none !important; }
}

/* ---------- guide page ---------- */
.guide-sec { padding: 52px 0; border-top: 4px solid var(--ink); }
.guide-sec h2 { font-size: clamp(34px, 4.5vw, 60px); margin-bottom: 18px; }
.guide-sec p.lead { font-size: 16px; max-width: 66ch; }
.secnum { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .14em; background: var(--ink); color: var(--yellow); padding: 5px 12px; border-radius: 6px; display: inline-block; margin-bottom: 16px; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 22px; }
.swatch { border: 3.5px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--cream); box-shadow: 5px 5px 0 var(--ink); }
.swatch .chipc { height: 90px; }
.swatch .label { font-family: var(--mono); font-weight: 700; font-size: 10.5px; letter-spacing: .06em; padding: 8px 10px; line-height: 1.6; }
.lockup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.lockup { background: var(--cream); border: 3.5px solid var(--ink); border-radius: 14px; box-shadow: 7px 7px 0 var(--ink); padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lockup svg { width: 100%; height: auto; max-height: 200px; }
.lockup .label { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-align: center; }
.bag-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; margin-top: 26px; }
.bag-row figure svg { width: 100%; height: auto; filter: drop-shadow(8px 10px 0 rgba(20,20,20,.3)); }
.bag-row figcaption { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .08em; margin-top: 12px; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .fam .inner, .supreme .inner { grid-template-columns: 1fr; }
  .bagfan { flex-wrap: wrap; gap: 20px; }
  .bagfan .bag { width: 230px; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .lockup-row, .bag-row { grid-template-columns: 1fr; }
  .spec-grid, .dose-grid { grid-template-columns: 1fr; }
  .masthead { gap: 12px; }
}
@media (max-width: 560px) {
  .fam h2 { font-size: clamp(24px, 8.2vw, 52px); }
  .pagehero h1 { font-size: clamp(38px, 13vw, 64px); }
  .hero .line { font-size: clamp(19px, 6vw, 26px); }
  .supreme h2 { font-size: clamp(38px, 13vw, 60px); }
  .stickerstrip { gap: 14px; padding-inline: 12px; overflow: hidden; }
  .burst { width: 118px; height: 118px; font-size: 18px; }
  .burst small { font-size: 9px; }
  .btn { font-size: 15px; padding: 9px 16px 7px; box-shadow: 4px 4px 0 var(--ink); }
  .hero .ctas { gap: 12px; }
  .masthead { padding: 10px 16px; }
  table.spec { display: block; overflow-x: auto; white-space: nowrap; }
}
