/* =============================================
   STUDIO — GLOBAL STYLES
   inspired by trionn.com visual identity
   ============================================= */

:root {
  --bg:       #040508;
  --fg:       #f0ede8;
  --muted:    #7a7c84;
  --line:     #16181f;
  --accent:   #f0ede8;
  --green:    #c8ff4d;
  --card-bg:  #0c0e14;
  --radius:   20px;
  --max:      1280px;
  --nav-h:    76px;
}

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

html { scroll-behavior:auto; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

@media (prefers-reduced-motion: reduce) {
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none !important; }
}

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

/* ── CURSOR ── */
.cursor {
  position: fixed; z-index: 9999;
  width: 8px; height: 8px;
  background: var(--fg);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
  mix-blend-mode: difference;
}
.cursor.big { width: 48px; height: 48px; }
.cursor.green { background: var(--green); }

/* ── WRAP ── */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 32px; }

/* ── NAV ── */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: 32px;
  transition: background .4s;
}
nav.scrolled { background: rgba(4,5,8,.85); backdrop-filter: blur(12px); }

.nav-logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 22px; letter-spacing: -.02em;
}
.nav-logo span { color: var(--green); }

.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }

.nav-cta {
  font-size: 13px; font-weight: 500; letter-spacing: .06em;
  border: 1px solid rgba(240,237,232,.15);
  padding: 10px 22px; border-radius: 100px;
  transition: background .25s, color .25s, border-color .25s;
}
.nav-cta:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ── HAMBURGER (mobile) ── */
.nav-burger { display: none; flex-direction: column; gap: 5px; }
.nav-burger span { width: 24px; height: 1.5px; background: var(--fg); transition: transform .3s, opacity .3s; }

/* ── PAGE TRANSITION OVERLAY ── */
#page-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--bg);
  transform: scaleY(1); transform-origin: top;
  pointer-events: none;
}

/* ── TYPOGRAPHY ── */
.display {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: clamp(52px, 10vw, 148px);
  line-height: .92; letter-spacing: -.03em;
}
.display-sm {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 6vw, 88px);
  line-height: .96; letter-spacing: -.025em;
}
.eyebrow {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.eyebrow-accent { color: var(--green); }

/* ── SECTION BASE ── */
section { padding-block: 128px; }

/* ── REVEAL ANIMATIONS (initial states) ── */
.r-up   { opacity: 0; transform: translateY(48px); }
.r-fade { opacity: 0; }
.r-left { opacity: 0; transform: translateX(-40px); }

/* ── LINE DIVIDER ── */
.divider { width: 100%; height: 1px; background: var(--line); }

/* ── MARQUEE ── */
.marquee-wrap { overflow: hidden; border-block: 1px solid var(--line); padding-block: 24px; }
.marquee-track { display: flex; gap: 0; white-space: nowrap; will-change: transform; }
.marquee-item {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 300; letter-spacing: -.02em;
  padding-inline: 24px; flex-shrink: 0;
}
.marquee-item.dim { color: var(--muted); font-size: clamp(20px, 3vw, 40px); align-self: center; }

/* ── MAGNETIC BTN ── */
.btn-mag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 36px; border-radius: 100px;
  font-weight: 500; font-size: 16px;
  will-change: transform;
  transition: background .3s, color .3s;
}
.btn-mag.solid { background: var(--fg); color: var(--bg); }
.btn-mag.outline { border: 1px solid rgba(240,237,232,.2); }
.btn-mag.outline:hover { background: var(--fg); color: var(--bg); }
.btn-mag.green-btn { background: var(--green); color: var(--bg); }

/* ── FOOTER ── */
footer {
  padding-block: 100px 48px;
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; margin-bottom: 80px; }
.footer-col h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.footer-col a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 10px; transition: color .25s; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; }
.footer-logo { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 28px; margin-bottom: 40px; }
.footer-logo span { color: var(--green); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wrap { padding-inline: 20px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  section { padding-block: 80px; }
}
