/* Shared look for project pages, matching the homepage: forest green, gold
   accent, Nunito type and a short dusk ombre header.
   Load it after the page's own stylesheet. */

:root {
  --site-bg: #102019;
  --site-card: #192d24;
  --site-card-hover: #1e3529;
  --site-line: #243a2f;
  --site-text: #dde4e0;
  --site-muted: #9fb0a6;
  --site-gold: #f2c879;

  --sky-top: #0b2e3a;
  --sky-mid: #2f6f73;
  --sky-low: #c9a96a;
  --sky-horizon: #f0c27a;
}

body {
  background: var(--site-bg);
  color: var(--site-text);
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  cursor: url("cursor.png") 3 2, auto;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  text-transform: lowercase;
  color: #fff;
}

::selection { background: var(--site-gold); color: var(--site-bg); }

:focus-visible { outline: 2px solid var(--site-gold); outline-offset: 3px; border-radius: 4px; }

a, button, .chip, .gen-chip { cursor: pointer; }
input { cursor: text; }

/* Header: a plain band of the homepage's dusk ombre */
.sky {
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 45%, var(--sky-low) 78%, var(--sky-horizon) 100%);
  background: linear-gradient(in oklab 180deg, var(--sky-top) 0%, var(--sky-mid) 45%, var(--sky-low) 78%, var(--sky-horizon) 100%);
}

.sky-inner {
  max-width: 1260px;
  margin: 0 auto;
  min-height: 200px;
  padding: 22px 40px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.sky-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--site-gold);
  text-decoration: none;
}

.sky-mark {
  width: 74px;
  aspect-ratio: 400 / 294;
  background: currentColor;
  -webkit-mask: url("EthanFace-mark.png") center / contain no-repeat;
  mask: url("EthanFace-mark.png") center / contain no-repeat;
}

.sky-name {
  font-family: "digibop", sans-serif;
  font-size: 1.9rem;
  line-height: 0.95;
  text-transform: lowercase;
}

.sky-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
  padding-top: 14px;
}

.sky-link {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  text-transform: lowercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.sky-link:hover { color: var(--site-gold); }
.sky-link.active { border-bottom-color: var(--site-gold); }

@media (max-width: 700px) {
  .sky-inner { min-height: 170px; padding: 18px 16px 0; flex-direction: column; justify-content: flex-start; gap: 14px; }
  .sky-mark { width: 58px; }
  .sky-name { font-size: 1.5rem; }
  .sky-nav { justify-content: flex-start; gap: 6px 22px; padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sky-link { transition: none; }
}
