/* ===========================================================================
   DISC JERKERS — dark sticker-punk
   Palette per brand spec: Chain-Rust Orange, Tjader Pine Green,
   Tuna-Can Grey, Glow-In-The-Dark Lime. Lime is an ACCENT ONLY — it's a
   10pm night round, not a highlighter factory.
   =========================================================================== */

:root {
  /* brand */
  --rust:   #d35400;
  --pine:   #1e3a1e;
  --grey:   #7f8c8d;
  --lime:   #a3e635;

  /* derived surfaces */
  --void:      #090c09;
  --panel:     #11170f;
  --panel-2:   #171f15;
  --pine-lift: #26472a;
  --rust-lift: #ef6c12;

  /* ink */
  --bone:      #eef1e8;
  --bone-dim:  #b4bdad;
  --bone-faint: rgba(238, 241, 232, 0.45);
  --hair:      rgba(238, 241, 232, 0.14);

  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body:    "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono:    "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1200px;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* faint course-at-night wash + grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(30, 58, 30, 0.75), transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 110%, rgba(211, 84, 0, 0.14), transparent 70%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--bone); }

.wrap { width: min(var(--wrap), 100% - 34px); margin-inline: auto; position: relative; z-index: 2; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.9rem, 8.6vw, 6.6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
  display: block;
}
.eyebrow--rust { color: var(--rust-lift); }

.lede { font-size: 1.12rem; color: var(--bone-dim); max-width: 52ch; }
.muted { color: var(--bone-dim); }
.faint { color: var(--bone-faint); }
.center { text-align: center; }

/* ------------------------------- marquee ------------------------------ */

.topbar {
  background: var(--rust);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 9px 14px;
  text-align: center;
  position: relative;
  z-index: 40;
}

/* ------------------------------- header ------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9, 12, 9, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.masthead__inner { display: flex; align-items: center; gap: 26px; padding: 13px 0; }

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--bone);
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}
.logo:hover { color: var(--lime); }
.logo__mark { width: 34px; height: 34px; flex: none; }

.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav a {
  color: var(--bone-dim);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav a { white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--lime); }

.cart-btn {
  font-family: var(--mono) !important;
  background: var(--rust);
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}
.cart-btn:hover { background: var(--rust-lift); color: #fff !important; }

/* the Play now button: lime outline, so it reads as a button without competing with the rust cart */
.nav .play-btn {
  border: 1.5px solid var(--lime);
  border-radius: 999px;
  padding: 7px 16px;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.nav .play-btn:hover, .nav .play-btn[aria-current="page"] { background: var(--lime); color: #0b1000; }

/* -------------------------------- hero -------------------------------- */

.hero { padding: 70px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }

.hero h1 { margin-bottom: 0.28em; }
.hero h1 .hl {
  color: var(--rust-lift);
  -webkit-text-stroke: 0;
}
.hero__motto {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin: 26px 0 0;
}

.hero__art { position: relative; display: grid; place-items: center; }
.hero__art img {
  width: 100%;
  height: auto;
  max-width: 440px;
  filter: drop-shadow(0 0 70px rgba(163, 230, 53, 0.18));
}
.hero__art::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(163, 230, 53, 0.28);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ------------------------------- buttons ------------------------------ */

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 2px solid var(--rust);
  border-radius: var(--radius);
  background: var(--rust);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.btn:hover { background: var(--rust-lift); border-color: var(--rust-lift); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--hair); color: var(--bone); }
.btn--ghost:hover { background: transparent; border-color: var(--lime); color: var(--lime); }
.btn--lime { background: var(--lime); border-color: var(--lime); color: #0b1000; }
.btn--lime:hover { background: #b8f04f; border-color: #b8f04f; color: #0b1000; }
.btn--full { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }

/* ------------------------------- ticker ------------------------------- */

.ticker {
  border-block: 1px solid var(--hair);
  background: var(--panel);
  overflow: hidden;
  position: relative;
  z-index: 2;
  padding: 13px 0;
}
.ticker__track {
  display: flex;
  gap: 42px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  animation: roll 38s linear infinite;
  width: max-content;
}
.ticker__track b { color: var(--lime); font-weight: 400; }
@keyframes roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------- sections ----------------------------- */

.section { padding: 76px 0; position: relative; z-index: 2; }
.section--panel { background: var(--panel); border-block: 1px solid var(--hair); }
.section--tight { padding-top: 48px; padding-bottom: 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; flex-wrap: wrap; margin-bottom: 34px; }
.section__head h2 { margin-bottom: 0; }

/* ------------------------------ stat strip ---------------------------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.stat { background: var(--void); padding: 26px 22px; }
.stat__n { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; color: var(--lime); }
.stat__l { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-faint); margin-top: 10px; }

/* ------------------------------ product grid -------------------------- */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }

.card {
  background: var(--panel-2);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--bone);
  display: flex;
  flex-direction: column;
  transition: border-color 0.14s ease, transform 0.14s ease;
}
.card:hover { border-color: var(--lime); color: var(--bone); transform: translateY(-3px); }
.card__media { aspect-ratio: 1; background: var(--void); overflow: hidden; border-bottom: 1px solid var(--hair); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card__title { font-family: var(--display); font-size: 1.05rem; text-transform: uppercase; line-height: 1.12; }
.card__price { font-family: var(--mono); font-size: 0.9rem; color: var(--rust-lift); font-weight: 700; }
.card__tag {
  margin-top: auto; padding-top: 10px;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bone-faint);
}

/* -------------------------------- rules ------------------------------- */

.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.rule { background: var(--panel); padding: 26px 26px 28px; display: flex; gap: 18px; }
.rule__n {
  font-family: var(--display);
  font-size: 2.1rem;
  line-height: 0.9;
  color: var(--rust);
  flex: none;
  width: 44px;
}
.rule h3 { margin-bottom: 8px; color: var(--bone); }
.rule p { margin: 0; color: var(--bone-dim); font-size: 0.95rem; }

/* ------------------------------- lexicon ------------------------------ */

.lex { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px 30px; }
.lex__item { border-left: 3px solid var(--pine-lift); padding: 4px 0 4px 20px; }
.lex__term {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 8px;
}
.lex__def { margin: 0; color: var(--bone-dim); font-size: 0.95rem; }

/* ------------------------------- courses ------------------------------ */

.courses { display: flex; flex-wrap: wrap; gap: 10px; }
.course-chip {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--bone-dim);
}
.course-chip span { color: var(--rust-lift); }

/* ------------------------------- notices ------------------------------ */

.notice {
  border: 1px solid var(--rust);
  border-left-width: 4px;
  background: rgba(211, 84, 0, 0.09);
  padding: 15px 20px;
  border-radius: var(--radius);
  margin: 22px 0;
  font-size: 0.92rem;
  color: var(--bone-dim);
}
.notice strong { color: var(--bone); }
.notice code { font-family: var(--mono); font-size: 0.86em; color: var(--lime); }

/* ----------------------------- product page --------------------------- */

.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 44px 0 80px; align-items: start; position: relative; z-index: 2; }
.gallery__main { border: 1px solid var(--hair); border-radius: var(--radius); background: var(--panel); aspect-ratio: 1; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 9px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button { width: 62px; height: 62px; padding: 0; cursor: pointer; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--lime); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.price-tag { font-family: var(--display); font-size: 2.3rem; color: var(--rust-lift); margin: 2px 0 22px; line-height: 1; }

.option-group { margin-bottom: 24px; }
.option-group__label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-faint); margin-bottom: 11px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--hair);
  background: transparent;
  color: var(--bone);
  border-radius: var(--radius);
  padding: 10px 17px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.chip:hover:not([disabled]) { border-color: var(--lime); }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #0b1000; font-weight: 700; }
.chip[disabled] { opacity: 0.28; cursor: not-allowed; text-decoration: line-through; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; }
.qty button { width: 42px; height: 44px; border: 0; background: transparent; color: var(--bone); font-size: 1.15rem; cursor: pointer; font-family: var(--body); }
.qty button:hover { background: var(--panel-2); color: var(--lime); }
.qty input { width: 48px; height: 44px; border: 0; text-align: center; font-family: var(--mono); font-weight: 700; background: transparent; color: var(--bone); }

.prose { white-space: pre-wrap; color: var(--bone-dim); }

.spec-list { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--hair); }
.spec-list li { padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 0.92rem; display: flex; gap: 16px; color: var(--bone-dim); }
.spec-list li strong {
  min-width: 118px; flex: none;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--bone-faint); padding-top: 3px;
}

/* -------------------------------- cart -------------------------------- */

.cart-layout { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: 42px; align-items: start; padding: 30px 0 80px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bone-faint); padding-bottom: 12px; border-bottom: 1px solid var(--hair); font-weight: 400;
}
.cart-table td { padding: 20px 0; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.cart-line { display: flex; gap: 16px; align-items: center; }
.cart-line img { width: 74px; height: 74px; object-fit: cover; border: 1px solid var(--hair); border-radius: var(--radius); flex: none; }
.cart-line a { color: var(--bone); text-decoration: none; font-weight: 700; }
.cart-line a:hover { color: var(--lime); }
.cart-line__meta { font-family: var(--mono); font-size: 0.75rem; color: var(--bone-faint); margin-top: 3px; }
.link-btn { background: none; border: 0; padding: 0; margin-top: 6px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-faint); cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--rust-lift); }

.summary { border: 1px solid var(--hair); border-radius: var(--radius); background: var(--panel); padding: 26px; }
.summary h3 { margin-top: 0; }
.summary__row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 0.93rem; color: var(--bone-dim); }
.summary__row--total { border-top: 1px solid var(--hair); margin-top: 12px; padding-top: 16px; font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; color: var(--bone); }

.empty { text-align: center; padding: 90px 20px; }
.empty p { max-width: 42ch; margin-inline: auto; }

/* ------------------------------- footer ------------------------------- */

.footer { margin-top: auto; background: var(--panel); border-top: 1px solid var(--hair); padding: 52px 0 34px; position: relative; z-index: 2; }
.footer__grid { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; align-items: flex-start; }
.footer__col p { font-family: var(--mono); font-size: 0.8rem; line-height: 2.1; margin: 0; }
.footer__col a { color: var(--bone-dim); text-decoration: none; }
.footer__col a:hover { color: var(--lime); }
.footer__help {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--hair);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-faint);
}
.footer__help b { color: var(--rust-lift); font-weight: 400; }

/* ------------------------------ utilities ----------------------------- */

.skeleton {
  background: linear-gradient(90deg, var(--panel) 25%, var(--panel-2) 50%, var(--panel) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  aspect-ratio: 0.8;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 950px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__art { order: -1; }
  .hero__art img { max-width: 300px; }
  .product { grid-template-columns: 1fr; gap: 34px; }
  .cart-layout { grid-template-columns: 1fr; gap: 32px; }
  .rules { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* the nav keeps growing: drop the least-essential links before the header can wrap or scroll sideways */
@media (max-width: 860px) { .nav a[data-hide-md] { display: none; } }
@media (max-width: 700px) { .nav a[data-hide-sm], .nav a[data-hide-md] { display: none; } }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 54px 0; }
  .nav { gap: 11px; }
  .nav a { letter-spacing: 0.09em; }
  .nav .play-btn { padding: 6px 11px; letter-spacing: 0.1em; }
  .nav .nav-long { display: none; }
  .nav a[data-hide-sm] { display: none; }
  .masthead__inner { gap: 12px; }
  .logo { font-size: 1.1rem; }
  .rule { padding: 22px; }
  .cart-line img { width: 58px; height: 58px; }
}

/* narrow phones (360 and under): the logo, Shop, Guide, Play and Cart all have to fit one line */
@media (max-width: 400px) {
  .nav { gap: 8px; }
  .nav a { letter-spacing: 0.05em; }
  .nav .cart-btn { padding: 8px 12px; letter-spacing: 0.08em !important; }
  .nav .play-btn { padding: 6px 9px; letter-spacing: 0.06em; }
  .masthead__inner { gap: 8px; }
  .logo { font-size: 1rem; gap: 8px; max-width: 92px; line-height: 1.05; }
  .logo__mark { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
}
