/* ============================================================
   C. Kinkade Darling — Landing Page
   Brand reference: https://ckdarling.github.io/
   Colors: system font stack, dark neutrals, green accent
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-subtle: #f6f8fa;
  --bg-dark: #11100f;
  --border: #e1e4e8;
  --text-primary: #24292e;
  --text-secondary: #586069;
  --text-muted: #959da5;
  --accent: #16a34a;          /* Green accent */
  --accent-hover: #15803d;
  --header-height: 56px;
  --footer-height: 52px;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif,
          "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Full-height flex column so footer sticks to bottom */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Layout ─────────────────────────────────────────────── */

.container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Sticky Header ──────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: var(--bg-dark);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-decoration: none;
}

.header-logo:hover {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

/* ── Main / Splash ──────────────────────────────────────── */

.site-main {
  flex: 1;
}

.splash {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 24px 64px;
  text-align: center;
}

/* ── Page Sections ───────────────────────────────────────── */

.page-section {
  padding: 48px 24px 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.section-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
}

/* ── Project Cards ─────────────────────────────────────────── */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.project-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.project-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.project-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  flex: 1;
}

.project-card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 4px;
}

.splash-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

.splash-name {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 8px;
}

.splash-location {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}

.splash-bio {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 36px;
}

.splash-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ── CTA Buttons ────────────────────────────────────────── */

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
}

.cta-link--primary {
  background: var(--accent);
  color: #ffffff;
  border: 1.5px solid var(--accent);
}

.cta-link--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  text-decoration: none;
}

.cta-link--secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.cta-link--secondary:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  text-decoration: none;
}

/* ── Header Nav ─────────────────────────────────────────── */

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.nav-link.active {
  color: var(--accent);
  background: rgba(22, 163, 74, 0.12);
  border-color: rgba(22, 163, 74, 0.25);
}

/* ── Sticky Footer ──────────────────────────────────────── */

.site-footer {
  height: var(--footer-height);
  display: flex;
  align-items: center;
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
  width: 100%;
  text-align: center;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 600px) {
  .splash-name {
    font-size: 32px;
  }

  .splash {
    padding: 48px 24px;
  }

  .header-logo {
    font-size: 14px;
  }

  .splash-links {
    flex-direction: column;
    align-items: center;
  }

  .cta-link {
    width: 100%;
    justify-content: center;
  }
}



