/* ============================================================
   THE JETTAWAYS — Stylesheet
   Leather, lipstick & rebellion.
   ============================================================ */

:root {
  --black: #0a0a0a;
  --black-2: #141414;
  --red: #e10600;
  --red-dark: #b80500;
  --cream: #f4f1ec;
  --cream-dim: #c9c4bb;
  --grey: #6b6b6b;

  --font-display: 'Bebas Neue', 'Anton', 'Impact', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1200px;
  --gutter: 1.5rem;
}

/* -- Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--black);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle leather-grain texture overlay using SVG noise */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
}

main, header, footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: var(--cream); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--red); }

/* -- Typography ---------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.5rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { font-size: 1.05rem; max-width: 65ch; }
.lead { font-size: 1.25rem; color: var(--cream-dim); max-width: 50ch; }

/* Red slash accent under section titles */
.section-title {
  display: inline-block;
  padding-bottom: 0.4rem;
  border-bottom: 4px solid var(--red);
  margin-bottom: 2rem;
}

/* -- Layout primitives --------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: 5rem 0;
}

/* -- Navigation ----------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #222;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--cream);
}
.nav-brand .accent { color: var(--red); }
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  position: relative;
  padding: 0.4rem 0;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
}
.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  background: var(--red);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  font-family: var(--font-display);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--black);
    border-bottom: 1px solid #222;
    padding: 1rem var(--gutter);
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
}

/* -- Hero ----------------------------------------------------- */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: stretch;
  background:
    radial-gradient(ellipse at 30% 15%, rgba(225, 6, 0, 0.22), transparent 55%),
    radial-gradient(ellipse at 80% 85%, rgba(225, 6, 0, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.30) 35%, rgba(10, 10, 10, 0.55) 100%),
    url('assets/pink-hand-up.jpg') center 65% / cover no-repeat;
  background-color: var(--black);
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}
.hero-bottom-right {
  align-self: flex-end;
  text-align: right;
  max-width: 40ch;
}
.hero-bottom-right .hero-tagline {
  margin-left: auto;
  margin-bottom: 2rem;
  border-left: 0;
  border-right: 4px solid var(--red);
  padding-left: 0;
  padding-right: 1rem;
}
.hero-bottom-right .hero-cta {
  justify-content: flex-end;
}
@media (max-width: 768px) {
  .hero {
    background-position: center 35%;
    align-items: stretch;
    padding-bottom: 0;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
  }
  .hero-bottom-right {
    align-self: stretch;
    text-align: left;
    max-width: 100%;
    margin-top: auto;
    padding-top: 3rem;
    padding-bottom: 0;
  }
  .hero-bottom-right .hero-tagline {
    margin-left: 0;
    border-left: 4px solid var(--red);
    border-right: 0;
    padding-left: 1rem;
    padding-right: 0;
  }
  .hero-bottom-right .hero-cta {
    justify-content: flex-start;
  }
}
.hero-tagline-top {
  font-family: var(--font-display);
  letter-spacing: 0.4em;
  color: var(--red);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(3.5rem, 14vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #ffffff 0%, #d6d2cb 35%, var(--red) 36%, #7a0300 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 4px 30px rgba(225, 6, 0, 0.15);
  margin-bottom: 1.5rem;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--cream-dim);
  max-width: 32ch;
  margin-bottom: 2.5rem;
  border-left: 4px solid var(--red);
  padding-left: 1rem;
  font-style: italic;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* -- Buttons -------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  transform: skewX(-6deg);
}
.btn span { display: inline-block; transform: skewX(6deg); }
.btn-primary {
  background: var(--red);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--red-dark);
  color: var(--cream);
  transform: skewX(-6deg) translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--cream);
}
.btn-ghost:hover {
  background: var(--cream);
  color: var(--black);
  transform: skewX(-6deg) translateY(-2px);
}

/* -- Cards (used by Members) --------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.card {
  background: var(--black-2);
  border: 1px solid #1f1f1f;
  border-bottom: 4px solid var(--red);
  padding: 0;
  transition: transform 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  border-bottom-color: var(--cream);
}
.card-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1a1a1a, #050505);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.3s ease;
}
.card:hover .card-photo {
  filter: grayscale(0%) contrast(1.2) sepia(60%) hue-rotate(-30deg) saturate(2.5);
}
.card-photo .silhouette {
  font-family: var(--font-display);
  color: #2a2a2a;
  font-size: 6rem;
  letter-spacing: 0.1em;
}
.card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-body { padding: 1.25rem; }
.card-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.04em;
}
.card-role {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.card-bio {
  color: var(--cream-dim);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* -- Setlist -------------------------------------------------- */
.setlist-block { margin-bottom: 3rem; }
.setlist-era {
  font-family: var(--font-display);
  color: var(--red);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.setlist {
  list-style: none;
  border-top: 1px solid #222;
}
.setlist li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0.5rem;
  border-bottom: 1px solid #222;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  transition: background 0.15s ease, padding-left 0.15s ease;
}
.setlist li:hover {
  background: rgba(225, 6, 0, 0.07);
  padding-left: 1rem;
}
.setlist li::before {
  content: counter(setlist-counter, decimal-leading-zero);
  counter-increment: setlist-counter;
  color: var(--red);
  font-size: 1rem;
  margin-right: 1.25rem;
  letter-spacing: 0.1em;
}
.setlist { counter-reset: setlist-counter; }
.setlist .year {
  color: var(--cream-dim);
  font-size: 0.95rem;
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
}

/* -- Shows ---------------------------------------------------- */
.show-list {
  border-top: 2px solid var(--red);
  margin-top: 2rem;
}
.show {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.5rem;
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid #222;
  align-items: center;
}
.show-date {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red);
  text-align: center;
  line-height: 1;
}
.show-date .month { display: block; font-size: 1rem; letter-spacing: 0.2em; }
.show-date .day { display: block; font-size: 2.4rem; }
.show-venue { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; }
.show-city { color: var(--cream-dim); font-size: 0.95rem; font-family: var(--font-body); margin-top: 0.2rem; letter-spacing: 0; }
.show-status {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--cream);
  text-transform: uppercase;
}
.show-status.past { border-color: var(--grey); color: var(--grey); }

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  border: 2px dashed #333;
  margin-top: 2rem;
}
.empty-state h3 {
  color: var(--red);
  margin-bottom: 1rem;
}

/* -- Gallery -------------------------------------------------- */
.featured-video {
  margin: 2rem auto 3rem;
  border: 0;
  background: var(--black-2);
  position: relative;
  overflow: hidden;
}
.featured-video video,
.featured-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 85vh;
  border: 0;
  background: #000;
}

/* Video wrapper with custom play button overlay */
.video-wrapper {
  position: relative;
  width: 100%;
  background: #000;
}
.video-play-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, opacity 0.2s ease;
  padding: 0;
}
.video-play-btn:hover,
.video-play-btn:focus-visible {
  background: rgba(0, 0, 0, 0.15);
  outline: none;
}
.video-play-btn.hidden {
  display: none;
}
.video-play-icon {
  width: 96px;
  height: 96px;
  background: rgba(225, 6, 0, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-play-btn:hover .video-play-icon,
.video-play-btn:focus-visible .video-play-icon {
  transform: scale(1.1);
  background: var(--red);
}
.video-play-icon::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 28px solid white;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  margin-left: 8px;
}

/* Video facade — instant thumbnail preview that swaps to YouTube on click */
.video-facade {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 85vh;
  position: relative;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  background: #000;
  overflow: hidden;
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.video-facade:hover img,
.video-facade:focus-visible img {
  transform: scale(1.02);
  opacity: 0.85;
}
.video-facade .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  background: rgba(225, 6, 0, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-facade:hover .play-icon,
.video-facade:focus-visible .play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--red);
}
.video-facade .play-icon::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 26px solid white;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  margin-left: 6px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}
.gallery-item {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #181818, #050505);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 0 0 2px var(--red);
}
.gallery-item .placeholder {
  color: #2a2a2a;
  font-family: var(--font-display);
  font-size: 4rem;
  letter-spacing: 0.05em;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  border: 4px solid var(--red);
  background: var(--black-2);
  padding: 4rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--red);
}
.lightbox-content.has-image {
  padding: 0;
  background: transparent;
  font-size: 0;
  line-height: 0;
}
.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 2.5rem;
  cursor: pointer;
  font-family: var(--font-display);
}

/* -- Contact -------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.contact-tile {
  background: var(--black-2);
  border: 1px solid #1f1f1f;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.contact-tile:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}
.contact-tile .icon {
  font-family: var(--font-display);
  color: var(--red);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}
.contact-tile .label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
}
.contact-tile .handle {
  color: var(--cream-dim);
  font-size: 0.95rem;
  word-break: break-word;
}

/* -- About / generic content blocks -------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .story-grid { grid-template-columns: 1fr; }
}
.pull-quote {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  border-left: 6px solid var(--red);
  padding: 1rem 0 1rem 1.5rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 2rem 0;
}
.pull-quote cite {
  display: block;
  margin-top: 0.8rem;
  color: var(--red);
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.2em;
}

/* -- Footer --------------------------------------------------- */
.site-footer {
  background: #050505;
  border-top: 4px solid var(--red);
  padding: 2.5rem 0;
  margin-top: 4rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
}
.footer-brand .accent { color: var(--red); }
.footer-meta {
  color: var(--grey);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-socials a {
  font-family: var(--font-display);
  letter-spacing: 0.15em;
  font-size: 1rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid #2a2a2a;
}
.footer-socials a:hover {
  border-color: var(--red);
  color: var(--red);
}

/* -- Page intro band (small hero on inner pages) ------------- */
.page-intro {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid #222;
}
.page-intro h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(180deg, #ffffff 0%, #d6d2cb 30%, var(--red) 50%, #7a0300 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-intro .lead { margin-top: 1rem; }
