:root {
  --ink: #101010;
  --paper: #fff35a;
  --paper-strong: #fff3fb;
  --line: #101010;
  --muted: #3d2f36;
  --yellow: #fff35a;
  --acid: #f7ff3d;
  --pink: #b52a58;
  --hot-pink: #ff2f9a;
  --lilac: #decfff;
  --fur: #c9862e;
  --fur-light: #f6d990;
  --green: #1fd2a4;
  --blue: #2478ff;
  --shadow: 0 18px 42px rgba(16, 16, 16, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px 28px;
  background-color: rgba(181, 42, 88, 0.92);
  border-bottom: 2px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper-strong);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  min-width: 0;
}

.brand span:last-child {
  overflow-wrap: anywhere;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 36px;
  background-color: var(--fur-light);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--acid);
  color: var(--ink);
  font-size: 0.82rem;
}

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

.site-nav a {
  padding: 9px 12px;
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--paper-strong);
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--acid);
  border-color: var(--line);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  padding: 9px 12px;
  background: var(--acid);
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 76vh;
  padding: 96px 28px 72px;
  overflow: hidden;
  background-color: var(--yellow);
  background-position: center;
  background-size: cover;
  border-bottom: 2px solid var(--line);
}

.hero-home {
  background-image: url("img/rause-soundsystem.jpg");
  background-position: center 46%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.32);
}

.hero-overlay::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  height: 100%;
  background-color: rgba(181, 42, 88, 0.64);
  content: "";
}

.hero-content {
  position: relative;
  width: min(780px, 100%);
  color: var(--paper-strong);
  text-shadow: 3px 3px 0 var(--ink);
}

.hero h1,
.page-hero h1,
.section h2,
.split-image-section h2,
.contact-aside h2 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  line-height: 1;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 9ch;
  color: var(--acid);
  font-size: 5.4rem;
  text-shadow: 5px 5px 0 var(--ink), 9px 9px 0 var(--pink);
}

.lead {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--hot-pink);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  padding: 4px 8px;
  background: var(--pink);
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--acid);
}

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

.hero-actions .button {
  text-shadow: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--pink);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--pink);
}

.button-primary {
  background: var(--acid);
}

.button-secondary {
  background: var(--lilac);
}

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

.intro-grid {
  margin-top: 56px;
  padding: 34px;
  background: var(--paper-strong);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 9px 9px 0 var(--pink);
}

.intro-grid,
.collective-band,
.tech-notes {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.intro-grid h2,
.collective-band h2,
.tech-notes h2,
.cta-panel h2 {
  font-size: 3rem;
}

.intro-copy p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.intro-copy p + p {
  margin-top: 18px;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: var(--ink);
}

.photo-strip img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-right: 2px solid var(--line);
  filter: saturate(1.24) contrast(1.06);
}

.photo-strip img:last-child {
  border-right: 0;
}

.collective-band {
  width: min(1120px, calc(100% - 40px));
  margin-top: 72px;
  margin-bottom: 72px;
  padding: 34px;
  background-color: var(--pink);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.collective-band .eyebrow {
  color: var(--acid);
}

.collective-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.link-tile {
  display: grid;
  gap: 10px;
  min-height: 140px;
  padding: 20px;
  background-color: var(--lilac);
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.link-tile span {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.link-tile strong {
  align-self: end;
  color: var(--pink);
}

.cta-panel {
  margin-bottom: 72px;
  padding: 48px;
  background-color: var(--acid);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cta-panel p:not(.eyebrow) {
  max-width: 670px;
  margin: 18px 0 28px;
  font-size: 1.12rem;
  font-weight: 700;
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: end;
  padding: 96px 28px 64px;
  overflow: hidden;
  background: var(--paper-strong);
  border-bottom: 2px solid var(--line);
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 820px;
  font-size: 4.1rem;
}

.page-hero p:not(.eyebrow) {
  margin: 0;
  font-weight: 700;
}

.technical-hero {
  --hero-band: var(--acid);
}

.agenda-hero {
  --hero-band: var(--pink);
}

.contact-hero {
  --hero-band: var(--lilac);
}

.photos-hero {
  --hero-band: var(--green);
}

.technical-hero::after,
.agenda-hero::after,
.contact-hero::after,
.photos-hero::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background-color: var(--hero-band);
  content: "";
}

.spec-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.spec-card {
  min-height: 280px;
  padding: 24px;
  background-color: var(--paper-strong);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 7px 7px 0 var(--acid);
}

.spec-card:nth-child(2) {
  box-shadow: 7px 7px 0 var(--pink);
}

.spec-card:nth-child(3) {
  box-shadow: 7px 7px 0 var(--lilac);
}

.spec-card:nth-child(4) {
  box-shadow: 7px 7px 0 var(--green);
}

.spec-count {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 32px;
  background-color: var(--ink);
  border-radius: 8px;
  color: var(--paper-strong);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.spec-card h2 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.spec-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.source-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.detail-section {
  padding-top: 0;
}

.system-stack {
  display: grid;
  gap: 16px;
}

.system-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  background-color: var(--paper-strong);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 7px 7px 0 var(--lilac);
}

.system-card:nth-child(2) {
  box-shadow: 7px 7px 0 var(--pink);
}

.system-card:nth-child(3) {
  box-shadow: 7px 7px 0 var(--acid);
}

.system-card h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.6rem;
  line-height: 1.1;
}

.system-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.system-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.system-card-head > div {
  display: grid;
  gap: 14px;
}

.response-chart {
  flex: 0 0 220px;
  width: 220px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 8px;
}

.chart-grid {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  opacity: 0.3;
}

.chart-axis {
  stroke: var(--line);
  stroke-width: 2;
}

.chart-curve {
  fill: var(--acid);
  stroke: var(--line);
  stroke-width: 2;
  stroke-linejoin: round;
}

.system-card:nth-child(2) .chart-curve {
  fill: var(--pink);
}

.system-card:nth-child(3) .chart-curve {
  fill: var(--lilac);
}

.system-card:nth-child(4) .chart-curve {
  fill: var(--green);
}

.chart-label {
  fill: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-anchor: middle;
}

.spec-detail,
.source-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-detail li,
.source-list li {
  padding: 12px 14px;
  background: var(--lilac);
  border: 2px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.source-section {
  padding-top: 0;
}

.source-section h2 {
  margin-bottom: 24px;
  font-size: 3rem;
}

.source-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-list a {
  overflow-wrap: anywhere;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 16px;
  background: var(--paper-strong);
  border: 2px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.split-image-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 80px;
}

.split-image-section img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--acid), 14px 14px 0 var(--pink);
}

.split-image-section h2 {
  font-size: 3rem;
}

.split-image-section p:not(.eyebrow) {
  margin: 18px 0 28px;
  color: var(--muted);
  font-weight: 700;
}

.section-heading {
  margin-bottom: 24px;
}

.empty-state {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 36px;
  background-color: var(--paper-strong);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--pink);
}

.empty-dot {
  width: 28px;
  height: 28px;
  background: var(--acid);
  border: 2px solid var(--line);
  border-radius: 50%;
}

.empty-state h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2.1rem;
}

.empty-state p {
  max-width: 620px;
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 700;
}

.event-row {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background-color: var(--acid);
  border: 2px dashed var(--line);
  border-radius: 8px;
}

.event-row time,
.event-row a {
  font-weight: 800;
}

.event-row h3,
.event-row p {
  margin: 0;
}

.event-row p {
  color: var(--muted);
  font-weight: 700;
}

.event-list {
  display: grid;
  gap: 16px;
}

.event-row.is-past {
  background-color: var(--lilac);
  border-style: solid;
}

.event-tag {
  display: inline-flex;
  margin-top: 8px;
  padding: 3px 8px;
  background: var(--pink);
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-note {
  font-size: 0.92rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-item {
  display: block;
  overflow: hidden;
  background: var(--paper-strong);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 7px 7px 0 var(--acid);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.gallery-grid li:nth-child(3n + 2) .gallery-item {
  box-shadow: 7px 7px 0 var(--pink);
}

.gallery-grid li:nth-child(3n) .gallery-item {
  box-shadow: 7px 7px 0 var(--lilac);
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 2px;
}

.gallery-item figure {
  margin: 0;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.24) contrast(1.06);
}

.gallery-item figcaption {
  padding: 10px 14px;
  border-top: 2px solid var(--line);
  font-size: 0.92rem;
  font-weight: 700;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 24px;
  background: rgba(16, 16, 16, 0.88);
}

.lightbox figure {
  display: grid;
  justify-items: center;
  margin: 0;
}

.lightbox img {
  max-width: min(1000px, 100%);
  max-height: 76vh;
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--acid), 14px 14px 0 var(--pink);
}

.lightbox figcaption {
  margin-top: 22px;
  color: var(--paper-strong);
  font-weight: 700;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 12px;
  background: var(--acid);
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

body.no-scroll {
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  width: min(1120px, calc(100% - 40px));
  margin: 72px auto;
  align-items: start;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  background-color: var(--paper-strong);
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--pink);
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field-group label {
  font-weight: 800;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  background: var(--lilac);
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
}

.field-group textarea {
  resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: 3px solid var(--acid);
  outline-offset: 2px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-aside {
  display: grid;
  gap: 20px;
}

.contact-aside img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--acid), 14px 14px 0 var(--pink);
}

.contact-aside h2 {
  font-size: 2.4rem;
}

.contact-aside p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-weight: 700;
}

.contact-aside a {
  font-weight: 800;
}

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

.social-stack a {
  display: block;
  padding: 14px;
  background-color: var(--acid);
  border: 2px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px;
  background-color: var(--ink);
  color: var(--acid);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: 1fr;
    padding: 14px;
    background: var(--paper-strong);
    border: 2px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

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

  .hero h1 {
    font-size: 4rem;
  }

  .page-hero,
  .intro-grid,
  .collective-band,
  .tech-notes,
  .split-image-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .technical-hero,
  .agenda-hero,
  .contact-hero,
  .photos-hero {
    background: var(--paper);
  }

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

  .page-hero h1 {
    font-size: 3.2rem;
  }

  .photo-strip,
  .collective-links,
  .source-list {
    grid-template-columns: 1fr;
  }

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

  .photo-strip img {
    height: 280px;
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .photo-strip img:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    min-width: 40px;
  }

  .hero {
    min-height: 74vh;
    padding: 76px 20px 54px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .lead {
    font-size: 1.08rem;
  }

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

  .section,
  .collective-band,
  .split-image-section,
  .contact-layout {
    width: min(100% - 28px, 1120px);
  }

  .intro-grid h2,
  .collective-band h2,
  .tech-notes h2,
  .cta-panel h2,
  .split-image-section h2 {
    font-size: 2.3rem;
  }

  .collective-band,
  .cta-panel,
  .empty-state,
  .quote-form {
    padding: 22px;
  }

  .page-hero {
    padding: 76px 20px 48px;
  }

  .page-hero h1 {
    font-size: 2.45rem;
  }

  .spec-card {
    min-height: 230px;
  }

  .spec-layout {
    grid-template-columns: 1fr;
  }

  .event-row,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .event-row a {
    justify-self: start;
  }

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

  .lightbox {
    padding: 18px;
  }

  .lightbox img {
    max-height: 62vh;
  }

  .lightbox-prev,
  .lightbox-next {
    position: static;
    transform: none;
  }

  .lightbox-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
  }

  .field-full {
    grid-column: auto;
  }

  .system-card-head {
    flex-direction: column;
  }

  .response-chart {
    flex-basis: auto;
    width: 100%;
  }
}

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