@font-face {
  font-family: "Campton";
  src: url("assets/fonts/Campton-Book.otf") format("opentype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0a0c12;
  --bg-rgb: 10, 12, 18;
  --panel: #141822;
  --ink: #eef1f5;
  --muted: rgba(238, 241, 245, 0.6);
  --line: rgba(238, 241, 245, 0.14);
  --deep: #023661;
  --slate: #76828e;

  --accent: #db5227;
  --accent-rgb: 219, 82, 39;

  --hero-logo-blend: screen;
  --hero-logo-opacity: 0.18;
  --hero-photo-opacity: 1;

  --max: 1160px;
  --header: 72px;
  font-family: Campton, Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eef1f4;
  --bg-rgb: 238, 241, 244;
  --panel: #ffffff;
  --ink: #0a0c12;
  --muted: rgba(10, 12, 18, 0.56);
  --line: rgba(10, 12, 18, 0.12);
  --hero-logo-blend: multiply;
  --hero-logo-opacity: 0.14;
  --hero-photo-opacity: 0.55;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  margin: 0;
  transition: background 200ms ease, color 200ms ease;
}

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

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

.scroll-progress {
  background: var(--accent);
  height: 3px;
  left: 0;
  position: fixed;
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
  width: 100%;
  z-index: 40;
}

/* Header */

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 20px;
  height: var(--header);
  left: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 3px;
  transition: border-color 200ms ease, background 200ms ease;
  z-index: 30;
}

.site-header[data-elevated="true"] {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom-color: var(--line);
}

.brand {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  font-size: 0.8rem;
  font-weight: 800;
  justify-self: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--muted);
  padding: 4px 0;
  position: relative;
}

.site-nav a::after {
  background: var(--accent);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 100%;
  transition: right 200ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after {
  right: 0;
}

.nav-wrap {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-self: center;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  min-height: 40px;
  padding: 0 14px;
  text-transform: uppercase;
}

.header-cta {
  align-items: center;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  justify-self: end;
  width: 40px;
}

.header-cta svg {
  fill: #fff;
  height: 19px;
  width: 19px;
}

.nav-toggle {
  background: none;
  border: 0;
  display: none;
  height: 42px;
  padding: 0;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 7px auto;
  width: 24px;
}

/* Shared section rhythm */

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 36px);
  position: relative;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

.section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: clamp(30px, 6vw, 60px);
}

.section-heading h2,
.about-title,
.statement {
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  line-height: 0.96;
  margin: 0;
}

.section-heading.centered {
  text-align: center;
}

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

/* Hero */

.hero {
  align-items: center;
  display: grid;
  min-height: 100svh;
  max-width: none;
  overflow: hidden;
  padding-top: calc(var(--header) + 40px);
  position: relative;
}

.hero-bg {
  background: var(--bg);
  inset: -10% 0 0 0;
  position: absolute;
  transition: background 200ms ease;
  will-change: transform;
  z-index: -3;
}

.hero-bg::before {
  background: url("assets/aemblck10-cutout.png") right 4vw bottom 8svh / auto 58svh no-repeat;
  content: "";
  filter: saturate(1.05) contrast(1.03);
  inset: 0;
  mask-image: linear-gradient(0deg, transparent 0%, #000 10%, #000 100%);
  opacity: var(--hero-photo-opacity, 1);
  position: absolute;
}

.hero-logo-bg {
  background: url("assets/aemblck-logo-color.png") no-repeat;
  background-position: right -8% bottom -12%;
  background-size: 62% auto;
  inset: 0;
  mix-blend-mode: var(--hero-logo-blend);
  opacity: var(--hero-logo-opacity);
  position: absolute;
  z-index: -2;
}

.hero-grid {
  margin: 0 auto;
  max-width: var(--max);
  position: relative;
  width: 100%;
  z-index: 2;
}

.hero-copy {
  max-width: 880px;
  padding: clamp(24px, 6vw, 60px) clamp(20px, 4vw, 36px);
}

h1 {
  color: var(--ink);
  font-size: clamp(3.6rem, 12vw, 10.5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 0.82;
  margin-bottom: 24px;
}

.hero-intro {
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-description {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  max-width: 640px;
}

.scroll-cue {
  bottom: clamp(20px, 4vw, 40px);
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-cue span {
  border-bottom: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  display: block;
  height: 10px;
  width: 10px;
  transform: rotate(45deg);
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
  50% { transform: rotate(45deg) translate(6px, 6px); opacity: 1; }
}

/* About */

.about-copy {
  max-width: 900px;
}

.statement {
  font-weight: 800;
}

/* Events */

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

.event-item {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 170px minmax(0, 1fr) minmax(180px, 0.8fr);
  padding: 22px 4px;
  transition: transform 220ms ease, background 220ms ease;
}

.event-item:hover {
  background: rgba(var(--accent-rgb), 0.08);
  transform: translateX(6px);
}

.event-item h3 {
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  margin-bottom: 8px;
}

.event-item p,
.event-place {
  color: var(--muted);
}

.event-date span {
  color: var(--accent);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.event-date strong {
  font-size: 1rem;
}

/* Music */

.soundcloud-players {
  display: grid;
  gap: 12px;
}

.soundcloud-player {
  background: var(--panel);
  border: 1px solid var(--line);
  display: block;
  height: 120px;
  width: 100%;
}

/* Media / photos */

.media-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
}

.media-card {
  background: var(--panel);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.media-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.media-card img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  transition: filter 260ms ease, transform 400ms ease;
  width: 100%;
}

.media-card:hover img {
  filter: saturate(1.2) contrast(1.06);
  transform: scale(1.04);
}

/* References */

.reference-list {
  columns: 2;
  column-gap: clamp(32px, 8vw, 100px);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 800;
  line-height: 1.75;
  margin: 0 auto;
  max-width: var(--max);
  text-align: center;
}

.reference-list span {
  break-inside: avoid;
  display: block;
}

/* Booking band */

.booking-band {
  background: linear-gradient(160deg, var(--accent), var(--deep));
  color: #fff;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 4vw, 36px);
  text-align: center;
}

.booking-band .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.booking-band h2 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 0.96;
  margin: 0 auto 30px;
  max-width: 16ch;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.button {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 48px;
  padding: 0 20px;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button.dark {
  background: #060810;
  border-color: #060810;
  color: #fff;
}

.button.outline {
  background: transparent;
  color: #fff;
}

.button:hover {
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Download */

.download-section {
  align-items: start;
  display: grid;
  gap: clamp(28px, 6vw, 80px);
  grid-template-columns: 0.9fr 1.1fr;
}

.download-list {
  display: grid;
  gap: 12px;
}

.download-list a {
  background: var(--panel);
  border: 1px solid var(--line);
  display: block;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 24px;
  text-transform: uppercase;
  transition: transform 200ms ease;
}

.download-list a:hover {
  transform: translateY(-3px);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.85rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  overflow: hidden;
  padding: 28px clamp(20px, 4vw, 36px) 44px;
  position: relative;
}

.footer-logo-bg {
  background: url("assets/aemblck-logo-color.png") no-repeat;
  background-position: right -18% bottom -60%;
  background-size: 260px auto;
  bottom: 0;
  filter: grayscale(1);
  opacity: 0.06;
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
}

.site-footer span {
  position: relative;
}

/* Reveal-on-scroll */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}

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

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

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-header {
    grid-template-columns: auto auto 1fr auto;
  }

  .nav-wrap {
    background: color-mix(in srgb, var(--bg) 98%, transparent);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 8px;
    grid-column: 1 / -1;
    inset: var(--header) 0 auto 0;
    padding: 14px 20px 24px;
    position: fixed;
    transform: translateY(-130%);
    transition: transform 200ms ease;
    width: 100%;
  }

  .site-header[data-open="true"] .nav-wrap {
    transform: translateY(0);
  }

  .site-nav {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    padding: 14px 0;
  }

  .nav-wrap .theme-toggle {
    justify-self: start;
    margin-top: 8px;
  }

  .event-item,
  .media-grid,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero-bg::before {
    background-position: right -62vw top 148px;
    background-size: auto 72svh;
    opacity: 0.5;
  }

  .hero-logo-bg {
    background-position: center bottom -8%;
    background-size: 130% auto;
  }

  .media-card:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .reference-list {
    columns: 1;
  }

  .site-footer {
    display: grid;
    gap: 12px;
  }
}

/* Legal pages */

.site-header.simple {
  grid-template-columns: auto 1fr auto;
}

.site-header.simple .site-nav {
  display: flex;
  justify-self: center;
}

.legal-section {
  padding-top: calc(var(--header) + 60px);
}

.legal-section h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 32px;
}

.legal-content {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 760px;
}

.legal-content a {
  text-decoration: underline;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin: 40px 0 12px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-attribution {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.78rem;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 16px;
}
