/* ruifaria.me landing — single global stylesheet, dark + burnt-orange (mirrors the app palette).
   Served from public/ (plain <link>) on purpose: the workspace path D:\@@Projects contains
   "@@", which breaks Vite's CSS emission (@ is a virtual-id prefix). Keeping the CSS out of the
   Vite pipeline sidesteps that entirely. Rules are namespaced by section wrapper. */
:root {
  --bg: #0f0d0b;
  --card: #1b1815;
  --border: #2b2620;
  --text: #f2ece3;
  --muted: #a89f92;
  --accent: #cc5500;
  --accent-2: #e07b39;
  --radius: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

/* Nav */
.nav {
  border-bottom: 1px solid var(--border);
}

.nav .inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.brand b {
  color: var(--accent);
}

.links {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.links a {
  color: var(--muted);
  text-decoration: none;
}

.links a:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding-inline: 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-image: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #ffffff;
}

.nav-cta {
  height: 38px;
}

/* Hero */
.hero {
  padding-block: 72px 40px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 12px 0 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  max-width: 18ch;
}

.gradient-text {
  background-image: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 18px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Projects grid */
.proj-grid {
  margin-top: 48px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.proj-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.proj-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.proj-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
}

.proj-name:hover {
  color: var(--accent);
  text-decoration: underline;
}

.proj-tagline {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.pill {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer .inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 24px;
  flex-wrap: wrap;
}

.footer .note {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.footer .copy {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .links {
    display: none;
  }
}
