/* ============================================================
   Shannah Kaye Duffield — Design System
   Colors + Type foundations
   ============================================================ */

/* Fonts: substituted via Google Fonts.
   - Archivo Black approximates the heavy geometric display caps in the intro ("3D PORTFOLIO").
   - Inter covers body / metadata (the "Shannah Kaye Duffield / Cape Town, South Africa" lockup).
   - JetBrains Mono for technical captions (asset IDs, render specs, software badges).
   TODO(brand): confirm originals and supply licensed font files in /fonts. */
@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  /* -----------------------------------------------------------
     CORE PALETTE — dark, moody, clean.
     The intro is built around pure black with a single deep
     blue glow. Avoid colored mids; keep it monochromatic with
     one signal blue.
     ----------------------------------------------------------- */

  /* Base / surfaces — near-black, slightly tinted cool */
  --ink-000: #000000;          /* pure black, page bg */
  --ink-050: #07080B;          /* elevated surface */
  --ink-100: #0D1015;          /* card */
  --ink-200: #14181F;          /* card hover / divider */
  --ink-300: #1C212B;          /* input field */
  --ink-400: #2A313D;          /* hairline border strong */

  /* Foreground — bone white, never pure white on pure white */
  --fg-1: #FFFFFF;             /* display, primary */
  --fg-2: rgba(255, 255, 255, 0.74); /* body */
  --fg-3: rgba(255, 255, 255, 0.50); /* secondary / captions */
  --fg-4: rgba(255, 255, 255, 0.32); /* tertiary / hints */
  --fg-disabled: rgba(255, 255, 255, 0.18);

  /* Hairlines */
  --border-1: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --border-3: rgba(255, 255, 255, 0.24);

  /* Signal blue — the single accent. Sampled from the radial
     glow behind the sphere in the intro. */
  --blue-deep:   #0B1E3A;       /* the glow's outer edge */
  --blue-mid:    #1B3F6E;       /* glow body */
  --blue-bright: #3A7DC8;       /* highlight / link */
  --blue-ice:    #B8D4F0;       /* on-dark hover/active glaze */

  /* Semantic */
  --success: #6FCF97;
  --warning: #F2C94C;
  --danger:  #EB5757;

  /* -----------------------------------------------------------
     GRADIENTS — the signature radial glow.
     Use sparingly; one per screen. Always centered behind a
     subject (3D asset, hero, profile photo, etc).
     ----------------------------------------------------------- */
  --glow-radial: radial-gradient(
    ellipse 62% 70% at 50% 50%,
    var(--blue-mid) 0%,
    var(--blue-deep) 38%,
    #050912 62%,
    var(--ink-000) 88%
  );
  --glow-radial-soft: radial-gradient(
    ellipse 70% 80% at 50% 50%,
    rgba(58, 125, 200, 0.28) 0%,
    rgba(27, 63, 110, 0.18) 35%,
    rgba(11, 30, 58, 0.05) 60%,
    transparent 80%
  );
  --vignette: radial-gradient(
    ellipse 110% 110% at 50% 50%,
    transparent 55%,
    rgba(0, 0, 0, 0.55) 90%,
    rgba(0, 0, 0, 0.85) 100%
  );

  /* -----------------------------------------------------------
     ELEVATION — restrained. Dark UIs read by border + glow,
     not drop shadow. The blue glow is the "shadow".
     ----------------------------------------------------------- */
  --shadow-0: none;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --shadow-2: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-3: 0 24px 80px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 80px rgba(58, 125, 200, 0.25);
  --shadow-glow-strong: 0 0 120px rgba(58, 125, 200, 0.45);

  /* -----------------------------------------------------------
     RADII — pill-heavy. The intro uses a long capsule for the
     "LOOKDEV/ASSET DEV" tag. Cards stay subtle (12–16px).
     ----------------------------------------------------------- */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* -----------------------------------------------------------
     SPACING — 4px base, generous on dark.
     ----------------------------------------------------------- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* -----------------------------------------------------------
     TYPE — three families.
     Display: heavy geometric caps. Tight tracking, tight leading.
     Body: humanist sans, comfortable on dark.
     Mono: technical captions only.
     ----------------------------------------------------------- */
  --font-display: "Archivo Black", "Inter", system-ui, -apple-system, sans-serif;
  --font-sans:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Type scale — display starts BIG. The intro's "3D PORTFOLIO"
     is roughly 220px on a 1080 stage. */
  --t-display-xl: clamp(96px, 16vw, 240px);
  --t-display-lg: clamp(64px, 10vw, 144px);
  --t-display-md: 96px;
  --t-display-sm: 64px;

  --t-h1: 48px;
  --t-h2: 36px;
  --t-h3: 28px;
  --t-h4: 22px;
  --t-h5: 18px;

  --t-body-lg: 18px;
  --t-body:    15px;
  --t-body-sm: 14px;
  --t-caption: 12px;
  --t-micro:   11px;

  /* Leading + tracking */
  --lh-display: 0.92;
  --lh-tight:   1.1;
  --lh-snug:    1.3;
  --lh-body:    1.55;
  --lh-relaxed: 1.7;

  --tr-display: -0.02em;   /* tight on heavy weights */
  --tr-tight:   -0.01em;
  --tr-normal:  0em;
  --tr-loose:   0.04em;
  --tr-caps:    0.12em;    /* for uppercase eyebrows / capsule labels */

  /* Motion — slow, restrained, no bounce. */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-base: 280ms;
  --dur-slow: 600ms;
  --dur-cinematic: 1200ms;
}

/* ============================================================
   ELEMENT DEFAULTS
   ============================================================ */
html, body {
  background: var(--ink-000);
  color: var(--fg-2);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Display — for hero / cover words. Heavy, uppercase, tight. */
.display-xl,
.display-lg,
.display-md,
.display-sm {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--fg-1);
  text-transform: uppercase;
  letter-spacing: var(--tr-display);
  line-height: var(--lh-display);
}
.display-xl { font-size: var(--t-display-xl); }
.display-lg { font-size: var(--t-display-lg); }
.display-md { font-size: var(--t-display-md); }
.display-sm { font-size: var(--t-display-sm); }

/* Outlined display — the signature treatment from the intro.
   Letters that overlap the 3D subject switch to outline only. */
.display-outline {
  -webkit-text-stroke: 1.5px var(--fg-1);
  color: transparent;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--tr-display);
  line-height: var(--lh-display);
}

/* Headings */
h1, .h1 { font-family: var(--font-sans); font-weight: 700; font-size: var(--t-h1); line-height: var(--lh-tight); letter-spacing: var(--tr-tight); color: var(--fg-1); }
h2, .h2 { font-family: var(--font-sans); font-weight: 700; font-size: var(--t-h2); line-height: var(--lh-tight); letter-spacing: var(--tr-tight); color: var(--fg-1); }
h3, .h3 { font-family: var(--font-sans); font-weight: 600; font-size: var(--t-h3); line-height: var(--lh-snug); color: var(--fg-1); }
h4, .h4 { font-family: var(--font-sans); font-weight: 600; font-size: var(--t-h4); line-height: var(--lh-snug); color: var(--fg-1); }
h5, .h5 { font-family: var(--font-sans); font-weight: 600; font-size: var(--t-h5); line-height: var(--lh-snug); color: var(--fg-1); }

p, .body { font-size: var(--t-body); line-height: var(--lh-body); color: var(--fg-2); }
.body-lg { font-size: var(--t-body-lg); line-height: var(--lh-relaxed); }
.body-sm { font-size: var(--t-body-sm); }
.caption { font-size: var(--t-caption); color: var(--fg-3); letter-spacing: var(--tr-normal); }
.micro   { font-size: var(--t-micro); color: var(--fg-3); }

/* Eyebrow / capsule labels — uppercase, tracked, the "LOOKDEV/ASSET DEV" feel */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--t-caption);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tr-caps);
  color: var(--fg-1);
}

/* Mono — for technical captions */
.mono, code, kbd, pre {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

/* Links */
a {
  color: var(--fg-1);
  text-decoration: none;
  border-bottom: 1px solid var(--border-2);
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
a:hover { border-bottom-color: var(--fg-1); }

/* Selection */
::selection { background: var(--blue-bright); color: var(--ink-000); }
