/* ========== Faye Sullivan — Forest Signal Theme ==========
   Nature palette + subtle cyberpunk “instrument panel” layer.
   Clean, but not stock. Personal, slightly weird (in a good way).
========================================================== */

:root{
  --ink: #0f0f10;          /* near-black */
  --paper: #f3efe7;        /* warm parchment */
  --moss: #2f5a3a;         /* deep green */
  --sage: #7f9a83;         /* muted green */
  --bark: #4a3428;         /* brown */
  --lav: #8b6fa8;          /* lavender */
  --rust: #b4572d;         /* rusty orange */

  --card: rgba(243, 239, 231, 0.84);
  --border: rgba(15, 15, 16, 0.16);
  --border-strong: rgba(15, 15, 16, 0.28);

  --shadow: 0 18px 50px rgba(15,15,16,0.18);
  --shadow-soft: 0 10px 26px rgba(15,15,16,0.12);

  --radius: 18px;
  --radius-lg: 24px;

  /* “signal” gradients */
  --signal: linear-gradient(90deg, rgba(47,90,58,0.95), rgba(139,111,168,0.9), rgba(180,87,45,0.95));
  --signal-dim: linear-gradient(90deg, rgba(47,90,58,0.55), rgba(139,111,168,0.5), rgba(180,87,45,0.55));
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  color: var(--ink);
  font-family: "Fraunces", ui-serif, Georgia, serif;
  letter-spacing: 0.1px;

  /* Forest base */
  background:
    radial-gradient(1100px 900px at 10% 5%, rgba(139,111,168,0.22), transparent 60%),
    radial-gradient(950px 800px at 85% 25%, rgba(180,87,45,0.16), transparent 58%),
    radial-gradient(1200px 980px at 45% 95%, rgba(47,90,58,0.18), transparent 65%),
    linear-gradient(180deg, #e6efe0 0%, #f3efe7 54%, #efe4d7 100%);
  position: relative;
  overflow-x: hidden;
}

/* “Paper grain” + faint scanlines (cyber layer) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    /* grain */
    repeating-linear-gradient(
      0deg,
      rgba(15,15,16,0.016),
      rgba(15,15,16,0.016) 1px,
      transparent 1px,
      transparent 3px
    ),
    /* scanlines */
    repeating-linear-gradient(
      180deg,
      rgba(47,90,58,0.010),
      rgba(47,90,58,0.010) 2px,
      transparent 2px,
      transparent 6px
    );
  mix-blend-mode: multiply;
}

/* tiny chromatic “fringe” on the whole page, very subtle */
body::after{
  content:"";
  position: fixed;
  inset: -2px;
  pointer-events: none;
  opacity: 0.08;
  background:
    radial-gradient(900px 600px at 40% 30%, rgba(139,111,168,0.55), transparent 60%),
    radial-gradient(900px 600px at 60% 35%, rgba(180,87,45,0.45), transparent 62%);
  filter: blur(14px);
  mix-blend-mode: screen;
}

/* ---------- Layout ---------- */
.container{
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 52px;
}

.site-header{
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 8px;
  position: relative;
}

/* A faint “circuit vine” line under header */
.site-header::after{
  content:"";
  display:block;
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg,
    transparent,
    rgba(15,15,16,0.18),
    rgba(47,90,58,0.25),
    rgba(139,111,168,0.22),
    rgba(180,87,45,0.22),
    rgba(15,15,16,0.16),
    transparent
  );
}

/* ---------- Header personality row ---------- */
.header-top{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(243,239,231,0.55);
  box-shadow: var(--shadow-soft);
}

.badge__dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(47,90,58,0.95);
  position: relative;
}
.badge__dot::after{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius: 999px;
  background: var(--signal-dim);
  filter: blur(6px);
  opacity: 0.55;
}

.badge__text{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(15,15,16,0.72);
}

/* ---------- Titles ---------- */
.title{
  margin: 18px 0 0;
  font-size: clamp(44px, 6.4vw, 78px);
  line-height: 1.02;
  letter-spacing: 0.6px;
  color: var(--ink);
  

  /* soft neon-ish shadow, still tasteful */
  text-shadow:
    0 2px 0 rgba(243,239,231,0.65),
    0 0 22px rgba(139,111,168,0.12),
    0 0 18px rgba(47,90,58,0.10);
}

/* a little “signal underline” */
.title::after{
  content:"";
  display:block;
  height: 4px;
  width: min(260px, 70%);
  border-radius: 999px;
  margin-top: 12px;
  background: var(--signal);
  box-shadow: 0 10px 28px rgba(15,15,16,0.15);
}

/* Page title variant */
.page-title{
  margin: 18px 0 0;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.12;
}

/* optional small motto line */
.motto{
  margin: 10px 0 0;
  color: rgba(15,15,16,0.68);
  font-style: italic;
}

/* ---------- Nav ---------- */
.nav{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2px;
}

.nav__link{
  display: inline-block;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  background: rgba(243,239,231,0.52);
  box-shadow: var(--shadow-soft);
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, filter 140ms ease;
  position: relative;
}

.nav__link:hover{
  transform: translateY(-1px);
  background: rgba(243,239,231,0.80);
  border-color: rgba(15,15,16,0.28);
  filter: saturate(1.05);
}

/* Active link gets a little “glitch bracket” + underline */
.nav__link--active{
  border-color: rgba(47,90,58,0.68);
  background:
    linear-gradient(180deg, rgba(47,90,58,0.10), rgba(139,111,168,0.08)),
    rgba(243,239,231,0.60);
}


/* ---------- Cards / Content ---------- */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(7px);
  position: relative;
  overflow: hidden;
}

/* “instrument panel” corners — tiny personal touch */
.card::before{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  top: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--signal-dim);
  opacity: 0.18;
}


/* a subtle top “status bar” */
.card::after{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  top: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--signal-dim);
  opacity: 0.35;
}

h2, h3{
  margin-top: 0;
  letter-spacing: 0.2px;
}

.muted{ color: rgba(15,15,16,0.68); }

.rule{
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,15,16,0.25), transparent);
  margin: 16px 0;
}

.list{
  margin: 0;
  padding-left: 18px;
}

.tag{
  display: inline-block;
  font-size: 0.85rem;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15,15,16,0.18);
  background: rgba(127,154,131,0.16);
  margin-right: 8px;
}

.tag a{
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(15,15,16,0.28);
  transition: border-color 140ms ease, color 140ms ease;
}

.tag a:hover{
  color: var(--moss);
  border-bottom-color: var(--lav);
}


/* ---------- Music grid ---------- */
.grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.project{
  border: 1px solid rgba(15,15,16,0.14);
  border-radius: var(--radius);
  padding: 14px 14px;
  background: rgba(243,239,231,0.62);
  position: relative;
  overflow: hidden;
}

.project::before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  opacity: 0.35;
  background:
    radial-gradient(220px 120px at 20% 0%, rgba(47,90,58,0.14), transparent 55%),
    radial-gradient(220px 120px at 80% 10%, rgba(139,111,168,0.12), transparent 58%),
    radial-gradient(240px 140px at 50% 100%, rgba(180,87,45,0.10), transparent 60%);
}

.project__links{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* ---------- Buttons ---------- */
.button{
  display: inline-block;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,15,16,0.18);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(180,87,45,0.14), rgba(139,111,168,0.10)),
    rgba(243,239,231,0.55);
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, filter 140ms ease;
}

.button:hover{
  transform: translateY(-1px);
  border-color: rgba(15,15,16,0.30);
  filter: saturate(1.08);
  background:
    linear-gradient(180deg, rgba(180,87,45,0.18), rgba(47,90,58,0.11)),
    rgba(243,239,231,0.66);
}

.button--ghost{
  background: rgba(243,239,231,0.45);
}

/* ---------- Footer ---------- */
.footer{
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 40px;
  color: rgba(15,15,16,0.65);
}

/* ---------- Small utilities ---------- */
.kicker{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.83rem;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: rgba(15,15,16,0.62);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .nav__link, .button{ transition: none; }
}
