/* ============================================================
   Chris Haynes Lighting — dark stage theme
   ============================================================ */

:root {
  --bg: #0a0a0f;
  --bg-raised: #101018;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ecebf2;
  --muted: #9d9cae;
  --amber: #ffb14d;          /* tungsten key light */
  --amber-soft: rgba(255, 177, 77, 0.14);
  --blue: #5d7bff;
  --violet: #a86bff;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.accent { color: var(--amber); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--line);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-cta:hover {
  border-color: var(--amber);
  background: var(--amber-soft);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* Hero photo backdrop */
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: hero-zoom 24s ease-out both;
}
@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 10, 15, 0.55), rgba(10, 10, 15, 0.25) 35%, rgba(10, 10, 15, 0.45) 100%),
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(10, 10, 15, 0.35), transparent 70%);
}
.stage-floor {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34%;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 20%, transparent);
}

.hero-content {
  position: relative;
  padding: 6rem 1.5rem 4rem;
  max-width: 60rem;
}
.hero-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.4rem;
}
.hero-title {
  font-size: clamp(3.4rem, 12vw, 8.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 60px rgba(255, 177, 77, 0.25),
    0 0 140px rgba(93, 123, 255, 0.18);
}
.hero-sub {
  margin: 1.6rem auto 0;
  max-width: 34rem;
  color: var(--muted);
}
.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn-solid {
  background: var(--amber);
  color: #17110a;
  box-shadow: 0 0 32px rgba(255, 177, 77, 0.35);
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(255, 177, 77, 0.5);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--amber);
  background: var(--amber-soft);
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--muted);
  border-radius: 14px;
  opacity: 0.65;
}
.scroll-cue span {
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--amber);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%   { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 78rem;
  margin: 0 auto;
}
.section-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.8rem;
}
.section-head { margin-bottom: 2.8rem; }
.section h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
}

/* ---------- Work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.work-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 177, 77, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.work-media {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  position: relative;
}
.media-note {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work-card:hover .work-media img { transform: scale(1.04); }

.work-info { padding: 1.1rem 1.25rem 1.3rem; }
.work-info h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.25rem; }
.work-info p  { font-size: 0.9rem; color: var(--muted); }

a.work-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.gallery-hint {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.work-card:hover .gallery-hint { opacity: 1; }

/* ---------- Tour pages ---------- */
.tour-main { padding-top: 5.5rem; }
.tour-layout {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  max-width: 78rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}
.tour-info {
  position: sticky;
  top: 6rem;
}
.tour-info h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.02;
  margin-top: 0.3rem;
}
.tour-year {
  color: var(--muted);
  margin-top: 0.7rem;
  font-size: 0.95rem;
}
.tour-credits {
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.credit {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.credit span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.tour-blurb {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.tour-back {
  margin-top: 1.8rem;
  display: inline-block;
}
.tour-photos {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-width: 0;
}
.tour-photos img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* EDM collage page */
.collage {
  columns: 2 300px;
  column-gap: 1.1rem;
  min-width: 0;
}
.collage img {
  display: block;
  width: 100%;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  break-inside: avoid;
}
.tour-festival-list {
  margin-top: 1.5rem;
}
.tour-festival-list li {
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
}

.more-work {
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
}
.more-work-inner {
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem);
}
.more-work .section-kicker { margin-bottom: 1.6rem; }

@media (max-width: 860px) {
  .tour-layout { grid-template-columns: 1fr; }
  .tour-info { position: static; }
}

/* ---------- Festivals ---------- */
.festivals {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}
.festivals-head h3 {
  font-size: 1.5rem;
  font-weight: 700;
}
.festivals-head p {
  color: var(--muted);
  margin-top: 0.3rem;
}
.festival-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.festival-list li {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--bg-raised);
  border-radius: 999px;
  padding: 0.42rem 1rem;
  white-space: nowrap;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.festival-list li:hover {
  border-color: rgba(255, 177, 77, 0.45);
  background: var(--amber-soft);
}

/* Hover photo popover */
.chip-photo {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  width: 250px;
  transform: translateX(-50%) translateY(8px) rotate(-1.5deg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 30;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.festival-list li:hover .chip-photo {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) rotate(-1.5deg);
  transition-delay: 0s;
}
.chip-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(255, 177, 77, 0.08);
}
/* No popovers on touch devices */
@media (hover: none) {
  .chip-photo { display: none; }
}
.festival-list .festival-more {
  color: var(--muted);
  border-style: dashed;
  background: none;
}
.festival-more a {
  color: inherit;
  text-decoration: none;
}
.festival-list li:hover.festival-more,
.festival-more:hover {
  color: var(--amber);
  border-color: rgba(255, 177, 77, 0.5);
}
.festival-strip {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.festival-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* ---------- Plugin store ---------- */
.section-plugins { max-width: none; background: var(--bg-raised); border-block: 1px solid var(--line); }
.store-inner { max-width: 78rem; margin: 0 auto; }
.store-sub { color: var(--muted); margin-top: 0.8rem; max-width: 36rem; }

.product-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 177, 77, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.product-card p { color: var(--muted); font-size: 0.95rem; }
.product-body { flex: 1; }

.product-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.product-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
}
.product-buy .btn { padding: 0.6rem 1.4rem; }

/* Flagship card */
.product-featured {
  flex-direction: row;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  border-color: rgba(255, 177, 77, 0.4);
  box-shadow: 0 0 60px rgba(255, 177, 77, 0.07);
  margin-bottom: 1.4rem;
}
.product-featured .product-buy {
  border-top: none;
  border-left: 1px solid var(--line);
  padding-top: 0;
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  flex: none;
}
.product-featured .product-price { font-size: 2.2rem; }
.product-featured h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.product-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(255, 177, 77, 0.45);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.9rem;
}
.product-points {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
}
.product-points li {
  color: var(--text);
  font-size: 0.9rem;
  padding-left: 1.1rem;
  position: relative;
}
.product-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}

.plugins-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2rem;
  text-align: center;
}
.plugins-note a { color: var(--text); }

@media (max-width: 720px) {
  .product-featured { flex-direction: column; align-items: stretch; }
  .product-featured .product-buy {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 1.1rem;
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 115%, #2c2410, #12121c 75%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-copy h2 { margin-bottom: 1rem; }
.about-copy p  { color: var(--muted); max-width: 34rem; }
.about-copy p + p { margin-top: 1rem; }

/* ---------- Contact ---------- */
.section-contact { text-align: center; }
.contact-mail {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 3.2vw, 1.9rem);
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 0.2rem;
  transition: color 0.2s ease;
}
.contact-mail:hover { color: var(--amber); }
.contact-social { margin-top: 1.6rem; }
.contact-social a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}
.contact-social a:hover { color: var(--text); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .plugins-inner { grid-template-columns: 1fr; }
  .about-inner   { grid-template-columns: 1fr; }
  .about-media   { max-width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .scroll-cue span { animation: none; }
  .hero-bg img { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
