/* ── VARIABLES ── */
:root {
  --black: #08070f;
  --white: #f0effa;
  --accent: #7c5ce8;
  --accent2: #9b7ff5;
  --accent-glow: #5b3dd6;
  --gray: #110f1e;
  --mid: #1e1a35;
  --text-muted: #7a7890;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 4rem;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: padding 0.3s;
}
nav.shrunk { padding: 0.8rem 4rem; }
.logo img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--accent); color: var(--black);
  padding: 0.55rem 1.4rem; border-radius: 2px;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.nav-cta:hover { background: var(--accent2); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 4rem 4rem;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 80% at 70% 50%, rgba(80,45,180,0.22) 0%, transparent 65%),
              radial-gradient(ellipse 50% 60% at 10% 80%, rgba(100,60,200,0.12) 0%, transparent 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124,92,232,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,92,232,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; right: -100px; top: 50%;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,92,232,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-left { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block;
  border: 1px solid rgba(124,92,232,0.45);
  color: var(--accent);
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 2rem;
  border-radius: 2px;
  animation: fadeUp 0.8s ease both;
}
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(3.5rem, 6vw, 6.2rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
  animation: fadeUp 0.8s 0.1s ease both;
}
h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 440px; line-height: 1.7;
  margin-bottom: 2.8rem;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-actions { display: flex; gap: 1rem; animation: fadeUp 0.8s 0.3s ease both; }
.btn-primary {
  background: var(--accent); color: var(--black);
  padding: 0.85rem 2rem; border-radius: 2px;
  font-weight: 500; font-size: 0.9rem;
  text-decoration: none; letter-spacing: 0.04em;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.18); color: var(--white);
  padding: 0.85rem 2rem; border-radius: 2px;
  font-size: 0.9rem; text-decoration: none; letter-spacing: 0.04em;
  transition: border-color 0.3s, transform 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── BIG 8 ── */
.hero-right {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.big8 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(200px, 22vw, 320px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(124,92,232,0.35);
  line-height: 1;
  user-select: none;
  animation: float 6s ease-in-out infinite;
  position: relative;
}
.big8::after {
  content: '8';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, transparent 40%, rgba(0,201,177,0.08) 100%);
  -webkit-text-stroke: 0;
  color: transparent;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ── STATS STRIP ── */
.stats {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 2.5rem 3rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem; font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ── SECTION BASE ── */
section { padding: 7rem 4rem; }
.section-tag {
  font-size: 0.72rem; color: var(--accent);
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 1rem;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.1; margin-bottom: 1.5rem;
}
h2 span { color: var(--accent); }

/* ── STORY ── */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.story-text p {
  color: var(--text-muted); line-height: 1.85; margin-bottom: 1.2rem;
  font-size: 1rem;
}
.story-visual {
  position: relative; height: 400px;
  display: flex; align-items: center; justify-content: center;
}
.timeline {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; justify-content: center; gap: 0;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  background: var(--gray);
  position: relative; overflow: hidden;
}
.timeline::before {
  content: ''; position: absolute; left: 3.5rem; top: 0; bottom: 0;
  width: 1px; background: rgba(124,92,232,0.25);
}
.t-item {
  display: flex; gap: 2rem; align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.t-item:last-child { border-bottom: none; }
.t-year {
  font-size: 0.75rem;
  color: var(--accent); font-weight: 700; width: 2.5rem; flex-shrink: 0;
  text-align: right; position: relative;
}
.t-year::after {
  content: ''; position: absolute; right: -1.6rem; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--black);
}
.t-desc { font-size: 0.85rem; color: var(--text-muted); padding-left: 1rem; }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); margin-top: 4rem; }
.service-card {
  background: var(--black); padding: 3rem 2.5rem;
  position: relative; overflow: hidden;
  transition: background 0.4s;
}
.service-card:hover { background: var(--gray); }
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 48px; height: 48px; margin-bottom: 2rem;
  color: var(--accent);
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 0.8rem; letter-spacing: 0em;
}
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ── VALUES ── */
.values { background: var(--gray); }
.values-inner { max-width: 1200px; margin: 0 auto; }
.values-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.value-item {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  transition: border-color 0.3s, transform 0.3s;
  background: var(--black);
}
.value-item:hover { border-color: rgba(124,92,232,0.3); transform: translateY(-4px); }
.value-num {
  font-size: 0.7rem;
  color: var(--accent); letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.value-item h4 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem;
  font-weight: 700; margin-bottom: 0.5rem;
}
.value-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }

/* ── MARQUEE ── */
.marquee-wrap {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 4rem;
  animation: marquee 20s linear infinite;
}
.marquee-item {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 1rem;
}
.marquee-item .dot { color: var(--accent); font-size: 1.5rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── CTA ── */
.cta-section {
  text-align: center; position: relative; overflow: hidden;
  padding: 8rem 4rem;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(124,92,232,0.12) 0%, transparent 100%);
}
.cta-section h2 { font-size: clamp(2.5rem, 5vw, 5rem); max-width: 700px; margin: 1rem auto 2rem; }
.cta-section p { color: var(--text-muted); max-width: 500px; margin: 0 auto 3rem; font-size: 1rem; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
}
footer .logo { font-size: 1.1rem; }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.78rem; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── CURSOR DOT ── */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: screen;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(124,92,232,0.4); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transition: all 0.25s ease;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1.2rem 2rem; }
  .hero { grid-template-columns: 1fr; padding: 6rem 2rem 3rem; text-align: center; }
  .hero-right { display: none; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  section { padding: 5rem 2rem; }
  .story { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .values-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
}
