/* Doof Techno. Dark only: the brand lives in green light on black. */
/* Self-hosted fonts (Latin subsets from Google Fonts, plus the client's own Doof Techno) */
@font-face {
  font-family: "Inter";
  src: url("/font/Inter-Variable-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Michroma";
  src: url("/font/Michroma-Regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Russo One";
  src: url("/font/RussoOne-Regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Doof Techno";
  src: url("/font/DoofTechno-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0f0c;
  --ink-2: #111813;
  --ink-3: #18221b;
  --forest: #1e3b2c;
  --moss: #2f5d45;
  --acid: #3ddc5a;
  --acid-dim: rgba(61, 220, 90, .28);
  --bone: #e9ece6;
  --mute: #a3b3a7;
  --display: "Russo One", "Bahnschrift", system-ui, sans-serif;
  --label: "Michroma", "Bahnschrift", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 1rem/1.65 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acid); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--bone); }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 400 .72rem/1.4 var(--label); letter-spacing: .28em; text-transform: uppercase; color: var(--acid); margin: 0 0 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.35em; border-radius: 2px; background: var(--acid); color: var(--ink); font: 400 .74rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--acid); transition: background .2s, color .2s, box-shadow .2s; }
.btn:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); box-shadow: 0 0 24px var(--acid-dim); }
.btn svg { width: 1.2em; height: 1.2em; }
.btn--ghost { background: rgba(11, 15, 12, .55); color: var(--bone); border-color: rgba(233, 236, 230, .35); }
.btn--ghost:hover { background: var(--ink); color: var(--acid); border-color: var(--acid); }
.btn--small { padding: .65em 1em; font-size: .64rem; }

/* Top bar */
.topbar { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 1.25rem; padding: 10px var(--gutter); background: rgba(11, 15, 12, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(61, 220, 90, .14); }
.topbar__logo img { width: 34px; }
.topbar__links { display: flex; gap: 1.4rem; margin-right: auto; overflow-x: auto; scrollbar-width: none; }
.topbar__links::-webkit-scrollbar { display: none; }
.topbar__links a { font: 400 .62rem/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); text-decoration: none; white-space: nowrap; padding: 6px 0; }
.topbar__links a:hover, .topbar__links a.is-active { color: var(--acid); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: 96px var(--gutter) 0; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 15, 12, .92) 0%, rgba(11, 15, 12, .66) 55%, rgba(11, 15, 12, .35) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 35%); }
.hero__inner { align-self: center; width: min(1240px, 100%); margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__logo { width: clamp(130px, 19vw, 250px); filter: drop-shadow(0 0 30px rgba(61, 220, 90, .25)); }
.hero h1 { font-family: "Doof Techno", var(--display); letter-spacing: .02em; font-size: clamp(2.8rem, 8.5vw, 7rem); text-transform: uppercase; line-height: .92; margin-bottom: 1.25rem; }
.hero__lead { font-size: clamp(1.05rem, 1.8vw, 1.35rem); max-width: 34em; color: var(--bone); }
.hero__rule { font: 400 clamp(.8rem, 1.3vw, 1rem)/1.4 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--acid); text-shadow: 0 0 18px rgba(61, 220, 90, .55); margin: 1.4rem 0 1.8rem; }
.hero__cta, .foot__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.stats { list-style: none; margin: 48px auto 0; padding: 22px 0 30px; width: min(1240px, 100%); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid rgba(61, 220, 90, .25); }
.stats li { font: 400 .62rem/1.5 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.stats b { display: block; font: 400 clamp(1.8rem, 4vw, 3rem)/1 var(--display); color: var(--acid); letter-spacing: 0; margin-bottom: 6px; }

@media (max-width: 760px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__logo { width: 110px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* Section shells: a laser line marks every boundary */
main > section { position: relative; padding: clamp(72px, 10vw, 130px) 0; }
main > section::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--acid) 30%, var(--acid) 70%, transparent); box-shadow: 0 0 12px var(--acid); opacity: .55; }
.sec-head { max-width: 50rem; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
.sec-head__sub { color: var(--mute); font-size: 1.05rem; margin-top: 1.1rem; max-width: 42em; }

/* The feel */
.feel { background: linear-gradient(180deg, rgba(11, 15, 12, .9), rgba(11, 15, 12, .78) 40%, rgba(11, 15, 12, .95)), url("/img/bg/ferns.webp") center / cover fixed; }
.feel__row { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: clamp(56px, 8vw, 100px); }
.feel__row--flip { grid-template-columns: 1.15fr 1fr; }
.feel__row--flip .prose { order: 2; }
.prose p { font-size: clamp(1.06rem, 1.45vw, 1.24rem); line-height: 1.8; color: #dfe5de; }
.prose em { color: var(--acid); font-style: normal; }
.feel__pair { position: relative; padding-bottom: 4%; }
.feel__pair .ph:first-child { width: 86%; }
.feel__pair .ph:nth-child(2) { width: 58%; margin: -22% 0 0 auto; box-shadow: 0 18px 50px rgba(0, 0, 0, .7), 0 0 0 6px var(--ink); }
.feel__row--flip .feel__pair .ph:first-child { margin-left: auto; }
.feel__row--flip .feel__pair .ph:nth-child(2) { margin: -22% auto 0 0; }
.feel__strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) {
  .feel { background-attachment: scroll; }
  .feel__row, .feel__row--flip { grid-template-columns: 1fr; }
  .feel__row--flip .prose { order: 0; }
}

/* Photo buttons (lightbox triggers) */
.ph { display: block; width: 100%; padding: 0; border: 0; background: var(--ink-2); cursor: zoom-in; position: relative; overflow: hidden; border-radius: 3px; }
.ph img { width: 100%; transition: transform .6s ease, filter .3s; }
.ph:hover img { transform: scale(1.035); filter: brightness(1.08); }
.ph::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(61, 220, 90, .18); pointer-events: none; border-radius: 3px; }

/* Ethos */
.ethos { background: var(--ink-2); }
.tenets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tenet { padding: clamp(22px, 3vw, 34px); background: var(--ink-3); border-left: 3px solid var(--acid); }
.tenet h3 { font-size: 1.35rem; margin-bottom: .8rem; }
.tenet p { color: #cbd5cd; margin: 0; }
.tenet--big { grid-column: 1 / -1; background: linear-gradient(120deg, rgba(30, 59, 44, .95), rgba(17, 24, 19, .95)), url("/img/bg/weave.webp") center / cover; }
.tenet--big h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--acid); }
.tenet blockquote { margin: 0 0 1.2rem; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.55; color: var(--bone); max-width: 48em; }
@media (max-width: 700px) { .tenets { grid-template-columns: 1fr; } }

/* Story */
.chapters { position: sticky; top: 56px; z-index: 5; display: flex; gap: 8px; margin: 0 0 40px; padding: 10px 0; background: linear-gradient(var(--ink) 70%, transparent); }
.chapters a { font: 400 .64rem/1 var(--label); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--bone); padding: .8em 1.1em; border: 1px solid rgba(233, 236, 230, .25); border-radius: 99px; white-space: nowrap; }
.chapters a:hover, .chapters a.is-active { border-color: var(--acid); color: var(--acid); }
.chapter + .chapter { margin-top: clamp(64px, 8vw, 100px); }
.chapter__head { margin-bottom: 28px; }
.chapter__head h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.chapter__head p:last-child { color: var(--mute); margin: .4rem 0 0; }
.night { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(20px, 4vw, 48px); padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid rgba(233, 236, 230, .1); }
.night__poster { align-self: start; }
.night__date { font: 400 .66rem/1.6 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: .7rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tag { color: var(--ink); background: var(--acid); padding: .3em .7em; border-radius: 2px; letter-spacing: .12em; }
.night__title { font-size: clamp(1.45rem, 2.6vw, 2rem); margin-bottom: 1rem; }
.night__title span { display: block; color: var(--acid); font-size: .62em; margin-top: .35rem; }
.night__body > p { color: #d3dcd4; max-width: 44em; }
.lineup { list-style: none; padding: 0; margin: 0 0 1.1rem; display: flex; flex-wrap: wrap; gap: 8px; }
.lineup li { padding: .45em .8em; background: var(--ink-3); border: 1px solid rgba(233, 236, 230, .1); border-radius: 2px; font-size: .95rem; }
.lineup li.guest { border-color: var(--acid); background: rgba(61, 220, 90, .08); }
.lineup small { color: var(--mute); font-size: .78em; }
.night__links { font: 400 .62rem/1.8 var(--label); letter-spacing: .12em; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.night__photo { max-width: 420px; margin-top: 1.2rem; }
a.dj { color: var(--bone); text-decoration: underline; text-decoration-color: var(--acid-dim); text-underline-offset: 4px; }
a.dj:hover { color: var(--acid); text-decoration-color: var(--acid); }
@media (max-width: 760px) { .night { grid-template-columns: 1fr; } }

/* Tribe */
.tribe { background: radial-gradient(ellipse at 20% 0%, rgba(47, 93, 69, .45), transparent 60%), var(--ink); }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; padding: 22px 22px 18px; background: var(--ink-2); border: 1px solid rgba(233, 236, 230, .09); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); transition: border-color .2s, background .2s; }
.card:hover { border-color: var(--acid-dim); background: var(--ink-3); }
.card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.card p { color: #c5cfc7; font-size: .93rem; }
.card__sets { font: 400 .58rem/1.4 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: .7rem; }
.card__sets b { font: 400 1.5rem/1 var(--display); color: var(--acid); letter-spacing: 0; margin-right: 4px; vertical-align: -2px; }
.card__aka { font-size: .85rem; margin-top: -.2rem; }
.card--founder { grid-column: span 2; background: linear-gradient(135deg, var(--forest), var(--ink-2)); }
@media (max-width: 600px) { .card--founder { grid-column: auto; } }
.socs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: .4rem; }
.soc { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(233, 236, 230, .2); color: var(--bone); transition: color .2s, border-color .2s, background .2s; }
.soc svg { width: 17px; height: 17px; }
.soc:hover { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.soc--mm { color: var(--acid); border-color: var(--acid-dim); }

/* Guests */
.guests { background: linear-gradient(180deg, rgba(11, 15, 12, .94), rgba(11, 15, 12, .86)), url("/img/bg/weave.webp") center / cover; }
.guestcards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.guestcard { display: flex; flex-direction: column; padding: 26px; background: rgba(17, 24, 19, .88); border-top: 3px solid var(--acid); }
.guestcard h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .35rem; }
.guestcard__when { font: 400 .6rem/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--acid); margin-bottom: .9rem; }
.guestcard__from { font: 400 .62rem/1.6 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 1rem; }
.guestcard p:not([class]) { color: #cdd7cf; font-size: .96rem; }

/* Gallery */
.gal { columns: 4 260px; column-gap: 12px; }
.gal .ph { margin-bottom: 12px; break-inside: avoid; }
@media (max-width: 560px) { .gal { columns: 2; column-gap: 8px; } .gal .ph { margin-bottom: 8px; } }

/* Footer */
.foot { position: relative; padding: clamp(56px, 8vw, 96px) 0 32px; background: linear-gradient(180deg, var(--ink), #07120b); }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--acid); box-shadow: 0 0 14px var(--acid); opacity: .6; }
.foot__grid { display: grid; grid-template-columns: auto 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.foot__logo { width: 120px; }
.foot h2 { font-size: 1.4rem; margin-bottom: .8rem; }
.foot p { color: #c9d3cb; }
.foot__small { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(233, 236, 230, .1); font-size: .82rem; color: var(--mute); }
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr; } .foot__logo { width: 90px; } }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 8, 6, .96); color: var(--bone); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lightbox figure { margin: 0; padding: 56px 64px 20px; display: grid; justify-items: center; gap: 12px; }
.lightbox img { max-width: min(92vw, 1600px); max-height: calc(100vh - 130px); width: auto; height: auto; }
.lightbox figcaption { font-size: .92rem; color: var(--mute); text-align: center; max-width: 60ch; }
.lightbox__close { position: absolute; top: 10px; right: 14px; width: 44px; height: 44px; font-size: 2rem; line-height: 1; background: none; border: 0; color: var(--bone); cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 72px; font-size: 2.6rem; background: rgba(11, 15, 12, .5); border: 0; color: var(--bone); cursor: pointer; }
.lightbox__nav:hover, .lightbox__close:hover { color: var(--acid); }
.lightbox__prev { left: 6px; }
.lightbox__next { right: 6px; }
@media (max-width: 600px) { .lightbox figure { padding: 56px 8px 16px; } .lightbox__nav { top: auto; bottom: 8px; transform: none; } }

/* Reveal on scroll (hidden state only applies when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ph img { transition: none; }
}
