/* ============================================================
   Temple 604, "Candlelit Cube" design system.
   Warm dark atmosphere, gold leaf, glass surfaces, music + art motion.
   No frameworks. Built 2026.
   ============================================================ */
:root {
  --bg: #0b0713;
  --ink: #0a0612;
  --ink-2: #150d22;
  --gold: #c9a84c;
  --gold-soft: #e7cd86;
  --gold-deep: #8a6f2e;
  --text: #f6f0e6;
  --muted: #b9adbf;
  --muted-2: #8b8094;
  --music: #b9b2f0;
  --arts: #f0b84e;
  --self: #6fd6b0;
  --event: #f0a6c6;
  --glass: linear-gradient(135deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.025) 55%, rgba(255,255,255,.05) 100%), linear-gradient(rgba(22,14,36,.48), rgba(22,14,36,.48));
  --glass-line: rgba(255,255,255,.12);
  --glass-shadow: 0 28px 70px rgba(0,0,0,.5);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 40px);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans);
  font-size: 17px; line-height: 1.68; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; font-feature-settings: "ss01";
}
h1,h2,h3,h4 { margin: 0; font-family: var(--serif); font-weight: 480; letter-spacing: -0.01em; text-wrap: balance; font-optical-sizing: auto; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
::selection { background: var(--gold); color: #1a0a05; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.eyebrow { font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); font-weight: 600; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .6; }
.section-head.center .eyebrow::before { display: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #1a0a05; padding: 10px 16px; z-index: 9999; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- atmosphere ---------- */
.atmos { position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background: radial-gradient(120% 90% at 78% -10%, #241238 0%, transparent 58%),
              radial-gradient(110% 100% at 8% 110%, #1a0b27 0%, transparent 55%),
              linear-gradient(180deg, #0c0717 0%, var(--ink) 100%); }
.orb { position: absolute; border-radius: 42% 58% 55% 45% / 52% 44% 56% 48%; opacity: .5; will-change: transform; }
.orb-1 { width: 52vw; height: 52vw; top: -20vw; right: -14vw; background: radial-gradient(circle at 40% 40%, rgba(201,168,76,.30), rgba(138,111,46,.10) 46%, transparent 76%); animation: drift1 28s var(--ease) infinite alternate; }
.orb-2 { width: 42vw; height: 42vw; bottom: -16vw; left: -12vw; background: radial-gradient(circle at 55% 45%, rgba(150,90,200,.22), transparent 75%); animation: drift2 34s var(--ease) infinite alternate; }
.orb-3 { width: 26vw; height: 26vw; top: 40%; left: 54%; background: radial-gradient(circle at 50% 50%, rgba(111,214,176,.12), transparent 75%); animation: drift3 24s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate3d(-6vw,7vw,0) rotate(26deg) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(8vw,-6vw,0) scale(1.18); } }
@keyframes drift3 { to { transform: translate3d(-10vw,12vh,0) scale(1.25); } }
.grain { position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain 3s steps(4) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-2%,3%)} 50%{transform:translate(3%,-2%)} 75%{transform:translate(-3%,-3%)} 100%{transform:translate(2%,2%)} }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); box-shadow: 0 0 12px rgba(201,168,76,.6); }
@supports (animation-timeline: scroll()) { .scroll-progress { animation: grow linear both; animation-timeline: scroll(root); } @keyframes grow { to { transform: scaleX(1); } } }

/* ---------- custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%; z-index: 9000; pointer-events: none;
  border: 1px solid rgba(201,168,76,.7); transform: translate(-50%,-50%); transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s; mix-blend-mode: screen; }
.cursor.hot { width: 56px; height: 56px; background: radial-gradient(circle, rgba(201,168,76,.22), transparent 70%); border-color: rgba(231,205,134,.9); }
.cursor-dot { position: fixed; top: 0; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-soft); z-index: 9001; pointer-events: none; transform: translate(-50%,-50%); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- intro preloader ---------- */
.intro-screen { position: fixed; inset: 0; z-index: 9500; background: var(--ink); display: grid; place-items: center; transition: clip-path .8s var(--ease-out), opacity .5s; clip-path: inset(0 0 0 0); }
.intro-screen.out { clip-path: inset(0 0 100% 0); opacity: 1; pointer-events: none; }
.intro-stage { text-align: center; }
.intro-mandala { width: 130px; height: 130px; margin: 0 auto 18px; }
.intro-mandala [data-draw] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.intro-word { font-family: var(--serif); font-size: 34px; color: var(--text); letter-spacing: .04em; opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease-out) .55s forwards; }
.intro-sub { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted-2); margin-top: 8px; opacity: 0; animation: fade .6s ease .9s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: .01em;
  padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 1px solid transparent; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s; }
.btn-gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #1a0a05; box-shadow: 0 8px 26px -8px rgba(201,168,76,.6); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(201,168,76,.8); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--glass-line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 15px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 300; display: flex; align-items: center; justify-content: space-between; padding: 18px 28px;
  transition: background .4s, backdrop-filter .4s, padding .4s, border-color .4s, transform .45s var(--ease), opacity .4s var(--ease); border-bottom: 1px solid transparent;
  transform: translateY(-100%); opacity: 0; pointer-events: none; }
.nav.show { transform: none; opacity: 1; pointer-events: auto; }
.nav.scrolled { background: rgba(10,6,18,.78); backdrop-filter: blur(16px); padding: 12px 28px; border-bottom-color: var(--glass-line); }
.brand { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { font-size: 14px; color: var(--muted); position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
.nav-links a:not(.btn):hover { color: var(--text); } .nav-links a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; position: relative; width: 30px; height: 22px; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1){top:2px} .nav-toggle span:nth-child(2){top:10px} .nav-toggle span:nth-child(3){top:18px}
.nav-toggle.open span:nth-child(1){transform:translateY(8px) rotate(45deg)} .nav-toggle.open span:nth-child(2){opacity:0} .nav-toggle.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
#field { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero .mandala { position: absolute; width: min(118vh, 980px); aspect-ratio: 1; left: 50%; top: 47%; opacity: .12; z-index: 0;
  translate: calc(-50% + var(--mpx, 0px)) calc(-50% + var(--mpy, 0px)); rotate: 0deg; animation: spin 100s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.hero-inner { position: relative; z-index: 2; padding: 0 24px; max-width: 940px; }
.hero h1 { font-size: clamp(54px, 13vw, 150px); line-height: .9; margin: 16px 0 18px; letter-spacing: -.02em; font-weight: 460;
  background: linear-gradient(180deg, #fff 8%, var(--gold-soft) 125%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .tag { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 3.4vw, 33px); margin: 0 0 10px; }
.hero .sub { color: var(--muted); max-width: 580px; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--muted-2); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint .ln { width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: drop 2s var(--ease) infinite; }
@keyframes drop { 0%{opacity:0;transform:scaleY(0);transform-origin:top} 50%{opacity:1;transform:scaleY(1)} 100%{opacity:0;transform:scaleY(1);transform-origin:bottom} }

/* intro-on-load rise for hero copy */
.rise > * { opacity: 0; transform: translateY(26px); animation: heroIn .9s var(--ease-out) forwards; }
.rise > *:nth-child(1){animation-delay:.1s} .rise > *:nth-child(2){animation-delay:.24s} .rise > *:nth-child(3){animation-delay:.38s} .rise > *:nth-child(4){animation-delay:.52s} .rise > *:nth-child(5){animation-delay:.66s}
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
section { position: relative; padding: clamp(72px, 11vw, 148px) 0; }
.section-head { max-width: 720px; margin: 0 0 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(36px, 6.4vw, 68px); line-height: 1.0; margin: 14px 0 0; }
.section-head p { color: var(--muted); margin: 16px 0 0; font-size: 18px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1{transition-delay:.07s} .reveal.d2{transition-delay:.14s} .reveal.d3{transition-delay:.21s} .reveal.d4{transition-delay:.28s} .reveal.d5{transition-delay:.35s}

/* ---------- equalizer accent (music) ---------- */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; }
.eq i { width: 3px; background: var(--gold); border-radius: 2px; height: 30%; animation: bounce 1.1s var(--ease) infinite; }
.eq i:nth-child(2){animation-delay:.15s} .eq i:nth-child(3){animation-delay:.3s} .eq i:nth-child(4){animation-delay:.45s} .eq i:nth-child(5){animation-delay:.2s} .eq i:nth-child(6){animation-delay:.5s} .eq i:nth-child(7){animation-delay:.1s}
@keyframes bounce { 0%,100%{height:25%} 50%{height:100%} }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tilt { perspective: 900px; }
.pillar { position: relative; padding: 34px 28px 28px; border-radius: 20px; border: 1px solid var(--glass-line); overflow: hidden;
  background: var(--glass); transition: transform .35s var(--ease), border-color .4s, box-shadow .5s; min-height: 330px; display: flex; flex-direction: column;
  transform: rotateX(var(--rx,0)) rotateY(var(--ry,0)); transform-style: preserve-3d; }
.pillar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 80% at var(--mx,50%) var(--my,0%), rgba(201,168,76,.18), transparent 55%); opacity: 0; transition: opacity .4s; }
.pillar:hover { border-color: rgba(201,168,76,.5); box-shadow: var(--glass-shadow); }
.pillar:hover::before { opacity: 1; }
.pillar .icon { font-size: 30px; color: var(--gold); }
.pillar .pn { font-size: 12px; color: var(--gold); letter-spacing: .2em; text-transform: uppercase; margin-top: 14px; }
.pillar h3 { font-size: 29px; margin: 8px 0 12px; }
.pillar p { color: var(--muted); font-size: 15px; flex: 1; }
.pillar .more { margin-top: 18px; color: var(--gold-soft); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: gap .3s; }
.pillar:hover .more { gap: 12px; }

/* ---------- category tabs + workshop cards ---------- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.cat-tabs button { font-size: 13px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--glass-line); color: var(--muted); transition: all .3s var(--ease); }
.cat-tabs button[aria-selected="true"] { background: var(--gold); color: #1a0a05; border-color: var(--gold); font-weight: 600; }
.cat-tabs button[data-cat="arts"][aria-selected="true"] { background: var(--arts); border-color: var(--arts); }
.cat-tabs button[data-cat="music"][aria-selected="true"] { background: var(--music); border-color: var(--music); }
.cat-tabs button[data-cat="self"][aria-selected="true"] { background: var(--self); border-color: var(--self); }
.cat-tabs button:hover { color: var(--text); border-color: var(--gold); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 18px; }
.card { position: relative; border-radius: 18px; border: 1px solid var(--glass-line); padding: 24px; overflow: hidden; background: var(--glass);
  transition: transform .45s var(--ease), border-color .4s, box-shadow .5s; }
.card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--c, var(--gold)), color-mix(in srgb, var(--c, var(--gold)) 35%, transparent)); opacity: .85; }
.card:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--c, var(--gold)) 55%, var(--glass-line)); box-shadow: var(--glass-shadow), 0 0 30px -6px color-mix(in srgb, var(--c, var(--gold)) 50%, transparent); }
.card.hide { display: none; }
.cards > .orphan { grid-column: 1 / -1; justify-self: center; }
.card .badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .07em; padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; color: var(--c, var(--gold)); background: color-mix(in srgb, var(--c, var(--gold)) 15%, transparent); }
.card h3 { font-size: 23px; font-weight: 560; margin: 0 0 4px; }
.card .meta { font-size: 12.5px; color: var(--muted-2); letter-spacing: .03em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.c-music{--c:var(--music)} .c-arts{--c:var(--arts)} .c-self{--c:var(--self)} .c-event{--c:var(--event)}

/* ---------- category-themed cards: colour wash + large line-icon watermark ---------- */
.c-music { background:
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9b2f0' stroke-opacity='.55' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'><path d='M16 3.937a9 9 0 1 0 5 8.063'/><path d='M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0'/><path d='M20 4m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0'/><path d='M20 4l-3.5 10l-2.5 2'/></svg>") no-repeat right -18px bottom -22px / 118px 118px,
  radial-gradient(120% 95% at 100% 0%, rgba(185,178,240,.12), transparent 55%), var(--glass); }

.c-arts { background:
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0b84e' stroke-opacity='.5' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21a9 9 0 0 1 0 -18c4.97 0 9 3.582 9 8c0 1.06 -.474 2.078 -1.318 2.828c-.844 .75 -1.989 1.172 -3.182 1.172h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25'/><path d='M8.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0'/><path d='M12.5 7.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0'/><path d='M16.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0'/></svg>") no-repeat right -18px bottom -22px / 118px 118px,
  radial-gradient(120% 95% at 100% 0%, rgba(240,184,78,.13), transparent 55%), var(--glass); }

.c-self { background:
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fd6b0' stroke-opacity='.5' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'><path d='M12 4m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0'/><path d='M4 20h4l1.5 -3'/><path d='M17 20l-1 -5h-5l1 -7'/><path d='M4 10l4 -1l4 -1l4 1.5l4 1.5'/></svg>") no-repeat right -16px bottom -20px / 114px 114px,
  radial-gradient(120% 95% at 100% 0%, rgba(111,214,176,.13), transparent 55%), var(--glass); }

.c-event { background:
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0a6c6' stroke-opacity='.5' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'><path d='M4 5h2'/><path d='M5 4v2'/><path d='M11.5 4l-.5 2'/><path d='M18 5h2'/><path d='M19 4v2'/><path d='M15 9l-1 1'/><path d='M18 13l2 -.5'/><path d='M18 19h2'/><path d='M19 18v2'/><path d='M14 16.518l-6.518 -6.518l-4.39 9.58a1 1 0 0 0 1.329 1.329l9.579 -4.39z'/></svg>") no-repeat right -16px bottom -20px / 114px 114px,
  radial-gradient(120% 95% at 100% 0%, rgba(240,166,198,.15), transparent 55%), var(--glass); }

/* ---------- dance cube (Get Togethers) ---------- */
.cube-wrap { perspective: 1000px; display: grid; place-items: center; min-height: 320px; }
.cube { position: relative; width: 180px; height: 180px; transform-style: preserve-3d; animation: tumble 18s linear infinite; }
.cube .face { position: absolute; inset: 0; border: 1px solid rgba(201,168,76,.4); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; color: var(--gold-soft);
  background: linear-gradient(135deg, rgba(201,168,76,.16), rgba(150,90,200,.18)); }
.cube .f1{transform:translateZ(90px)} .cube .f2{transform:rotateY(180deg) translateZ(90px)} .cube .f3{transform:rotateY(90deg) translateZ(90px)} .cube .f4{transform:rotateY(-90deg) translateZ(90px)} .cube .f5{transform:rotateX(90deg) translateZ(90px)} .cube .f6{transform:rotateX(-90deg) translateZ(90px)}
@keyframes tumble { to { transform: rotateX(360deg) rotateY(360deg); } }
.events-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }

/* ---------- about / values ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story p { color: var(--muted); margin: 0 0 16px; }
.story p.lead { color: var(--text); font-family: var(--serif); font-size: 23px; font-style: italic; line-height: 1.5; }
.founders { margin-top: 22px; font-size: 14px; color: var(--muted-2); } .founders b { color: var(--gold-soft); }
.visual { position: relative; border-radius: 22px; overflow: hidden; min-height: 460px; border: 1px solid var(--glass-line);
  background: radial-gradient(80% 60% at 70% 20%, rgba(201,168,76,.24), transparent 60%), radial-gradient(70% 70% at 20% 80%, rgba(150,90,200,.18), transparent 55%), linear-gradient(160deg, var(--ink-2), var(--ink)); display: grid; place-items: center; }
.visual .mandala-2 { width: 78%; opacity: .42; animation: spin 120s linear infinite reverse; }
.values { display: grid; gap: 16px; }
.value { padding: 22px 24px; border-radius: 14px; border: 1px solid var(--glass-line); background: var(--glass); }
.value .vi { font-size: 26px; color: var(--gold); line-height: 1; } .value h3 { margin: 8px 0 6px; font-size: 21px; } .value p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- vertical "thread": one continuous line + a marker that follows your scroll ---------- */
#main { position: relative; }
.thread { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.thread path { fill: none; stroke: var(--gold); stroke-width: 1.6; opacity: .4; vector-effect: non-scaling-stroke; }
.thread-dot { position: fixed; top: 50vh; left: 0; width: 15px; height: 15px; border-radius: 50%; z-index: 0; pointer-events: none; opacity: 0; transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff 6%, var(--gold-soft) 30%, var(--gold) 58%, transparent 74%); box-shadow: 0 0 20px 6px rgba(201,168,76,.6); transition: opacity .5s var(--ease); }

/* ---------- soundwave divider ---------- */
.soundband { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--glass-line); padding: 28px var(--pad);
  background: radial-gradient(120% 180% at 50% 130%, rgba(201,168,76,.10), transparent 62%), linear-gradient(180deg, rgba(20,13,34,0), rgba(20,13,34,.5)); }
.soundwave { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 84px; max-width: var(--maxw); margin-inline: auto; }
.soundwave i { flex: 1 1 0; min-width: 2px; max-width: 9px; border-radius: 3px; height: var(--h, 40%); transform-origin: bottom;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  animation: wave var(--dur,1.1s) var(--ease) var(--d,0s) infinite alternate; opacity: .9; }
@keyframes wave { from { transform: scaleY(.16); } }

/* ---------- hero rotating word (fixed-width slot so the sentence never reflows) ---------- */
.tag .rotor { display: inline-block; text-align: center; color: var(--gold-soft); font-style: italic; text-shadow: 0 0 20px rgba(201,168,76,.28);
  transition: opacity .46s var(--ease), transform .46s var(--ease), filter .46s var(--ease); }
.tag .rotor.out { opacity: 0; transform: translateY(-.42em) scale(.94); filter: blur(7px); }
.tag .rotor.in  { opacity: 0; transform: translateY(.5em) scale(.94); filter: blur(7px); }

/* ---------- host-your-own + jam-night card watermarks ---------- */
.c-host { --c: var(--gold); }
.c-host { background:
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-opacity='.5' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7'/><path d='M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3'/><path d='M9.7 17l4.6 0'/></svg>") no-repeat right -14px bottom -18px / 108px 108px,
  radial-gradient(120% 95% at 100% 0%, rgba(201,168,76,.12), transparent 55%), var(--glass); }
.c-bongo { background:
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9b2f0' stroke-opacity='.55' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'><path d='M5 9a4 1.8 0 1 0 8 0a4 1.8 0 1 0 -8 0'/><path d='M5 9 L5.9 15.4'/><path d='M13 9 L12.1 15.4'/><path d='M5.9 15.4a3.1 1.3 0 0 0 6.2 0'/><path d='M13.4 10a3.1 1.5 0 1 0 6.2 0a3.1 1.5 0 1 0 -6.2 0'/><path d='M13.4 10 L14.2 16'/><path d='M19.6 10 L18.8 16'/><path d='M14.2 16a2.3 1.1 0 0 0 4.6 0'/><path d='M11.6 9.5 L14 10.2'/></svg>") no-repeat right -14px bottom -16px / 116px 116px,
  radial-gradient(120% 95% at 100% 0%, rgba(185,178,240,.12), transparent 55%), var(--glass); }

/* ---------- spinning vinyl ---------- */
.vinyl { width: var(--vs, 200px); height: var(--vs, 200px); border-radius: 50%; position: relative;
  background: repeating-radial-gradient(circle at 50% 50%, #16101f 0 1.5px, #221833 1.5px 3px),
              radial-gradient(circle at 36% 30%, rgba(255,255,255,.12), transparent 46%);
  box-shadow: inset 0 0 0 1px rgba(201,168,76,.18), inset 0 0 44px rgba(0,0,0,.6), 0 30px 60px -24px #000;
  animation: rotate360 7s linear infinite; }
.vinyl::before { content: ""; position: absolute; inset: 33%; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, var(--gold-soft), var(--gold) 58%, var(--gold-deep)); box-shadow: 0 0 0 5px #16101f, inset 0 0 12px rgba(0,0,0,.45); }
.vinyl::after { content: ""; position: absolute; inset: 47.5%; border-radius: 50%; background: #0a0612; box-shadow: 0 0 0 2px rgba(201,168,76,.5); }
@keyframes rotate360 { to { transform: rotate(360deg); } }
.vinyl-bg { position: absolute; right: -130px; top: 50%; transform: translateY(-50%); opacity: .15; z-index: 0; pointer-events: none; }
.vinyl-bg .vinyl { --vs: 440px; }
#events > .wrap { position: relative; z-index: 1; }

/* ---------- cta + contact + footer ---------- */
.cta-band { text-align: center; padding-block: clamp(48px, 6vw, 84px); }
.cta-band h2 { font-size: clamp(40px, 7vw, 80px); margin: 0 0 18px; } .cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-info p { color: var(--muted); } .contact-info .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; } .contact-info .chips span { font-size: 12px; padding: 5px 12px; border: 1px solid var(--glass-line); border-radius: 999px; color: var(--muted); }
form.contact { display: grid; gap: 14px; } form.contact label { font-size: 12px; letter-spacing: .04em; color: var(--muted); display: block; margin-bottom: 5px; }
form.contact input, form.contact select, form.contact textarea { width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--glass-line); border-radius: 10px; padding: 12px 14px; color: var(--text); font: inherit; font-size: 15px; }
form.contact textarea { resize: vertical; min-height: 110px; } .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
footer { border-top: 1px solid var(--glass-line); padding: 56px 0 36px; background: rgba(12,7,23,.6); }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { font-family: var(--serif); font-size: 26px; } .foot-brand p { font-family: var(--sans); font-size: 14px; color: var(--muted); max-width: 280px; margin: 10px 0 0; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; } .foot-col h2 { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.foot-col a { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; } .foot-col a:hover { color: var(--text); }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--glass-line); font-size: 12.5px; color: var(--muted-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; } .about-grid, .contact-grid, .events-grid { grid-template-columns: 1fr; gap: 32px; }
  .visual { min-height: 300px; } .events-grid .cube-wrap { order: -1; }
  .vinyl-bg { display: none; } .soundwave { height: 58px; }
  .nav-toggle { display: block; z-index: 302; }
  .nav .brand { position: relative; z-index: 302; }
  .nav-links { position: fixed; inset: 0; width: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 40px;
    background: rgba(10,6,18,.98); backdrop-filter: blur(18px); transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
  .nav-links.open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s 0s; }
  .nav-links a:not(.btn) { font-size: 21px; }
  .nav-links .btn { margin-top: 8px; }
}
@media (max-width: 540px) { body { font-size: 16px; } .row2 { grid-template-columns: 1fr; } .foot-bottom { flex-direction: column; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .rise > * { opacity: 1 !important; transform: none !important; }
  .thread-dot { display: none; }
  .cursor, .cursor-dot { display: none; }
  .intro-screen { display: none; }
}
