:root {
  --bg: #050506;
  --bg-soft: #0d1112;
  --panel: #111416;
  --panel-strong: #171b1d;
  --text: #f5f3ef;
  --muted: #aeb2b0;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #4fe0e8;
  --amber: #f4b15b;
  --red: #7b1f2a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(5, 5, 6, 0.58);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 6, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  color: #050506;
  font-weight: 900;
  font-size: 13px;
}

.brand-name {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 30px;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: rgba(245, 243, 239, 0.78);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.menu-toggle svg,
.btn svg,
.social-links svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.94) 0%, rgba(5, 5, 6, 0.72) 44%, rgba(5, 5, 6, 0.32) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.08) 0%, #050506 92%),
    url("assets/malta-valletta-night.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% -10%;
  z-index: -1;
  height: 48%;
  background: radial-gradient(circle at 24% 20%, rgba(79, 224, 232, 0.2), transparent 36%),
    radial-gradient(circle at 78% 34%, rgba(244, 177, 91, 0.16), transparent 32%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: 48px;
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: 120px 0 84px;
}

.hero-copy {
  max-width: 650px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 124px;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 32px;
  color: rgba(245, 243, 239, 0.82);
  font-size: 23px;
  line-height: 1.42;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.hero-media {
  position: relative;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.02), rgba(5, 5, 6, 0.48));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: min(640px, 70vh);
  min-height: 430px;
  object-fit: cover;
  object-position: 58% center;
}

.hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 5, 6, 0.88);
  backdrop-filter: blur(12px);
}

.hero-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(245, 243, 239, 0.86);
  font-size: 15px;
  font-weight: 800;
}

.hero-strip span:last-child {
  border-right: 0;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.34fr minmax(0, 0.78fr);
  gap: 38px;
  align-items: start;
  margin-bottom: 44px;
}

.section-label {
  margin-bottom: 0;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section h2 {
  margin-bottom: 0;
  font-size: 72px;
}

.sound-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.sound-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.sound-card span {
  display: inline-block;
  margin-bottom: 76px;
  color: var(--amber);
  font-weight: 900;
}

.sound-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.2;
}

.sound-card p,
.about-copy p,
.event-row p,
.malta-band-copy p,
.contact-panel p,
.site-footer p {
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 0.95fr);
  gap: 54px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 34%;
}

.about-copy h2 {
  margin: 16px 0 24px;
}

.about-copy p {
  max-width: 660px;
  font-size: 18px;
}

.malta-band {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.malta-band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.malta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.1), rgba(5, 5, 6, 0.88));
}

.malta-band-copy {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 72px;
}

.malta-band-copy h2 {
  max-width: 740px;
  margin-bottom: 16px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 78px;
  line-height: 0.96;
}

.malta-band-copy p {
  max-width: 620px;
  font-size: 19px;
}

.events-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.72fr);
  gap: 32px;
  align-items: stretch;
}

.event-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.event-row {
  display: grid;
  grid-template-columns: 0.42fr minmax(0, 0.58fr);
  gap: 26px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.event-row h3 {
  margin-bottom: 0;
  font-size: 22px;
}

.event-row p {
  margin-bottom: 0;
}

.events-image {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.events-image img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.gallery-section {
  width: 100%;
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  padding-right: max(20px, calc((100% - var(--max)) / 2));
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.9fr;
  grid-auto-rows: 250px;
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  filter: saturate(0.92) contrast(1.04);
}

.gallery-grid img:nth-child(1) {
  grid-row: span 2;
  object-position: 52% top;
}

.gallery-grid img:nth-child(3) {
  grid-row: span 2;
}

.gallery-grid img:nth-child(6) {
  grid-column: span 2;
}

.contact-section {
  padding-top: 28px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(280px, 0.42fr);
  gap: 32px;
  align-items: end;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(79, 224, 232, 0.13), transparent 34%),
    linear-gradient(315deg, rgba(244, 177, 91, 0.12), transparent 38%),
    var(--panel);
}

.contact-panel h2 {
  margin: 12px 0 16px;
}

.contact-panel p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 18px;
}

.social-links {
  display: grid;
  gap: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 243, 239, 0.88);
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-2px);
  outline: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    width: min(100% - 28px, var(--max));
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 14px;
    right: 14px;
    display: none;
    grid-template-columns: 1fr;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #050506;
    box-shadow: var(--shadow);
  }

  body.menu-open .main-nav {
    display: grid;
  }

  .main-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 112px;
    padding-bottom: 112px;
  }

  h1 {
    font-size: 92px;
  }

  .hero-lede {
    font-size: 20px;
  }

  .hero-media img {
    height: 520px;
  }

  .section-heading,
  .about-section,
  .events-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section h2,
  .malta-band-copy h2 {
    font-size: 58px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 230px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 620px) {
  .site-header,
  .section,
  .hero-inner,
  .malta-band-copy,
  .site-footer {
    width: calc(100% - 28px);
  }

  .brand-name {
    font-size: 27px;
  }

  .hero-inner {
    padding-top: 104px;
    gap: 22px;
  }

  h1 {
    font-size: 72px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-media img {
    min-height: 360px;
    height: 420px;
  }

  .hero-strip {
    position: relative;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-strip span {
    min-height: 58px;
    font-size: 13px;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    gap: 16px;
    margin-bottom: 28px;
  }

  .section h2,
  .malta-band-copy h2 {
    font-size: 46px;
  }

  .sound-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .sound-card {
    min-height: 220px;
  }

  .sound-card span {
    margin-bottom: 46px;
  }

  .event-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .events-image img {
    min-height: 330px;
  }

  .gallery-grid {
    grid-auto-rows: 330px;
  }

  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(3),
  .gallery-grid img:nth-child(6) {
    grid-row: span 1;
    grid-column: span 1;
  }

  .contact-panel {
    padding: 24px;
  }
}
