/* Long Hourz, Odd Jobz site. Dark theme, single accent color. */
:root {
  --bg: #0b0d10;
  --surface: #14181d;
  --surface-2: #1b2128;
  --border: #2a323b;
  --text: #eef1f4;
  --muted: #aab4bf;      /* 8.9:1 on --bg */
  --accent: #B04A22;     /* "Burnt brick": headline, buttons, borders, logo (3.6:1 on --bg, large/graphic use) */
  --accent-ink: #ffffff; /* text on accent buttons (5.5:1) */
  --accent-text: #D2703F; /* lighter tint for small text and links (5.7:1 on --bg) */
  --radius: 14px;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%);
  background-repeat: no-repeat;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--accent); color: var(--accent-ink);
  padding: .6rem 1rem; border-radius: 8px; font-weight: 700; z-index: 100;
}
.skip-link:focus { top: 1rem; color: var(--accent-ink); }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,13,16,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.logo {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  color: var(--text); text-decoration: none; letter-spacing: -.02em; line-height: 1.1;
}
.logo-mark { width: 1.9rem; height: 1.9rem; flex: none; color: var(--accent); }
.logo-comma { color: var(--accent-text); }
.nav ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.nav ul a { color: var(--muted); text-decoration: none; font-weight: 500; padding: .4rem 0; }
.nav ul a:hover { color: var(--text); }

/* Hero */
.hero { padding: clamp(4rem, 12vw, 9rem) 0 clamp(3rem, 8vw, 6rem); }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-text); margin: 0 0 1.25rem;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 6rem); line-height: 1; letter-spacing: -.035em;
  margin: 0 0 1.5rem; max-width: 12ch;
}
.hero h1 .name { color: var(--accent); }
.hero .lede { font-size: clamp(1.1rem, 2.6vw, 1.4rem); color: var(--muted); max-width: 40rem; margin: 0 0 2.25rem; }
.hero h2.headline {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 3.4vw, 1.8rem);
  line-height: 1.25; margin: 0 0 1rem; max-width: 30ch;
}

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid var(--accent);
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #fff; border-color: #fff; color: var(--bg); transform: translateY(-2px); }
.btn-ghost { color: var(--accent-text); background: transparent; }
.btn-ghost:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }

/* Sections */
section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 .75rem;
}
.section-title::before { content: "/ "; color: var(--accent); }
.section-intro { color: var(--muted); max-width: 40rem; margin: 0 0 2.5rem; }

/* About */
.about-text { max-width: 44rem; color: var(--muted); font-size: 1.15rem; margin: 0 0 2.5rem; }
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.highlights li {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; border-top: 3px solid var(--accent);
}
.highlights h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 .5rem; }
.highlights p { margin: 0; color: var(--muted); }

/* Projects */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card h3 { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 .5rem; letter-spacing: -.01em; }
.card p { color: var(--muted); margin: 0 0 1rem; }
.card--soon { border-style: dashed; border-color: var(--border); }
.card--soon:hover { transform: none; border-color: var(--border); }
.badge {
  align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--surface-2); color: var(--muted); border: 1px dashed var(--muted);
  border-radius: 6px; padding: .15rem .55rem; margin-bottom: .9rem;
}
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.25rem; }
.tags li { font-size: .82rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: .15rem .7rem; color: var(--text); }
.links { display: flex; gap: 1.1rem; margin-top: auto; font-weight: 700; }
.links a { padding: .25rem 0; }

/* Contact */
.contact { border-top: 1px solid var(--border); }
.contact-email {
  display: inline-block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 5.5vw, 3rem); letter-spacing: -.02em; word-break: break-word; margin-bottom: 1.5rem;
}
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 0; font-weight: 700; }

.site-footer { border-top: 1px solid var(--border); padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: .95rem; }

/* 404 */
.notfound { min-height: 80vh; display: grid; align-content: center; }
.notfound .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 25vw, 14rem); line-height: .9; color: var(--accent); margin: 0; }

@media (max-width: 640px) {
  .nav { flex-wrap: wrap; padding: .5rem 0; }
}
@media (max-width: 520px) {
  .nav ul { gap: .9rem; font-size: .95rem; }
  .logo { font-size: 1rem; }
  .btn { flex: 1 1 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover, .btn:hover { transform: none; }
}
