/* Aaron Patzalek — index.html only
   Single-column Stripe/Linear shape.
   consulting.html continues to load main.css. */

@import url('../fonts/dm-sans/dm-sans.css');

/* ── Tokens ───────────────────────────────────── */
:root {
  --ap-max:        680px;
  --ap-ink:        #111111;
  --ap-ink-2:      #6B7280;
  --ap-blue:       #0066CC;
  --ap-blue-hover: #0052A3;
  --ap-border:     #E5E7EB;
  --ap-bg:         #FFFFFF;
  --ap-nav-h:      56px;
}

/* ── Reset ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--ap-ink);
  background: var(--ap-bg);
  line-height: 1.6;
  min-height: 100vh;
}

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

a { color: inherit; }

a:focus-visible {
  outline: 2px solid var(--ap-blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Skip link ────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--ap-blue);
  color: #fff;
  padding: 0.6rem 1.25rem;
  border-radius: 0 0 6px 6px;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* ── Nav ──────────────────────────────────────── */
.ap-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--ap-nav-h);
  background: var(--ap-bg);
  border-bottom: 1px solid var(--ap-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.ap-nav-logo {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ap-ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.ap-nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ap-blue);
  text-decoration: none;
  border: 1.5px solid var(--ap-blue);
  border-radius: 6px;
  padding: 0 0.875rem;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s, color 0.15s;
}
.ap-nav-cta:hover { background: var(--ap-blue); color: #fff; }

/* ── Layout wrapper ───────────────────────────── */
.ap-wrap {
  max-width: var(--ap-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Hero ─────────────────────────────────────── */
.ap-hero {
  padding: 5rem 0 4rem;
}

.ap-hero h1 {
  font-size: clamp(2.25rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ap-ink);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.ap-positioning {
  font-size: clamp(1.0625rem, 2.5vw, 1.1875rem);
  color: var(--ap-ink-2);
  line-height: 1.55;
  max-width: 500px;
  margin-bottom: 2.25rem;
}

/* ── Buttons ──────────────────────────────────── */
.ap-btn {
  display: inline-flex;
  align-items: center;
  background: var(--ap-blue);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0 1.5rem;
  min-height: 48px;
  border-radius: 8px;
  transition: background 0.15s, transform 0.1s;
}
.ap-btn:hover { background: var(--ap-blue-hover); transform: translateY(-1px); }
.ap-btn:active { transform: none; }

.ap-btn-full { width: 100%; justify-content: center; font-size: 1.0625rem; }

/* ── Credibility ──────────────────────────────── */
.ap-credibility {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ap-border);
}

.ap-headshot-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ap-border);
  flex-shrink: 0;
}

.ap-credibility-bio {
  font-size: 0.9375rem;
  color: var(--ap-ink-2);
  line-height: 1.55;
}

/* ── Divider ──────────────────────────────────── */
.ap-divider { border: none; border-top: 1px solid var(--ap-border); }

/* ── Section ──────────────────────────────────── */
.ap-section { padding: 3.5rem 0; }

.ap-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ap-ink-2);
  margin-bottom: 2rem;
}

/* ── Evidence list ────────────────────────────── */
.ap-outcomes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ap-outcomes li {
  padding-left: 1.5rem;
  position: relative;
}

.ap-outcomes li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--ap-blue);
  font-weight: 700;
}

.ap-outcomes li strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ap-ink);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.ap-outcomes li span {
  font-size: 0.9375rem;
  color: var(--ap-ink-2);
  line-height: 1.55;
}

/* ── Services ─────────────────────────────────── */
.ap-services {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ap-service-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ap-ink);
  margin-bottom: 0.3rem;
}

.ap-service-desc {
  font-size: 0.9375rem;
  color: var(--ap-ink-2);
  line-height: 1.55;
  max-width: 540px;
}

.ap-service-note {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ap-blue);
  margin-top: 0.25rem;
}

/* ── Bottom CTA ───────────────────────────────── */
.ap-cta-block { padding: 3.5rem 0 5rem; }

.ap-cta-block h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ap-ink);
  margin-bottom: 0.4rem;
  text-wrap: balance;
}

.ap-cta-block p {
  font-size: 0.9375rem;
  color: var(--ap-ink-2);
  margin-bottom: 2rem;
}

/* ── Footer ───────────────────────────────────── */
.ap-footer {
  border-top: 1px solid var(--ap-border);
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--ap-ink-2);
}

.ap-footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ap-footer a {
  color: var(--ap-ink-2);
  text-decoration: none;
}
.ap-footer a:hover { color: var(--ap-ink); text-decoration: underline; }

/* ── Dark mode ────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --ap-ink:        #F3F4F6;
    --ap-ink-2:      #9CA3AF;
    --ap-blue:       #5DADE2;
    --ap-blue-hover: #7EC8E3;
    --ap-border:     #374151;
    --ap-bg:         #111827;
  }

  .ap-btn { background: #5DADE2; color: #111827; }
  .ap-btn:hover { background: #7EC8E3; }

  .ap-nav-cta { border-color: #5DADE2; color: #5DADE2; }
  .ap-nav-cta:hover { background: #5DADE2; color: #111827; }
}

/* ── Reduced motion ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ap-btn { transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Mobile ───────────────────────────────────── */
@media (max-width: 480px) {
  .ap-hero { padding: 3rem 0 2.5rem; }
  .ap-wrap { padding: 0 1rem; }
  .ap-nav { padding: 0 1rem; }
  .ap-section { padding: 2.5rem 0; }
  .ap-cta-block { padding: 2.5rem 0 3.5rem; }
  .ap-footer { padding: 1.25rem 1rem; }
  .ap-credibility { flex-direction: column; gap: 0.875rem; }
}
