/* ============================================
   dfrnt. — Global Stylesheet
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@300;400;700;800;900&family=DM+Serif+Display:ital@0;1&display=swap');

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

:root {
  --bg:          #0e0616;
  --bg-mid:      #270f42;
  --purple:      #3E1D63;
  --purple-light:#5a2d8a;
  --white:       #ffffff;
  --muted:       rgba(255,255,255,0.45);
  --font-display:'Geologica', sans-serif;
  --font-serif:  'DM Serif Display', serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-display);
  overflow-x: hidden;
  cursor: none;
}

/* ── CURSOR ── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--white); border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
}
.cursor-follower {
  position: fixed; width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%,-50%);
  transition: width .3s ease, height .3s ease, opacity .3s ease, border-color .3s ease;
}
@media (hover: none) {
  .cursor, .cursor-follower { display: none !important; }
  body { cursor: auto !important; }
}

/* ── NAV ── */
.dn-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9990;
  padding: 0 60px; height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(14,6,22,.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .3s ease, border-color .3s ease;
}
.dn-nav.scrolled {
  background: rgba(14,6,22,.97);
  border-bottom-color: rgba(255,255,255,.08);
}
.dn-logo {
  font-family: var(--font-display); font-weight: 900; font-size: 22px;
  letter-spacing: -.04em; color: var(--white) !important; text-decoration: none;
}
.dn-logo span { color: var(--purple-light); }
.dn-links {
  display: flex; align-items: center; gap: 40px;
  list-style: none; padding: 0; margin: 0;
}
.dn-links a {
  color: rgba(255,255,255,.5) !important; text-decoration: none !important;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 400; transition: color .3s; position: relative;
}
.dn-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--purple-light);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.dn-links a:hover, .dn-links a.active { color: var(--white) !important; }
.dn-links a:hover::after, .dn-links a.active::after { transform: scaleX(1); }
.dn-cta {
  background: var(--purple) !important; color: var(--white) !important;
  padding: 10px 22px !important; border-radius: 2px !important;
  font-weight: 700 !important; letter-spacing: .06em !important;
}
.dn-cta::after { display: none !important; }
.dn-cta:hover { background: var(--purple-light) !important; color: var(--white) !important; }

.dn-mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.dn-mobile-toggle span {
  display: block; width: 24px; height: 1px; background: var(--white);
  transition: transform .3s ease, opacity .3s ease;
}
.dn-mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.dn-mobile-toggle.open span:nth-child(2) { opacity: 0; }

@media (max-width: 768px) {
  body { cursor: auto !important; }
  .dn-nav { padding: 0 24px; }
  .dn-mobile-toggle { display: flex; }
  .dn-links {
    position: fixed; top: 80px; left: 0; right: 0;
    background: rgba(14,6,22,.98); backdrop-filter: blur(20px);
    flex-direction: column; gap: 0; padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transform: translateY(-110%);
    transition: transform .4s ease, visibility .4s ease;
    visibility: hidden;
  }
  .dn-links.open { transform: translateY(0); visibility: visible; }
  .dn-links li { width: 100%; }
  .dn-links a { display: block !important; padding: 16px 32px !important; font-size: 15px !important; }
  .dn-cta { margin: 8px 32px 0 !important; padding: 14px 24px !important; text-align: center !important; display: block !important; }
}

.nav-spacer { height: 80px; }

/* ── HERO BASE ── */
.page-hero {
  min-height: 85vh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 0 60px 80px;
  position: relative; overflow: hidden; background: var(--bg);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(130px); pointer-events: none; }
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(90,45,138,.5) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orb-float 10s ease-in-out infinite;
}
.hero-orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(62,29,99,.35) 0%, transparent 70%);
  bottom: 0; left: 150px;
  animation: orb-float 14s ease-in-out infinite reverse;
}
@keyframes orb-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }
.hero-eyebrow {
  font-size: 11px; letter-spacing: 6px; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 32px;
  display: flex; align-items: center; gap: 16px;
  opacity: 0; animation: fade-up 1s ease forwards .3s;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--purple-light); flex-shrink: 0; }
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(52px, 7vw, 110px); line-height: .95;
  letter-spacing: -.04em; text-transform: lowercase; color: var(--white);
  margin: 0 0 40px;
  opacity: 0; animation: fade-up 1s ease forwards .5s;
}
.hero-title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.5);
}
.hero-sub {
  color: var(--muted); font-size: 16px; line-height: 1.8; font-weight: 300;
  margin: 0; max-width: 480px;
  opacity: 0; animation: fade-up 1s ease forwards .7s;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── EYEBROW ── */
.eyebrow-label {
  font-size: 11px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--purple-light); margin-bottom: 20px; display: block;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--white); color: var(--bg-mid);
  text-decoration: none; font-size: 13px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 20px 48px; border-radius: 2px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--white);
  text-decoration: none; font-size: 13px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 20px 48px; border-radius: 2px;
  border: 1px solid rgba(255,255,255,.2);
  transition: border-color .3s, background .3s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.05); }
.section-link {
  color: var(--muted); text-decoration: none; font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 4px;
  transition: color .3s, border-color .3s; white-space: nowrap;
}
.section-link:hover { color: var(--white); border-color: var(--white); }

/* ── FOOTER ── */
.site-footer {
  background: #080510; padding: 60px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-logo {
  font-family: var(--font-display); font-weight: 900; font-size: 28px;
  letter-spacing: -.04em; color: var(--white); text-decoration: none;
}
.footer-logo span { color: var(--purple-light); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); letter-spacing: .05em; }
.footer-copy a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-copy a:hover { color: var(--white); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .page-hero { padding: 0 32px 60px; }
  .site-footer { padding: 40px 32px; }
}
@media (max-width: 768px) {
  .site-footer { flex-direction: column; gap: 20px; text-align: center; }
}
