:root {
  --bg: #f5f5f6;
  --bg-muted: #ededf0;
  --card-bg: #ffffff;
  --accent: #e02121;           /* bright red similar to card text */
  --accent-dark: #b31616;
  --ink: #152433;              /* dark navy like the truck/lines */
  --ink-muted: #4b545f;
  --border-soft: #d1d4db;
  --border-strong: #222f3f;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-soft: 0 14px 35px rgba(0, 0, 0, 0.12);
  --max-width: 1040px;
}

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #f0f0f4 0, #f5f5f6 50%);
  color: var(--ink);
  line-height: 1.6;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
  background: transparent;
}

.section.muted {
  background: var(--bg-muted);
}

.section-header {
  margin-bottom: 22px;
}

.section-intro {
  max-width: 560px;
  color: var(--ink-muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(245, 245, 246, 0.92);
  border-bottom: 1px solid rgba(203, 208, 216, 0.9);
}

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

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-tagline {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}

/* Hero */
.hero {
  padding: 72px 0 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
}

.hero-kicker {
  color: var(--ink-muted);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--ink);
}

.hero-subtitle {
  color: var(--ink-muted);
  max-width: 560px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero-details {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Hero card with “house / circuit” inspired border */
.hero-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 22px 22px 24px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border: 2px solid var(--border-strong);
  border-radius: 18px;
  opacity: 0.18;
  pointer-events: none;
}

/* Outer border */
.hero-card::before {
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
}

/* Inner border */
/* .hero-card::after {
  top: 22px;
  left: 22px;
  right: 22px;
  bottom: 22px;
} */


.hero-card h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  position: relative;
}

.hero-card p,
.hero-card ul {
  position: relative;
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.hero-meta li + li {
  margin-top: 4px;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0 auto 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.1s ease;
}

.btn.primary {
  background: var(--accent);
  color: #ffffff;
}

.btn.primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--ink-muted);
}

.btn.ghost:hover {
  border-color: rgba(0, 0, 0, 0.22);
  color: var(--ink);
}

.btn.full {
  width: 100%;
}

/* Cards, grids, etc. */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.info-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: flex-start;
}

.section h2 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.section p {
  margin-top: 0;
}

/* Lists */
.bullet-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.bullet-list li + li {
  margin-top: 4px;
}

/* Projects */
.project-card .project-tag {
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

/* Quotes (if you add testimonials later) */
.quote-card blockquote {
  margin: 0 0 10px;
  font-style: italic;
  color: var(--ink);
}

.quote-card figcaption {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* Contact & form */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  font-size: 0.95rem;
}

.contact-list li + li {
  margin-top: 6px;
}

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

.contact-list a:hover {
  text-decoration: underline;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.field span {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.field input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: #fafafa;
  color: var(--ink);
  font-size: 0.9rem;
}

.field input::placeholder {
  color: #a1a4aa;
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(224, 33, 33, 0.55);
}

.fine-print {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(203, 208, 216, 0.95);
  padding: 18px 0 20px;
  background: #f2f3f5;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

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

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

/* Responsive tweaks */
@media (max-width: 900px) {
  .hero-inner,
  .split,
  .grid-3,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 64px;
  }

  .nav {
    display: none; /* You can replace with a mobile menu later */
  }

  .section {
    padding: 56px 0;
  }
}
