/* =====================================================
   Engineer Arcade — design system
   Fonts, colors and base styles. Edit here to restyle the whole site.
   Fonts are loaded from Google Fonts in index.html <head>.
   ===================================================== */

:root {
  /* Typography */
  --font-heading: "Barlow Condensed", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-technical: "IBM Plex Mono", monospace;

  /* Surfaces */
  --color-background: #07131E; /* Midnight navy */
  --color-surface: #0D1D2B;    /* Project cards */
  --color-surface-raised: #142938;

  /* Text */
  --color-text: #EDF3F8;       /* Primary */
  --color-text-secondary: #B4C8D8;
  --color-text-muted: #829EB2;

  /* Accents */
  --color-cyan: #19C8ED;      /* Links, buttons, annotations */
  --color-lime: #B1E879;      /* Selected words, active states */
  --color-orange: #FFAD70;    /* Ideas, sketches, creative details */

  /* Lines */
  --color-border: #294455;
  --color-grid: rgb(107 176 215 / 7%);
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1;
}

h1 {
  font-size: clamp(3.5rem, 7vw, 7rem);
}

p {
  color: var(--color-text-secondary);
}

.technical-label {
  font-family: var(--font-technical);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.button-primary {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  background: var(--color-cyan);
  color: var(--color-background);
  font-family: var(--font-technical);
  font-weight: 500;
  text-decoration: none;
}

.creative-note {
  color: var(--color-orange);
  font-family: var(--font-technical);
}

.highlight {
  color: var(--color-lime);
}

.technical-grid {
  background-image:
    linear-gradient(var(--color-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
  background-size: 64px 64px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 5px;
}
