/* =========================================================
   ODD ONE OUT — Stylesheet
   Design system: near-black / off-white, Archivo (display) +
   Inter (body). See README.md for editing guide.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
  /* ---- Colour ---- */
  --black: #0a0a0a;
  --off-white: #f5f5f2;
  --grey-600: #8c8c86;
  --grey-800: #3c3c39;
  --line-on-dark: rgba(245, 245, 242, 0.16);
  --line-on-light: rgba(10, 10, 10, 0.14);

  /* ---- Type ---- */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* fluid type scale */
  --size-xs: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --size-sm: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --size-base: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
  --size-md: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --size-lg: clamp(1.8rem, 1.5rem + 1.4vw, 2.6rem);
  --size-xl: clamp(2.6rem, 1.9rem + 3vw, 4.6rem);
  --size-xxl: clamp(3.4rem, 2.2rem + 5.4vw, 7.6rem);

  /* ---- Layout ---- */
  --gutter: clamp(1.25rem, 1rem + 2vw, 3rem);
  --header-h: clamp(4.25rem, 3.8rem + 1.5vw, 5.5rem);
  --max-width: 1600px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--off-white);
  --line: var(--line-on-dark);
  font-family: var(--font-body);
  font-size: var(--size-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.light {
  background: var(--off-white);
  color: var(--black);
  --line: var(--line-on-light);
}

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

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, p {
  margin: 0;
}

::selection {
  background: var(--off-white);
  color: var(--black);
}

body.light ::selection {
  background: var(--black);
  color: var(--off-white);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  color: inherit;
  transition: transform 0.35s var(--ease);
}

/* Header slides away while scrolling down, returns on scroll up. */
.site-header.is-hidden {
  transform: translateY(-100%);
}

/* Homepage: the hero already carries a large logo, so the nav mark
   is hidden there to keep the opening screen minimal. */
body[data-page='home'] .site-header__mark {
  display: none;
}

.site-header__mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--size-sm);
  letter-spacing: 0.02em;
  color: inherit;
}

.site-header__mark img {
  height: clamp(28px, 3vw, 38px);
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 1rem + 1.6vw, 2.8rem);
}

.site-nav a,
.site-nav button {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  position: relative;
  padding: 0.3rem 0;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav__ig {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav__ig svg {
  width: 15px;
  height: 15px;
}

.nav-toggle {
  display: none;
  z-index: 110;
  width: 32px;
  height: 22px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), top 0.3s var(--ease);
}

/* When the mobile menu is open, force the toggle icon to the fixed
   dark overlay's light colour so it stays visible against it. */
.nav-open .nav-toggle {
  color: var(--off-white);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }

.nav-open .nav-toggle span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

@media (max-width: 720px) {
  /* The mobile menu is a full-screen takeover, so it keeps a fixed
     dark theme regardless of the underlying page's colour scheme. */
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--black);
    color: var(--off-white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--gutter);
    gap: 1.6rem;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
  }

  .site-nav a,
  .site-nav button {
    font-size: var(--size-lg);
  }

  .nav-open .site-nav {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  width: 100%;
  overflow: hidden;
  background: var(--black);
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.05) 22%, rgba(10,10,10,0.05) 60%, rgba(10,10,10,0.75) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 1rem) var(--gutter) 0;
}

.hero__brand {
  position: absolute;
  top: calc(var(--header-h) + clamp(0.5rem, 3vh, 2.5rem));
  left: var(--gutter);
  width: min(64vw, 460px);
}

.hero__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__kicker {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--size-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--off-white);
  opacity: 0.85;
  margin-bottom: 0.6rem;
}

.hero__line {
  max-width: 760px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--size-md);
  line-height: 1.15;
  color: var(--off-white);
  margin-bottom: clamp(1.6rem, 3vh, 2.6rem);
}

.hero__ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-on-dark);
}

.hero__cta {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.1rem, 0.9rem + 1.6vw, 2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--off-white);
  padding: clamp(1.1rem, 1.5vh, 1.6rem) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  overflow: hidden;
}

.hero__cta + .hero__cta {
  border-left: 1px solid var(--line-on-dark);
}

.hero__cta span.arrow {
  font-weight: 700;
  transition: transform 0.35s var(--ease);
}

.hero__cta:hover,
.hero__cta:focus-visible {
  background: var(--off-white);
  color: var(--black);
}

.hero__cta:hover span.arrow,
.hero__cta:focus-visible span.arrow {
  transform: translateX(6px);
}

@media (max-width: 720px) {
  .hero__brand { top: calc(var(--header-h) + 1.2rem); left: 0; right: 0; width: min(72vw, 320px); margin: 0 auto; }
  .hero__line { display: none; }
  .hero__ctas { grid-template-columns: 1fr; margin: 0 calc(-1 * var(--gutter)) 0; }
  .hero__cta + .hero__cta { border-left: none; border-top: 1px solid var(--line-on-dark); }
}

/* =========================================================
   Page shell (non-hero pages)
   ========================================================= */

.page {
  min-height: 100svh;
  padding-top: var(--header-h);
}

.section {
  padding: clamp(3rem, 6vh, 6rem) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 1rem;
}

/* ---- About page ---- */

.about-hero {
  padding-top: clamp(5rem, 14vh, 8rem);
}

.about-hero__statement {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--size-xxl);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.about-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-top: clamp(2.5rem, 6vh, 5rem);
  align-items: start;
}

.about-body p {
  font-size: var(--size-md);
  line-height: 1.5;
  max-width: 42ch;
}

.about-body p + p {
  margin-top: 1.4em;
}

@media (max-width: 860px) {
  .about-body { grid-template-columns: 1fr; gap: 2rem; }
}

.about-media {
  width: 100%;
  align-self: start;
  border: 1px solid var(--line);
  padding: 1.25rem;
}

.about-media__label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--size-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: 1rem;
}

.about-media iframe {
  display: block;
  width: 100%;
  border: none;
}

.about-closing {
  padding-top: clamp(3rem, 8vh, 6rem);
  border-top: 1px solid var(--line);
  margin-top: clamp(3rem, 8vh, 6rem);
}

.about-closing p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--size-lg);
  line-height: 1.2;
  max-width: 26ch;
}

/* ---- Genres row ---- */

.genre-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  padding-top: 2rem;
}

.genre-tag {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--size-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
}

/* =========================================================
   Events page
   ========================================================= */

.events-heading {
  padding-top: clamp(4.5rem, 12vh, 7rem);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.events-heading h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--size-xl);
  letter-spacing: -0.01em;
}

.events-heading p {
  font-size: var(--size-base);
  color: var(--grey-600);
  max-width: 36ch;
}

.upcoming {
  padding-top: clamp(2rem, 5vh, 3.5rem);
}

.event-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 460px;
  border: 1px solid var(--line-on-dark);
  overflow: hidden;
}

.event-feature__media {
  position: relative;
  overflow: hidden;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}

.event-feature:hover .event-feature__media img {
  transform: scale(1.03);
}

.event-feature__body {
  padding: clamp(1.75rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
}

.event-feature__date {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-600);
}

.event-feature__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--size-lg);
  line-height: 1.05;
}

.event-feature__venue {
  font-size: var(--size-base);
  color: var(--grey-600);
}

.event-feature__lineup {
  font-size: var(--size-sm);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.event-feature__lineup-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--size-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-right: 0.6em;
}

.event-feature__desc {
  font-size: var(--size-base);
  max-width: 48ch;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--size-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--off-white);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: var(--off-white);
  color: var(--black);
}

.tba-block {
  border: 1px dashed var(--line-on-dark);
  padding: clamp(2.5rem, 8vh, 5rem) var(--gutter);
  text-align: center;
}

.tba-block__label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--size-lg);
  letter-spacing: 0.04em;
}

.tba-block p {
  color: var(--grey-600);
  margin-top: 0.75rem;
}

.past {
  padding-top: clamp(3.5rem, 8vh, 6rem);
}

/* Hairline table-style grid. Borders live on each card (right + bottom)
   rather than in the grid gaps, so an incomplete last row never shows
   a ghost filled cell when the event count isn't a multiple of 3. */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-on-dark);
  border-left: 1px solid var(--line-on-dark);
  margin-top: 1.5rem;
}

.event-card {
  background: var(--black);
  border-right: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  padding: clamp(1.5rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 300px;
}

.event-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--grey-800);
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}

.event-card:hover .event-card__media img {
  transform: scale(1.05);
  filter: grayscale(0);
}

.event-card__date {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-600);
}

.event-card__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--size-md);
  line-height: 1.15;
}

.event-card__venue {
  font-size: var(--size-sm);
  color: var(--grey-600);
}

@media (max-width: 980px) {
  .event-feature { grid-template-columns: 1fr; }
  .event-feature__media { aspect-ratio: 3 / 4; }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .event-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Contact page
   ========================================================= */

.contact-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.contact-inner {
  padding: clamp(6rem, 16vh, 9rem) var(--gutter) clamp(3rem, 8vh, 5rem);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.contact-inner h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--size-xxl);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.contact-inner .lede {
  margin-top: 1.5rem;
  font-size: var(--size-md);
  color: var(--grey-600);
  max-width: 42ch;
}

.contact-email {
  display: inline-block;
  margin-top: clamp(2rem, 5vh, 3rem);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 1.1rem + 2vw, 2.4rem);
  border-bottom: 2px solid var(--off-white);
  padding-bottom: 0.15em;
  transition: opacity 0.3s var(--ease);
}

.contact-email:hover,
.contact-email:focus-visible {
  opacity: 0.6;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 6vh, 4rem);
}

.contact-links a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--size-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: currentColor;
}

.contact-links svg {
  width: 15px;
  height: 15px;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 6vh, 4rem) var(--gutter) clamp(1.5rem, 4vh, 2.5rem);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.site-footer__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--size-lg);
  letter-spacing: -0.01em;
}

.site-footer__mark span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-top: 0.5rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.site-footer__col h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--size-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: 0.2rem;
}

.site-footer__col a {
  font-size: var(--size-sm);
  transition: opacity 0.25s var(--ease);
}

.site-footer__col a:hover,
.site-footer__col a:focus-visible {
  opacity: 0.6;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--size-xs);
  color: var(--grey-600);
  letter-spacing: 0.02em;
}

/* =========================================================
   Reveal-on-load
   ========================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

.reveal-ready [data-reveal] {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-in [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="1"] { transition-delay: 0.05s; }
[data-reveal="2"] { transition-delay: 0.16s; }
[data-reveal="3"] { transition-delay: 0.27s; }
[data-reveal="4"] { transition-delay: 0.38s; }
