/* ═══════════════════════════════════════════════════════════════
   Design Corner 2.0 — core.css
   Variables · Reset · Typography · Base
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  /* Colors */
  --black:       #000000;
  --surface:     #080808;
  --card:        #0e0e0e;
  --card-2:      #151515;
  --border:      #1e1e1e;
  --border-2:    #2a2a2a;
  --yellow:      #fcd600;
  --yellow-2:    #ffe033;
  --yellow-dim:  rgba(252, 214, 0, 0.10);
  --yellow-glow: rgba(252, 214, 0, 0.05);
  --white:       #ffffff;
  --off-white:   #ebebeb;
  --muted:       #777777;
  --muted-2:     #3a3a3a;
  --text:        #aaaaaa;

  /* Typography */
  --ff: 'Poppins', sans-serif;

  /* Easing */
  --ease:    cubic-bezier(.16, 1, .3, 1);
  --ease-2:  cubic-bezier(.34, 1.56, .64, 1);   /* spring */
  --ease-in: cubic-bezier(.55, 0, 1, .45);

  /* Spacing */
  --r: 4px;
  --gap: 1.5rem;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  cursor: none; /* custom cursor */
}
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--ff);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button, input, textarea, select { font-family: var(--ff); }

/* ── Custom Cursor ─────────────────────────────────────────────── */
#cursor-outer {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--yellow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease),
              border-color .25s, background .25s, opacity .3s;
  will-change: transform;
}
#cursor-dot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--yellow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  will-change: transform;
}
body.cursor-hover #cursor-outer {
  width: 56px; height: 56px;
  background: var(--yellow-dim);
  border-color: var(--yellow-2);
}
body.cursor-text #cursor-outer {
  width: 4px; height: 32px;
  border-radius: 2px;
  background: var(--yellow);
  border: none;
}

/* ── Noise overlay ─────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .022;
  pointer-events: none;
  z-index: 9998;
}

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -.03em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem);  font-weight: 800; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem);  font-weight: 700; }
h4 { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
p  { color: var(--text); font-weight: 300; line-height: 1.85; }
em { font-style: normal; color: var(--yellow); }
strong { color: var(--white); font-weight: 600; }
