/* HD Ritchie — hdritchie.com — Zerqor noir, contractor cut */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #0a0a0c;
  --panel: #111114;
  --panel-2: #16161a;
  --line: #232329;
  --red: #e10600;
  --red-hot: #ff2b1f;
  --amber: #f5a623;
  --ink: #eceae4;
  --muted: #9a9aa2;
  --dim: #5c5c64;
  --radius: 10px;
  --max: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* film grain + vignette, straight from the lab */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.5) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px);
}
::selection { background: var(--red); color: #fff; }
a { color: var(--ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,12,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; }
.brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
}
.brand span { color: var(--red-hot); }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); }
.nav .btn-small {
  background: var(--red);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.nav .btn-small:hover { background: var(--red-hot); color: #fff; }

/* ---------- hero ---------- */
.hero {
  padding: 5.5rem 0 4rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(225,6,0,.08), transparent),
    var(--bg);
}
.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-hot);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
  max-width: 700px;
}
.hero h1 em { font-style: normal; color: var(--red-hot); }
.hero p.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin-bottom: 2.2rem; }
.hero p.lede strong { color: var(--ink); }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.03em;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hot); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--dim); }
.trust-strip {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--dim);
  text-transform: uppercase;
}
.trust-strip span::before { content: "// "; color: var(--red); }

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.section.soft { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.section .sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 2.4rem; max-width: 680px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.2rem; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color .2s;
}
.card:hover { border-color: var(--dim); }
.card .icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; font-weight: 700; }
.card h3 .k { color: var(--red-hot); font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; margin-right: 0.5rem; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .price-hint {
  margin-top: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--amber);
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.step .num {
  display: inline-flex;
  width: 2.2rem; height: 2.2rem;
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.step h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.step p { color: var(--muted); font-size: 0.94rem; }
.fine-print {
  margin-top: 2rem;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 1.1rem 1.4rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.94rem;
  color: var(--muted);
}
.fine-print strong { color: var(--ink); }

/* ---------- about ---------- */
.about-grid p { margin-bottom: 1.1rem; font-size: 1.04rem; color: var(--muted); max-width: 720px; }
.about-grid p strong { color: var(--ink); }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--red-hot); font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, #8f0400 100%);
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255,43,31,.4);
}
.cta-banner h2 { font-family: 'Bebas Neue', sans-serif; font-size: 2.6rem; letter-spacing: 0.03em; margin-bottom: 0.5rem; color: #fff; }
.cta-banner p { margin-bottom: 1.8rem; font-size: 1.05rem; color: rgba(255,255,255,.85); }
.cta-banner .btn-primary { background: #fff; color: #111; }
.cta-banner .btn-primary:hover { background: var(--ink); }

/* ---------- portfolio ---------- */
.sample-note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  padding: 1rem 1.4rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2.4rem;
  font-size: 0.94rem;
  color: var(--muted);
}
.sample-note strong { color: var(--ink); }
.sample-note em { color: var(--amber); font-style: normal; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; }
.work-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.work-card:hover { border-color: var(--dim); transform: translateY(-2px); }
.work-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #000; border-bottom: 1px solid var(--line); }
.work-card .body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.9rem;
  align-self: flex-start;
}
.badge.live { background: rgba(5,150,105,.12); border-color: #059669; color: #34d399; }
.work-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; font-weight: 700; }
.work-card p { color: var(--muted); margin-bottom: 1.2rem; flex: 1; font-size: 0.95rem; }
.tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 0.28rem 0.7rem;
  border-radius: 4px;
  color: var(--dim);
}
.work-card .btn { align-self: flex-start; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 2.5rem 0 2rem;
  margin-top: 4rem;
  font-size: 0.92rem;
}
footer .wrap { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: center; }
footer .brand { font-size: 1.4rem; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .foot-links { display: flex; gap: 1.4rem; }
footer .copy { width: 100%; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--dim); font-family: 'JetBrains Mono', monospace; }

/* ---------- quote form ---------- */
.quote-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  max-width: 640px;
}
.quote-form h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.quote-form > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.4rem; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  padding: 0.75rem 1rem;
  font-size: 0.98rem;
  font-family: 'Inter', system-ui, sans-serif;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--red);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--dim); margin-top: 1rem; }
/* honeypot — keep hidden */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; margin-bottom: 1rem; }
.tier {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.tier.featured { border-color: var(--red); }
.tier .t-name { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-hot); margin-bottom: 0.6rem; }
.tier .t-price { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; letter-spacing: 0.02em; margin-bottom: 0.8rem; }
.tier .t-price small { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: var(--muted); }
.tier ul { list-style: none; }
.tier li { padding: 0.35rem 0; font-size: 0.94rem; color: var(--muted); }
.tier li::before { content: "+ "; color: var(--red-hot); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq-item h4 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.faq-item p { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 640px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: 2.8rem; }
  .nav a:not(.btn-small) { display: none; }
  .section h2 { font-size: 2.1rem; }
}
