:root {
  --ink: #171513;
  --muted: #6f675f;
  --paper: #f5f0e7;
  --panel: #fffaf1;
  --night: #17202a;
  --wine: #7b2441;
  --copper: #c27a37;
  --aqua: #2f8f8a;
  --line: rgba(23, 21, 19, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(47, 143, 138, 0.16), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(194, 122, 55, 0.14), transparent 30rem),
    var(--paper);
  color: var(--ink);
}

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

.ambient-layer,
.grain-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ambient-layer {
  opacity: 0.48;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 48%, transparent 54%),
    radial-gradient(circle at 18% 22%, rgba(47, 143, 138, 0.2), transparent 24rem),
    radial-gradient(circle at 82% 74%, rgba(123, 36, 65, 0.12), transparent 22rem);
  mix-blend-mode: soft-light;
  animation: ambientShift 13s ease-in-out infinite alternate;
}

.grain-layer {
  z-index: 2;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(10, 13, 18, 0.72), rgba(10, 13, 18, 0.08));
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  color: #ffe2b9;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  box-shadow: 0 0 28px rgba(194, 122, 55, 0.24);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 14px;
  font-weight: 650;
}

nav a {
  position: relative;
  opacity: 0.86;
  transition: opacity 180ms ease;
}

nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  content: "";
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

nav a:hover {
  opacity: 1;
}

nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/oniriq-hero-v1.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 13, 18, 0.82), rgba(10, 13, 18, 0.42) 42%, rgba(10, 13, 18, 0.08)),
    linear-gradient(0deg, rgba(23, 21, 19, 0.66), rgba(23, 21, 19, 0.03) 52%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 6vw, 88px) 13vh;
  color: #fff;
}

.hero-content::before {
  display: block;
  width: 76px;
  height: 1px;
  margin-bottom: 24px;
  content: "";
  background: linear-gradient(90deg, var(--copper), transparent);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 11vw, 142px);
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.44);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.4vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-line {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(21px, 2.2vw, 32px);
  line-height: 1.28;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-signals span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--copper);
  color: #150f0a;
  box-shadow: 0 16px 34px rgba(194, 122, 55, 0.22);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.intro-band,
.section,
.contact-band {
  padding: clamp(56px, 8vw, 118px) clamp(18px, 5vw, 72px);
}

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

.intro-grid p {
  min-height: 168px;
  margin: 0;
  padding: clamp(24px, 4vw, 46px);
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.25;
  font-weight: 720;
  transition: background 180ms ease, transform 180ms ease;
}

.intro-grid p:hover {
  background: #fff6e8;
  transform: translateY(-2px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 8vw, 108px);
  align-items: start;
}

.section > .split > div:first-child p {
  max-width: 590px;
}

.event-list,
.venue-grid {
  display: grid;
  gap: 14px;
}

.event-card,
.venue-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.event-card::before,
.venue-grid article::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(194, 122, 55, 0.16), transparent 38%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.event-card > *,
.venue-grid article > * {
  position: relative;
}

.event-card:hover,
.venue-grid article:hover {
  border-color: rgba(194, 122, 55, 0.44);
  box-shadow: 0 18px 46px rgba(23, 21, 19, 0.1);
  transform: translateY(-3px);
}

.event-card:hover::before,
.venue-grid article:hover::before {
  opacity: 1;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(123, 36, 65, 0.08);
}

.day-night {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.format-panel {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding: clamp(36px, 6vw, 84px);
}

.format-panel::after {
  position: absolute;
  inset: auto -20% -35% 20%;
  height: 220px;
  content: "";
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 64%);
  transform: rotate(-8deg);
}

.format-panel span {
  display: block;
  margin-bottom: 76px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.format-panel p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
}

.format-panel h2 {
  color: #fff;
}

.format-panel.day {
  background: var(--aqua);
}

.format-panel.night {
  background: var(--night);
}

.dark {
  background: #141312;
  color: #fff;
}

.dark p,
.dark li {
  color: rgba(255, 255, 255, 0.74);
}

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

.signal-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0 0 16px;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 720;
}

.venue-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #241d18;
  color: #fff;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.055) translate3d(-1.4%, -0.8%, 0);
  }
}

@keyframes ambientShift {
  from {
    transform: translate3d(-1%, -1%, 0);
  }

  to {
    transform: translate3d(1.5%, 1%, 0);
  }
}

.contact-band h2 {
  max-width: 780px;
  margin: 0;
}

.contact-band .button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
    padding: 14px 18px;
  }

  nav {
    gap: 10px;
    font-size: 12px;
  }

  .grain-layer {
    opacity: 0.12;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 13, 18, 0.82), rgba(10, 13, 18, 0.36)),
      linear-gradient(0deg, rgba(23, 21, 19, 0.74), rgba(23, 21, 19, 0.06) 58%);
  }

  .hero-content {
    margin-bottom: 9vh;
  }

  .intro-grid,
  .split,
  .day-night,
  .venue-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid p {
    min-height: auto;
  }

  .format-panel {
    min-height: 360px;
  }

  .format-panel span {
    margin-bottom: 46px;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

@media (max-width: 560px) {
  .brand span:last-child {
    display: none;
  }

  nav a {
    padding: 8px 0;
  }

  h1 {
    font-size: 68px;
  }

  .hero-line {
    font-size: 21px;
  }

  .button {
    width: 100%;
  }
}
