/* =========================================================
   Project Dance Ground — stylesheet
   ========================================================= */

/* Dark theme (default). The selectors after :root are photo areas that stay dark in light mode. */
:root,
.hero, .work, .g-tile--hl, .lightbox, .nav:not(.is-scrolled) {
  --bg: #07060b;
  --bg-2: #0e0c15;
  --surface: #14111d;
  --surface-2: #1b1727;
  --tint: 255, 255, 255;
  --ink: 7, 6, 11;
  --line: rgba(var(--tint), 0.09);
  --text: #f5f3fa;
  --text-2: #cfc9dc;
  --muted: #a7a1b8;
  --faint: #6d6780;
  --panel: rgba(20, 17, 29, .85);
  color: var(--text);
  color-scheme: dark;
}

/* Light theme */
:root[data-theme="light"] {
  --bg: #faf8fd;
  --bg-2: #f1edf8;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --tint: 24, 16, 40;
  --ink: 250, 248, 253;
  --text: #16121f;
  --text-2: #3d3750;
  --muted: #5f5873;
  --faint: #8a849b;
  --panel: rgba(255, 255, 255, .9);
  --magenta: #f0288f;
  --violet: #7647ff;
  --cyan: #0bb4d1;
  --gold: #f5a524;
  color-scheme: light;
}
:root[data-theme="light"] .nav.is-scrolled .nav__brand img,
:root[data-theme="light"] .about__badge img,
:root[data-theme="light"] .footer__logo { filter: brightness(0); }
:root[data-theme="light"] .about__badge { box-shadow: 0 20px 40px -20px rgba(24, 16, 40, .25); }
:root[data-theme="light"] .g-tile__cap { color: #fff; }

:root {
  --magenta: #ff3ea5;
  --violet: #8b5cff;
  --cyan: #22d3ee;
  --gold: #ffd166;
  --holo: linear-gradient(100deg, var(--magenta) 0%, var(--violet) 35%, var(--cyan) 70%, var(--gold) 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 72px;
  --font-display: "Proxima Nova", "proxima-nova", "Montserrat", system-ui, sans-serif;
  --font-body: "Proxima Nova", "proxima-nova", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--magenta); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
  animation: pulse 1.6s ease-in-out infinite;
}
.holo {
  background: var(--holo);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: holo 6s linear infinite;
}
.br-d { display: none; }
@media (min-width: 768px) { .br-d { display: inline; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 50px;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .filter:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn--glow {
  background: var(--holo);
  background-size: 200% 100%;
  color: #0b0910;
  box-shadow: 0 8px 30px -8px rgba(255, 62, 165, .55);
  animation: holo 8s linear infinite;
}
.btn--glow:hover { box-shadow: 0 12px 40px -6px rgba(139, 92, 255, .7); }
.btn--ghost { border-color: rgba(var(--tint), .22); background: rgba(var(--tint), .03); }
.btn--ghost:hover { border-color: rgba(var(--tint), .5); background: rgba(var(--tint), .07); }
.btn--sm { min-height: 40px; padding: .5rem 1.15rem; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(var(--ink), .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.nav__brand img { width: 30px; height: auto; transition: filter .3s; }
.nav__links { display: flex; align-items: center; gap: 2rem; margin-left: auto; font-weight: 600; font-size: .92rem; }
.nav__links a:not(.btn) { color: var(--muted); transition: color .2s; position: relative; }
.nav__links a:not(.btn):hover, .nav__links a.is-current { color: var(--text); }
.nav__links a.is-current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--holo);
}
.nav__toggle { display: none; }
.nav__actions { display: flex; align-items: center; gap: .6rem; position: relative; z-index: 2; }
.theme-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  background: rgba(var(--tint), .06); border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.theme-toggle:hover { background: rgba(var(--tint), .12); border-color: rgba(var(--tint), .25); }
.theme-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle__moon { display: none; }
:root[data-theme="light"] .theme-toggle__sun { display: none; }
:root[data-theme="light"] .theme-toggle__moon { display: block; }

@media (max-width: 860px) {
  .nav__brand span { font-size: .72rem; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px;
    background: rgba(var(--tint), .06); border: 1px solid var(--line); border-radius: 12px;
    cursor: pointer; position: relative; z-index: 2;
  }
  .nav__toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 1.6rem;
    background: rgba(var(--ink), .97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    font-family: var(--font-display); font-size: 1.5rem;
    opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease);
  }
  .nav__links a:not(.btn) { color: var(--text); }
  .nav__links .btn { font-family: var(--font-body); font-size: 1rem; margin-top: 1rem; min-height: 52px; padding: .8rem 2rem; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav.is-open { background: transparent; border-color: transparent; backdrop-filter: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 6rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(var(--ink), .35) 0%, rgba(var(--ink), .55) 55%, var(--bg) 100%),
    var(--edit-img, url("../assets/img/party-1.png")) center var(--edit-pos, 35%) / cover no-repeat; /* photo can be replaced in the admin */
  filter: saturate(1.15);
  transform: scale(1.06);
  animation: drift 22s ease-in-out infinite alternate;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(var(--ink), .85) 0%, rgba(var(--ink), .4) 50%, transparent 75%);
}
.hero__beams { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; mix-blend-mode: screen; }
.hero__beams i {
  position: absolute; top: -20%; width: 22vw; max-width: 340px; height: 140%;
  transform-origin: 50% 0;
  filter: blur(28px);
  opacity: .45;
}
.hero__beams i:nth-child(1) { left: 8%;  background: linear-gradient(180deg, var(--magenta), transparent 70%); animation: sweep 7s ease-in-out infinite alternate; }
.hero__beams i:nth-child(2) { left: 38%; background: linear-gradient(180deg, var(--cyan), transparent 70%); animation: sweep 9s ease-in-out -2s infinite alternate-reverse; }
.hero__beams i:nth-child(3) { left: 62%; background: linear-gradient(180deg, var(--violet), transparent 70%); animation: sweep 8s ease-in-out -4s infinite alternate; }
.hero__beams i:nth-child(4) { left: 85%; background: linear-gradient(180deg, var(--magenta), transparent 70%); animation: sweep 10s ease-in-out -1s infinite alternate-reverse; }

.hero__content { position: relative; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8.5vw, 6.4rem);
  line-height: .98;
  letter-spacing: -0.035em;
  margin: 0 0 1.5rem;
  max-width: 14ch;
}
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--text-2); max-width: 560px; margin: 0 0 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(var(--tint), .35); border-radius: 14px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: scrolldot 1.8s ease-in-out infinite; }
@media (max-width: 560px) {
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 1.1rem 0;
}
.marquee__track { display: flex; gap: 2rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.5rem); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.marquee b { color: var(--magenta); font-weight: 400; align-self: center; }
.marquee span:nth-of-type(even) { -webkit-text-stroke: 1px rgba(var(--tint), .55); color: transparent; }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section__head .h2 { margin-bottom: .8rem; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; justify-content: space-between; }
.section__head--row .h2 { margin-bottom: 0; }
.section__sub { color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about__text > p { color: var(--text-2); margin: 0 0 1.1rem; }
.about__text strong { color: var(--text); }
.about__points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.about__points li {
  display: grid; gap: .15rem;
  padding: 1rem 1.2rem 1rem 1.4rem;
  border-left: 2px solid transparent;
  border-image: var(--holo) 1;
  background: linear-gradient(90deg, rgba(var(--tint), .04), transparent);
}
.about__points span { color: var(--muted); font-size: .95rem; }
.about__visual { position: relative; }
.about__photo {
  border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5;
  position: relative;
  box-shadow: 0 30px 80px -30px rgba(139, 92, 255, .55);
}
.about__photo::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 1;
  background: var(--holo);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; left: 1.5rem; bottom: 1.5rem;
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.3rem;
  background: var(--panel);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 700; font-size: .9rem; line-height: 1.3;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
}
.about__badge img { width: 34px; height: auto; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .about__badge { left: 1rem; bottom: 1rem; }
}

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc { background: var(--bg-2); padding: 2rem 1.8rem 2.2rem; transition: background .3s; }
.svc:hover { background: var(--surface); }
.svc__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255,62,165,.18), rgba(34,211,238,.14));
  border: 1px solid rgba(var(--tint), .1);
  margin-bottom: 1.3rem;
}
.svc__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 0 0 .5rem; }
.svc p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services__grid { grid-template-columns: 1fr; } .svc { padding: 1.6rem 1.4rem; } }

/* ---------- Packages ---------- */
.packages {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(139, 92, 255, .14), transparent 70%),
    var(--bg-2);
}
.pk__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.pk {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2.2rem 1.9rem 1.9rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s;
}
.pk:hover { transform: translateY(-6px); border-color: rgba(var(--tint), .2); }
.pk--featured {
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    var(--holo) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 30px 80px -40px rgba(255, 62, 165, .65);
}
.pk__flag {
  position: absolute; top: -13px; left: 1.9rem;
  padding: .3rem .85rem; border-radius: 999px;
  background: var(--holo); color: #0b0910;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.pk__tier { margin: 0; font-family: var(--font-display); font-size: .8rem; color: var(--muted); letter-spacing: .1em; }
.pk__name { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; margin: .2rem 0 .3rem; }
.pk--featured .pk__name { background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pk__for { margin: 0 0 1.5rem; color: var(--muted); font-size: .92rem; }
.pk__list { list-style: none; margin: 0 0 1.8rem; padding: 1.5rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .7rem; flex: 1; align-content: start; }
.pk__list li { position: relative; padding-left: 1.7rem; font-size: .95rem; }
.pk__list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, var(--text) 0 2.5px, transparent 3px), linear-gradient(135deg, var(--magenta), var(--cyan));
  opacity: .9;
}
.pk__price { margin: 0 0 1rem; font-weight: 700; font-size: .9rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* Sixperience heading */
.sixp {
  text-transform: uppercase; letter-spacing: .06em;
  background: var(--holo); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: holo 8s linear infinite;
}
.sixp__tag { margin: 0 0 .8rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.35rem); }

/* Basic / Pro / Max comparison */
.pk__compare { margin: -0.6rem 0 1.6rem; border: 1px solid var(--line); border-radius: 14px; }
.pk__compare summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .7rem 1rem; font-size: .85rem; font-weight: 700;
}
.pk__compare summary::-webkit-details-marker { display: none; }
.pk__compare summary::after { content: "+"; font-size: 1.2rem; line-height: 1; color: var(--muted); transition: transform .25s var(--ease); }
.pk__compare[open] summary::after { transform: rotate(45deg); }
.pk__compare summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 14px; }
.pk__table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.pk__table th, .pk__table td { padding: .5rem .35rem; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.pk__table thead th { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pk__table tbody th { text-align: left; font-weight: 600; padding-left: 1rem; }
.pk__table td:last-child, .pk__table th:last-child { padding-right: 1rem; }
.pk__table td { font-weight: 600; color: var(--text-2); }
.pk__table td.y { color: var(--cyan); font-size: 1rem; }
.pk__table td.n { color: var(--faint); }

/* ---------- Add-ons ---------- */
.addons { background: var(--bg-2); }
/* Packages, package videos and add-ons read as one block when they follow each other */
.packages + .addons, .packages + .videos, .videos + .addons { padding-top: 0; }

/* ---------- Package videos ---------- */
.videos { background: var(--bg-2); }
.vid__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.vid { flex: 0 1 340px; min-width: 0; }
.vid--wide { flex-basis: 640px; }
.vid__frame { border-radius: 20px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.vid__frame video { display: block; width: 100%; max-height: 80vh; background: #000; }
.vid__frame--ig { background: #fff; }
.vid__frame--ig iframe { display: block; width: 100%; height: 620px; border: 0; }
.vid h3 { margin: 1rem 0 .2rem; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; }
.vid p { margin: 0; color: var(--muted); font-size: .92rem; }
.ao__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.ao {
  display: flex; flex-direction: column;
  border-radius: 20px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s;
}
.ao.has-photos { cursor: pointer; }
.ao:hover { transform: translateY(-4px); border-color: rgba(var(--tint), .2); }
.ao__cover {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; cursor: pointer;
  background: var(--cover, linear-gradient(135deg, var(--magenta), var(--violet) 50%, var(--cyan))) center / cover no-repeat;
}
.ao__cover:disabled { cursor: default; }
.ao__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ao__cover:focus-visible { outline: 2px solid var(--cyan); outline-offset: -4px; }
.ao__count {
  position: absolute; right: .7rem; bottom: .7rem;
  padding: .35rem .8rem; border-radius: 999px;
  background: rgba(7, 6, 11, .65); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: .78rem; font-weight: 700;
}
.ao__count:empty { display: none; }
.ao__body { padding: 1.3rem 1.3rem 1.5rem; }
.ao__n { margin: 0; font-family: var(--font-display); font-size: .8rem; color: var(--muted); letter-spacing: .1em; }
.ao h3 { margin: .15rem 0 .9rem; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; }
.ao__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.ao__list li { padding: .35rem .8rem; border-radius: 999px; background: rgba(var(--tint), .05); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; }
@media (max-width: 1080px) { .ao__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ao__grid { grid-template-columns: 1fr; } }

/* ---------- DJs ---------- */
.djs { background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255, 62, 165, .1), transparent 70%), var(--bg); }
.djs__group + .djs__group { margin-top: clamp(2.5rem, 6vw, 4rem); }
.djs__label {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1rem;
  margin: 0 0 1.8rem; text-align: center;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.djs__logo { height: 30px; width: auto; }
:root:not([data-theme="light"]) .djs__logo { filter: invert(1); }
.djs__list { --size: 150px; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem 1.4rem; }
.djs__list--lg { --size: 220px; gap: 2rem 3rem; }
.djs__list:not(.djs__list--lg) { max-width: 720px; margin: 0 auto; } /* 4 + 3 per row, like the catalogue */
.dj { margin: 0; width: var(--size); text-align: center; }
.dj img, .dj__ph {
  display: block; width: var(--size); height: var(--size); border-radius: 50%; object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgba(var(--tint), .14), 0 20px 50px -25px rgba(139, 92, 255, .6);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.dj__ph { background: var(--holo); }
.dj:hover img { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--magenta), 0 24px 60px -25px rgba(255, 62, 165, .7); }
.dj figcaption { margin-top: .9rem; font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.djs__list--lg figcaption { font-size: 1.25rem; }
.djs__cta { margin-top: clamp(2.5rem, 6vw, 3.5rem); text-align: center; }
@media (max-width: 560px) {
  .djs__list { --size: 128px; gap: 1.4rem 1rem; }
  .djs__list--lg { --size: 150px; gap: 1.4rem; }
}

@media (max-width: 960px) {
  .pk__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 2rem; }
}

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: calc(25% - 28px); height: 1px;
  background: linear-gradient(90deg, var(--magenta), var(--violet), var(--cyan));
  opacity: .5;
}
.step { position: relative; }
.step__n {
  position: relative;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(var(--tint), .2);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 1.2rem;
}
.step h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin: 0 0 .4rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--magenta), var(--violet), var(--cyan)); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.2rem; }
  .step__n { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; }
}

/* ---------- Portfolio ---------- */
.portfolio { background: var(--bg-2); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  min-height: 40px; padding: .45rem 1.05rem; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  font-weight: 600; font-size: .88rem; cursor: pointer; transition: all .2s;
}
.filter:hover { color: var(--text); border-color: rgba(var(--tint), .3); }
.filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

.works { --row: 280px; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 1rem; }
.work {
  --hue: 300;
  --pos: center;
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  display: flex; align-items: flex-end;
  background:
    radial-gradient(circle at 80% 15%, hsl(var(--hue) 95% 60% / .55), transparent 55%),
    radial-gradient(circle at 10% 90%, hsl(calc(var(--hue) + 60) 90% 55% / .35), transparent 50%),
    linear-gradient(160deg, hsl(var(--hue) 40% 14%), #0a0810);
  border: 1px solid var(--line);
  isolation: isolate;
  transition: transform .4s var(--ease), opacity .4s;
}
.work::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--img, none);
  background-size: cover; background-position: var(--pos);
  transition: transform .8s var(--ease);
}
.work::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(var(--ink), .92) 100%);
}
.work:hover::before { transform: scale(1.06); }
.work--wide { grid-column: span 2; }
.work { height: var(--row); }
.work--full { grid-column: 1 / -1; height: 150px; }
.work__body { padding: 1.5rem; }
.work__tag { margin: 0 0 .3rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(var(--tint), .75); }
.work h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.2; }
.work__note { margin: .35rem 0 0; font-size: .88rem; color: rgba(var(--tint), .7); }
.work.is-hidden { display: none; }
@media (max-width: 900px) {
  .works { grid-template-columns: repeat(2, 1fr); --row: 230px; }
}
@media (max-width: 560px) {
  .works { grid-template-columns: 1fr; --row: 210px; }
  .work--wide, .work--full { grid-column: auto; }
}

/* ---------- Gallery ---------- */
.ig-handle {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; color: var(--muted); transition: color .2s;
}
.ig-handle:hover { color: var(--text); }
.ig-handle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.g-tile {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer; padding: 0; text-align: left;
  display: block; width: 100%;
}
.g-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.g-tile:hover img { transform: scale(1.06); filter: brightness(.75); }
.g-tile__cap {
  position: absolute; inset: auto 0 0 0; padding: 1rem;
  font-size: .85rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  opacity: 0; transform: translateY(8px); transition: all .35s var(--ease);
}
.g-tile:hover .g-tile__cap, .g-tile:focus-visible .g-tile__cap { opacity: 1; transform: none; }
.g-tile--hl {
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.2rem;
  background:
    radial-gradient(circle at 70% 20%, hsl(var(--hue, 300) 90% 60% / .5), transparent 60%),
    linear-gradient(160deg, hsl(var(--hue, 300) 35% 13%), #09070e);
  transition: transform .35s var(--ease);
}
.g-tile--hl:hover { transform: translateY(-4px); }
.g-tile--hl svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; opacity: .85; }
.g-tile--hl small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(var(--tint), .7); font-weight: 700; margin-bottom: .2rem; }
.g-tile--hl strong { font-family: var(--font-display); font-size: clamp(1rem, 1.8vw, 1.3rem); line-height: 1.2; }
.gallery__grid--embed { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; align-items: start; }
.gallery__grid--embed .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; border-radius: 14px !important; }
.gallery__cta { display: flex; justify-content: center; margin-top: 2.5rem; }
@media (max-width: 900px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; } }

/* ---------- Founder ---------- */
.founder {
  background:
    linear-gradient(180deg, rgba(var(--ink), .92), rgba(var(--ink), .96)),
    url("../assets/img/confetti-bg.jpg") center / cover;
}
.founder__grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.founder__photo {
  border-radius: 50%; overflow: hidden; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 40%, #fff 0%, #ece8f5 60%, #cfc8e0 100%);
  box-shadow: 0 0 0 1px var(--line), 0 0 0 10px rgba(var(--tint), .02), 0 40px 90px -30px rgba(255, 62, 165, .5);
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__quote { margin: 0; }
.founder__quote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 2.4vw, 1.9rem); line-height: 1.4; letter-spacing: -0.01em; margin: 0 0 1.6rem; }
.founder__quote footer { display: grid; gap: .1rem; }
.founder__quote footer span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
  .founder__grid { grid-template-columns: 1fr; text-align: center; }
  .founder__photo { max-width: 260px; margin: 0 auto; width: 100%; }
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(255, 62, 165, .16), transparent 70%),
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(34, 211, 238, .12), transparent 70%),
    var(--bg);
}
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact__intro > p { color: var(--text-2); }
.contact__links { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; }
.contact__links a {
  display: grid; gap: .1rem;
  padding: 1rem 1.2rem; border-radius: 14px;
  background: rgba(var(--tint), .04); border: 1px solid var(--line);
  font-weight: 700; transition: border-color .2s, background .2s;
  word-break: break-word;
}
.contact__links a:hover { border-color: rgba(var(--tint), .3); background: rgba(var(--tint), .07); }
.contact__links span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.form {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid; gap: 1rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field > span { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: .8rem 1rem;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid rgba(var(--tint), .12);
  font-size: 16px; /* prevents iOS zoom */
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7a1b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px;
  padding-right: 2.6rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 255, .25); }
.field.is-invalid input { border-color: var(--magenta); }
.form__note { margin: 0; min-height: 1.2em; font-size: .88rem; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 4rem 0 6rem; background: var(--bg); }
.footer__inner { display: grid; justify-items: center; gap: 1.6rem; text-align: center; }
.footer__logo { width: 220px; height: auto; opacity: .95; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.8rem; font-weight: 600; color: var(--muted); }
.footer__nav a:hover { color: var(--text); }
.footer__group { margin: 0; color: var(--muted); font-size: .92rem; max-width: 520px; }
.footer__group a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--tint), .3); }
.footer__copy { margin: 0; color: var(--faint); font-size: .82rem; }

/* ---------- Floating button ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--holo); background-size: 200% 100%;
  color: #0b0910;
  box-shadow: 0 12px 30px -8px rgba(255, 62, 165, .7);
  animation: holo 8s linear infinite;
  transition: transform .3s var(--ease), opacity .3s;
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
}
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 4, 8, .94);
  display: grid; place-items: center; align-content: center; gap: 1rem;
  padding: 4rem var(--gutter) 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img, .lightbox video { max-width: min(1000px, 100%); max-height: 78vh; border-radius: 14px; object-fit: contain; }
.lightbox video { background: #000; }
.lightbox p { margin: 0; color: var(--muted); text-align: center; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(var(--tint), .1); border: 1px solid var(--line);
  font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(var(--tint), .2); }
@media (max-width: 560px) { .lightbox__nav { top: auto; bottom: 14px; transform: none; } }
.lightbox__close {
  position: absolute; top: 14px; right: 14px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(var(--tint), .08); border: 1px solid var(--line);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}

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

/* ---------- Animations ---------- */
@keyframes holo { to { background-position: 200% 0; } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drift { to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes sweep { from { transform: rotate(-18deg); } to { transform: rotate(18deg); } }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

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

/* Portfolio CTA card */
.work--cta { border-style: dashed; border-color: rgba(var(--tint), .25); }
.work--cta h3 { background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.work--cta:hover { transform: translateY(-4px); }

/* Gallery tile badge (reel / photo) */
.g-tile__badge {
  position: absolute; top: .7rem; right: .7rem;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(7, 6, 11, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.g-tile__badge svg { width: 16px; height: 16px; fill: #fff; stroke: none; }
.g-tile__badge svg rect, .g-tile__badge svg circle { fill: none; stroke: #fff; stroke-width: 2; }
@media (hover: none) {
  .g-tile__cap { opacity: 1; transform: none; font-size: .78rem; padding: .7rem; }
}

/* EmbedSocial feed */
.gallery__grid[hidden] { display: none; }
.gallery__es { border-radius: 16px; overflow: hidden; }
/* Feed still loading: laid out (so it can size itself) but takes no space; the photo grid shows meanwhile. */
.gallery__es.is-loading { height: 0; }

/* Anything with the hidden attribute stays hidden, even buttons/sections that set their own display
   (used by the admin's "Sembunyikan bagian" switch). */
[hidden] { display: none !important; }
