/*
Theme Name: Vista Creatives
Theme URI: https://vistacreatives.com
Description: Landing page theme for Vista Creatives design studio
Version: 1.0
Author: Vista Creatives
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface2: #1e1e1e;
  --accent: #d4ff00;
  --accent-dim: rgba(212, 255, 0, 0.12);
  --text: #f5f5f5;
  --muted: #888;
  --border: rgba(255,255,255,0.08);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.03em; }
h1 { font-size: clamp(3rem, 8vw, 7rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--muted); line-height: 1.75; }

.accent { color: var(--accent); }
.label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 1.5rem;
}

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 7rem 0; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: #0a0a0a !important;
  font-weight: 700 !important;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; color: #0a0a0a !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212,255,0,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 900px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(212,255,0,0.2);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2.5rem;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: block;
}
.hero h1 { margin-bottom: 2rem; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); opacity: 0.9; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s, gap 0.2s;
}
.btn-ghost:hover { border-color: var(--text); gap: 0.75rem; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  display: block;
}

/* ── MARQUEE ── */
.marquee-section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.marquee-track .dot {
  color: var(--accent);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 4rem;
}
.service-card {
  background: var(--surface);
  padding: 2.5rem;
  position: relative;
  transition: background 0.3s;
}
.service-card:hover { background: var(--surface2); }
.service-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(212,255,0,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.service-card h3 { margin-bottom: 0.75rem; color: var(--text); }
.service-card p { font-size: 0.9rem; }

/* ── PROCESS ── */
.process { background: var(--surface); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.step {
  position: relative;
  padding-left: 3.5rem;
}
.step-num {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  font-family: var(--mono);
}
.step h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.step p { font-size: 0.875rem; }

/* ── CTA ── */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,255,0,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 1.5rem; }
.cta-section p { font-size: 1.05rem; max-width: 480px; margin: 0 auto 2.5rem; }
.cta-email {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1.25rem;
}
.cta-email a { color: var(--accent); text-decoration: none; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo { font-weight: 800; letter-spacing: -0.04em; font-size: 1rem; }
.footer-logo span { color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ── GUTENBERG BLOCK PATTERNS ── */
.wp-block-group.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
.vista-hero.wp-block-group,
.vista-services.wp-block-group,
.vista-process.wp-block-group,
.vista-cta.wp-block-group { padding: 0; }

.vista-hero {
  min-height: 100vh;
  display: flex !important;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}
.vista-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(212,255,0,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.vista-hero .wp-block-heading { margin-bottom: 2rem; }
.vista-hero .hero-sub { margin-bottom: 3rem; }

.vista-services { padding: 7rem 0; }
.vista-services .services-grid.wp-block-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 4rem;
}
.vista-services .service-card.wp-block-group {
  background: var(--surface);
  padding: 2.5rem;
  transition: background 0.3s;
}
.vista-services .service-card.wp-block-group:hover { background: var(--surface2); }
.vista-services .service-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(212,255,0,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.vista-process { background: var(--surface); padding: 7rem 0; }
.vista-process .process-steps.wp-block-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  counter-reset: step-counter;
}
.vista-process .step.wp-block-group {
  position: relative;
  padding-left: 3.5rem;
  counter-increment: step-counter;
}
.vista-process .step.wp-block-group::before {
  content: counter(step-counter, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  font-family: var(--mono);
}

.vista-cta {
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vista-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,255,0,0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* ── MEMBERS ── */
.members-hero {
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  padding-top: 8rem;
  padding-bottom: 4rem;
}
.members-section { padding-bottom: 8rem; }
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.member-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.member-card:hover { border-color: rgba(212,255,0,0.25); }
.member-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s;
}
.member-card:hover .member-photo img { filter: grayscale(0%); }
.member-info { padding: 2rem; }
.member-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
.member-header h3 { font-size: 1.5rem; color: var(--text); margin: 0; }
.member-pronoun {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--surface2);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.member-role { font-size: 0.85rem; margin-bottom: 1rem; }
.member-bio { font-size: 0.9rem; margin-bottom: 1.5rem; }
.member-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(212,255,0,0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
}

/* ── 404 ── */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}
.not-found::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212,255,0,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.not-found-inner { max-width: 700px; }
.not-found-code {
  font-size: clamp(6rem, 16vw, 12rem);
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  font-family: var(--mono);
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
  opacity: 0.15;
}
.not-found .label { margin-bottom: 1rem; }
.not-found h1 { margin-bottom: 1.5rem; }
.not-found p { font-size: 1.05rem; max-width: 420px; margin-bottom: 2.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  section { padding: 5rem 0; }
  .hero-scroll { display: none; }
}
