/* ==========================================================================
   VertigoCO — base.css
   Design tokens, resets and global typography.
   ========================================================================== */

:root {
  /* ---- palette ---- */
  --void:        #05020a;
  --void-2:      #0a0512;
  --ink:         #0d0716;
  --ink-2:       #120a20;
  --panel:       #0b0613;
  --panel-2:     #150b26;

  --violet:      #8b3ff0;
  --violet-lt:   #c08bff;
  --violet-dk:   #4a1a8c;
  --violet-glow: rgba(160, 80, 255, .55);

  --ember:       #ff6a18;
  --ember-lt:    #ffb457;
  --ember-dk:    #b8340a;
  --ember-glow:  rgba(255, 106, 24, .5);

  --gold:        #d9a94f;
  --gold-lt:     #f0d69a;
  --gold-dim:    #8d6f3d;

  --silver:      #dfe3f2;
  --steel:       #9aa0bd;
  --muted:       #7c7594;
  --green:       #37e06a;
  --crimson:     #c0233a;

  --line:        rgba(150, 110, 220, .18);
  --line-soft:   rgba(150, 110, 220, .10);

  /* ---- type ---- */
  --f-display: 'Cinzel', 'Times New Roman', serif;
  --f-title:   'Marcellus', 'Cinzel', serif;
  --f-body:    'Jost', 'Segoe UI', system-ui, sans-serif;

  /* ---- metrics ---- */
  --shell:      1536px;
  --radius:     8px;
  --radius-sm:  5px;
  --ease:       cubic-bezier(.22, .61, .36, 1);
  --ease-out:   cubic-bezier(.16, .84, .44, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--void);
  color: var(--silver);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* subtle global ambience beneath every section */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(112, 40, 200, .30), transparent 70%),
    radial-gradient(900px 600px at 100% 40%, rgba(200, 60, 20, .10), transparent 70%),
    linear-gradient(180deg, #0a0413 0%, #05020a 55%, #06030c 100%);
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 600;
  letter-spacing: .06em;
}

p { margin: 0; }

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .28s var(--ease), text-shadow .28s var(--ease);
}

img {
  display: block;
  max-width: 100%;
  border: 0;
}

button,
input {
  font: inherit;
  color: inherit;
}

svg { fill: currentColor; }

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

::selection {
  background: rgba(139, 63, 240, .45);
  color: #fff;
}

/* ---- scrollbar ---- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #07030d; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6a25c0, #33115f);
  border: 2px solid #07030d;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #8b3ff0, #4a1a8c); }

/* ---- shared helpers ---- */
.u-caps {
  text-transform: uppercase;
  letter-spacing: .18em;
}

.text-gradient-violet {
  background: linear-gradient(180deg, #f0e2ff 0%, #c08bff 45%, #7b34d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-ember {
  background: linear-gradient(180deg, #ffe6b4 0%, #ffab4a 45%, #d4560c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
