/*
Theme Name: Dream Lab
Theme URI: https://posh.vip/e/the-dream-lab-1
Author: iLocal SEO
Author URI: https://ilocalseo.com
Description: One-page event theme for The Dream Lab. Single PHP data array feeds templates, meta, and schema. No page builder, no jQuery, no external JS.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dreamlab
Tags: one-column, custom-colors, block-styles
*/

/* ------------------------------------------------------------------
   Tokens
------------------------------------------------------------------ */
:root {
  --dl-bg: #0a0a0f;
  --dl-panel: #12111a;
  --dl-text: #f2f0f7;
  --dl-muted: #c9c5d6;
  --dl-dim: #8b86a0;
  --dl-line: rgba(255, 255, 255, 0.1);
  --dl-violet: #7c3aed;
  --dl-cyan: #22d3ee;
  --dl-grad: linear-gradient(90deg, var(--dl-violet), var(--dl-cyan));
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--dl-bg);
  color: var(--dl-text);
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .display {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
}

a { color: var(--dl-cyan); text-decoration: none; }
a:hover, a:focus-visible { color: var(--dl-violet); }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--dl-cyan);
  outline-offset: 3px;
}

img { max-width: 100%; height: auto; display: block; }

/* ------------------------------------------------------------------
   Accessibility helpers
------------------------------------------------------------------ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 18px;
  background: var(--dl-cyan);
  color: #0a0a0f;
  font-weight: 700;
}

/* ------------------------------------------------------------------
   Buttons + day-one brand hardening
   Plugins commonly ship bare button:hover / button:focus resets with
   arbitrary colors and no !important. Each interactive state is
   declared separately below with LITERAL colors and !important so a
   plugin stylesheet loaded after this one cannot override the brand.
   Covers :hover AND :focus (mouse/tap), not just :focus-visible.
------------------------------------------------------------------ */
.dl-btn {
  display: inline-block;
  background: linear-gradient(90deg, #7c3aed, #22d3ee) !important;
  color: #0a0a0f !important;
  padding: 16px 36px;
  border-radius: 2px;
  font-family: 'Work Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  border: none !important;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.dl-btn:hover {
  background: linear-gradient(90deg, #7c3aed, #22d3ee) !important;
  color: #0a0a0f !important;
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.dl-btn:focus {
  background: linear-gradient(90deg, #7c3aed, #22d3ee) !important;
  color: #0a0a0f !important;
}

.dl-btn:focus-visible {
  background: linear-gradient(90deg, #7c3aed, #22d3ee) !important;
  color: #0a0a0f !important;
  outline: 2px solid #22d3ee;
  outline-offset: 3px;
}

.dl-btn--lg { padding: 20px 48px; font-size: 17px; }

/* ------------------------------------------------------------------
   Header / nav
------------------------------------------------------------------ */
.dl-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 48px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dl-line);
}

.dl-logo {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  color: var(--dl-text);
  white-space: nowrap;
}

.dl-logo:hover, .dl-logo:focus-visible { color: var(--dl-text); }

/* ------------------------------------------------------------------
   Layout
------------------------------------------------------------------ */
.dl-section {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.eyebrow {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--dl-cyan);
  margin: 0 0 16px;
}

.dl-h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  margin-bottom: 40px;
  max-width: 820px;
}

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 48px 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(0.15) contrast(1.05) brightness(0.7);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.4) 0%, rgba(10,10,15,0.65) 60%, rgba(10,10,15,0.96) 100%);
  z-index: 1;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  z-index: 1;
  pointer-events: none;
}

.glow--hero-1 { top: -100px; right: -140px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(124,58,237,0.55), transparent 70%); }
.glow--hero-2 { bottom: -140px; left: -100px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(34,211,238,0.4), transparent 70%); }
.glow--location { top: -60px; left: -60px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(124,58,237,0.4), transparent 70%); }
.glow--cta { top: 20%; left: 50%; transform: translateX(-50%); width: 600px; height: 300px; background: radial-gradient(circle, rgba(124,58,237,0.35), transparent 70%); filter: blur(30px); }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(56px, 11vw, 160px);
  line-height: 0.9;
  transform: skewY(-1.5deg);
}

.hero-copy {
  max-width: 520px;
  margin: 44px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--dl-muted);
}

.hero .dl-btn { margin-top: 32px; }

.grad-text {
  background: var(--dl-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------
   Marquee
------------------------------------------------------------------ */
.marquee {
  background: var(--dl-grad);
  color: #0a0a0f;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: dl-marquee 22s linear infinite;
}

.marquee-text {
  font-size: 20px;
  letter-spacing: 0.08em;
  padding-right: 40px;
}

@keyframes dl-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------------------
   Section 01: What is this
------------------------------------------------------------------ */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}

.cols-3 p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--dl-muted);
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.stat { border-top: 1px solid var(--dl-line); padding-top: 20px; }

.stat-num {
  font-family: 'Anton', sans-serif;
  font-size: 40px;
  color: var(--dl-cyan);
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--dl-dim);
  margin-top: 6px;
}

.quote {
  border-left: 3px solid var(--dl-cyan);
  padding-left: 24px;
  max-width: 640px;
  margin: 0;
}

.quote p {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.35;
  margin: 0;
}

.quote footer {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--dl-dim);
  margin-top: 14px;
}

/* ------------------------------------------------------------------
   Section 02: What to expect
------------------------------------------------------------------ */
.expect {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.expect-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(0.2) contrast(1.05) brightness(0.7);
}

.expect-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.7);
  z-index: 1;
}

.expect-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.expect .dl-h2 { margin-bottom: 56px; max-width: 720px; }

.row-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: baseline;
  border-top: 1px solid var(--dl-line);
  padding: 28px 0;
}

.row-num { font-size: 34px; color: #3a3650; }
.row-title { font-size: 24px; margin-bottom: 6px; color: var(--dl-cyan); }

.row-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--dl-muted);
  margin: 0;
  max-width: 480px;
}

/* ------------------------------------------------------------------
   Accordions (native details, no JS)
------------------------------------------------------------------ */
details.accordion { border-top: 1px solid var(--dl-line); }

details.accordion summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}

details.accordion summary::-webkit-details-marker { display: none; }

details.accordion summary::after {
  content: "+";
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  color: var(--dl-violet);
  flex-shrink: 0;
}

details.accordion[open] summary::after { content: "\2212"; }

details.accordion p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--dl-muted);
  margin: 0 0 24px;
}

.who-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(26px, 3.6vw, 40px);
  flex: 1;
}

.who-num {
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  color: #5a5570;
  width: 36px;
  flex-shrink: 0;
}

.faq-q { font-weight: 700; font-size: 18px; flex: 1; }

/* ------------------------------------------------------------------
   Section 04: Location
------------------------------------------------------------------ */
.location {
  position: relative;
  overflow: hidden;
  padding: 100px 48px;
  background: var(--dl-panel);
}

.location-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.location-date {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  margin-bottom: 16px;
}

.location-venue {
  font-size: 20px;
  margin: 0;
  font-weight: 600;
  color: var(--dl-muted);
}

.location-cta { text-align: right; }

/* ------------------------------------------------------------------
   Section 05: FAQ + closing CTA
------------------------------------------------------------------ */
.dl-section--narrow { max-width: 820px; }

.faq-h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 40px; }

.cta-final {
  text-align: center;
  position: relative;
  padding-bottom: 140px;
}

.cta-final-inner { position: relative; z-index: 1; }

.cta-final h2 {
  font-size: clamp(44px, 8vw, 100px);
  margin-bottom: 36px;
  line-height: 0.95;
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.dl-footer {
  border-top: 1px solid var(--dl-line);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.dl-footer-tag {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--dl-dim);
}

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------ */
@media (max-width: 800px) {
  .dl-section, .hero { padding-left: 24px; padding-right: 24px; }
  .expect-inner { padding-left: 24px; padding-right: 24px; }
  .dl-nav { padding: 16px 24px; }
  .cols-3, .stats { grid-template-columns: 1fr; }
  .row-item { grid-template-columns: 60px 1fr; }
  .location { padding: 80px 24px; }
  .location-inner { grid-template-columns: 1fr; text-align: left; gap: 24px; }
  .location-cta { text-align: left; }
  .dl-footer { padding: 40px 24px; }
}

/* ------------------------------------------------------------------
   Reduced motion
------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .dl-btn, .dl-btn:hover { transition: none; transform: none; }
}
