@charset "UTF-8";

/* ============================================================
   UDS — Shared Stylesheet (used by all new pages)
   ============================================================ */

:root{
  --bg:           #0A0A0F;
  --bg-2:         #12121A;
  --bg-3:         #1A1A24;
  --surface:      rgba(255,255,255,0.03);
  --surface-2:    rgba(255,255,255,0.06);
  --border:       rgba(255,255,255,0.08);
  --border-hi:    rgba(255,255,255,0.16);
  --text:         #F5F2EA;
  --text-dim:     rgba(245,242,234,0.62);
  --text-faint:   rgba(245,242,234,0.38);
  --accent:       #D4FF3A;
  --accent-warm:  #FF6B35;
  --accent-cool:  #6BCEFF;

  --display: 'Fraunces', 'Times New Roman', serif;
  --body:    'Manrope', system-ui, sans-serif;
  --mono:    'JetBrains Mono', monospace;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 64px);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
@media (max-width: 900px){ body{ cursor: auto; } }

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }

/* ---------- Noise overlay ---------- */
body::before{
  content:'';
  position: fixed; inset:0;
  pointer-events:none; z-index: 9999;
  opacity:.045;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ---------- Gradient orbs ---------- */
.bg-orbs{ position: fixed; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
.orb{
  position:absolute; border-radius:50%;
  filter: blur(120px); opacity:.32;
  animation: floatOrb 22s var(--ease) infinite alternate;
}
.orb.o1{ width:520px; height:520px; background:#7E3AF2; top:-10%; left:-10%; }
.orb.o2{ width:420px; height:420px; background:#D4FF3A; bottom:-15%; right:-10%; opacity:.15; animation-duration: 28s; }
.orb.o3{ width:380px; height:380px; background:#FF6B35; top:50%; left:60%; opacity:.14; animation-duration: 30s; }
@keyframes floatOrb{
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(40px,-30px) scale(1.1); }
  100% { transform: translate(-30px,40px) scale(0.95); }
}

/* ---------- Custom cursor ---------- */
.cursor, .cursor-dot{
  position: fixed; pointer-events:none; z-index:10000;
  border-radius:50%; left:0; top:0;
  transition: transform .25s var(--ease-out), opacity .25s ease, width .25s var(--ease-out), height .25s var(--ease-out), background .25s ease;
}
.cursor{
  width:36px; height:36px;
  border:1px solid var(--accent);
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
}
.cursor-dot{
  width:5px; height:5px;
  background: var(--accent);
  transform: translate(-50%,-50%);
}
.cursor.expand{ width:64px; height:64px; background: rgba(212,255,58,.12); }
.cursor.hide{ opacity:0; }
@media (max-width: 900px){ .cursor, .cursor-dot{ display:none; } }

/* ---------- Scroll progress ---------- */
.scroll-progress{
  position: fixed; top:0; left:0;
  height: 2px; width: 0%;
  background: var(--accent);
  z-index: 1000;
  transition: width .1s linear;
}

/* ---------- Container ---------- */
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section{ position: relative; padding: clamp(80px, 12vh, 160px) 0; }

/* ---------- Navigation ---------- */
.nav{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  padding: 18px 0;
  transition: all .4s var(--ease);
}
.nav.scrolled{
  background: rgba(10,10,15,.7);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav .container{ display:flex; align-items:center; justify-content:space-between; gap:24px; }

.logo{
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  display:flex; align-items:center; gap:10px;
}
.logo-mark{
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 10px;
  display:grid; place-items:center;
  color: var(--bg);
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  position: relative; overflow:hidden;
  transition: transform .4s var(--ease);
}
.logo:hover .logo-mark{ transform: rotate(-8deg) scale(1.08); }
.logo-mark::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shine 3s ease-in-out infinite;
}
.logo-sub{
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--text-dim);
  font-size: 18px;
}
@keyframes shine{ 0%, 60%{ transform: translateX(-100%);} 100%{ transform: translateX(100%);} }

.nav-links{
  display:flex; align-items:center; gap: 36px;
  list-style:none; font-size: 14px; font-weight: 500;
}
.nav-links a{
  position:relative; color: var(--text-dim);
  transition: color .3s ease;
}
.nav-links a:hover, .nav-links a.active{ color: var(--text); }
.nav-links a.active{ color: var(--accent); }
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:-6px;
  width:100%; height:1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after{ transform: scaleX(1); transform-origin: left; }

.nav-cta{
  display:inline-flex; align-items:center; gap:8px;
  padding: 12px 22px;
  background: var(--text); color: var(--bg);
  border-radius: 100px;
  font-weight: 600; font-size: 13px;
  transition: all .3s var(--ease);
}
.nav-cta:hover{ background: var(--accent); transform: translateY(-2px); }

.menu-btn{ display:none; }
@media (max-width: 1024px){
  .nav-links{ display:none; }
  .nav-cta{ display:none; }
  .menu-btn{ display:flex; flex-direction:column; gap:5px; padding:8px; background:transparent; }
  .menu-btn span{ width:24px; height:2px; background:var(--text); transition: all .3s; }
}

/* Mobile menu overlay */
.mobile-menu{
  position: fixed; inset:0; z-index: 99;
  background: var(--bg);
  padding: 100px var(--gutter) 40px;
  display: none; flex-direction: column; gap: 28px;
}
.mobile-menu.open{ display:flex; }
.mobile-menu a{
  font-family: var(--display);
  font-size: 32px;
  color: var(--text);
  font-weight: 300;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a em{ color: var(--accent); font-style: italic; }

/* ---------- Buttons ---------- */
.btn-primary{
  display:inline-flex; align-items:center; gap:14px;
  padding: 20px 32px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 100px;
  font-weight: 600; font-size: 15px;
  transition: all .4s var(--ease);
  position:relative; overflow:hidden;
  cursor: pointer; border: none;
  font-family: inherit;
}
.btn-primary::before{
  content:''; position:absolute; inset:0;
  background: var(--text);
  transform: translateY(100%);
  transition: transform .4s var(--ease);
}
.btn-primary > *{ position: relative; z-index:1; }
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 20px 50px -10px rgba(212,255,58,.4); }
.btn-primary:hover::before{ transform: translateY(0); }
.btn-primary .arrow-icon{ width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn-primary:hover .arrow-icon{ transform: translate(4px,-4px); }
.btn-primary.back .arrow-icon{ transform: scaleX(-1); }
.btn-primary.back:hover .arrow-icon{ transform: scaleX(-1) translate(4px,-4px); }

.btn-secondary{
  display:inline-flex; align-items:center; gap:12px;
  padding: 19px 28px;
  border-radius: 100px;
  border: 1px solid var(--border-hi);
  color: var(--text);
  font-weight: 500; font-size: 15px;
  transition: all .3s var(--ease);
  background: transparent;
  cursor: pointer; font-family: inherit;
}
.btn-secondary:hover{ background: var(--surface-2); border-color: var(--text); }

/* ---------- Page Hero (shared) ---------- */
.page-hero{
  padding: clamp(140px, 22vh, 220px) 0 clamp(60px, 10vh, 100px);
  position: relative;
  border-bottom: 1px solid var(--border);
}

.breadcrumb{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 32px;
}
.breadcrumb a{ color: var(--text-dim); transition: color .25s ease; }
.breadcrumb a:hover{ color: var(--accent); }
.breadcrumb-sep{ color: var(--text-faint); }
.breadcrumb-current{ color: var(--accent); }

h1.page-title{
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(56px, 10vw, 160px);
  line-height: .95;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}
h1.page-title em{
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.page-intro{
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-dim);
  max-width: 60ch;
  line-height: 1.65;
  margin-top: 32px;
}

.page-meta{
  display:flex; flex-wrap: wrap; gap: 40px;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.meta-item{ display:flex; flex-direction:column; gap:6px; }
.meta-label{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.meta-value{
  font-family: var(--display);
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ---------- Section heading ---------- */
.section-head{
  display:grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
@media (max-width: 900px){
  .section-head{ grid-template-columns: 1fr; gap: 30px; }
}
.section-label{
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-faint);
  display:flex; align-items:center; gap:10px;
}
.section-label::before{
  content:''; width:10px; height:10px; border-radius:50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(212,255,58,.15);
}

h2.section-title{
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 6.2vw, 96px);
  line-height: .98;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
h2.section-title em{ font-style: italic; color: var(--accent); }

/* ---------- Footer (shared) ---------- */
.footer{
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 80px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px){ .footer-grid{ grid-template-columns: 1fr; } }

.footer-brand p{
  font-size: 14.5px;
  color: var(--text-dim);
  margin-top: 24px;
  line-height: 1.6;
  max-width: 36ch;
}
.footer h4{
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.footer ul{ list-style:none; }
.footer li{ margin-bottom: 12px; font-size: 14.5px; color: var(--text-dim); transition: color .25s ease; }
.footer li a{ display:block; }
.footer li:hover{ color: var(--accent); }

.footer-bottom{
  border-top: 1px solid var(--border);
  padding: 28px 0;
  display:flex; flex-wrap:wrap;
  justify-content: space-between;
  align-items: center; gap: 20px;
  font-size: 13px;
  color: var(--text-faint);
}
.footer-bottom a{ color: var(--text-dim); margin-left: 24px; }
.footer-bottom a:hover{ color: var(--accent); }

.footer-mega{
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(80px, 22vw, 380px);
  line-height: .9;
  letter-spacing: -0.05em;
  text-align: center;
  padding: 0 var(--gutter) 20px;
  background: linear-gradient(180deg, var(--text) 20%, transparent 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .8;
  user-select: none;
}
.footer-mega em{ font-style: italic; }

/* ---------- Reveal animations ---------- */
.reveal{
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in{ opacity: 1; transform: translateY(0); }

.reveal-stagger > *{
  opacity:0; transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal-stagger.in > *{ opacity:1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1){ transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5){ transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6){ transition-delay: .40s; }
.reveal-stagger.in > *:nth-child(7){ transition-delay: .48s; }
.reveal-stagger.in > *:nth-child(8){ transition-delay: .56s; }
.reveal-stagger.in > *:nth-child(9){ transition-delay: .64s; }
.reveal-stagger.in > *:nth-child(10){ transition-delay: .72s; }
.reveal-stagger.in > *:nth-child(11){ transition-delay: .80s; }
.reveal-stagger.in > *:nth-child(12){ transition-delay: .88s; }

/* Page hero entrance */
.page-hero .breadcrumb, .page-hero h1, .page-hero .page-intro, .page-hero .page-meta{
  opacity:0; transform: translateY(28px);
  animation: heroIn 1.1s var(--ease-out) forwards;
}
.page-hero h1{ animation-delay: .12s; }
.page-hero .page-intro{ animation-delay: .28s; }
.page-hero .page-meta{ animation-delay: .44s; }
@keyframes heroIn{ to { opacity:1; transform: translateY(0); } }

/* ---------- Final CTA section ---------- */
.cta-section{
  padding: clamp(80px, 14vh, 160px) 0;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-section::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background: radial-gradient(ellipse at center, rgba(212,255,58,.06), transparent 70%);
}
.cta-section h2{
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 100px);
  line-height: .95;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.cta-section h2 em{ font-style: italic; color: var(--accent); }
.cta-section p{
  font-size: 18px;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 48px;
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
