/* ================================================
   Kirk Hasley — Sales Consulting
   Premium, executive, founder-friendly
   ================================================ */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fb;
  --color-bg-dark: #0a1628;
  --color-bg-dark-2: #0f1d33;
  --color-text: #0a1628;
  --color-text-body: #334155;
  --color-text-muted: #64748b;
  --color-text-inverse: #f8fafc;
  --color-text-inverse-muted: #94a3b8;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;
  --color-border-inverse: rgba(255, 255, 255, 0.12);
  --color-accent: #1d4ed8;
  --color-accent-hover: #1e40af;
  --color-accent-soft: #eff6ff;
  --color-accent-ring: rgba(29, 78, 216, 0.25);
  --color-success: #047857;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, 0.18);

  --container-max: 1180px;
  --container-narrow: 920px;
  --header-h: 72px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------- Base -------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

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

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--color-accent-ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

h1,
h2,
h3,
h4 {
  color: var(--color-text);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h1,
h2 {
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-text);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 16px;
  color: #fff;
}

/* -------- Header -------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.site-header.scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(255, 255, 255, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--color-text);
}

.brand-name {
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list a {
  color: var(--color-text-body);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 2px;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav ul {
  margin-bottom: 16px;
}

.mobile-nav li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 17px;
}

/* -------- Buttons -------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease-out), background 0.2s var(--ease-out),
    color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.btn-ghost:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.nav-cta {
  margin-left: 8px;
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 20px;
  }
  .nav-list {
    gap: 20px;
  }
  .nav-cta {
    padding: 8px 14px;
    font-size: 13.5px;
  }
}

/* -------- Hero -------- */

.hero {
  position: relative;
  padding: 58px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(1200px 480px at 80% -10%, rgba(29, 78, 216, 0.08), transparent 60%),
    radial-gradient(900px 360px at 0% 30%, rgba(15, 23, 42, 0.04), transparent 60%),
    var(--color-bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--color-text-body);
  margin-bottom: 0;
  max-width: 640px;
}

.hero-proof {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 18px 0 28px;
  max-width: 620px;
}

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

.hero-bullets {
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text-body);
}

.hero-bullets li {
  position: relative;
  padding-left: 28px;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, var(--color-accent), var(--color-accent-hover));
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.headshot-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.headshot-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(29, 78, 216, 0.0) 60%, rgba(29, 78, 216, 0.08));
  pointer-events: none;
}

.headshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -------- Sections -------- */

.section {
  padding: 58px 0;
}

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

.section-header {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-lede {
  font-size: 17px;
  color: var(--color-text-body);
  line-height: 1.6;
}

.section-closing {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: center;
  font-size: 17px;
  color: var(--color-text);
  font-weight: 500;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* -------- Card grids -------- */

.card-grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  padding-top: 32px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

.section-alt .card {
  background: #fff;
}

.card-title {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--color-text);
}

.card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-body);
  margin-bottom: 0;
}

/* Service cards */
.service-card .bullet-list {
  margin-top: 6px;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.bullet-list {
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  color: var(--color-text-body);
}

.bullet-list li {
  position: relative;
  padding-left: 20px;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}


/* -------- Stages -------- */

.stages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stage-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  padding-top: 36px;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.stage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
}

.stage-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin: 0 0 18px;
}

.stage-title {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  min-height: calc(22px * 1.25 * 2);
  display: flex;
  align-items: center;
  color: var(--color-text);
}

.stage-desc {
  flex: 1 1 auto;
  margin: 0;
}

.stage-desc p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--color-text-body);
  margin: 0 0 16px;
}

.stage-desc p:last-child {
  margin-bottom: 0;
}

.list-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 24px 0 12px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-body);
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.65em;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(-45deg);
}

.stage-outcome {
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text);
  margin: 24px 0 0;
}

/* -------- About / Credibility -------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.about-copy {
  font-size: 17px;
  color: var(--color-text-body);
}

.about-copy p {
  margin-bottom: 16px;
}

.pull-quote {
  margin: 24px 0 0;
  padding: 20px 22px;
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  font-size: 17px;
  color: var(--color-text);
  font-weight: 500;
  font-style: italic;
}

.about-sidebar {
  align-self: start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  padding-top: 32px;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}

.about-sidebar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
}

.cred-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 16px;
}

.cred-list {
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-text-body);
}

.cred-list li {
  position: relative;
  padding-left: 20px;
}

.cred-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* -------- Process -------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
  margin: 0;
}

.process-step {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  padding-top: 32px;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
}

.step-number {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-accent);
  line-height: 1;
  margin: 0 0 4px;
}

.step-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 14px;
}

.step-title {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--color-text);
}

.process-step > p:nth-of-type(3) {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-body);
  margin: 0 0 12px;
}

/* -------- Final CTA -------- */

.final-cta {
  padding: 64px 0;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(255, 255, 255, 0.06), transparent 60%),
    radial-gradient(800px 400px at 80% 100%, rgba(29, 78, 216, 0.2), transparent 60%),
    var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.final-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.final-cta-title {
  font-size: clamp(28px, 3.6vw, 42px);
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.15;
}

.final-cta-copy {
  font-size: 18px;
  color: var(--color-text-inverse-muted);
  margin-bottom: 32px;
}

.final-cta .hero-actions {
  justify-content: center;
  margin-bottom: 20px;
}

.final-cta .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.final-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: #fff;
}

.microcopy {
  font-size: 14px;
  color: var(--color-text-inverse-muted);
  margin-bottom: 0;
}

/* -------- Footer -------- */

.site-footer {
  background: var(--color-bg-dark-2);
  color: var(--color-text-inverse-muted);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-name {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 0;
}

.footer-label {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-nav ul {
  display: grid;
  gap: 10px;
}

.footer-nav a {
  color: var(--color-text-inverse-muted);
  font-size: 14.5px;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--color-border-inverse);
  padding-top: 20px;
  font-size: 13px;
  color: var(--color-text-inverse-muted);
}

.footer-bottom p {
  margin: 0;
}

/* -------- Reveal animations -------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------- Responsive -------- */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .headshot-frame {
    max-width: 280px;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-sidebar {
    position: static;
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .nav-list,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav.open {
    display: block;
  }

  .hero {
    padding: 44px 0 56px;
  }

  .section,
  .final-cta {
    padding: 44px 0;
  }

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

  .stages-grid {
    grid-template-columns: 1fr;
  }

  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-bullets {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .card {
    padding: 24px;
  }

  .stage-card {
    padding: 24px;
    padding-top: 28px;
  }
}

/* -------- Reduced motion -------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
