/* Glitter Etiquette — site styles
   Palette: black, bone, red (taken from the "Lighthouse" single art). */

:root {
  --black: #080707;
  --card: #161313;
  --line: #3a3230;
  --bone: #ece2d2;
  --dim: #82786f;
  --red: #b5121b;
  --red-hi: #d61e28;

  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 5.5vw, 80px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.5;
  /* dark gray/black clouds; the tile mirrors itself so it repeats without a seam */
  background: var(--black) url("images/clouds.jpg") center top / 100% auto repeat-y;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
h2 { font-size: clamp(56px, 7vw, 96px); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* small caps mono labels used everywhere */
.nav a, .kicker, .more, .btn, .product__name, .product__price,
.show, .footer, .signup input {
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--red-hi);
  outline-offset: 3px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  font: 700 13px var(--mono);
  color: var(--bone);
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--red { background: var(--red); min-width: 180px; }
.btn--red:hover { background: var(--red-hi); }
.btn--line { border-color: var(--bone); font-weight: 500; font-size: 12px; min-height: 44px; }
.btn--line:hover { background: var(--bone); color: var(--black); }

.more { font-size: 13px; font-weight: 500; color: var(--red-hi); }
.more:hover { color: var(--bone); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  max-width: var(--max); margin: 0 auto;
  aspect-ratio: 1440 / 900;
  min-height: 560px;
  padding: clamp(16px, 3vw, 40px) var(--gutter) clamp(20px, 4.2vw, 60px);
  background: var(--black) url("images/hero.jpg") center top / cover no-repeat;
}

.hero__top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
}
/* logo-glow.png carries ~14% transparent padding on each side for its glow;
   the negative margins cancel that so the lettering lines up with the gutter */
.hero__logo { flex: 0 0 auto; width: min(65%, 830px); margin: -8% 0 -8% -8.5%; }

.nav { display: flex; gap: clamp(20px, 4vw, 64px); padding-top: clamp(8px, 1.6vw, 22px); }
.nav a { font-size: 13px; font-weight: 500; }
.nav a:hover { color: var(--red-hi); }

.banner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 32px;
  background: rgba(8, 7, 7, .84);
  border-top: 3px solid var(--red);
}
.kicker { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--red-hi); }
.banner__title { font-size: clamp(52px, 6vw, 84px); }

/* ---------- sections ---------- */
.section {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) var(--gutter);
}
.section__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 24px;
}

/* ---------- merch ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px clamp(16px, 2.8vw, 40px);
}
.product { display: flex; flex-direction: column; }
.product__img {
  aspect-ratio: 1;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product:hover .product__img img { transform: scale(1.03); }
.product__img--logo { display: grid; place-items: center; }
.product__img--logo img { width: 76%; height: auto; object-fit: contain; }

.product__name { margin: 20px 0 0; font: 500 14px var(--mono); letter-spacing: 0.1em; }
.product__price { margin: 4px 0 16px; font-weight: 500; letter-spacing: 0.1em; }
.product .btn { width: 100%; margin-top: auto; }

/* ---------- live ---------- */
.live {
  display: flex; flex-direction: column; justify-content: space-between;
  max-width: var(--max); margin: clamp(16px, 3vw, 40px) auto 0;
  aspect-ratio: 1440 / 701;
  min-height: 440px;
  padding: clamp(20px, 2.2vw, 32px) var(--gutter) clamp(20px, 2.8vw, 40px);
  background: var(--black) url("images/live.jpg") center / cover no-repeat;
}
.live h2 { text-shadow: 0 2px 18px rgba(8, 7, 7, .55); }

.shows { list-style: none; margin: 0; padding: 0; background: rgba(8, 7, 7, .84); }
.show {
  display: flex; align-items: center; gap: clamp(16px, 4vw, 64px);
  padding: 28px 32px;
  font-weight: 500; letter-spacing: 0.15em;
}
.show + .show { border-top: 1px solid var(--line); }
.show .more { margin-left: auto; }

/* ---------- mailing list ---------- */
.list {
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
}
.list h2 { font-size: clamp(44px, 4.6vw, 64px); }
.signup { display: flex; flex: 0 1 600px; }
.signup input {
  flex: 1; min-width: 0; min-height: 56px; padding: 0 22px;
  font: 400 13px var(--mono); letter-spacing: 0.15em;
  color: var(--bone);
  background: rgba(8, 7, 7, .5);
  border: 1px solid var(--bone); border-right: 0; border-radius: 0;
}
.signup input::placeholder { color: var(--dim); }
.signup .btn { min-height: 56px; }

/* ---------- footer ---------- */
.footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 16px 32px;
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: 0 auto; padding: 26px 0 32px;
  width: calc(100% - 2 * var(--gutter));
  border-top: 1px solid var(--line);
  font-size: 11px; color: var(--dim);
}
.footer p { margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px clamp(18px, 3vw, 42px); }
.footer__links a:hover { color: var(--bone); }

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  /* shift the art left so the tower sits right of the logo */
  .hero { aspect-ratio: auto; min-height: 132vw; background-position: 30% top; }
  .hero__top { flex-direction: column-reverse; gap: 14px; }
  .hero__logo { width: 80%; margin: -9% 0 -9% -10.5%; }
  .nav { width: 100%; justify-content: space-between; gap: 8px; padding-top: 0; }
  .nav a { font-size: 11px; letter-spacing: 0.16em; }

  .banner { flex-direction: column; align-items: stretch; padding: 18px 20px 20px; gap: 16px; }

  .grid { gap: 28px 16px; }
  .product__name { font-size: 12px; margin-top: 14px; }
  .product .btn { padding: 0 8px; letter-spacing: 0.14em; font-size: 11px; }

  .live { aspect-ratio: auto; min-height: 96vw; }
  .show { flex-wrap: wrap; gap: 6px 18px; padding: 18px 20px; font-size: 12px; }
  .show .more { margin-left: 0; width: 100%; margin-top: 6px; }

  .list { flex-direction: column; align-items: stretch; gap: 20px; }
  .signup { flex: none; }
  .signup .btn { min-width: 110px; padding: 0 18px; }

  .footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
