/* Renegade Family. Colors and fonts match the old Squarespace site. */
:root {
  --bg: #e5e0da;
  --bg-2: #eae6e1;
  --ink: #583b1f;
  --ink-soft: #7a5c3f;
  --accent: #c8642a;
  --accent-dark: #9c4a1d;
  --card: #f4f1ec;
  --line: #cfc6bb;
  --head: 'Syne', system-ui, sans-serif;
  --mono: 'Syne Mono', ui-monospace, monospace;
  /* arcade (games page) */
  --forest: #26331f;
  --cream: #f6efdb;
  --rust: #b5592c;
  --rust-dark: #8f431f;
  --muted: #6b6353;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
main > section { padding: 40px 16px; max-width: 1200px; margin: 0 auto; }

/* ---- header ------------------------------------------------------------ */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 32px;
  position: relative; z-index: 2;
}
.has-hero .site-header { position: absolute; left: 0; right: 0; top: 0; color: var(--bg-2); }
.brand {
  font-family: var(--head); font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.03em; text-decoration: none; font-size: 16px;
}
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-size: 15px; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a.active { border-bottom-color: currentColor; }
.cart-count:empty { display: none; }
.cart-count { background: var(--accent); color: #fff; border-radius: 10px; padding: 0 7px; font-size: 12px; margin-left: 2px; }

/* ---- hero with the cream curve ------------------------------------------ */
.hero { position: relative; height: clamp(260px, 46vw, 460px); overflow: hidden; display: grid; place-items: center; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 22%;
  background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero-title {
  position: relative; z-index: 1; margin: 0 16px 6%; text-align: center;
  font-family: var(--head); font-weight: 700; text-transform: uppercase; color: var(--bg-2);
  font-size: clamp(30px, 7vw, 76px); letter-spacing: -0.03em; line-height: 1;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}

/* ---- shared bits -------------------------------------------------------- */
.narrow { max-width: 860px !important; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }
.lead { font-size: 18px; max-width: 640px; margin: 0 auto 28px; }
.page-title, .section-title, .who h2, .shop-intro h1, .product-info h1 {
  font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.05;
}
.page-title { text-align: center; font-size: clamp(34px, 6vw, 56px); margin: 10px 0 18px; }
.section-title { font-size: clamp(22px, 3.4vw, 30px); margin: 34px 0 18px; text-align: center; }
.text-link { text-decoration: underline; text-underline-offset: 3px; }

.btn {
  display: inline-block; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  background: var(--ink); color: var(--bg-2); text-decoration: none; border: 0; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; font-size: 14px;
}
.btn:hover { background: var(--accent-dark); }
.btn-big { font-size: 17px; padding: 16px 30px; }
.btn-youtube { background: #c4302b; }
.subscribe { margin-top: 24px; }
.btn-spotify { background: #1a8f47; }
.btn-amazon { background: #1f6fae; }
.btn-youtube:hover { background: #a82722; }
.btn-spotify:hover { background: #157a3c; }
.btn-amazon:hover { background: #185d93; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 16px 0; }
.chip { border: 1px solid var(--ink); border-radius: 999px; padding: 5px 14px; text-decoration: none; font-size: 14px; }
.chip:hover, .chip.active { background: var(--ink); color: var(--bg-2); }

/* ---- home -------------------------------------------------------------- */
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 56px !important; }
.badge-link { text-align: center; text-decoration: none; }
.badge-link img { width: min(100%, 240px); aspect-ratio: 1; object-fit: contain; margin: 0 auto 14px; transition: transform .2s; }
.badge-link img.round { border-radius: 50%; object-fit: cover; border: 6px solid var(--ink); }
.badge-link img.crop { border-radius: 50%; }
.badge-link:hover img { transform: translateY(-4px) rotate(-2deg); }
.badge-link span { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 2.4vw, 26px); }
.who { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.who img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.who h2 { font-size: clamp(40px, 6vw, 64px); margin: 0 0 20px; }

/* ---- video ------------------------------------------------------------- */
.video { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(60,40,20,.2); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.video-card { text-decoration: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.35; }
.video-card img { aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; width: 100%; transition: transform .2s; }
.video-card:hover img { transform: scale(1.03); }

/* ---- music ------------------------------------------------------------- */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.channel { text-decoration: none; }
.channel img { width: min(100%, 260px); aspect-ratio: 1; object-fit: contain; margin: 0 auto 16px; transition: transform .2s; }
.channel:hover img { transform: translateY(-4px) rotate(-2deg); }
.custom-song img { width: min(100%, 420px); margin: 0 auto; }
.channel-badge { width: 150px; margin: -10px auto 14px; }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }

/* ---- games (from 6coons games.css) ------------------------------------- */
main > section.arcade {
  max-width: none; margin: 0;
  background: var(--forest);
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px, transparent 1px, transparent 3px);
  padding: 70px 24px 100px;
  font-family: system-ui, sans-serif;
}
.arcade-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.arcade-title, .cartridge-body h2, .play-btn { font-family: 'Press Start 2P', monospace; }
.arcade-title { font-size: clamp(1.4rem, 4vw, 2.2rem); color: var(--cream); text-shadow: 4px 4px 0 var(--rust-dark); margin: 0 0 18px; line-height: 1.5; }
.arcade-sub { color: #cfd6c4; font-size: .95rem; line-height: 1.6; }
.cartridge-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 34px; }
.cartridge { background: var(--cream); border-radius: 6px; overflow: hidden; border: 4px solid var(--rust-dark); box-shadow: 8px 8px 0 rgba(0,0,0,.25); transition: transform .15s ease; display: flex; flex-direction: column; }
.cartridge:hover { transform: translateY(-6px) rotate(-0.5deg); }
.cartridge-art { height: 200px; width: 100%; object-fit: cover; border-bottom: 4px solid var(--rust-dark); }
.cartridge-body { padding: 22px 20px 26px; text-align: center; }
.cartridge-body h2 { font-size: .85rem; color: var(--forest); margin: 0 0 12px; line-height: 1.6; }
.cartridge-body p { color: var(--muted); font-size: .85rem; line-height: 1.5; margin: 0 0 20px; }
.play-btn { display: inline-block; font-size: .65rem; letter-spacing: 1px; color: #fff; background: var(--rust); padding: 12px 20px; border-radius: 3px; text-decoration: none; border-bottom: 4px solid var(--rust-dark); }
.play-btn:hover { filter: brightness(1.1); }

/* ---- shop -------------------------------------------------------------- */
.shop-intro { display: flex; gap: 28px; align-items: center; justify-content: center; padding-top: 30px !important; }
.shop-badge { width: 150px; flex: none; border-radius: 50%; }
.shop-intro h1 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 10px; }
.shop-intro p { margin: 0; max-width: 560px; }

.cat-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 18px; }
.cat-tiles .cat-tile { width: 160px; }
.cat-tile { text-decoration: none; text-align: center; }
.cat-img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--card); border: 3px solid var(--ink); margin-bottom: 10px; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-tile:hover .cat-img img { transform: scale(1.06); }
.cat-tile span { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 15px; }

.cat-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin-bottom: 10px; font-size: 14px; }
.cat-nav a { text-decoration: none; padding: 0 12px; border-right: 1px solid var(--line); }
.cat-nav a:last-child { border-right: 0; }
.cat-nav a.active, .cat-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 22px; margin-top: 20px; }
.product { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.product-img { position: relative; aspect-ratio: 1; background: var(--card); overflow: hidden; margin-bottom: 8px; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product:hover .product-img img { transform: scale(1.04); }
.product-name { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 14px; line-height: 1.25; }
.product-price { font-size: 14px; }
.sold-out { position: absolute; left: 10px; top: 10px; background: var(--ink); color: var(--bg-2); font-size: 12px; padding: 2px 10px; border-radius: 999px; }

.product-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
.gallery-main { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--card); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; background: none; cursor: pointer; width: 72px; }
.gallery-thumbs button.active { border-color: var(--ink); }
.gallery-thumbs img { aspect-ratio: 1; object-fit: cover; }
.product-info h1 { font-size: clamp(26px, 3.4vw, 38px); margin: 10px 0 6px; }
.price { font-size: 20px; margin: 0 0 18px; }
.add-form { display: grid; gap: 14px; max-width: 380px; margin-bottom: 26px; }
.add-form label { display: grid; gap: 4px; font-size: 14px; }
.add-form select, .add-form input, .add-form textarea {
  font: inherit; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; width: 100%;
}
.add-form input[type=number] { width: 110px; }
.add-form details summary { cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.add-form details textarea { margin-top: 8px; }
.added { margin: 0; color: #2f6b2f; }
.sold-out-big { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 20px; }
.description p { margin: 0 0 12px; }

/* ---- cart -------------------------------------------------------------- */
.cart-line { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 80px; height: 80px; object-fit: cover; background: var(--card); }
.cart-line .name { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 14px; text-decoration: none; }
.cart-line .note { font-size: 13px; color: var(--ink-soft); }
.cart-line .qty { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; }
.cart-line .qty input { width: 64px; font: inherit; padding: 4px 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); color: inherit; }
.cart-line .remove { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.cart-footer { margin-top: 24px; display: grid; gap: 16px; justify-items: start; }
.delivery { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; display: grid; gap: 6px; width: 100%; }
.delivery legend { font-family: var(--head); font-weight: 700; text-transform: uppercase; padding: 0 6px; }
.cart-total { font-size: 20px; margin: 0; }
.notice, .error { background: var(--card); border-left: 4px solid var(--accent); padding: 10px 14px; margin: 0; }
.error { border-color: #b3261e; }
.preview-note { text-align: center; font-size: 12px; color: var(--ink-soft); }

/* ---- footer ------------------------------------------------------------ */
.site-footer { text-align: center; padding: 40px 16px 30px; font-size: 14px; border-top: 1px solid var(--line); }
.footer-links { display: flex; justify-content: center; gap: 22px; margin-bottom: 6px; }

/* ---- phones ------------------------------------------------------------ */
@media (max-width: 760px) {
  .site-header { padding: 16px; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 14px; }
  .badges { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; padding-top: 36px !important; }
  .has-hero .hero { padding-top: 60px; }
  .who, .product-page { grid-template-columns: 1fr; gap: 24px; }
  .channels { grid-template-columns: 1fr; gap: 40px; }
  .shop-intro { flex-direction: column; text-align: center; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .cat-tiles .cat-tile { width: calc(50% - 9px); }
}
