/* ---- Your installed receipt/dot-matrix font ---- */
@font-face {
  font-family: "Merchant Copy";
  src: url("fonts/Merchant%20Copy%20Doublesize.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens. Dark is the default; toggle flips to light ---- */
:root {
  --bg: #050505;          /* near-black default */
  --fg: #f0f0f0;
  --accent: #6f7bff;
  --line: rgba(255,255,255,0.22);
  --mono: "Courier Prime", ui-monospace, monospace;
  --vhs: "Merchant Copy", "Courier Prime", monospace;  /* your attached font */
  --display: "Anton", Impact, sans-serif;
}
:root[data-theme="light"] {
  --bg: #ffffff;
  --fg: #111111;
  --accent: #2b35ff;
  --line: rgba(0,0,0,0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--vhs);   /* Merchant Copy everywhere except the big outlined display type */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}
a { color: inherit; text-decoration: none; }

/* ---- Nav ---- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  z-index: 50;
  flex-wrap: wrap;
  gap: 12px;
}
.wordmark {
  font-family: var(--vhs);   /* Merchant Copy, matching the nav */
  font-size: 30px;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--fg);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-wrap: wrap;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-links .sep { opacity: .35; }
.toggle {
  font-family: var(--vhs);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}
.toggle:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Hero ---- */
header.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 32px 70px;
  text-align: center;
}
.hero-kicker {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 4px;
  opacity: .7;
}
.hero-title {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(60px, 16vw, 200px);
  line-height: .92;
  letter-spacing: 2px;
  color: transparent;
  -webkit-text-stroke: 2px var(--fg);
  margin: 8px 0 4px;
}
.hero-sub {
  font-size: 18px;
  letter-spacing: 1px;
}
.hero-sub a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.hero-edm {
  display: block;
  height: clamp(200px, 42vh, 400px);
  width: auto;
  margin: 0 auto;
}
.hero-tour {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(20px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 3px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);   /* thin outline, like "NORTH AMERICA TOUR" on the poster */
  margin-top: 12px;   /* doubled gap between EDM and the date */
}
.countdown { display: flex; align-items: flex-start; justify-content: center; gap: 8px; }
.cd-unit { display: inline-flex; flex-direction: column; align-items: center; }
.cd-label {
  font-family: var(--vhs);              /* Merchant Copy, solid (not outlined) */
  -webkit-text-stroke: 0;
  -webkit-text-fill-color: var(--fg);   /* force solid fill — parent's outline makes the fill transparent */
  color: var(--fg);
  font-size: clamp(7px, 0.8vw, 9px);    /* very small */
  letter-spacing: 1.5px;
  opacity: .6;
  margin-top: 6px;
}

/* ---- Featured video ---- */
.video-wrap {
  max-width: 960px;
  margin: 10px auto 0;
  padding: 0 32px;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; cursor: pointer; background: #000;
  display: flex; align-items: center; justify-content: center;
}
.yt-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-play {
  position: relative; z-index: 1;
  color: #fff; font-size: 42px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  text-shadow: 0 2px 14px rgba(0,0,0,.6);
  transition: transform .2s ease, color .2s ease;
}
.yt-facade:hover .yt-play { transform: scale(1.15); color: var(--accent); }

/* ---- Section scaffolding ---- */
section { max-width: 1100px; margin: 0 auto; padding: 80px 32px; }
.section-title {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(34px, 7vw, 72px);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 36px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
}
.section-title.mc {
  font-family: var(--vhs);          /* Merchant Copy, solid (no outline) */
  color: var(--fg);
  -webkit-text-stroke: 0;
  letter-spacing: 3px;
  font-size: clamp(28px, 5vw, 52px);   /* a touch smaller than the outlined titles */
}

/* ---- Shows / Laylo ---- */
.laylo-note {
  max-width: 620px;
  margin: 16px auto 0;
  font-size: 12px;
  opacity: .55;
  text-align: center;
}

/* ---- Tour (custom outlined list, transparent) ---- */
.tour-list {
  max-width: 640px; margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 18px;
  padding: 4px 24px;
  font-family: var(--vhs);
}
.tour-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 2px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.tour-row:last-child { border-bottom: 0; }
.tour-info .t-date { font-size: 18px; letter-spacing: 1px; }
.tour-info .t-place { font-size: 13px; opacity: .6; text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }
.tour-btn {
  font-family: var(--vhs); font-size: 13px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--fg); text-decoration: none;
  border: 1px solid rgba(255,255,255,0.5); border-radius: 999px;
  padding: 8px 18px; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.tour-btn:hover { background: #fff; color: #000; }

/* ---- Merch / Shopify ---- */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}
.product { text-align: center; display: block; color: inherit; }
.product-img {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--vhs);
  font-size: 22px;
  opacity: .5;
  margin-bottom: 12px;
  transition: transform .2s ease;
}
.product:hover .product-img { transform: translateY(-4px); }
.product .name { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; }
.product .price { font-size: 14px; opacity: .7; }

/* ---- Archive ---- */
.archive-intro { font-size: 16px; opacity: .6; margin-bottom: 6px; }
.sub-title {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 44px 0 20px;
  opacity: .85;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.media-card { border: 1px solid var(--line); }
.media-card iframe { display: block; width: 100%; border: 0; }
.media-ph {
  aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; letter-spacing: 1px; opacity: .4; text-transform: uppercase;
}
.media-card.audio .media-ph { aspect-ratio: auto; height: 96px; }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 32px;
  text-align: center;
  font-size: 12px;
  opacity: .6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- Shop (headless Shopify) ---- */
.cart-link {
  cursor: pointer; background: none; border: 0; color: inherit;
  font-family: var(--vhs); font-size: 15px; text-transform: uppercase; letter-spacing: 1px; padding: 0;
}
.cart-link:hover { color: var(--accent); }
.shop-full { max-width: none; padding-left: 40px; padding-right: 40px; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 32px;
}
@media (max-width: 900px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .shop-grid { grid-template-columns: 1fr; } }
.shop-card { display: block; color: inherit; cursor: pointer; text-align: center; background: none; border: 0; padding: 0; font: inherit; }
.shop-card .thumb {
  aspect-ratio: 1; overflow: hidden;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  transition: transform .25s ease;
}
.shop-card:hover .thumb { transform: translateY(-5px); }
.shop-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-card .name { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; }
.shop-card .price { font-size: 15px; opacity: .7; margin-top: 4px; }
.shop-status { text-align: center; opacity: .55; padding: 40px 0; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; }

/* product page */
.pp-back { display: inline-block; margin-bottom: 28px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; opacity: .6; }
.pp-back:hover { opacity: 1; color: var(--accent); }
.product-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.pp-gallery img { width: 100%; display: block; margin-bottom: 12px; }
.pp-info { position: sticky; top: 100px; }
.pp-title { font-size: 32px; text-transform: uppercase; letter-spacing: 1px; line-height: 1.1; margin-bottom: 10px; }
.pp-price { font-size: 20px; opacity: .85; margin-bottom: 28px; }
.pp-info label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; opacity: .6; margin-bottom: 6px; }
.pp-info select { width: 100%; max-width: 320px; background: transparent; color: var(--fg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-family: var(--vhs); font-size: 15px; margin-bottom: 20px; }
.pp-info .btn-solid { max-width: 320px; }
.pp-desc { font-size: 14px; opacity: .7; line-height: 1.7; margin-top: 28px; max-width: 480px; }
@media (max-width: 760px) { .product-page { grid-template-columns: 1fr; gap: 28px; } .pp-info { position: static; } }

/* buttons */
.btn-solid {
  font-family: var(--vhs); font-size: 14px; text-transform: uppercase; letter-spacing: 1px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  border-radius: 999px; padding: 12px 22px; cursor: pointer; width: 100%;
}
.btn-solid:hover { opacity: .9; }
.btn-solid:disabled { opacity: .4; cursor: not-allowed; }

/* product modal */
.pmodal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.pmodal {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  max-width: 880px; width: 100%; max-height: 90vh; overflow: auto;
  display: grid; grid-template-columns: 1fr 1fr;
}
.pmodal .pm-img { border-right: 1px solid var(--line); }
.pmodal .pm-img img { width: 100%; display: block; }
.pm-info { padding: 32px; }
.pm-title { font-size: 24px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.pm-price { font-size: 18px; opacity: .85; margin-bottom: 20px; }
.pm-options label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; opacity: .6; margin-bottom: 6px; }
.pm-options select {
  width: 100%; background: transparent; color: var(--fg); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 12px; font-family: var(--vhs); font-size: 15px; margin-bottom: 16px;
}
.pm-desc { font-size: 14px; opacity: .7; line-height: 1.7; margin-top: 24px; }
.pm-close, .cart-close {
  position: absolute; top: 16px; right: 18px; background: none; border: 0;
  color: var(--fg); font-size: 26px; line-height: 1; cursor: pointer;
}

/* cart drawer */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 100; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 380px; max-width: 90vw;
  background: var(--bg); border-left: 1px solid var(--line); z-index: 101;
  display: flex; flex-direction: column; padding: 24px;
}
.cart-drawer h3 { font-size: 20px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
.cart-items { flex: 1; overflow: auto; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 60px; height: 60px; object-fit: cover; border: 1px solid var(--line); }
.ci-info { flex: 1; font-size: 13px; }
.ci-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.ci-qty button { background: transparent; border: 1px solid var(--line); color: inherit; width: 24px; height: 24px; cursor: pointer; border-radius: 4px; }
.cart-foot { padding-top: 16px; border-top: 1px solid var(--line); }
.cart-sub { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; }
.cart-empty { opacity: .5; text-align: center; padding: 40px 0; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
@media (max-width: 640px) {
  .pmodal { grid-template-columns: 1fr; }
  .pmodal .pm-img { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---- Full-screen video background (home page) ---- */
.video-bg {
  position: fixed; inset: 0; overflow: hidden; z-index: -2;
  background: #000;
  transform: translateZ(0);            /* promote to its own layer — fixes Safari's dark/faded compositing */
  -webkit-transform: translateZ(0);
}
.video-bg video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.scrim { position: fixed; inset: 0; z-index: -1; background: rgba(0,0,0,0.32); pointer-events: none; transform: translateZ(0); -webkit-transform: translateZ(0); }
body.has-video-bg { background: transparent; }
body.has-video-bg nav {
  background: transparent;     /* fully transparent, no divider line */
  border-bottom: none;
}
body.has-video-bg .wordmark,
body.has-video-bg .nav-links { text-shadow: 0 1px 6px rgba(0,0,0,0.55); }  /* keep text legible over the video */
body.has-video-bg header.hero {
  min-height: calc(100vh - 86px);
  display: flex; flex-direction: column; justify-content: center;
}

/* ---- Videos page (2-up edge-to-edge collage) ---- */
.videos-full { max-width: none; padding-left: 0; padding-right: 0; }
.videos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 720px) { .videos-grid { grid-template-columns: 1fr; } }
.video-item .v-title { padding: 12px 6px 0; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; opacity: .8; }

/* ---- Worlds (full-screen video rooms) ---- */
body.worlds, body.worlds-open { overflow: hidden; cursor: pointer; }
body.worlds { background: #000; }
.worlds-overlay { position: fixed; inset: 0; z-index: 200; background: #000; }
#worlds-video {
  position: fixed; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; background: #000;
}
.worlds-exit {
  position: fixed; top: 20px; left: 24px; z-index: 30;
  font-family: var(--vhs); font-size: 15px; letter-spacing: 2px; text-transform: uppercase;
  color: #fff; text-decoration: none;
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
  padding: 8px 12px;
}
.worlds-exit:hover { color: var(--accent); }

/* ---- Contact page ---- */
.contact-wrap {
  min-height: calc(100vh - 200px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; text-align: center; padding: 60px 24px;
}
.contact-line { font-size: clamp(16px, 2.6vw, 22px); letter-spacing: 1px; }
.contact-line .label { text-transform: uppercase; opacity: .65; }
.contact-line a { color: var(--accent); }
.contact-line a:hover { border-bottom: 1px solid var(--accent); }
