/* Base and variables */
:root {
  /* Vibe closer to alexbrassil.com */
  --bg: #09080E;
  --bg-alt: #0e0d14;
  --text: #f7f7f7;
  --muted: #c9c9cf;
  --primary: #F04970;       /* pink */
  --primary-600: #fe99a7;   /* lighter pink */
  --card: #131219;
  --border: #2a2a35;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  /* Star noise over deep black-ish background */
  background: url('/assets/svgs/star-noise.svg') repeat 50% 50%, var(--bg);
}

.container { width: min(1100px, 92%); margin: 0 auto; }
.narrow { width: min(720px, 92%); }

.row { display: flex; gap: 1rem; }
.between { justify-content: space-between; }
.center { align-items: center; }

.skip-link {
  position: absolute; left: -999px; top: -999px; background: var(--primary);
  color: #08101f; padding: .5rem .75rem; border-radius: .25rem; z-index: 999;
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* Header */
.site-header { position: sticky; top: 0; background: rgba(11, 18, 32, 0.75); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); z-index: 50; }
.logo { font-weight: 800; text-decoration: none; color: var(--text); letter-spacing: .5px; }

.nav { display: flex; gap: 1rem; }
.nav a { color: var(--text); text-decoration: none; padding: .5rem .75rem; border-radius: .375rem; }
.nav a:hover { background: rgba(255,255,255,0.06); }

.nav-toggle { display: none; background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: .5rem; padding: .4rem .6rem; }

/* Hero */
.hero { position: relative; z-index: 0; padding: 6rem 0 4rem; background: transparent; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Subtle pink flare behind hero */
  background: linear-gradient(to bottom, rgba(240,73,112,0.28), rgba(240,73,112,0.08) 55%, rgba(9,8,14,0) 100%);
  pointer-events: none;
  z-index: -1;
}
.hero h1 { font-size: clamp(2rem, 2.5vw + 1rem, 3rem); margin: 0 0 .75rem; }
.lead { color: var(--muted); max-width: 60ch; }
.actions { margin-top: 1.25rem; display: flex; gap: .75rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section--alt { position: relative; z-index: 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--alt::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Reverse flare to transition back to dark */
  background: linear-gradient(to top, rgba(240,73,112,0.18), rgba(9,8,14,0) 60%);
  pointer-events: none;
  z-index: -1;
}
.section-title { margin: 0 0 1rem; font-size: 1.75rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--border); padding: 1.25rem; border-radius: .75rem; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }

/* Form */
.form { display: grid; gap: .875rem; }
.form label { display: grid; gap: .375rem; font-weight: 600; }
.form input, .form textarea { color: var(--text); background: #0b1220; border: 1px solid var(--border); border-radius: .5rem; padding: .75rem .9rem; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--primary); border-color: var(--primary-600); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .6rem .9rem; border-radius: .6rem; border: 1px solid var(--border); color: var(--text); text-decoration: none; background: transparent; cursor: pointer; }
.btn:hover { background: rgba(255,255,255,0.06); }
.btn--primary { background: linear-gradient(180deg, var(--primary), var(--primary-600)); color: #16070a; border: none; }
.btn--primary:hover { filter: brightness(1.05); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; background: rgba(11, 18, 32, 0.6); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Mobile nav */
@media (max-width: 800px) {
  .nav { position: absolute; right: .75rem; top: 60px; background: var(--bg-alt); padding: .5rem; border: 1px solid var(--border); border-radius: .5rem; display: none; flex-direction: column; min-width: 180px; }
  .nav[aria-hidden="false"] { display: flex; }
  .nav-toggle { display: inline-flex; }
}

/* Typography vibe */
h1, h2, h3, h4, .logo {
  font-family: 'DM Serif Display', Georgia, serif;
}

