/*
Theme Name: ØZMØZ / MALØ
Theme URI: https://ozmozmalo.com
Author: Codex
Description: Custom showcase theme for ØZMØZ and MALØ, hard techno / industrial techno.
Version: 0.1.7
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: ozmoz-malo
*/

:root {
  --bg: #050505;
  --panel: #101010;
  --panel-2: #181818;
  --line: rgba(255, 255, 255, 0.14);
  --text: #eeeeee;
  --muted: #a6a6a6;
  --red: #ff1616;
  --red-deep: #9d0000;
  --silver: #b8bcc2;
  --max: 1180px;
  --mono: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--red);
  color: #050505;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 75%);
  z-index: 0;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 5, 5, 0.74);
  backdrop-filter: blur(16px);
}

.site-header__inner,
.site-footer__inner,
.section__inner {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--text);
}

.nav-booking {
  color: var(--red) !important;
}

.hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px 0 46px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.18) brightness(0.58);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 52% 42%, rgba(255, 22, 22, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.25), #050505 92%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.75), transparent 44%, rgba(5, 5, 5, 0.65));
}

.hero__inner {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
}

.hero__wordmark {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(8px, 1.5vw, 18px);
  max-width: 1040px;
  margin: 0 0 30px -4px;
  color: var(--red);
  font-family: var(--mono);
  font-size: clamp(58px, 12vw, 154px);
  font-weight: 900;
  line-height: 0.78;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(255, 22, 22, 0.52),
    0 0 44px rgba(255, 22, 22, 0.24),
    0 2px 0 rgba(255, 255, 255, 0.2),
    0 14px 34px rgba(0, 0, 0, 0.86);
  transform-origin: left bottom;
  will-change: transform, filter, opacity;
  animation:
    ozmoz-signal 1300ms steps(2, end) both,
    ozmoz-aftershock 5200ms 1500ms ease-in-out infinite;
}

.hero__slash {
  color: var(--silver);
  transform: translateY(-0.03em);
}

.eyebrow,
.section-kicker {
  color: var(--red);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero__statement {
  max-width: 720px;
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(22px, 3.1vw, 42px);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.hero__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  margin-top: 26px;
}

.hero__meta p {
  max-width: 560px;
  margin: 0;
  color: var(--silver);
  font-size: clamp(17px, 2vw, 22px);
}

.button-row,
.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.social-link,
.event-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 11px 15px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.button--red,
.social-link:hover,
.event-link:hover {
  border-color: rgba(255, 22, 22, 0.9);
  background: var(--red);
  color: #050505;
}

.social-link--brand {
  gap: 9px;
}

.social-link--brand svg,
.social-link--brand .social-link__icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.social-link--brand svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link--brand .social-link__icon {
  filter: invert(1);
}

.social-link--brand:hover svg {
  filter: drop-shadow(0 0 7px rgba(5, 5, 5, 0.45));
}

.social-link--brand:hover .social-link__icon {
  filter: none;
}

.section {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0;
  border-top: 1px solid var(--line);
}

.section--split {
  background: linear-gradient(90deg, var(--panel), var(--bg));
}

.section h2 {
  margin: 8px 0 26px;
  font-family: var(--mono);
  font-size: clamp(34px, 6vw, 84px);
  line-height: 0.92;
  text-transform: uppercase;
}

.section h2.signal-title {
  color: var(--red);
  text-shadow:
    0 0 16px rgba(255, 22, 22, 0.46),
    0 0 34px rgba(255, 22, 22, 0.2),
    0 2px 0 rgba(255, 255, 255, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.72);
  transform-origin: left bottom;
  will-change: transform, filter;
  animation: ozmoz-section-signal 4600ms ease-in-out infinite;
}

.intro-grid,
.press-grid,
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.lead {
  color: var(--text);
  font-size: clamp(20px, 2.5vw, 34px);
  line-height: 1.14;
}

.muted {
  color: var(--muted);
}

.proof-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--silver);
}

.event-list {
  display: grid;
  max-width: 940px;
  gap: 0;
  margin-left: 10px;
}

.event-list--past {
  max-height: 360px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 12px;
  scrollbar-color: var(--red) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.event-list--past::-webkit-scrollbar {
  width: 8px;
}

.event-list--past::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

.event-list--past::-webkit-scrollbar-thumb {
  background: var(--red);
}

.event-card {
  position: relative;
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 22, 22, 0.06), rgba(255, 255, 255, 0.025) 34%, transparent);
  padding: 18px 18px 18px 26px;
}

.event-card::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 22, 22, 0.7);
  z-index: 1;
}

.event-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--red);
  box-sizing: border-box;
  background: var(--bg);
  box-shadow: 0 0 18px rgba(255, 22, 22, 0.55);
  z-index: 2;
}

.event-card--past::before {
  background: var(--red);
}

.event-date {
  color: var(--red);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.event-title {
  margin: 0;
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
}

.event-title .flag {
  margin-left: 10px;
}

.event-meta {
  margin: 8px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.event-meta a {
  color: var(--silver);
  text-decoration: underline;
  text-decoration-color: rgba(255, 22, 22, 0.65);
  text-underline-offset: 4px;
}

.event-meta a:hover {
  color: var(--red);
}

.flag {
  display: inline-block;
  width: 24px;
  height: 16px;
  margin-left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  vertical-align: -1px;
}

.flag-be { background: linear-gradient(90deg, #111 0 33.33%, #ffd90c 33.33% 66.66%, #ef3340 66.66%); }
.flag-de { background: linear-gradient(#000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66%); }
.flag-fr { background: linear-gradient(90deg, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66%); }
.flag-lu { background: linear-gradient(#ef3340 0 33.33%, #fff 33.33% 66.66%, #00a3e0 66.66%); }
.flag-nl { background: linear-gradient(#ae1c28 0 33.33%, #fff 33.33% 66.66%, #21468b 66.66%); }
.flag-es { background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.flag-it { background: linear-gradient(90deg, #009246 0 33.33%, #fff 33.33% 66.66%, #ce2b37 66.66%); }

.empty-state {
  border: 1px solid var(--line);
  padding: 22px;
  color: var(--muted);
}

.empty-state--wide {
  grid-column: 1 / -1;
}

.track-grid,
.gallery-grid,
.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.track-grid {
  grid-template-columns: minmax(0, 1fr);
}

.artist-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.track-card,
.gallery-card,
.artist-card {
  border: 1px solid var(--line);
  background: var(--panel);
}

.track-card {
  min-height: 100%;
  padding: 18px;
}

.track-card__image {
  display: block;
  margin: -18px -18px 4px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.track-card__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(0.18) contrast(1.08);
}

.track-card__player {
  margin: -18px -18px 4px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #111;
}

.track-card__player iframe,
.track-card__player-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.track-card__player-frame {
  height: 120px;
}

.track-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.track-card__copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
}

.track-card__tag {
  width: fit-content;
  margin: 0;
  border: 1px solid rgba(255, 22, 22, 0.65);
  padding: 5px 8px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.track-card h3,
.booking-grid h3,
.artist-card h3 {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 24px;
  text-transform: uppercase;
}

.track-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
}

.track-card .muted {
  margin: 0;
}

.track-card .social-link {
  flex: 0 0 auto;
  width: fit-content;
}

.artist-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.54fr) minmax(0, 1fr);
  min-height: 360px;
}

.artist-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.12) contrast(1.08);
}

.artist-card__body {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(18px, 3vw, 30px);
}

.artist-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.artist-card__links .social-link {
  min-height: 36px;
  padding: 8px 10px;
}

.artist-role {
  margin: 0 0 12px;
  color: var(--red);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.booking-card {
  border-left: 2px solid var(--red);
  padding-left: 22px;
}

.booking-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}

.booking-form label {
  display: grid;
  gap: 7px;
}

.booking-form span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
}

.booking-form textarea {
  min-height: 132px;
  resize: vertical;
}

.booking-form input:focus,
.booking-form textarea:focus {
  border-color: rgba(255, 22, 22, 0.72);
  background: rgba(255, 255, 255, 0.065);
}

.booking-form .button {
  width: fit-content;
  cursor: pointer;
}

.booking-hp {
  position: absolute;
  left: -9999px;
}

.form-status {
  border: 1px solid var(--line);
  margin: 0 0 16px;
  padding: 12px 14px;
  color: var(--silver);
}

.form-status--success {
  border-color: rgba(255, 22, 22, 0.65);
}

.form-status--error {
  border-color: rgba(255, 255, 255, 0.34);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

.site-footer a {
  color: var(--silver);
  text-decoration-color: rgba(255, 22, 22, 0.6);
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--red);
}

@keyframes ozmoz-signal {
  0% {
    transform: translateX(-34px) skewX(-7deg) scaleX(0.96);
    filter: saturate(3) contrast(1.55) blur(2px) drop-shadow(18px 0 0 rgba(255, 255, 255, 0.2));
    opacity: 0;
  }
  10% {
    transform: translateX(24px) skewX(6deg) scaleX(1.035);
    filter: saturate(3.2) contrast(1.75) blur(0.5px) drop-shadow(-18px 0 0 rgba(255, 255, 255, 0.25));
    opacity: 1;
  }
  18% {
    transform: translateX(-16px) skewX(-4deg) scaleX(0.99);
    filter: saturate(2.8) contrast(1.5) drop-shadow(12px 0 0 rgba(255, 22, 22, 0.44));
  }
  31% {
    transform: translateX(10px) skewX(2deg) scaleX(1.015);
    filter: saturate(2.4) contrast(1.35);
  }
  46% {
    transform: translateX(-5px) skewX(-1deg);
  }
  62% {
    transform: translateX(2px);
    filter: saturate(1.6) contrast(1.15);
  }
  100% {
    transform: translateX(0);
    filter: none;
  }
}

@keyframes ozmoz-aftershock {
  0%, 78%, 100% {
    transform: translateX(0);
    filter: none;
  }
  80% {
    transform: translateX(3px) skewX(1.2deg);
    filter: saturate(1.9) contrast(1.2) drop-shadow(-10px 0 0 rgba(255, 255, 255, 0.12));
  }
  82% {
    transform: translateX(-4px) skewX(-1.6deg);
    filter: saturate(2.2) contrast(1.28) drop-shadow(12px 0 0 rgba(255, 22, 22, 0.28));
  }
  84% {
    transform: translateX(0);
    filter: none;
  }
}

@keyframes ozmoz-section-signal {
  0%, 64%, 100% {
    transform: translateX(0);
    filter: none;
  }
  66% {
    transform: translateX(4px) skewX(1.6deg);
    filter: saturate(2.1) contrast(1.25) drop-shadow(-9px 0 0 rgba(255, 255, 255, 0.1));
  }
  68% {
    transform: translateX(-5px) skewX(-1.8deg);
    filter: saturate(2.4) contrast(1.35) drop-shadow(10px 0 0 rgba(255, 22, 22, 0.26));
  }
  70% {
    transform: translateX(1px);
    filter: saturate(1.35) contrast(1.1);
  }
}

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

@media (max-width: 820px) {
  .site-header {
    position: sticky;
  }

  .site-header__inner {
    min-height: 62px;
  }

  .main-nav {
    gap: 12px;
    overflow-x: auto;
    justify-content: flex-end;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .hero {
    min-height: 90svh;
    padding-top: 80px;
  }

  .hero__meta,
  .intro-grid,
  .press-grid,
  .booking-grid,
  .event-list,
  .event-card {
    grid-template-columns: 1fr;
  }

  .event-list {
    margin-left: 6px;
  }

  .event-list--past {
    max-height: 320px;
  }

  .event-card {
    align-items: start;
    gap: 8px;
    padding-left: 22px;
  }

  .track-grid,
  .gallery-grid,
  .artist-grid,
  .artist-card {
    grid-template-columns: 1fr;
  }

  .track-card__body,
  .track-card__copy {
    align-items: flex-start;
  }

  .track-card__body {
    flex-wrap: wrap;
  }

  .track-card__copy {
    flex-direction: column;
    gap: 10px;
  }

  .artist-card img {
    aspect-ratio: 4 / 5;
    height: auto;
  }
}
