/* ==========================================================================
   Haubner Solution Architects — Design System
   Source of truth: Haubner Solution Architects Rebrand.pdf (Brand Style Guide)
   ========================================================================== */

:root {
  --navy: #291D89;
  --blue: #4671F1;
  --lavender: #F0F4FF;
  --white: #FFFFFF;
  --ink: #000000;
  --ink-70: rgba(0, 0, 0, 0.7);
  --ink-55: rgba(0, 0, 0, 0.55);
  --border-subtle: rgba(41, 29, 137, 0.12);
  --border-on-navy: rgba(255, 255, 255, 0.22);

  --font-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container-max: 900px;
  --radius-sm: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 0;
  transform: translateY(-150%);
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: transform 0.15s ease;
  font-family: var(--font-head);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); top: 1rem; }

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

/* ------------------------------- Typography ------------------------------ */
h1, h2 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-weight: 700; font-size: 2.25rem; line-height: 1.2; }
h2 { font-weight: 600; font-size: 1.6rem; line-height: 1.25; }

@media (min-width: 700px) {
  h1 { font-size: 3rem; line-height: 1.18; }
  h2 { font-size: 1.9rem; }
}

p { margin: 0 0 1.1em; max-width: 60ch; }
.bg-navy p, .bg-navy li { color: rgba(255,255,255,0.92); }
.bg-navy h1, .bg-navy h2 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.bg-navy .eyebrow { color: #A9BCFF; }

.section-intro { margin-bottom: 1.5rem; }
.section-intro p { color: var(--ink-70); margin-bottom: 0; }

/* --------------------------------- Layout -------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 3.5rem 0; }
@media (min-width: 700px) {
  .section { padding: 5rem 0; }
}

.bg-white { background: var(--white); }
.bg-lavender { background: var(--lavender); }
.bg-navy { background: var(--navy); color: var(--white); }

/* ------------------------------- Chevron motif ---------------------------- */
.chevron-field {
  position: relative;
  isolation: isolate;
}
.chevron-field::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.07) 0px,
    rgba(255, 255, 255, 0.07) 2px,
    transparent 2px,
    transparent 34px
  );
}
.chevron-field > * { position: relative; z-index: 1; }

/* --------------------------------- Logo ----------------------------------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--navy);
  line-height: 1;
}
.logo-accent { color: var(--blue); }
.logo.on-dark { color: var(--white); }
.logo.on-dark .logo-accent { color: #7C97FF; }

/* --------------------------------- Header --------------------------------- */
.site-header {
  border-bottom: 1px solid var(--border-subtle);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* --------------------------------- Hero ------------------------------------ */
.hero { padding: 3.5rem 0 3rem; }
@media (min-width: 700px) {
  .hero { padding: 5rem 0 4rem; }
}
.hero h1 { max-width: 18ch; }
.hero .lede { max-width: 52ch; font-size: 1.1rem; color: rgba(255,255,255,0.88); }
.credentials-line {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* ------------------------------- Simple list -------------------------------- */
.simple-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.simple-list li {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: var(--navy);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.simple-list li:last-child { border-bottom: none; }

/* ------------------------------- About -------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 700px) {
  .about-grid { grid-template-columns: 140px 1fr; gap: 2rem; }
}
.about-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
}
.cert-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--ink-70);
}
.cert-list li { padding-left: 1.1rem; position: relative; }
.cert-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------------------------------- Footer -------------------------------------- */
.site-footer { padding: 2rem 0; }
.footer-simple {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.footer-simple p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0;
}
.footer-simple a { color: rgba(255,255,255,0.85); }
@media (min-width: 700px) {
  .footer-simple {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-icon-link {
  display: inline-flex;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s ease;
}
.footer-icon-link:hover { color: var(--white); }
