/* uiuxstudio.com — Confetto-styled. Black bg, white type, magenta + lime accents */
:root {
  --bg: #000000;
  --ink: #FFFFFF;
  --ink-soft: #BDBDBD;
  --ink-mid: #8A8A8A;
  --magenta: #FF1F8A;
  --lime: #C7FF3D;
  --yellow: #FFD400;
  --orange: #FF6A2B;
  --line: rgba(255,255,255,0.14);
  /* Legacy palette aliases — map cream-era variables onto the dark gen-z palette */
  --coral: var(--magenta);
  --coral-mid: var(--orange);
  --coral-light: var(--yellow);
  --coral-deep: var(--magenta);
  --coral-darkest: var(--ink);
  --cream: #1a1a1a;
  --text: var(--ink);
  --text-mid: var(--ink-soft);
  --text-secondary: var(--ink-soft);
  --radius: 18px;
  --radius-lg: 28px;
  --display: 'Bricolage Grotesque', 'Inter Tight', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --marquee-duration: 35s;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

h1,h2,h3,h4 { font-family: var(--display); font-weight: 500; letter-spacing: -0.025em; line-height: 0.95; }
.thin { font-weight: 300; }
.dot { color: var(--magenta); }

/* NAV */
.nav-wrap { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,0.7); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.logo { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.logo .dot { color: var(--magenta); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link { font-size: 16px; color: var(--ink); position: relative; padding: 4px 0; }
.nav-link.is-active { color: var(--magenta); }
.nav-link::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px; background: var(--magenta); transition: width 0.3s; }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-size: 15px; cursor: pointer; border: 1px solid var(--ink); background: transparent; color: var(--ink); transition: all 0.2s; font-family: var(--body); }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.fill { background: var(--ink); color: var(--bg); }
.btn.fill:hover { background: var(--magenta); border-color: var(--magenta); color: var(--ink); }
.btn.magenta { background: var(--magenta); border-color: var(--magenta); color: var(--ink); }
.btn.magenta:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.large { padding: 16px 32px; font-size: 17px; }

/* MARQUEE */
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 48px; align-items: center; padding: 16px 0; animation: scroll var(--marquee-duration) linear infinite; }
.marquee-track.reverse { animation: scroll-rev var(--marquee-duration) linear infinite; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scroll-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.marquee-text { font-family: var(--display); font-size: clamp(36px, 5vw, 64px); font-weight: 400; letter-spacing: -0.02em; }

/* SECTION */
.section { padding: 120px 0; }
.section-tight { padding: 80px 0; }
.eyebrow-mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mid); margin-bottom: 22px; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s, transform 0.7s; }
.reveal.is-in { opacity: 1; transform: none; }

/* FOOTER */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 80px 0 32px; }
.footer-bigword { font-family: var(--display); font-weight: 300; font-size: clamp(80px, 14vw, 220px); letter-spacing: -0.04em; line-height: 0.85; margin-bottom: 56px; color: var(--ink); }
.footer-bigword .dot { color: var(--magenta); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mid); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-family: var(--display); font-size: 22px; font-weight: 400; }
.footer-links a:hover { color: var(--magenta); }
.footer-meta { display: flex; justify-content: space-between; padding-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mid); flex-wrap: wrap; gap: 12px; }

/* Tweaks panel */
.tweaks-panel { font-family: var(--body) !important; }

/* ===== GEN-Z PRIMITIVES (global) ===== */
:root { --cyan: #3DEAFF; --purple: #6B2BFF; }

/* film grain overlay */
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.07; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* gradient blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; pointer-events: none; z-index: 0; }
.blob-mag { background: var(--magenta); }
.blob-purple { background: var(--purple); opacity: 0.4; }
.blob-lime { background: var(--lime); opacity: 0.3; }
.blob-cyan { background: var(--cyan); opacity: 0.35; }
.blob-yellow { background: var(--yellow); opacity: 0.3; }

/* chunky shadowed buttons */
.btn-chunky {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 17px;
  background: var(--lime); color: #000; border: 2px solid #000;
  box-shadow: 4px 4px 0 var(--magenta);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-chunky:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--magenta); }
.btn-chunky.alt { background: #000; color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--lime); }
.btn-chunky.alt:hover { box-shadow: 6px 6px 0 var(--lime); }
.btn-chunky.mag { background: var(--magenta); color: #fff; box-shadow: 4px 4px 0 var(--lime); }
.btn-chunky.mag:hover { box-shadow: 6px 6px 0 var(--lime); }
.btn-chunky.yellow { background: var(--yellow); color: #000; box-shadow: 4px 4px 0 var(--magenta); }
.btn-chunky.large { padding: 20px 36px; font-size: 19px; }

/* status pulse pill */
.gz-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--magenta); color: #000;
  padding: 8px 16px; border-radius: 999px;
  font-weight: 500; transform: rotate(-1.5deg);
}
.gz-pill.lime { background: var(--lime); }
.gz-pill.yellow { background: var(--yellow); }
.gz-pill .pulse { width: 8px; height: 8px; background: #000; border-radius: 50%; animation: gzpulse 1.6s infinite; }
@keyframes gzpulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* highlight + marker */
.gz-highlight { background: var(--yellow); color: #000; padding: 0 12px; border-radius: 6px; font-weight: 700; transform: rotate(-1deg); display: inline-block; }
.gz-marker { background: var(--lime); color: #000; padding: 0 10px; border-radius: 4px; font-weight: 700; display: inline-block; }
.gz-mag-marker { background: var(--magenta); color: #fff; padding: 0 10px; border-radius: 4px; font-weight: 700; display: inline-block; }

/* gradient text */
.gz-gradient { background: linear-gradient(90deg, var(--magenta), var(--orange), var(--yellow)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gz-gradient-cool { background: linear-gradient(90deg, var(--cyan), var(--lime), var(--magenta)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* tape labels */
.gz-tape {
  display: inline-block; position: relative;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(255,212,0,0.92); color: #000; padding: 8px 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
  font-weight: 500;
}
.gz-tape::before, .gz-tape::after { content: ""; position: absolute; top: -6px; height: 12px; width: 30px; background: rgba(255,255,255,0.4); }
.gz-tape::before { left: 8px; transform: rotate(-4deg); }
.gz-tape::after { right: 8px; transform: rotate(4deg); }
.gz-tape.lime { background: var(--lime); }
.gz-tape.mag { background: var(--magenta); color: #fff; }

/* sticker animations */
.gz-rotate-slow { animation: gzrot 22s linear infinite; }
.gz-rotate-fast { animation: gzrot 8s linear infinite; }
.gz-wobble { animation: gzwob 5s ease-in-out infinite; }
@keyframes gzrot { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes gzwob { 0%,100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-8px); } }

/* hand-scrawled underline */
.gz-scribble { display: inline-block; position: relative; }
.gz-scribble::after {
  content: ""; position: absolute; left: -8px; right: -8px; bottom: -6px; height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14'><path d='M2,7 Q20,2 40,8 T80,7 T120,8 T160,6 T198,8' stroke='%23C7FF3D' stroke-width='4' fill='none' stroke-linecap='round'/></svg>") no-repeat;
  background-size: 100% 100%;
}
.gz-scribble.mag::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14'><path d='M2,7 Q20,2 40,8 T80,7 T120,8 T160,6 T198,8' stroke='%23FF1F8A' stroke-width='4' fill='none' stroke-linecap='round'/></svg>"); }

/* chunky bordered card */
.gz-card { background: #0a0a0a; border: 2px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--magenta); transition: transform 0.2s, box-shadow 0.2s; }
.gz-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--magenta); }
.gz-card.lime { box-shadow: 6px 6px 0 var(--lime); }
.gz-card.lime:hover { box-shadow: 8px 8px 0 var(--lime); }
.gz-card.yellow { box-shadow: 6px 6px 0 var(--yellow); }
.gz-card.cyan { box-shadow: 6px 6px 0 var(--cyan); }

/* tilt utilities */
.gz-tilt-l { transform: rotate(-2deg); }
.gz-tilt-r { transform: rotate(2deg); }

/* dashed divider */
.gz-divider { border: none; border-top: 2px dashed rgba(255,255,255,0.2); margin: 0; }

/* nav active enhancement */
.nav-link.is-active { background: var(--magenta); color: #000 !important; padding: 4px 12px; border-radius: 999px; }
.nav-link.is-active::after { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section { padding: 80px 0; }
  .container { padding: 0 22px; }
}
