/* ==========================================================================
   ENOUGH ROPE FOR TWO: styles
   Colors and fonts live in :root. Change them here to re-theme the site.
   ========================================================================== */
:root {
  --black: #080808;
  --coal: #111111;
  --char: #1a1a1a;
  --steel: #2a2a2a;
  --line: rgba(255, 255, 255, .12);
  --white: #f2f2f0;
  --dim: #9a9a96;
  --red: #7a1414;          /* used sparingly: focus, hover, accents */
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --ui: "Oswald", "Arial Narrow", sans-serif;
  --mono: "Roboto Mono", ui-monospace, monospace;
  --max: 980px;
  --pad: clamp(1.25rem, 5vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--ui);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--white); color: var(--black); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

/* ---------- BACKGROUND: concrete + scratches + grain + shadows ----------
   A fixed layer (works on phones, unlike background-attachment: fixed). */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg::before {
  content: ""; position: absolute; inset: 0;
  background: url("/.netlify/images?url=/img/texture.png&w=1600&fm=webp&q=70") center / cover;
  filter: grayscale(1) brightness(.42) contrast(1.25);
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    /* atmospheric shadow */
    radial-gradient(ellipse 80% 60% at 50% 30%, transparent 0%, rgba(0,0,0,.55) 65%, rgba(0,0,0,.9) 100%),
    /* scratches */
    url("/img/scratches.svg") 0 0 / 700px 700px,
    /* fine grain */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .9;
}
@media (max-width: 700px) { .bg::after { background-size: auto, 420px 420px, auto; } }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem var(--pad);
  padding-top: max(.9rem, env(safe-area-inset-top));
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.is-scrolled { background: rgba(8,8,8,.92); border-color: var(--line); }
/* Secondary logo (top-left). Square image, shown whole, never stretched. */
.nav__mark { display: block; flex: none; line-height: 0; margin: -.35rem 0; position: relative; z-index: 2; }
.nav__mark img {
  width: 56px; height: 56px; object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.8));
  transition: opacity .2s;
}
.nav__mark:hover img { opacity: .8; }
@media (max-width: 700px) { .nav__mark img { width: 46px; height: 46px; } }
.nav__menu { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.nav__menu a {
  font-family: var(--ui); font-weight: 500; text-transform: uppercase; letter-spacing: .2em;
  font-size: .85rem; text-decoration: none; color: var(--dim); transition: color .2s;
}
.nav__menu a:hover { color: var(--white); }

.nav__toggle { display: none; background: none; border: 0; padding: .5rem; margin-right: -.5rem; cursor: pointer; z-index: 2; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 700px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 2rem;
    background: rgba(6,6,6,.98);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; }
  .nav__menu a { font-family: var(--display); font-size: 2.6rem; letter-spacing: .08em; color: var(--white); }
}

/* ---------- 1. HERO / LOGO ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(1.75rem, 5vw, 2.75rem);
  padding: 5.25rem var(--pad) 3rem; text-align: center; position: relative;
}
/* soft light behind the logo */
.hero::before {
  content: ""; position: absolute; left: 50%; top: 45%; width: min(120vw, 1100px); aspect-ratio: 1.6;
  translate: -50% -50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.07), transparent 70%);
}
.hero__logo { width: 100%; display: flex; justify-content: center; }
.logo { margin: 0; font-weight: 400; line-height: 1; }

/* Official logo image: never cropped, never stretched */
.logo__img {
  width: auto; height: auto;
  max-width: min(92vw, 900px);
  /* leave room for the nav + social icons so they stay on the first screen */
  max-height: max(300px, calc(100svh - 16rem));
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.85));
}
/* Turns a dark or colored logo (transparent background) pure white */
.logo__img--white { filter: brightness(0) invert(1) drop-shadow(0 12px 32px rgba(0,0,0,.85)); }

/* Text placeholder, shown until the official logo is added */
.logo__placeholder {
  display: block; font-family: var(--display); text-transform: uppercase; color: var(--white);
  font-size: clamp(3.1rem, 14vw, 8.5rem); line-height: .9; letter-spacing: .01em;
  text-shadow: 0 10px 40px rgba(0,0,0,.8);
}

/* ---------- 2. SOCIALS ---------- */
.socials { list-style: none; display: flex; justify-content: center; gap: clamp(.75rem, 3vw, 1.25rem); padding: 0; margin: 0; }
.socials a {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  text-decoration: none; color: var(--white);
}
.socials svg {
  box-sizing: content-box; width: 24px; height: 24px; padding: 15px; fill: currentColor;
  border: 1px solid rgba(255,255,255,.35); background: rgba(8,8,8,.6);
  transition: background .2s, color .2s, border-color .2s;
}
.socials span { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .18em; color: var(--dim); }
.socials a:hover svg { background: var(--white); color: var(--black); border-color: var(--white); }
.socials a:hover span { color: var(--white); }

/* ---------- SECTIONS ---------- */
.section {
  position: relative; max-width: var(--max); margin: 0 auto;
  padding: clamp(4rem, 10vw, 6.5rem) var(--pad);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
/* rough divider between sections */
.section::before {
  content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2) 20%, rgba(255,255,255,.2) 80%, transparent);
}
.section__title {
  display: flex; align-items: center; gap: 1rem; width: 100%; justify-content: center;
  font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .06em;
  font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1; margin: 0 0 clamp(2rem, 5vw, 2.75rem);
}
.section__title::before, .section__title::after {
  content: ""; flex: 0 1 70px; height: 2px; background: var(--steel);
}

/* "Coming soon" placeholders */
.placeholder {
  margin: 0; width: 100%; max-width: 640px;
  padding: clamp(2.25rem, 7vw, 3.5rem) 1.5rem;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; line-height: 1.05;
  font-size: clamp(1.7rem, 6.5vw, 2.9rem); color: var(--white);
  background: rgba(10,10,10,.7);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 60px rgba(0,0,0,.8);
  position: relative;
}
/* industrial corner brackets */
.placeholder::before, .placeholder::after {
  content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid rgba(255,255,255,.55);
}
.placeholder::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.placeholder::after { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--ui); font-weight: 600; text-transform: uppercase; letter-spacing: .2em; font-size: .9rem;
  padding: 1rem 1.75rem; min-height: 48px;
  border: 2px solid var(--white); background: var(--white); color: var(--black);
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--sm { padding: .7rem 1.1rem; font-size: .8rem; min-height: 44px; }

/* ---------- 3. MUSIC ---------- */
.music { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; width: 100%; }
.platform {
  flex: 1 1 240px; max-width: 320px;
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  padding: 1.25rem 1.5rem; text-decoration: none;
  background: rgba(10,10,10,.75); border: 1px solid rgba(255,255,255,.3);
  transition: background .2s, color .2s, border-color .2s;
}
.platform svg { width: 30px; height: 30px; fill: currentColor; flex: none; }
.platform__name { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; letter-spacing: .06em; line-height: 1; }
.platform:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ---------- 4. SHOWS ---------- */
.shows { list-style: none; padding: 0; margin: 0; width: 100%; text-align: left; border-top: 1px solid var(--line); }
.show {
  display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.4rem 1rem; border-bottom: 1px solid var(--line); background: rgba(8,8,8,.55);
}
.show__date { font-family: var(--display); text-transform: uppercase; line-height: .95; text-align: center; }
.show__date b { display: block; font-size: 2.6rem; font-weight: 400; }
.show__date small { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; color: var(--dim); }
.show__venue { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.55rem; line-height: 1.05; margin: 0; letter-spacing: .03em; }
.show__city { font-family: var(--mono); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin: .3rem 0 0; }
.show__details { color: var(--dim); font-size: .95rem; margin: .3rem 0 0; }
@media (max-width: 600px) {
  .show { grid-template-columns: 4rem 1fr; gap: .25rem 1rem; padding: 1.2rem .75rem; }
  .show__date b { font-size: 2.1rem; }
  .show__venue { font-size: 1.3rem; }
  .show__action { grid-column: 2; margin-top: .6rem; }
}

/* ---------- 5. MERCH ---------- */
#merch-link { margin-top: .5rem; }

/* ---------- 6. BOOKING ---------- */
.booking__email {
  font-family: var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: .02em;
  font-size: clamp(1.1rem, 5.6vw, 2.6rem); line-height: 1.1; overflow-wrap: anywhere;
  border-bottom: 2px solid var(--steel); padding-bottom: .3rem; transition: border-color .2s;
}
.booking__email:hover { border-color: var(--white); }
.booking__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2.25rem; }
@media (max-width: 480px) { .booking__actions { flex-direction: column; width: 100%; } }

/* ---------- 7. FOOTER ---------- */
.footer {
  padding: 2.25rem var(--pad) max(2.25rem, env(safe-area-inset-bottom));
  text-align: center; border-top: 1px solid var(--line); background: rgba(5,5,5,.92);
}
.footer p { margin: 0; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .22em; color: var(--dim); }
.footer span { margin: 0 .6em; color: var(--steel); }

/* ---------- TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; translate: -50% 200%; z-index: 120;
  background: var(--white); color: var(--black); font-family: var(--ui); font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em; font-size: .85rem;
  padding: .8rem 1.4rem; transition: translate .3s ease;
}
.toast.is-on { translate: -50% 0; }

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