/* Ascension Consulting - single-page site. No frameworks, no build step. */

:root {
  --navy: #0f1f3d;
  --navy-2: #1a2f57;
  --ink: #1b2433;
  --muted: #5b6577;
  --line: #e2e6ec;
  --bg-alt: #f5f7fa;
  --accent: #e8a33d;
  --accent-dark: #c9851f;
  --green: #1e7a4c;
  --radius: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

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

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  font-family: inherit;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--navy-2); outline-offset: 3px; }
.btn-large { padding: 14px 28px; font-size: 17px; }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
/* Ascension mark: a rising chevron in gold on a navy tile. */
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex: 0 0 30px;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M8 20l8-8 8 8' stroke='%23e8a33d' stroke-width='3.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11 25l5-5 5 5' stroke='%23e8a33d' stroke-opacity='0.5' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.footer .logo-mark { width: 24px; height: 24px; flex-basis: 24px; }
.logo-text { font-weight: 800; font-size: 18px; color: var(--navy); letter-spacing: -0.01em; white-space: nowrap; }
.logo-text span { font-weight: 800; color: var(--accent-dark); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--accent-dark); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(232, 163, 61, 0.22), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 104px 0 96px;
}
.hero-inner { max-width: 820px; }
.hero h1 { color: #fff; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #d6deeb; max-width: 680px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 18px; }
.hero-note { font-size: 15px; color: #aab6ca; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #e3e9f3; }
.section-dark h2 { color: #fff; }
.section-lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin-bottom: 40px; }
.section-lead-light { color: #b9c5d8; margin-bottom: 0; }
.eyebrow-light { color: var(--accent); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.section h2 + .grid { margin-top: 32px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 10px 30px rgba(15, 31, 61, 0.08); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card-icon .icon { font-size: 28px; display: block; margin-bottom: 12px; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: none;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step p { color: var(--muted); font-size: 16px; margin: 0; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 16px;
}

/* ---------- Proof ---------- */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 16px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='%230f1f3d' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section-dark .checks li { color: #fff; font-size: 17px; }
.checks-dark li { color: var(--ink); }

/* ---------- About ---------- */
.about > * { max-width: 760px; }
.about p { font-size: 1.15rem; color: var(--muted); }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.form-intro p { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }

.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(15, 31, 61, 0.07);
}
.field { margin-bottom: 18px; flex: 1; }
.field-row { display: flex; gap: 16px; }
.lead-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--navy); }
.optional { font-weight: 400; color: var(--muted); }
.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  border: 1px solid #cfd6e0;
  border-radius: 8px;
  background: #fff;
}
.lead-form textarea { resize: vertical; }
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(26, 47, 87, 0.15); }
.form-fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.honeypot { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #9fb0c8; padding: 28px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .logo-text { color: #fff; font-size: 16px; }
.footer .logo-text span { color: var(--accent); }

/* ---------- Thanks page ---------- */
.thanks {
  min-height: calc(100vh - 68px - 80px);
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.thanks .container { max-width: 640px; text-align: center; }
.thanks p { color: var(--muted); font-size: 1.15rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .proof, .form-wrap { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .hero { padding: 72px 0 64px; }
  .section { padding: 64px 0; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; gap: 0; }
  .lead-form { padding: 22px; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .nav-inner { gap: 12px; }
  .logo-text { font-size: 16px; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
