/* =========================================================
   GREELEY CREATIVE DISTRICT — Design System
   Inspired by Mattter, tailored for an arts nonprofit.
   Palette: obsidian black, mint accent, amber marker dots.
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Color */
  --bg: #0a0a0a;
  --bg-elev: #111111;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f5f5f5;
  --text-muted: #a1a1a1;
  --text-dim: #666666;

  --accent: #b5f26c;        /* mint-lime, fresh and creative */
  --accent-hover: #c9fa8a;
  --accent-dark: #8fcf4a;
  --amber: #fcd34d;         /* the "yellow dot" marker */
  --amber-soft: rgba(252, 211, 77, 0.15);

  /* Typography */
  --font-sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset,
                 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  --shadow-lift: 0 30px 80px -30px rgba(181, 242, 108, 0.25);

  /* Fluid type scale */
  --fs-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8rem);
  --fs-sm: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
  --fs-lg: clamp(1.15rem, 1rem + 0.5vw, 1.3rem);
  --fs-xl: clamp(1.4rem, 1.2rem + 1vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem);
  --fs-3xl: clamp(2.25rem, 1.8rem + 2vw, 3.25rem);
  --fs-display: clamp(3.5rem, 3rem + 6vw, 9rem);
  --fs-mega: clamp(4.5rem, 3.5rem + 8vw, 12rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. RESET + BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}
@media (max-width: 900px) { body { cursor: auto; } }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #000; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent);
  color: #000;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- 3. CUSTOM CURSOR ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 0.12s var(--ease), background 0.2s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(181, 242, 108, 0.5);
  border-radius: 50%;
  transition: transform 0.18s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.2s;
}
body.cursor-hover .cursor-ring {
  width: 60px; height: 60px;
  border-color: var(--accent);
  background: rgba(181, 242, 108, 0.08);
}
body.cursor-hover .cursor-dot { transform: translate(-50%, -50%) scale(0); }
@media (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- 4. LOADING SCREEN ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.loader-mark .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
  animation: pulse 0.9s ease-in-out infinite alternate;
}
.loader-bar {
  width: min(240px, 60vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar .fill {
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  animation: loadfill 1.1s var(--ease) forwards;
}
@keyframes pulse { to { transform: scale(1.4); opacity: 0.6; } }
@keyframes loadfill { to { transform: scaleX(1); } }

/* ---------- 5. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}
.section {
  padding: clamp(4rem, 10vh, 8rem) 0;
  position: relative;
}

/* ---------- 6. NAV ---------- */
.nav-wrap {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 1rem;
}
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  transition: transform 0.4s var(--ease);
}
.nav.hidden { transform: translateY(-120%); }
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-right: 1rem;
  border-right: 1px solid var(--border);
  margin-right: 0.25rem;
}
.nav-brand .status {
  display: flex;
  gap: 4px;
}
.nav-brand .status i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.nav-brand .status i:nth-child(1) { background: var(--accent); animation: blink 1.6s ease-in-out infinite; }
.nav-brand .status i:nth-child(2) { background: var(--amber); }
@keyframes blink { 50% { opacity: 0.3; } }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-pill);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-link.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}
.nav-link.active::before {
  content: "";
  position: absolute;
  left: 10px; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}
.nav-link.active { padding-left: 1.2rem; }

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--r-pill);
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 24px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 800;
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}
body.menu-open .mobile-menu { transform: translateY(0); pointer-events: auto; }
.mobile-menu ul { list-style: none; }
.mobile-menu li {
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
body.menu-open .mobile-menu li {
  opacity: 1;
  transform: translateY(0);
}
body.menu-open .mobile-menu li:nth-child(1) { transition-delay: 0.1s; }
body.menu-open .mobile-menu li:nth-child(2) { transition-delay: 0.15s; }
body.menu-open .mobile-menu li:nth-child(3) { transition-delay: 0.2s; }
body.menu-open .mobile-menu li:nth-child(4) { transition-delay: 0.25s; }
body.menu-open .mobile-menu li:nth-child(5) { transition-delay: 0.3s; }
body.menu-open .mobile-menu li:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.mobile-menu a .arrow { color: var(--text-dim); transition: color 0.2s, transform 0.2s; }
.mobile-menu a:hover .arrow { color: var(--accent); transform: translateX(6px); }
.mobile-menu-footer {
  margin-top: auto;
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav { padding: 0.35rem 0.35rem 0.35rem 1rem; }
}

/* ---------- 7. SECTION LABEL ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.02);
}
.section-label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.section-label.center {
  display: flex;
  margin: 0 auto;
  width: fit-content;
}

/* ---------- 8. DISPLAY HEADING ---------- */
.display {
  font-size: var(--fs-display);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.display .dot-end {
  color: var(--accent);
}
.mega {
  font-size: var(--fs-mega);
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

/* split text */
.split { overflow: hidden; display: inline-block; }
.split .word,
.split .char { display: inline-block; }
.split .line {
  display: block;
  overflow: hidden;
}
.split .line > span {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}
.is-revealed .split .line > span {
  transform: translateY(0);
  transition: transform 0.9s var(--ease);
}
.is-revealed .split .line:nth-child(2) > span { transition-delay: 0.08s; }
.is-revealed .split .line:nth-child(3) > span { transition-delay: 0.16s; }
.is-revealed .split .line:nth-child(4) > span { transition-delay: 0.24s; }

/* fade up */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-revealed { opacity: 1; transform: translateY(0); }

/* ---------- 9. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-pill);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
  will-change: transform;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 1.1rem 1.8rem; font-size: 1rem; }
.btn .icon { width: 18px; height: 18px; }
.btn-arrow {
  display: inline-flex;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #000;
  color: var(--accent);
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn-arrow { transform: rotate(-45deg); }

/* magnetic button wrapper — move handled in JS */
.magnetic { display: inline-block; will-change: transform; }

/* ---------- 10. HERO (HOME) ---------- */
.hero {
  min-height: 100svh;
  padding: 8rem 0 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.hero-title {
  font-size: var(--fs-mega);
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.hero-title .accent { color: var(--accent); font-style: italic; font-family: "Instrument Serif", "Geist", serif; font-weight: 400; }
.hero-title .marker {
  display: inline-block;
  width: 0.25em;
  height: 0.25em;
  border-radius: 50%;
  background: var(--amber);
  vertical-align: super;
  font-size: 0.5em;
  margin-left: 0.1em;
}
.hero-sub {
  max-width: 620px;
  font-size: var(--fs-lg);
  color: var(--text-muted);
  margin-top: 1.75rem;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-meta .stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero-meta .num {
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-meta .num sup { font-size: 0.5em; color: var(--accent); }
.hero-meta .label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

/* ambient orb behind hero */
.orb {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(181,242,108,0.3), transparent 65%);
  filter: blur(80px);
  top: -20%;
  right: -15%;
  z-index: -1;
  animation: float 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes float {
  from { transform: translate(0, 0); }
  to { transform: translate(-30px, 40px); }
}

/* ---------- 11. MARQUEE ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 1.5rem 0;
}
.marquee-track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee span {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4rem;
}
.marquee span::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- 12. 3D CAROUSEL (GALLERY / PROGRAMS) ---------- */
.carousel-section {
  position: relative;
  min-height: 100vh;
  padding: 6rem 0;
}
.carousel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.carousel-tag {
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #000;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.9rem;
}
.carousel-track {
  display: flex;
  gap: 1.25rem;
  perspective: 1800px;
  perspective-origin: 50% 50%;
  padding: 2rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:active { cursor: grabbing; }

.program-card {
  flex: 0 0 clamp(280px, 32vw, 420px);
  height: clamp(360px, 48vh, 520px);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  scroll-snap-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s;
  filter: saturate(0.85) brightness(0.85);
}
.program-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(1);
}
.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}
.program-card-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--amber);
  color: #000;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  z-index: 2;
}
.program-card-tag.alt { background: var(--accent); }
.program-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem;
  z-index: 2;
}
.program-card-body h3 {
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.program-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- 13. SERVICE CARDS STACK ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 4rem;
}
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: var(--bg-card-hover);
}
.service-card.featured {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}
.service-card.featured:hover { background: var(--accent-hover); }
.service-card .num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  opacity: 0.5;
}
.service-card h3 {
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 2rem 0 1rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.service-card.featured p { color: #1a1a1a; opacity: 0.8; }
.service-card .card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.service-card:hover .card-icon {
  background: var(--accent);
  color: #000;
  transform: rotate(-45deg);
}
.service-card.featured .card-icon {
  background: #0a0a0a;
  color: var(--accent);
  border-color: #0a0a0a;
}

/* ---------- 14. PRICING / MEMBERSHIPS ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 4rem;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.price-card.highlight {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}
.price-card.highlight:hover { background: var(--accent-hover); }
.price-card .plan {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.price-card.highlight .plan { color: #1a1a1a; }
.price-card .price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}
.price-card .amt {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-card .per { color: var(--text-muted); font-size: 0.95rem; }
.price-card.highlight .per { color: #1a1a1a; opacity: 0.7; }
.price-card .intro {
  color: var(--text-muted);
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}
.price-card.highlight .intro { color: #1a1a1a; opacity: 0.8; }
.price-card h3 {
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
}
.price-card.highlight h3 { color: #0a0a0a; }
.price-card ul { list-style: none; margin-top: 1rem; }
.price-card li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 2px;
}
.price-card.highlight li { color: #1a1a1a; }
.price-card.highlight li::before { background: #0a0a0a; }
.price-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.price-card:hover .btn { background: var(--accent); color: #000; border-color: var(--accent); }
.price-card.highlight .btn {
  background: #0a0a0a;
  color: var(--accent);
  border: none;
}
.price-card.highlight:hover .btn { background: #111; }

/* ---------- 15. TESTIMONIAL ---------- */
.testimonials {
  text-align: center;
}
.testi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  text-align: left;
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.testi-card.feature {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
  transform: scale(1.03);
}
.testi-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.testi-card.feature:hover { transform: scale(1.04) translateY(-4px); }
.testi-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.testi-name { font-weight: 600; font-size: 0.95rem; }
.testi-role { font-size: 0.8rem; color: var(--text-muted); }
.testi-card.feature .testi-role { color: #1a1a1a; opacity: 0.7; }
.testi-quote {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.testi-card.feature .testi-quote { color: #0a0a0a; }

/* ---------- 16. ABOUT TIMELINE ---------- */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 3rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 3rem;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-4px);
  box-shadow: 0 0 0 4px rgba(181,242,108,0.12);
}
.timeline-item .year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.timeline-item h4 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.timeline-item p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- 17. TEAM ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.team-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s;
  filter: grayscale(0.4) contrast(1.05);
}
.team-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1);
}
.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85));
}
.team-card-body {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 1.5rem;
  z-index: 2;
}
.team-card-body h4 {
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.team-card-body p {
  color: var(--accent);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- 18. GALLERY GRID / LIGHTBOX ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
  padding: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  width: fit-content;
}
.filter-btn {
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: background 0.25s, color 0.25s;
}
.filter-btn.active {
  background: var(--accent);
  color: #000;
  font-weight: 600;
}
.filter-btn:hover:not(.active) { color: var(--text); background: rgba(255,255,255,0.04); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}
.gallery-item:nth-child(3n+2) { aspect-ratio: 4/3; }
.gallery-item:nth-child(5n) { aspect-ratio: 1/1; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.3s;
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.8));
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}
.gallery-caption h4 { font-size: 0.95rem; font-weight: 600; }
.gallery-caption p { font-size: 0.8rem; color: var(--text-muted); }

.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--r-md);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ---------- 19. CONTACT / FORM ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}
.contact-info h3 {
  font-size: var(--fs-xl);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-list {
  list-style: none;
  border-top: 1px solid var(--border);
}
.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-list .label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.contact-list a:hover { color: var(--accent); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #0e0e0e;
}
.field textarea { min-height: 140px; resize: vertical; }
.field.error input, .field.error textarea { border-color: #ef4444; }
.field .err-msg {
  display: none;
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 0.35rem;
}
.field.error .err-msg { display: block; }

.map-wrap {
  margin-top: 2rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 340px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: invert(0.9) hue-rotate(180deg) saturate(0.4); }

/* FAQ */
.faq-list { margin-top: 3rem; }
.faq {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  cursor: pointer;
}
.faq:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.faq-q h4 {
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-toggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.3s var(--ease);
}
.faq.open .faq-toggle { background: var(--accent); color: #000; transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  transition: max-height 0.4s var(--ease), margin-top 0.4s var(--ease);
}
.faq.open .faq-a { max-height: 400px; margin-top: 1rem; }

/* ---------- 20. CTA BANNER ---------- */
.cta-banner {
  background: var(--accent);
  color: #0a0a0a;
  border-radius: var(--r-xl);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  font-size: var(--fs-display);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.cta-banner p {
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: var(--fs-lg);
  color: rgba(0,0,0,0.7);
}
.cta-banner .btn {
  background: #0a0a0a;
  color: var(--accent);
}
.cta-banner .btn:hover { background: #222; }

/* ---------- 21. FOOTER ---------- */
.footer {
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 6rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-brand .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--text-muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, color 0.2s;
}
.footer-social a:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.mega-word {
  font-size: clamp(4rem, 16vw, 18rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-weight: 600;
  text-align: center;
  color: var(--accent);
  white-space: nowrap;
  margin: 4rem 0 3rem;
  opacity: 0.95;
}

/* ---------- 22. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .testi-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(3n+2),
  .gallery-item:nth-child(5n) { aspect-ratio: 4/5; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-top: 6rem; }
  .hero-meta { gap: 1.5rem; }
  .service-card { padding: 1.5rem; min-height: 320px; }
  .price-card { padding: 1.5rem; }
  .contact-form { padding: 1.5rem; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .cta-banner { padding: 2.5rem 1.5rem; }
}

/* ---------- 23. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .orb, .marquee-track { animation: none; }
  .split .line > span { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
