/* dgmun folio — design tokens */
:root {
  /* Surfaces — deep ink, cool */
  --ink-0: oklch(0.14 0.012 240);   /* deepest */
  --ink-1: oklch(0.18 0.012 240);   /* base */
  --ink-2: oklch(0.22 0.014 240);   /* card */
  --ink-3: oklch(0.28 0.016 240);   /* raised */
  --line:  oklch(0.42 0.02  230 / 0.4);
  --line-bright: oklch(0.62 0.04 220 / 0.55);

  /* Foreground */
  --fg-0:  oklch(0.96 0.005 230);
  --fg-1:  oklch(0.86 0.008 230);
  --fg-2:  oklch(0.66 0.012 230);
  --fg-3:  oklch(0.48 0.014 230);

  /* Accents */
  --cyan:  oklch(0.78 0.12 220);
  --cyan-dim: oklch(0.62 0.10 220);
  --warm:  oklch(0.80 0.13 55);

  /* Geometry */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --grid: 8px;

  /* Type — code-forward stack */
  --f-display: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-body:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ink-1);
  color: var(--fg-1);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--warm); }

::selection { background: var(--cyan); color: var(--ink-0); }

/* Blueprint grid background — used on body */
.bp-grid {
  background-color: var(--ink-1);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
}

/* Mono labels */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 8px;
  box-shadow: 0 0 12px var(--cyan);
}

/* Display */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.display em { font-style: normal; font-family: var(--f-body); font-weight: 300; letter-spacing: -0.02em; color: var(--cyan); }

/* Hairline border element */
.hr-line {
  height: 1px;
  background: var(--line);
  border: none;
  margin: 24px 0;
}

/* Container */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 18px;
  border: 1px solid var(--line-bright);
  background: transparent;
  color: var(--fg-0);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all .18s ease;
}
.btn:hover { background: var(--cyan); color: var(--ink-0); border-color: var(--cyan); }
.btn--primary { background: var(--cyan); color: var(--ink-0); border-color: var(--cyan); }
.btn--primary:hover { background: var(--warm); border-color: var(--warm); }

/* Striped placeholder for missing assets */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      oklch(0.24 0.014 240) 0 12px,
      oklch(0.20 0.012 240) 12px 24px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  color: var(--fg-3);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
  overflow: hidden;
}
.placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, transparent 60%, oklch(0.14 0.012 240 / 0.6) 100%);
  pointer-events: none;
}

/* Footer — group Contact (or sibling text links) + profile icons */
.footer-contact-cluster {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 22px);
}
.footer-contact-cluster > a {
  margin-right: 0 !important;
}

/* Footer — LinkedIn / ArtStation icons */
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.footer-social a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-right: 0 !important;
  padding: 2px;
  opacity: .88;
  filter: grayscale(.35) brightness(1.35);
  transition: opacity .18s ease, filter .18s ease;
}
.footer-social a:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1.15);
}
/* Black ArtStation PNG — brightness alone stays black on dark BG; invert to a light glyph */
.footer-social a[href*="artstation"] {
  filter: invert(1) grayscale(1) brightness(1.06);
}
.footer-social a[href*="artstation"]:hover {
  filter: invert(1) grayscale(1) brightness(1.32);
}
.footer-social img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain;
  display: block;
}
.footer-social a[href*="linkedin"] img {
  width: 48px !important;
  height: 48px !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
