:root {
  --sky: #EAF1F8;
  --paper: #FFFFFF;
  --ink: #0F2340;
  --ink-soft: #4A5E78;
  --rule: #CBD8E6;
  --lift: #F2A541;
  --lift-deep: #C97D12;
  --error: #B42318;
  --ok: #1E6B43;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--lift); outline-offset: 3px; border-radius: 2px; }

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

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(234, 241, 248, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
}
.brand-mark { width: 30px; height: 30px; color: var(--ink); flex: none; }
.brand-sub { font-weight: 500; color: var(--ink-soft); }
nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 0.98rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta {
  background: var(--ink); color: #fff; padding: 9px 16px; border-radius: var(--radius);
}
.nav-cta:hover { background: #1B3A63; text-decoration: none !important; }

@media (max-width: 760px) {
  .brand-sub { display: none; }
  nav a:not(.nav-cta) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 1rem/1 var(--body);
  padding: 15px 22px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--lift); color: var(--ink); }
.btn-primary:hover { background: #F5B65E; }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-quiet { border-color: var(--ink); color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: var(--sky);
  padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.lede {
  margin-top: 28px; max-width: 34em;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink-soft);
}
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero visual: a business checkup report, the thing a client actually receives */
.checkup {
  margin: 0; min-width: 0;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
}
.checkup-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 18px 22px; border-bottom: 1.5px solid var(--ink);
}
.checkup-title { font: 700 1.15rem var(--display); letter-spacing: -0.01em; }
.checkup-sub { font-size: 0.85rem; color: var(--ink-soft); }
.findings { list-style: none; margin: 0; padding: 0; }
.findings li {
  display: grid; grid-template-columns: 1fr auto; column-gap: 14px; row-gap: 4px; align-items: center;
  padding: 14px 22px; border-bottom: 1px solid var(--rule);
}
.f-area { font-weight: 600; font-size: 0.92rem; }
.f-text { grid-column: 1 / -1; grid-row: 2; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.4; min-width: 0; }
.f-status {
  font-size: 0.78rem; font-weight: 600; white-space: nowrap;
  padding: 4px 10px; border-radius: 999px;
  background: #FDF0DC; color: #7A4A06; border: 1px solid #F2C27F;
}
.checkup-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 22px; background: var(--sky);
}
.checkup-foot strong { font: 700 1rem var(--display); }
.checkup-foot span { display: block; font-size: 0.85rem; color: var(--ink-soft); }
.checkup-foot svg { width: 132px; height: 44px; flex: none; overflow: visible; }
.checkup-foot path { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.checkup-foot circle { fill: var(--lift); stroke: var(--ink); stroke-width: 2.5; }

/* The one orchestrated moment: findings get flagged one by one, then the bottom line climbs */
@media (prefers-reduced-motion: no-preference) {
  .f-status { animation: flag .4s cubic-bezier(.3,1.6,.6,1) both; animation-delay: calc(.35s + var(--i) * .3s); }
  .checkup-foot path { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s ease-out 1.75s forwards; }
  .checkup-foot circle { animation: flag .35s ease-out 2.65s both; }
}
@keyframes flag { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .checkup { max-width: 560px; margin-right: 10px; }
}
@media (max-width: 480px) {
  .findings li { padding: 12px 16px; }
  .checkup-head, .checkup-foot { padding-inline: 16px; }
  .checkup-sub { display: none; }
}

/* ---------- Marketing detail ---------- */
.mkt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.mkt-col h3 { font-size: 1.5rem; }
.mkt-col > p { margin-top: 10px; color: var(--ink-soft); max-width: 32em; }
.mkt-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.mkt-list li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.mkt-list strong { display: block; font-weight: 600; }
.mkt-list span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 0.98rem; }
.mkt-close {
  margin-top: clamp(36px, 5vw, 56px); padding: 22px 26px;
  background: var(--sky); border-left: 4px solid var(--lift);
  font-size: 1.08rem; max-width: 52em;
}
@media (max-width: 760px) { .mkt-grid { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--sky); }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: 1.12rem; max-width: 40em; }

/* Areas: a quiet 2x2, separated by rules rather than boxed cards */
.areas {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 5vw, 72px);
}
.area { padding: 32px 0; border-top: 2px solid var(--ink); }
.area-icon { width: 40px; height: 40px; color: var(--ink); margin-bottom: 16px; }
.area p { margin-top: 10px; color: var(--ink-soft); max-width: 32em; }
@media (max-width: 720px) { .areas { grid-template-columns: 1fr; } }

/* Steps: a real sequence, so it gets numbers and a connecting line */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 22px;
  height: 2px; background: var(--rule);
}
.steps li { position: relative; }
.step-num {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink);
  font: 800 1.15rem var(--display);
  margin-bottom: 20px; position: relative;
}
.steps li:last-child .step-num { background: var(--lift); }
.steps p { margin-top: 8px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Why ---------- */
.why { background: var(--ink); color: #fff; padding: clamp(72px, 10vw, 128px) 0; }
.why-inner { max-width: 880px; }
.why blockquote { margin: 0; }
.why blockquote p {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.4rem, 2.7vw, 2rem); line-height: 1.3; letter-spacing: -0.015em;
}
.why blockquote p + p { margin-top: 24px; color: var(--lift); font-weight: 700; }
.signoff { margin-top: 36px; color: #B9C7D9; font-size: 1rem; }
.signoff strong { color: #fff; font-size: 1.1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-copy p { margin-top: 18px; color: var(--ink-soft); font-size: 1.1rem; max-width: 30em; }
.contact-copy .where { font-size: 1rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.lead-form {
  background: var(--sky); padding: clamp(24px, 4vw, 36px);
  border-radius: 10px; border: 1px solid var(--rule);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--rule); border-radius: var(--radius);
  padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242,165,65,.45); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.9rem; margin-top: 6px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 14px; font-weight: 500; min-height: 1.6em; }
.form-status.is-error { color: var(--error); }
.form-success h3 { font-size: 1.6rem; }
.form-success p { margin-top: 12px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding: 28px 0; font-size: 0.95rem; color: var(--ink-soft); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
