/* ============================================================
   OFF HOURS — core stylesheet
   Aesthetic: dark / underground. Acid-lime neon accent, poster
   type, film grain. Edit the variables below to retheme fast.
   ============================================================ */

:root {
  --bg:        #0a0a0a;
  --bg-2:      #111111;
  --surface:   #161616;
  --line:      #262626;
  --text:      #f4f4ef;
  --muted:     #8a8a82;
  --accent:    #d8d2c4;   /* soft bone, near monochrome, no colour pop */
  --accent-2:  #b0a294;   /* dim taupe, for the full / closed / error state */
  --maxw:      1180px;
  --pad:       clamp(20px, 5vw, 64px);
  --radius:    14px;
  --ease:      cubic-bezier(.16,1,.3,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #0a0a0a; }

/* ---------- film grain overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .055; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared layout ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 11vw, 140px) var(--pad); }
.section__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 48px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.section__index { font-family: "Anton", sans-serif; color: var(--accent); font-size: 1rem; letter-spacing: .1em; }
.section__title { font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(2.2rem, 7vw, 4.5rem); line-height: .95; text-transform: uppercase; letter-spacing: -.01em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 100px;
  font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: #0a0a0a; }
.btn--accent:hover { background: #ece7da; transform: translateY(-2px); box-shadow: 0 12px 34px -18px var(--accent); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad);
  background: rgba(10,10,10,.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { font-family: "Anton", sans-serif; font-size: 1.45rem; letter-spacing: .02em; }
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: .9rem; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { color: var(--accent) !important; border: 1px solid var(--accent); padding: 9px 18px; border-radius: 100px; }
.nav__cta:hover { background: var(--accent); color: #0a0a0a !important; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); transition: .3s var(--ease); }
.nav.open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; flex-direction: column;
  justify-content: center; padding: 40px var(--pad) 80px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(216,210,196,.055), transparent 60%),
    radial-gradient(90% 60% at -10% 110%, rgba(216,210,196,.035), transparent 55%);
}
.hero__marquee { position: absolute; top: 8%; left: 0; width: 100%; overflow: hidden; opacity: .045; pointer-events: none; }
.hero__marquee-track {
  display: inline-block; white-space: nowrap; font-family: "Anton", sans-serif;
  font-size: clamp(4rem, 14vw, 11rem); animation: marquee 28s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.hero__inner { position: relative; max-width: var(--maxw); width: 100%; margin: 0 auto; }
.hero__eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--line); padding: 7px 14px; border-radius: 100px; margin-bottom: 28px;
}
.hero__title {
  font-family: "Anton", sans-serif; font-weight: 400;
  font-size: clamp(3.4rem, 15vw, 10rem); line-height: .86;
  text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 26px;
}
.hero__title .accent { color: var(--accent); -webkit-text-stroke: 0; }
.hero__sub { max-width: 44ch; color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.25rem); margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__note { font-size: .85rem; color: var(--muted); letter-spacing: .02em; }
.hero__note::before { content: "● "; color: var(--accent); font-size: .7em; vertical-align: middle; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 1.4rem; color: var(--muted); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ---------- movement ---------- */
.movement__grid { display: grid; gap: 56px; }
.movement__lead { font-size: clamp(1.4rem, 3.6vw, 2.4rem); line-height: 1.25; max-width: 22ch; font-weight: 500; }
.movement__lead { color: var(--text); }
.movement__pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.pillar { border-top: 2px solid var(--accent); padding-top: 18px; }
.pillar h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: .98rem; }

/* ---------- events ---------- */
.events__loading { color: var(--muted); }
.events__list { display: grid; gap: 16px; }
.event {
  display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 28px;
  padding: 26px 30px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.event:hover { border-color: var(--accent); transform: translateY(-3px); }
.event--past { opacity: .45; }
.event--past:hover { border-color: var(--line); transform: none; }
.event__date { text-align: center; line-height: 1; }
.event__day { font-family: "Anton", sans-serif; font-size: 2.6rem; color: var(--accent); }
.event__mon { display: block; text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--muted); margin-top: 6px; }
.event__body h3 { font-size: 1.35rem; margin-bottom: 6px; }
.event__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.event__tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); border: 1px solid var(--line); border-radius: 100px; padding: 4px 10px; }
.event__meta { color: var(--muted); font-size: .92rem; }
.event__meta span { color: var(--text); }
.event__cta { text-align: right; }
.event__free { display: block; font-size: .72rem; color: var(--accent); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 10px; }
.event__sold { color: var(--accent-2); }
.events__empty { color: var(--muted); padding: 30px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- onboarding (single centered) ---------- */
.list { text-align: center; }
.list__title { font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(2.4rem, 8vw, 4.5rem); text-transform: uppercase; line-height: .95; letter-spacing: -.01em; margin-bottom: 12px; }
.list__note { color: var(--muted); margin-bottom: 32px; letter-spacing: .02em; }
.list .form { max-width: 460px; margin: 0 auto; text-align: left; }

/* ---------- list / forms ---------- */
.list__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.list__copy p { font-size: 1.2rem; margin-bottom: 24px; max-width: 38ch; }
.list__perks { list-style: none; display: grid; gap: 12px; }
.list__perks li { color: var(--muted); padding-left: 26px; position: relative; }
.list__perks li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); }
.form__row { display: grid; gap: 7px; }
.form__row label { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.form input, .form select {
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  padding: 13px 15px; border-radius: 10px; font-family: inherit; font-size: 1rem; transition: border-color .2s;
}
.form input:focus, .form select:focus { outline: none; border-color: var(--accent); }
.form input::placeholder { color: #555; }
.form__submit { margin-top: 6px; width: 100%; }
.form__status { font-size: .9rem; min-height: 1.2em; text-align: center; }
.form__status.is-ok { color: var(--accent); }
.form__status.is-err { color: var(--accent-2); }
.form.is-done { place-items: center; text-align: center; }

/* ---------- instagram funnel ---------- */
.insta { text-align: center; max-width: 760px; }
.insta__title { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1; margin-bottom: 18px; }
.insta__sub { color: var(--muted); margin-bottom: 30px; font-size: 1.1rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 50px var(--pad); display: grid; gap: 20px; place-items: center; text-align: center; }
.footer__brand { font-family: "Anton", sans-serif; font-size: 1.5rem; }
.footer__brand span { color: var(--accent); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.footer__links a:hover { color: var(--accent); }
.footer__fine { color: #555; font-size: .82rem; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 5vw, 40px); animation: pop .35s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__close { position: absolute; top: 14px; right: 16px; background: none; border: 0; color: var(--muted); font-size: 1.8rem; line-height: 1; }
.modal__close:hover { color: var(--text); }
.modal__eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; margin-bottom: 8px; }
.modal__title { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin-bottom: 8px; }
.modal__meta { color: var(--muted); margin-bottom: 22px; font-size: .95rem; }
.modal .form { background: transparent; border: 0; padding: 0; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 4px; align-items: stretch;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 16px var(--pad);
    transform: translateY(-130%); transition: transform .35s var(--ease); pointer-events: none;
  }
  .nav.open .nav__links { transform: none; pointer-events: auto; }
  .nav__links a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__cta { text-align: center; }
  .nav__burger { display: flex; }
  .list__grid { grid-template-columns: 1fr; gap: 32px; }
  .event { grid-template-columns: 76px 1fr; }
  .event__date { grid-row: span 2; }
  .event__cta { grid-column: 2; text-align: left; }
  .event__cta .btn { width: 100%; }
}
@media (max-width: 480px) {
  .event__day { font-size: 2rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
