/* home.base.css — minimal base layer for index.html.
   Replaces home.vendor.css (Bootstrap 5 + Start Bootstrap "Resume", 11,300
   lines / 2,488 rules). Only 74 of those rules ever matched this page; the
   rest were unreachable. Everything reachable is reproduced here with the
   Bootstrap custom properties resolved to literal values, so no --bs-* layer
   is needed.

   Cascade order: _tokens.css -> home.base.css -> home.css.
   home.css remains the editorial overlay and must load last.

   Deliberately NOT ported: the vendor `section { display:flex; align-items:
   center; padding:5rem 1rem; max-width:75rem }` and its 768px `min-height:
   100vh` — home.css overrode all of them, so the pair only existed to be
   fought. Also not ported: `a { text-decoration: none !important }`, whose
   !important silently suppressed every underline this site declares. */

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

body {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

img {
  vertical-align: middle;
}

button {
  margin: 0;
  font: inherit;
  border-radius: 0;
  -webkit-appearance: button;
  appearance: button;
}

button:not(:disabled) {
  cursor: pointer;
}

/* ───────── Layout primitives ───────── */
.container-fluid {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded-circle {
  border-radius: 50%;
}

/* ───────── Utilities (only the ones this page uses) ───────── */
.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

.d-none {
  display: none !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.mx-auto {
  margin-right: auto !important;
  margin-left: auto !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

@media (min-width: 768px) {
  .flex-md-row {
    flex-direction: row !important;
  }
}

@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }

  .d-lg-none {
    display: none !important;
  }
}

/* ───────── Navbar ───────── */
.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.navbar-brand {
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  white-space: nowrap;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 0;
  background: none;
  border: 0;
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.375rem;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

/* ───────── Sidebar shell ─────────
   Top bar below 992px, fixed 17rem vertical rail at and above it. The 17rem
   body offset is what keeps the content column clear of the rail. */
#sideNav {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 992px) {
  body {
    padding-top: 0;
    padding-left: 17rem;
  }

  /* The rail replaces the top bar, so the disclosure control goes away with
     it. `.navbar-nav { flex-direction: row }` is deliberately not ported —
     home.css keeps the rail vertical. */
  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .navbar-expand-lg .navbar-toggler {
    display: none;
  }

  #sideNav {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 17rem;
    height: 100vh;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }

  #sideNav .navbar-brand {
    display: flex;
    margin: auto auto 0;
    padding: 0.5rem;
  }
}

/* ───────── Social icon shell ─────────
   home.css owns size, color, and border treatment; this only keeps the
   circular clip and centring. */
.social-icons .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
}

.social-icons .social-icon:last-child {
  margin-right: 0;
}

/* ───────── Section gutter ─────────
   home.css owns section padding at and above 992px; below it, this is the
   only rule keeping content off the viewport edge. */
section {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Helpers load after components in Bootstrap, so .fixed-top must be able to
   beat `.navbar { position: relative }` at equal specificity. */
.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}
