/* BKD Solutions — brand colors taken from the business card logo */
:root {
  --ink: #15192a;        /* B and D letterforms */
  --blue: #2f4db0;       /* K letterform */
  --blue-dark: #243d8f;
  --rule: #8b8e95;       /* logo divider bars */
  --paper: #f6f6f3;
  --paper-alt: #ecece8;
  --text: #2a2d36;
  --muted: #5d616b;
  --white: #ffffff;

  --font-logo: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Zilla Slab", Georgia, "Times New Roman", serif;

  --wrap: 1120px;
  --radius: 6px;
}

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

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

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

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

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

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

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex; flex-direction: column; align-items: center;
  text-decoration: none; color: var(--ink);
}
.logo-letters {
  display: flex; align-items: stretch;
  font-family: var(--font-logo); font-weight: 500; line-height: 1;
}
.logo-letters span { padding: 0 .28em; }
.logo-letters .k { color: var(--blue); }
.logo-letters i { width: 2px; background: var(--rule); opacity: .8; }
.logo-sub {
  font-family: var(--font-logo); font-weight: 500;
  letter-spacing: .22em; color: var(--ink);
}

.logo--small .logo-letters { font-size: 1.6rem; }
.logo--small .logo-letters i { width: 1px; }
.logo--small .logo-sub { font-size: .52rem; margin-top: 4px; }

.logo--large .logo-letters { font-size: clamp(4rem, 13vw, 8.5rem); }
.logo--large .logo-letters i { width: 3px; margin: -.06em 0; }
.logo--large .logo-sub { font-size: clamp(1rem, 2.6vw, 1.6rem); margin-top: .5em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 246, 243, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(21, 25, 42, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.site-header ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-header nav a:not(.btn) {
  font-family: var(--font-logo); font-size: .9rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
}
.site-header nav a:not(.btn):hover { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-logo); font-weight: 600; font-size: .95rem;
  padding: 14px 26px; border-radius: var(--radius);
  background: var(--blue); color: var(--white); text-decoration: none;
  border: 2px solid var(--blue);
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); }
.btn--small { padding: 8px 16px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 10vw, 110px); text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  max-width: 820px; margin: 1.4em auto .9em;
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; color: var(--text);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: clamp(56px, 9vw, 100px); }

/* Brush-stroke band, echoing the card */
.band { position: relative; background: var(--ink); }
.band-edge { position: absolute; left: 0; right: 0; bottom: 100%; width: 100%; height: 28px; fill: var(--ink); }
.band-text {
  margin: 0; padding: 22px 16px 26px;
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .5em;
  color: var(--white); font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.9rem); letter-spacing: .01em;
}
.band-text b { color: var(--rule); font-weight: 400; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--ink); color: #d6d8df; }
.section--dark h2 { color: var(--white); }

.eyebrow {
  font-family: var(--font-logo); font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: .8em;
}
.section--dark .eyebrow { color: #8fa6f0; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  border-top: 4px solid var(--ink);
  box-shadow: 0 1px 2px rgba(21, 25, 42, .06), 0 8px 24px rgba(21, 25, 42, .05);
}
.card:nth-child(2) { border-top-color: var(--blue); }
.card-num { display: block; font-family: var(--font-logo); font-weight: 600; font-size: .85rem; color: var(--rule); margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }

/* Approach */
.pillars { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.pillars li { padding: 8px 32px; border-left: 2px solid var(--rule); }
.pillars li:first-child { padding-left: 0; border-left: 0; }
.pillars h3 { font-family: var(--font-logo); font-weight: 600; font-size: 1.5rem; }
.pillars h3.accent { color: var(--blue); }
.pillars p { color: var(--muted); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: center; }
.about p { max-width: 60ch; }
.person {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  border-left: 4px solid var(--blue);
  box-shadow: 0 8px 24px rgba(21, 25, 42, .06);
}
.person p { margin: 0; }
.person-name { font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.person-title { color: var(--muted); margin-bottom: 14px !important; }

/* Contact */
.contact { text-align: center; }
.contact .lead { max-width: 620px; margin: 0 auto 40px; }
.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.contact-item {
  display: flex; flex-direction: column; gap: 4px; min-width: 260px;
  padding: 22px 28px; border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04);
  text-decoration: none; transition: background .15s, border-color .15s;
}
.contact-item:hover { background: rgba(255, 255, 255, .09); border-color: #8fa6f0; }
.contact-label { font-family: var(--font-logo); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8fa6f0; }
.contact-value { font-size: 1.25rem; color: var(--white); overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: #0e111d; color: #9a9ead; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; padding-bottom: 24px; }
.site-footer p { margin: 0; }
.footer-tag { font-weight: 700; color: #c9ccd6; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cards, .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li:first-child { padding: 20px 0; border-left: 0; border-top: 2px solid var(--rule); }
  .pillars li:first-child { border-top: 0; padding-top: 0; }
  .about { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .site-header li:not(:last-child) { display: none; }
  .contact-item { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
