/* ============================================================
   KaVeer Digital — Custom Design
   Palette: Navy (trust) / Gold (courage) / Off-white (clarity) / Slate (balance)
   Display: Fraunces (characterful serif, used sparingly)
   Body: Inter (clean, humanist)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #0B1F3A;
  --navy-deep: #071427;
  --gold: #D4A017;
  --gold-bright: #E8B93A;
  --off-white: #F8F7F2;
  --slate: #5B6472;
  --slate-light: #8A93A0;
  --line: rgba(11, 31, 58, 0.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--navy);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- Wordmark (the signature element) ---------- */
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: baseline;
  letter-spacing: -0.01em;
}
.wordmark .ka { color: var(--navy); }
.wordmark .veer { color: var(--gold); position: relative; }
/* the V's ascender reads as a small upward peak — echoes "growth" without a literal icon */
.wordmark.on-dark .ka { color: var(--off-white); }
.wordmark.on-dark .veer { color: var(--gold-bright); }

/* ---------- Header ---------- */
header.site {
  background: var(--off-white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
}
.navlinks { display: flex; gap: 34px; font-size: 0.92rem; font-weight: 500; }
.navlinks a { padding-bottom: 3px; border-bottom: 2px solid transparent; transition: border-color 0.15s ease, color 0.15s ease; }
.navlinks a:hover, .navlinks a.active { border-color: var(--gold); }
.navlinks a.active { color: var(--navy); }

.call-btn {
  background: var(--navy);
  color: var(--off-white);
  padding: 11px 22px;
  border-radius: 3px;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.15s ease;
}
.call-btn:hover { background: var(--navy-deep); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--off-white);
  padding: 110px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 120%, rgba(212,160,23,0.16), transparent 55%),
    radial-gradient(ellipse at 85% -10%, rgba(212,160,23,0.10), transparent 50%);
  pointer-events: none;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 24px;
  position: relative;
}
.hero h1 .gold { color: var(--gold-bright); }
.hero p.sub {
  font-size: 1.15rem;
  color: rgba(248,247,242,0.78);
  max-width: 540px;
  margin: 0 auto 38px;
  position: relative;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 15px 32px;
  border-radius: 3px;
  font-weight: 700;
  display: inline-block;
  position: relative;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid rgba(248,247,242,0.35);
  color: var(--off-white);
  padding: 14px 30px;
  border-radius: 3px;
  font-weight: 600;
  display: inline-block;
  margin-left: 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-ghost:hover { border-color: var(--gold-bright); background: rgba(255,255,255,0.04); }

/* ---------- Sections generic ---------- */
section { padding: 88px 0; }
section.tight { padding: 64px 0; }
.section-label {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.1rem;
  margin-bottom: 22px;
  color: var(--navy);
}
.lede { color: var(--slate); max-width: 640px; font-size: 1.05rem; }

/* ---------- The Clarity / Courage / Growth path (real sequence, not decorative numbering) ---------- */
.path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.path-step {
  padding: 36px 30px;
  border-right: 1px solid var(--line);
  position: relative;
}
.path-step:last-child { border-right: none; }
.path-step .stage {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.path-step .stage .root {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.path-step p { color: var(--slate); font-size: 0.95rem; }
.path-step::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.1rem;
  z-index: 2;
}
.path-step:last-child::after { content: none; }

/* ---------- Service / feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card .name { font-weight: 700; margin-bottom: 8px; font-size: 1.05rem; }
.card .desc { color: var(--slate); font-size: 0.94rem; }

/* ---------- About split ---------- */
.about-flex { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.about-flex p { color: var(--slate); margin-top: 16px; }
.origin-block {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 26px 28px;
  border-radius: 2px;
}
.origin-block .term { font-family: var(--font-display); color: var(--navy); font-size: 1.15rem; margin-bottom: 4px; }
.origin-block .def { color: var(--slate); font-size: 0.92rem; margin-bottom: 18px; }
.origin-block .def:last-child { margin-bottom: 0; }

/* ---------- Testimonial placeholder ---------- */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 30px; }
.testimonial {
  border: 1px dashed var(--line);
  border-radius: 4px;
  padding: 26px;
  color: var(--slate-light);
  font-style: italic;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--off-white);
  text-align: center;
  padding: 64px 0;
}
.cta-banner h2 { color: var(--off-white); }
.cta-banner p { color: rgba(248,247,242,0.75); max-width: 520px; margin: 0 auto 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info div { margin-bottom: 20px; }
.contact-info .label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 3px;
}
.contact-info a:hover { color: var(--gold); }
.note-box {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px 24px;
  color: var(--slate);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy-deep);
  color: rgba(248,247,242,0.6);
  padding: 40px 0;
  font-size: 0.86rem;
}
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
footer.site a:hover { color: var(--gold-bright); }

/* ---------- Reveal-on-scroll (subtle, respects reduced motion) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .path { grid-template-columns: 1fr; }
  .path-step { border-right: none; border-bottom: 1px solid var(--line); }
  .path-step::after { content: none; }
  .grid-3, .about-flex, .contact-grid, .testimonials { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .navlinks { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 80px 0 70px; }
  .btn-ghost { margin-left: 0; margin-top: 12px; display: block; }
}
