:root {
  --ink: #14181f;
  --charcoal: #0f1217;
  --text: #1d232c;
  --muted: #4a5563;
  --paper: #ffffff;
  --paper-alt: #f4f6f9;
  --line: #dde2ea;
  --accent: #3b6fd8;        /* [CONFIRM WITH DAD: exact brand blue] white text on this = 4.7:1 */
  --accent-dark: #2f5bb8;
  --accent-light: #7ea3ee;  /* for text on dark backgrounds, 7:1 */
  --on-dark: #e9edf3;
  --on-dark-muted: #b4bdca;
  --font: "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}

img { max-width: 100%; height: auto; }

a { color: var(--accent-dark); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.hero :focus-visible, .section-dark :focus-visible, .site-header :focus-visible {
  outline-color: var(--accent-light);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 20;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 44rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; }
.site-header nav a {
  color: var(--on-dark);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0;
}
.site-header nav a:hover { color: var(--accent-light); }
.site-header nav .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.45rem 0.9rem;
}
.site-header nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }
/* Small screens: keep only the CTA so the header stays tidy */
@media (max-width: 40rem) {
  .site-header nav a:not(.nav-cta) { display: none; }
}

/* Hero */
.hero {
  background: linear-gradient(160deg, #0b0e13 0%, #1a2029 100%);
  color: #fff;
  padding: 4.5rem 0 5rem;
}
.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--on-dark-muted);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 1.75rem;
  font-size: clamp(2.6rem, 11vw, 5.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.accent { color: var(--accent-light); }
.lead { margin: 0 0 0.75rem; font-size: 1.25rem; color: #fff; max-width: 34rem; }
.hero-text { margin: 0 0 2rem; color: var(--on-dark-muted); max-width: 34rem; }

/* Buttons */
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.75rem;
}
.button:hover { background: var(--accent-dark); }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--charcoal); color: var(--on-dark); }
.section-dark a { color: var(--accent-light); }
.section-dark .button { color: #fff; }

h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
h3 { margin: 0 0 0.5rem; font-size: 1.1rem; line-height: 1.3; }
p { margin: 0 0 1rem; }

/* Placeholders stay visible on purpose */
.placeholder {
  display: block;
  margin: 0.75rem 0;
  padding: 0.5rem 0.75rem;
  border-left: 4px solid #e0a100;
  background: #fff6d9;
  color: #5a4300;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Cards */
.cards {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 1.5rem;
}
.card p { margin: 0; color: var(--muted); }

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 1rem; }
.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.14em;
}
.steps p { margin: 0; color: var(--muted); }

/* Proof */
.stat { font-size: 1.2rem; margin-bottom: 2rem; max-width: 38rem; }
.stat-number { display: block; font-size: 3.5rem; line-height: 1.1; font-weight: 700; color: var(--accent-light); }
.clients-heading {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.clients { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.clients li { font-size: 1.1rem; font-weight: 600; }
.section-dark .placeholder { margin-top: 1rem; }

/* About */
.about-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
.headshot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
  background: var(--paper-alt);
  border: 1px dashed var(--muted);
  padding: 1rem;
}

/* Contact / footer */
.text-link { font-weight: 600; }
#contact .button { margin: 0.5rem 0 1rem; }

.site-footer { background: #090b0f; color: var(--on-dark-muted); padding: 1.5rem 0; font-size: 0.9rem; }
.site-footer a { color: var(--accent-light); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; }
.footer-inner p { margin: 0; }

/* Larger screens */
@media (min-width: 48rem) {
  .container { padding: 0 2rem; }
  .hero { padding: 7rem 0 8rem; }
  .section { padding: 6rem 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 2fr; gap: 3rem; }
}
@media (min-width: 64rem) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
