/* ============================================================
   Time2Jack — Chip E.
   Black gallery-wall aesthetic: photography first, minimal chrome.
   ============================================================ */

:root {
  --black: #000000;
  --near-black: #0a0a0a;
  --white: #ffffff;
  --grey: #9a9a9a;
  --grey-dark: #333333;
  --red: #e51921;            /* Chip★E box-logo red */
  --font-head: 'Montserrat', Arial, sans-serif;
  --font-body: 'Lato', Arial, sans-serif;
  --font-serif: 'Crimson Text', Georgia, serif;
  --container: 1170px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--white); text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.serif { font-family: var(--font-serif); font-style: italic; }

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background .35s ease, padding .35s ease;
}

.site-header.stuck {
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(8px);
  padding: 12px 0;
  border-bottom: 1px solid #161616;
}

.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand-logo { height: 34px; width: auto; transition: height .35s ease; }
.site-header.stuck .brand-logo { height: 26px; }

.main-nav { display: flex; gap: 26px; margin-left: auto; }

.main-nav a {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .85;
  transition: opacity .2s, color .2s;
}

.main-nav a:hover { opacity: 1; color: var(--red); }

.header-social { display: flex; gap: 14px; align-items: center; }

.header-social svg {
  width: 15px; height: 15px;
  fill: var(--white);
  opacity: .6;
  transition: opacity .2s, fill .2s;
}

.header-social a:hover svg { opacity: 1; fill: var(--red); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  margin-left: auto;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0,0,0,.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.mobile-nav.open { opacity: 1; pointer-events: auto; }

.mobile-nav a {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
}

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

.hero { position: relative; }

.hero-media { position: relative; }

.hero-img {
  width: 100%;
  height: 100vh;
  min-height: 560px;
  object-fit: cover;
  object-position: center 30%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.1) 55%, rgba(0,0,0,.92) 100%);
}

.hero-content {
  position: absolute;
  left: 0; right: 0;
  bottom: 18vh;
  text-align: center;
  padding: 0 24px;
}

.hero-tag {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}

/* ---------- promo band ---------- */

.promo-band { position: relative; margin-top: -110px; z-index: 5; }

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.promo-card { display: block; }

.main-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.promo-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--near-black);
}

.promo-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease, opacity .3s;
}

.promo-card:hover .promo-img img { transform: scale(1.04); }

.promo-caption {
  margin-top: 14px;
  color: var(--grey);
  font-size: 13.5px;
  line-height: 1.6;
}

.promo-caption em { color: var(--white); font-style: normal; font-weight: 700; }

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

.section { padding: 110px 0 90px; }
.section-tight { padding: 80px 0 70px; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.section-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: var(--red);
  margin-top: 18px;
}

.section-lede {
  max-width: 640px;
  color: #cfcfcf;
  font-size: 16.5px;
  margin-bottom: 60px;
}

/* ---------- discography ---------- */

.disco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px 40px;
  margin-bottom: 80px;
}

.vinyl {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin-bottom: 22px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.10), transparent 45%),
    repeating-radial-gradient(circle at 50% 50%, #101010 0px, #1c1c1c 2px, #101010 4px);
  box-shadow: 0 18px 44px rgba(0,0,0,.65), inset 0 0 0 1px #222;
  transition: transform .5s ease;
}

.disco-item:hover .vinyl { transform: rotate(14deg); }

.vinyl-label {
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.3);
}

.vinyl-label::after {
  content: "";
  position: absolute;
  bottom: 12%;
  width: 8%;
  height: 8%;
  background: var(--black);
  border-radius: 50%;
}

.vinyl-label span {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(11px, 1.3vw, 15px);
  line-height: 1.25;
  letter-spacing: .12em;
  transform: translateY(-14%);
}

.label-orange { background: #e07818; color: #1a1005; }
.label-red    { background: var(--red); color: #fff; }
.label-blue   { background: #1450a8; color: #fff; }
.label-gold   { background: #c9a227; color: #221a02; }

.disco-item h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.disco-meta { color: var(--grey); font-size: 12.5px; letter-spacing: .06em; margin-top: 4px; }
.disco-note { color: #6f6f6f; font-size: 12.5px; margin-top: 6px; font-family: var(--font-serif); font-style: italic; }

.listen-row { max-width: 800px; }

/* ---------- divider ---------- */

.divider { position: relative; }

.divider img {
  width: 100%;
  height: 52vh;
  min-height: 340px;
  object-fit: cover;
  filter: grayscale(35%) brightness(.55);
}

.divider-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.divider blockquote { max-width: 780px; text-align: center; }

.divider blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.5;
  text-shadow: 0 2px 18px rgba(0,0,0,.9);
}

.divider cite {
  display: block;
  margin-top: 22px;
  font-family: var(--font-head);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------- story ---------- */

.story-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 70px;
  align-items: start;
}

.story-media img { width: 100%; }

.img-caption {
  color: #6f6f6f;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 12px;
  font-family: var(--font-head);
}

.story-text p { color: #cfcfcf; margin-bottom: 22px; max-width: 620px; }
.story-text strong { color: var(--white); }
.story-text em { font-family: var(--font-serif); }

.timeline { list-style: none; margin-top: 40px; border-left: 2px solid #1c1c1c; }

.timeline li {
  position: relative;
  padding: 0 0 20px 28px;
  color: #bdbdbd;
  font-size: 14px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 7px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.timeline li span {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--white);
}

/* ---------- gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(280px, 24vw);
  grid-auto-flow: dense;
  gap: 8px;
  padding: 0 8px;
  margin-top: 30px;
}

.gallery-grid figure {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: var(--near-black);
}

.gallery-grid .g-wide { grid-column: span 2; }

.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gallery-grid figure:hover img { transform: scale(1.05); }

.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .3s ease;
}

.gallery-grid figure:hover figcaption { opacity: 1; }

/* ---------- tour ---------- */

.tour-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 70px;
  align-items: center;
}

.tour-text p { color: #cfcfcf; max-width: 520px; margin-bottom: 30px; }

.booking-links { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 15px 34px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
  border: 2px solid var(--red);
}

.btn:hover { background: #ff2d36; border-color: #ff2d36; }

.btn-ghost { background: transparent; border-color: #3a3a3a; }
.btn-ghost:hover { background: transparent; border-color: var(--white); }

.tour-media img { width: 100%; }

/* ---------- merch ---------- */

.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 30px;
}

.merch-card {
  background: var(--near-black);
  border: 1px solid #161616;
  padding: 34px 26px;
  text-align: center;
  transition: border-color .25s ease, transform .25s ease;
}

.merch-card:hover { border-color: var(--red); transform: translateY(-4px); }

.merch-card img {
  height: 190px;
  width: auto;
  margin: 0 auto 24px;
  object-fit: contain;
}

.merch-card .merch-logo { height: auto; width: 82%; margin-top: 70px; margin-bottom: 94px; }

.merch-card h3 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.merch-card p { color: var(--grey); font-size: 13px; margin-top: 6px; }

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

.site-footer {
  background: #f2f2f2;
  color: #111;
  margin-top: 60px;
  padding: 70px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 60px;
  align-items: start;
}

.footer-join h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.footer-join p { color: #555; margin: 10px 0 24px; }

.join-form { display: flex; max-width: 440px; }

.join-form input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-right: none;
  font-family: var(--font-body);
  font-size: 14px;
  background: #fff;
  color: #111;
  outline: none;
}

.join-form input:focus { border-color: #111; }

.join-form button {
  padding: 14px 26px;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}

.join-form button:hover { background: var(--red); border-color: var(--red); }

.footer-meta { text-align: right; }

.footer-logo { height: 30px; width: auto; margin-left: auto; margin-bottom: 18px; }

.footer-meta p { color: #555; font-size: 13.5px; }
.footer-meta a { color: #111; font-weight: 700; }
.footer-meta a:hover { color: var(--red); }

.copyright { margin-top: 14px; font-size: 12px; color: #8a8a8a; }

/* ---------- scroll animations ---------- */

.fade-item {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}

.fade-item.visible { opacity: 1; transform: none; }

.noanim .fade-item { opacity: 1; transform: none; transition: none; }

/* qa capture mode: pin viewport-relative heights so full-page shots work */
.qa .hero-img { height: 860px; min-height: 0; }
.qa .divider img { height: 470px; min-height: 0; }

@media (prefers-reduced-motion: reduce) {
  .fade-item { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-social { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 0; }
  .story-grid, .tour-grid { grid-template-columns: 1fr; gap: 44px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
  .footer-logo { margin-left: 0; }
}

@media (max-width: 700px) {
  .promo-band { margin-top: -70px; }
  .promo-grid { grid-template-columns: 1fr; gap: 50px; }
  .disco-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .merch-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .g-wide { grid-column: span 1; }
  .header-social { display: none; }
  .section { padding: 80px 0 60px; }
}
