/* ============================================================
   Eisenhawer Tech — static site
   Matches the legacy WordPress look: raven hero, white nav,
   Libre Franklin, small-caps section headings.
   ============================================================ */

:root {
  --ink: #333333;          /* body text (was rgb(51,51,51)) */
  --ink-strong: #222222;   /* headings/links (was rgb(34,34,34)) */
  --ink-soft: #666666;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --line: #e5e5e5;
  --accent: #0088ff;       /* legacy SPA accent, kept for future CTA use */
  --accent-ink: #0366d6;
  --hero-h: 577px;
  --nav-h: 64px;
  --maxw: 1000px;
  --font: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; display: block; }

a { color: var(--ink-strong); }
a:hover { color: var(--accent-ink); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: var(--hero-h);
  background: url("../assets/raven.jpg") center 30% / cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.hero-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding-bottom: 48px;
}
.hero-brand img {
  width: 64px;
  height: auto;
  filter: brightness(0) invert(1); /* white silhouette on dark hero */
}
.hero-brand h1 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.hero-brand .tagline {
  margin: 6px 0 0;
  color: rgba(255,255,255,0.92);
  font-size: 16px;
  font-weight: 400;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}
.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a.navlink {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
}
.nav a.navlink:hover { background: var(--bg-soft); color: var(--ink-strong); }
.nav a.navlink[aria-current="page"] {
  color: var(--ink-strong);
  font-weight: 700;
  border-bottom: 2px solid var(--ink-strong);
  border-radius: 0;
}
.nav .spacer { flex: 1; }

/* Future auth/Stripe hook: .nav-auth is hidden until a backend exists.
   When Supabase auth lands, un-hide and wire js/auth.js. */
.nav-auth { display: none; }
.nav-auth a {
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
}
.nav-auth a.btn-outline {
  border: 1px solid var(--line);
  color: var(--ink-strong);
}
.nav-auth a.btn-solid {
  background: var(--accent);
  color: #fff;
  margin-left: 8px;
}

/* mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 18px;
  cursor: pointer;
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; }
  .nav .spacer { display: none; }
  .nav-menu { display: none; width: 100%; }
  .nav-menu.open { display: flex; flex-direction: column; }
  .nav a.navlink { padding: 10px 8px; }
}

/* ---------- Content ---------- */
main { padding: 56px 0 72px; }

.section-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-strong);
  margin: 0 0 18px;
}

h2.block {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink-strong);
  margin: 40px 0 14px;
}

p { margin: 0 0 16px; }

.lead {
  font-size: 18px;
  font-style: italic;
  font-weight: 700;
  color: var(--ink-strong);
}

/* services / lists */
ul.services { list-style: none; padding: 0; margin: 0 0 8px; }
ul.services li { margin: 0 0 18px; padding-left: 0; }
ul.services strong { color: var(--ink-strong); }

ul.tools {
  margin: 8px 0 0;
  padding-left: 22px;
  color: var(--ink-soft);
}
ul.tools li { margin: 4px 0; }

/* case studies */
.case { margin: 0 0 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.case:last-child { border-bottom: none; }
.case h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-strong);
  margin: 0 0 8px;
}

/* CTA band */
.cta {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
  text-align: center;
}
.cta p { font-size: 18px; margin: 0 0 18px; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 8px;
}
.btn:hover { background: var(--accent-ink); color: #fff; }

/* contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  background: var(--bg-soft);
}
.contact-card .label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.contact-card a { font-size: 17px; font-weight: 700; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--ink-strong); }
footer .spacer { flex: 1; }
