@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/oswald-400.ttf") format("truetype");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/oswald-600.ttf") format("truetype");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/oswald-700.ttf") format("truetype");
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/syne-400.ttf") format("truetype");
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/syne-700.ttf") format("truetype");
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/syne-800.ttf") format("truetype");
}

:root {
  --red: #e10600;
  --black: #050505;
  --white: #f4f4f4;
  --mute: rgba(244, 244, 244, 0.62);
  --pad: clamp(1rem, 4vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}
::selection {
  background: #e10600;
  color: #fff;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--white);
}

body {
  font-family: Syne, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: var(--pad);
  top: var(--pad);
  z-index: 50;
  background: var(--red);
  color: var(--white);
  padding: 0.5rem 0.75rem;
}

.ui {
  font-family: Oswald, Impact, sans-serif;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* TEST chip — corner, never on the face */
.chip {
  position: fixed;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 40;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  border: 1px solid var(--white);
  padding: 0.28rem 0.5rem 0.22rem;
  background: var(--black);
  line-height: 1;
}

header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1rem var(--pad);
}

header a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  opacity: 0.82;
}
header a:hover,
header a:focus-visible {
  opacity: 1;
  color: var(--red);
}

.menu-btn {
  display: none;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
}
.hero-copy,
.sig-wrap {
  overflow: visible;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: max(3.4rem, calc(1.6rem + env(safe-area-inset-bottom, 0px)));
  z-index: 2;
  max-width: min(44rem, calc(100% - 2 * var(--pad)));
  overflow: visible;
}

.sig-wrap {
  width: min(86vw, 38rem);
  overflow: visible;
  line-height: 0;
}

.hero-copy .sig {
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
  overflow: visible;
}

/* Centerline strokes reveal filled letters via per-group masks. */
.hero-copy .sig .sig-stroke {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.hero-copy .sig.is-writing .sig-stroke {
  animation-name: sig-write;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-fill-mode: forwards;
}
.hero-copy .sig.is-written .sig-ink {
  mask: none;
}
/* Per-letter freeze: drop this group's mask as soon as its strokes finish.
   Global .is-written at the end is a safety net and a visual no-op. */
.hero-copy .sig .sig-ink.is-frozen {
  mask: none;
}
.hero-copy .sig.is-written .sig-stroke {
  stroke-dashoffset: 0;
  animation: none;
}

@keyframes sig-write {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .sig .sig-ink {
    mask: none;
  }
  .hero-copy .sig .sig-stroke,
  .hero-copy .sig.is-writing .sig-stroke {
    animation: none;
    stroke-dashoffset: 0;
  }
}

.hero-copy p {
  margin: 0.7rem 0 0;
  font-family: Oswald, sans-serif;
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
}

/* SECTIONS */
section {
  position: relative;
}

.kicker {
  font-family: Oswald, sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.75rem;
}

/* MUSIC */
.music {
  display: grid;
  grid-template-columns: 1fr;
}

.music-photo {
  min-height: 70vh;
  position: relative;
}
.music-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  position: absolute;
  inset: 0;
}

.music-list {
  padding: clamp(2rem, 6vw, 4.5rem) var(--pad) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.music-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.music-head a {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--mute);
}
.music-head a:hover {
  color: var(--red);
}

.tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(244, 244, 244, 0.18);
}

.tracks a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(244, 244, 244, 0.18);
  align-items: baseline;
}

.tracks .title {
  font-family: Oswald, sans-serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 4.4vw, 2.15rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.tracks .who {
  font-size: 0.78rem;
  color: var(--mute);
  grid-column: 1;
}

.tracks .go {
  font-family: Oswald, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--red);
  align-self: center;
}

.tracks a:hover .title,
.tracks a:focus-visible .title {
  color: var(--red);
}

.player {
  width: 100%;
}
.player iframe {
  display: block;
  width: 100%;
  height: 352px;
  border: 0;
  border-radius: 0;
  background: #121212;
}

/* DATES */
.dates {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--black);
}

.dates-photo {
  min-height: 58vh;
  position: relative;
}
.dates-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  position: absolute;
  inset: 0;
}

.dates-list {
  padding: clamp(2rem, 6vw, 4.5rem) var(--pad) 3rem;
}

.shows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shows li {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  gap: 0.15rem 1.1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(244, 244, 244, 0.18);
}

.shows li:first-child {
  border-top: 1px solid rgba(244, 244, 244, 0.18);
}

.shows time {
  font-family: Oswald, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  line-height: 1.15;
  color: var(--red);
}

.shows .place {
  font-family: Oswald, sans-serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 3.6vw, 1.9rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
}

.shows .note {
  grid-column: 2;
  font-size: 0.88rem;
  color: var(--mute);
}

.shows a:hover .place {
  color: var(--red);
}

/* TAKE OUT */
.takeout {
  position: relative;
  min-height: 92svh;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.takeout img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.takeout::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.08) 48%);
}

.takeout-copy {
  position: relative;
  z-index: 2;
  padding: var(--pad);
  padding-bottom: 2.4rem;
  max-width: 36rem;
}

.takeout h2 {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 14vw, 8rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.86;
}

.takeout p {
  margin: 0.85rem 0 0;
  max-width: 22rem;
  font-size: 1.02rem;
}

/* T-GANG */
.tgang {
  padding: clamp(2.4rem, 7vw, 4.2rem) var(--pad);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(244, 244, 244, 0.12);
  border-bottom: 1px solid rgba(244, 244, 244, 0.12);
}

.tgang svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  fill: var(--red);
}

.tgang p {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 2.8vw, 1.45rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* GRAPHICS / STORE */
.store {
  padding: clamp(2.2rem, 6vw, 3.6rem) var(--pad) 1.2rem;
}

.marks {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0 0 1rem;
}

.marks svg {
  width: 2.4rem;
  height: 2.4rem;
  display: block;
}

.store a {
  font-family: Oswald, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}
.store a:hover {
  color: var(--red);
}

/* LINKS */
.links {
  padding: 1.2rem var(--pad) 2.4rem;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social a {
  font-family: Oswald, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.social a:hover,
.social a:focus-visible {
  color: var(--red);
}

footer {
  padding: 0 var(--pad) 2.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: Oswald, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

.sig-foot {
  width: 7.5rem;
  height: auto;
  opacity: 0.9;
}

@media (min-width: 820px) {
  .chip {
    top: 1.15rem;
    left: 1.15rem;
  }

  .music {
    grid-template-columns: 1.05fr 1fr;
    min-height: 100vh;
  }
  .music-photo {
    min-height: 100%;
  }

  .dates {
    grid-template-columns: 0.95fr 1.05fr;
    min-height: 100vh;
  }
  .dates-photo {
    min-height: 100%;
    order: 2;
  }

  .sig-wrap {
    width: min(54vw, 40rem);
  }
}

@media (max-width: 700px) {
  header {
    gap: 0.55rem;
    padding: 1.05rem 0.8rem 1.05rem 4.6rem;
  }
  header a {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.pair figure {
  margin: 0;
  min-height: 42vh;
  position: relative;
  overflow: hidden;
}
.pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  position: absolute;
  inset: 0;
}
@media (min-width: 820px) {
  .pair figure { min-height: 100vh; }
}
