/* Brand tokens. Hues sampled from the bear logo (ChillBill Logo Transparent.png). */
:root {
  --bg: #000;
  --ink: #fff;
  --mute: #a3a3a3;
  --line: #242424;
  --panel: #0b0b0b;
  --purple: #9009be;
  --violet: #683fce;
  --cyan: #32cbfc;
  --aqua: #4fdbe7;
  --mint: #6bffd9;
  --lime: #e1ff5a;
  --spectrum: linear-gradient(90deg, var(--purple), var(--violet), var(--cyan), var(--mint), var(--lime));
  --max: 1160px;
  --gut: clamp(16px, 5vw, 48px);
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Montserrat', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; }
h2 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 28px; }
h3 { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin: 0 0 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
section { padding: clamp(72px, 10vw, 128px) 0; }
section.wrap { padding: clamp(72px, 10vw, 128px) var(--gut); }
.kicker { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: var(--mint); margin-bottom: 14px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

/* buttons */
.btn { display: inline-block; padding: 14px 26px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; background: transparent; color: var(--ink); cursor: pointer; font-family: inherit; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--mint); border-color: var(--mint); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gut); background: linear-gradient(#000d, #0000); transition: background .25s; }
.nav.solid { background: #000e; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-mark img { height: 24px; width: auto; }
.nav nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 28px); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.nav nav a { text-decoration: none; opacity: .88; text-shadow: 0 1px 8px #000a; }
.nav nav a:hover { opacity: 1; color: var(--mint); }
.nav .nav-cta { border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 16px; opacity: 1; background: #0006; }
.nav .nav-cta:hover { background: var(--mint); border-color: var(--mint); color: var(--bg); text-shadow: none; }
@media (max-width: 720px) { .nav nav a:not(.nav-cta) { display: none; } }

/* hero: copy on black at left, photo bleeding off the right */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); min-height: max(640px, 100svh); padding: 0; }
.hero-media { grid-column: 2; grid-row: 1; position: relative; overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 26% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 0%, #0000 22%), linear-gradient(180deg, #000b 0%, #0000 18%), linear-gradient(0deg, #000 0%, #0000 16%); }
.hero-copy { grid-column: 1; grid-row: 1; align-self: center; position: relative; z-index: 1; margin-right: -12vw; padding: 112px var(--gut) 72px max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); }
.hero-bear { width: clamp(96px, 11vw, 150px); height: auto; margin: 0 0 22px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 10px 30px #6bffd933); }
.hero h1 { margin: 0; }
.hero h1 img { width: min(520px, 100%); height: auto; }
.hero-line { font-size: clamp(18px, 1.9vw, 22px); font-weight: 500; line-height: 1.5; margin: 26px 0 34px; color: #e6e6e6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.spectrum { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--spectrum); z-index: 2; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-2deg); } }
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 0; }
  .hero-media { grid-column: 1; grid-row: 1; height: min(64svh, 560px); min-height: 340px; }
  .hero-media img { object-position: 38% 30%; }
  .hero-media::after { background: linear-gradient(180deg, #000b 0%, #0000 22%), linear-gradient(0deg, #000 0%, #0000 42%); }
  .hero-copy { grid-row: 2; padding: 0 var(--gut) 64px; margin: -96px 0 0; text-align: center; }
  .hero-bear { margin: 0 auto 16px; }
  .hero h1 img { width: min(440px, 84vw); margin: 0 auto; }
  .hero-ctas { justify-content: center; }
}

/* ticker */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker-group { display: flex; align-items: center; gap: 26px; padding-right: 26px; white-space: nowrap; font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.ticker svg { width: 15px; height: 15px; flex: none; fill: var(--mint); }
.ticker svg:nth-of-type(4n+2) { fill: var(--cyan); } .ticker svg:nth-of-type(4n+3) { fill: var(--violet); } .ticker svg:nth-of-type(4n) { fill: var(--lime); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* stats */
.stats { max-width: var(--max); margin: 0 auto; padding: 56px var(--gut) 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { border-top: 3px solid var(--mint); padding-top: 12px; }
.stat:nth-child(2) { border-color: var(--cyan); } .stat:nth-child(3) { border-color: var(--violet); } .stat:nth-child(4) { border-color: var(--lime); }
.stat .n { font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.1; }
.stat .l { font-size: 14px; color: var(--mute); margin-top: 6px; line-height: 1.4; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-copy p { margin: 0 0 20px; color: #dcdcdc; }
.about-copy .lede { font-size: clamp(21px, 2.6vw, 27px); line-height: 1.4; font-weight: 500; color: var(--ink); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.fact { border-top: 1px solid var(--line); padding-top: 16px; }
.fact-k { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--mute); margin-bottom: 8px; }
.fact ul { list-style: none; margin: 0; padding: 0; font-weight: 500; font-size: 15px; }
.fact li { padding: 2px 0; }
.about-photo { position: sticky; top: 96px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 80px -30px #683fce88; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 899px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 460px; order: -1; }
}
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; gap: 0; } .fact { padding-bottom: 14px; } }

/* listen */
.listen { background: radial-gradient(ellipse at 85% 10%, #13213a 0%, #000 60%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.listen-grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.cover { border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px #333, 0 30px 80px -30px #32cbfc66; }
.cover img { width: 100%; height: auto; }
.mixes { display: grid; gap: 14px; }
.mix { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; background: #0b0b0bcc; border: 1px solid var(--line); border-radius: var(--radius); position: relative; overflow: hidden; }
.mix::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--mint); }
.mix:nth-child(2)::before { background: var(--cyan); } .mix:nth-child(3)::before { background: var(--violet); }
.mix h3 { text-transform: none; letter-spacing: -0.01em; font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.mix p { margin: 0; color: var(--mute); font-size: 15px; }
.mix.loaded { display: block; padding: 18px 18px 14px 24px; }
.mix.loaded .mix-meta { margin-bottom: 12px; }
.mix iframe { width: 100%; height: 166px; border: 0; border-radius: 8px; display: block; }
.play { flex: none; display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); border: 0; border-radius: 999px; padding: 12px 20px 12px 16px; font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.play span { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.play:hover { background: var(--mint); }
.listen-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; font-weight: 600; }
.listen-links a { text-decoration: none; border-bottom: 1.5px solid #3a3a3a; padding-bottom: 2px; }
.listen-links a:hover { border-color: var(--mint); }
@media (max-width: 899px) { .listen-grid { grid-template-columns: 1fr; } .cover { max-width: 360px; } }
@media (max-width: 560px) { .mix { flex-direction: column; align-items: flex-start; } }

/* photos */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 250px 250px 260px; grid-template-areas: "a a b" "a a b" "c d e"; }
.shot { position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--panel); }
.shot-a { grid-area: a; } .shot-b { grid-area: b; } .shot-c { grid-area: c; } .shot-d { grid-area: d; } .shot-e { grid-area: e; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.04); }
.shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px #ffffff14; pointer-events: none; }
.shot-a img { object-position: 50% 45%; } .shot-b img { object-position: 50% 30%; } .shot-c img { object-position: 50% 40%; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 170px 170px 210px; grid-template-areas: "a a" "b c" "b d" "e e"; gap: 8px; }
}

/* lightbox */
.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000e; color: var(--ink); }
.lightbox[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; }
.lightbox::backdrop { background: #000c; }
.lightbox figure { grid-column: 2; display: grid; justify-items: center; gap: 12px; padding: 56px 0 24px; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 120px); width: auto; height: auto; border-radius: 8px; }
.lightbox figcaption { font-size: 14px; color: var(--mute); letter-spacing: 0.04em; min-height: 1em; }
.lb-close, .lb-nav { background: none; border: 0; color: var(--ink); cursor: pointer; font-family: inherit; font-size: 44px; font-weight: 300; line-height: 1; opacity: .8; }
.lb-close:hover, .lb-nav:hover { opacity: 1; color: var(--mint); }
.lb-close { position: absolute; top: 10px; right: 16px; font-size: 40px; padding: 6px 10px; }
.lb-prev { grid-column: 1; } .lb-next { grid-column: 3; }
.lb-nav { height: 100%; }
@media (max-width: 600px) { .lightbox[open] { grid-template-columns: 40px minmax(0, 1fr) 40px; } .lb-nav { font-size: 36px; } }

/* events */
.events { background: #fff; color: #111; }
.events .kicker { color: var(--violet); }
.events-head { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: clamp(32px, 6vw, 72px); align-items: center; margin-bottom: 56px; }
.events-lede { font-size: clamp(18px, 2.2vw, 21px); margin: -8px 0 0; color: #333; }
.events-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px -30px #683fce80; }
.events-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.events-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 72px); }
.events h3 { border-bottom: 2px solid #111; padding-bottom: 10px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid #e6e6e6; color: #333; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 6px; border-left: 2.5px solid var(--violet); border-bottom: 2.5px solid var(--violet); transform: rotate(-45deg); }
.ticks b { color: #111; }
.steps { margin: 0 0 32px; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 10px 0 10px 44px; color: #333; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 9px; width: 28px; height: 28px; border-radius: 50%; background: #111; color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.events .btn-solid { background: #111; color: #fff; border-color: #111; }
.events .btn-solid:hover { background: var(--violet); border-color: var(--violet); }
@media (max-width: 899px) { .events-head, .events-grid { grid-template-columns: 1fr; } .events-photo { max-width: 560px; } }

/* press */
.docs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.doc { grid-column: span 2; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--panel); transition: border-color .2s, transform .2s; }
.doc-wide { grid-column: span 3; }
.doc:hover { border-color: var(--mint); transform: translateY(-2px); }
.doc-t { font-weight: 700; font-size: 19px; line-height: 1.3; }
.doc-d { color: var(--mute); font-size: 15px; line-height: 1.45; }
.doc-f { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; color: var(--mint); }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr 1fr; } .doc, .doc-wide { grid-column: span 1; } }
@media (max-width: 540px) { .docs { grid-template-columns: 1fr; } }

/* book */
.book { border-top: 4px solid transparent; border-image: var(--spectrum) 1; background: radial-gradient(ellipse at 10% 0%, #1d0f3a 0%, #000 55%); }
.book-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.book-copy p { color: #ddd; }
.book-direct { margin-top: 28px; color: var(--mute) !important; font-size: 15px; }
.book-direct a { color: var(--ink); font-weight: 600; font-size: 17px; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.form input, .form select, .form textarea { font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--ink); background: #111; border: 1px solid #333; border-radius: 10px; padding: 12px 14px; width: 100%; min-width: 0; letter-spacing: 0; text-transform: none; color-scheme: dark; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--mint); outline: none; }
.form textarea { resize: vertical; }
.form button { justify-self: start; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 56px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.foot-mark { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.foot-bear { width: 52px; height: auto; }
.foot-word { width: 120px; height: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--mint); }
.foot-small { margin-left: auto; color: var(--mute); font-size: 13px; }
@media (max-width: 640px) { .foot-small { margin-left: 0; } }

/* simple pages (thanks, 404) */
.simple { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 48px var(--gut); border-top: 4px solid transparent; border-image: var(--spectrum) 1; }
.simple img.bear { width: 140px; margin: 0 auto 24px; animation: float 6s ease-in-out infinite; }
.simple p { color: #ddd; margin: 0 0 32px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bear, .simple img.bear { animation: none; }
  .ticker-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding: 0 var(--gut); }
  .ticker-group { flex-wrap: wrap; justify-content: center; white-space: normal; row-gap: 10px; }
  .ticker-group + .ticker-group { display: none; }
  .shot img, .shot:hover img { transition: none; transform: none; }
}
