/* ============================================================
   base.css — design tokens, reset, typography
   Palette: Islamic green (primary) + UCI blue & gold (accents)
   ============================================================ */

:root {
  --bg:      #08080a;
  --bg-2:    #0d0d10;
  --ink:     #ECEAE3;
  --ink-dim: #9a988f;
  --mute:    #5d5c64;
  --line:    #1c1c20;

  /* Islamic green — primary accent */
  --green:   #1f9d5c;
  --green-2: #3fd589;
  /* UCI navy blue + gold — secondary accents */
  --blue:    #2f7fd6;
  --blue-2:  #5fa3ec;
  --gold:    #f5c63c;

  /* modern grotesque display + clean sans body */
  --serif: "Space Grotesk", "Inter", system-ui, sans-serif; /* display */
  --mono:  "JetBrains Mono", ui-monospace, monospace;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1320px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

@media (hover: none) { body { cursor: auto; } }

/* custom cursor turned off (user preference) — restore the native cursor everywhere */
html.cursor-off, html.cursor-off * { cursor: auto !important; }
/* interactive elements AND their children (icons, labels, name spans) get the pointer,
   otherwise the text I-beam leaks onto the text inside links/buttons */
html.cursor-off a, html.cursor-off a *,
html.cursor-off button, html.cursor-off button *,
html.cursor-off [data-magnetic], html.cursor-off [data-magnetic] *,
html.cursor-off .is-clickable, html.cursor-off .is-clickable *,
html.cursor-off .year-card, html.cursor-off .year-card *,
html.cursor-off .lightbox-close, html.cursor-off .chip, html.cursor-off .totop {
  cursor: pointer !important;
}
html.cursor-off .cursor, html.cursor-off .cursor-dot { display: none !important; }

::selection { background: var(--green); color: #08080a; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* shared reveal-on-scroll */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  body { cursor: auto; }
}
