:root {
  color-scheme: dark;
  --bg: #0f141b;
  --paper: #151c25;
  --white: #192231;
  --ink: #eef4fb;
  --muted: #aab8c8;
  --line: #2a3545;
  --line-strong: #435268;
  --blue: #9fc5ff;
  --teal: #4fd1c5;
  --navy: #111827;
  --navy-soft: #1c2736;
  --soft-blue: #1e2d43;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

body {
  background:
    radial-gradient(circle at 18% 4%, rgba(108, 164, 255, 0.15), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(79, 209, 197, 0.11), transparent 30%),
    var(--bg);
}

.topbar {
  border-bottom-color: rgba(238, 244, 251, 0.08);
  background: rgba(15, 20, 27, 0.9);
}

.nav a:hover,
.actions a,
.project-actions a,
.resume-actions a {
  background: #151f2d;
}

.actions a:first-child,
.project-actions a:first-child,
.resume-actions a,
.project-tabs button.is-active {
  background: var(--blue);
  color: #07111f;
  border-color: var(--blue);
}

.project-carousel,
.about-copy,
.resume-grid article,
.skill-group,
.project-media,
.skills-grid article,
.tags li,
.site-facts div {
  background: var(--white);
}

.about-copy,
.contact-section {
  background: #111827;
}

.project-media img,
.hero-photo,
.resume-heading img {
  filter: saturate(0.95) brightness(0.92);
}

.project-copy p:not(.project-type),
.resume-grid p:not(.resume-kicker),
.about-copy p,
.contact-grid span:last-child,
.about-highlights span {
  color: var(--muted);
}

.tags li {
  color: #d6e1ee;
}

.skills-grid img[src*="simple-icons"],
.skills-grid img[src*="azuresqldatabase"] {
  filter: invert(73%) sepia(36%) saturate(1447%) hue-rotate(185deg) brightness(101%) contrast(101%);
}
.about-highlights article {
  border: 1px solid rgba(140, 170, 210, 0.28);
  background: #202d3e;
}

.about-highlights strong,
.contact-grid strong {
  color: #ffffff;
}

.about-highlights span,
.contact-grid span:last-child {
  color: #d3deea;
}

.contact-section {
  border: 1px solid rgba(140, 170, 210, 0.22);
  background: #121c2b;
}

.contact-section .eyebrow {
  color: #9fc5ff;
}

.contact-grid a {
  border-color: rgba(150, 180, 220, 0.28);
  background: #202d3e;
  color: #f7fbff;
}

.contact-grid a:hover {
  background: #26364b;
}

.contact-icon {
  color: #08111f !important;
  background: #9fc5ff;
}
.tags li {
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(214, 225, 238, 0.75);
  border-radius: 999px;
  background: #edf2f7;
  color: #13243a;
  box-shadow: none;
  font-weight: 800;
}

.contact-section h2 {
  color: #f8fbff;
}

.contact-section .section-head .eyebrow {
  color: #9fc5ff;
}

.contact-icon {
  background: #f8fbff;
}

.contact-icon img {
  width: 23px;
  height: 23px;
  display: block;
  object-fit: contain;
}
.eyebrow,
.carousel-status,
.project-type,
.resume-kicker,
.site-facts strong,
.actions a,
.project-actions a,
.resume-actions a,
.project-prev,
.project-next {
  color: #9fc5ff !important;
}

.actions a:first-child,
.project-actions a:first-child,
.resume-actions a,
.project-tabs button.is-active,
.skill-icon {
  background: #9fc5ff;
  border-color: #9fc5ff;
  color: #07111f !important;
}

.nav a:hover {
  color: #9fc5ff;
}
.project-actions a {
  background: #9fc5ff;
  border-color: #9fc5ff;
  color: #07111f !important;
}

.project-actions a:hover {
  background: #bed9ff;
  border-color: #bed9ff;
}
.contact-grid a {
  min-height: 112px;
  grid-template-columns: 60px 1fr;
  align-items: center;
  align-content: center;
  column-gap: 18px;
  padding: 22px 18px;
  border-color: rgba(159, 197, 255, 0.32);
  background: #203044;
}

.contact-grid a:hover {
  background: #263952;
  border-color: rgba(159, 197, 255, 0.5);
}

.contact-icon {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  border-radius: 7px;
  background: #f7fbff;
  box-shadow: 0 8px 18px rgba(4, 10, 18, 0.2);
}

.contact-icon img {
  width: 27px;
  height: 27px;
}

.contact-grid strong {
  align-self: end;
  font-size: 18px;
  line-height: 1.1;
}

.contact-grid span:last-child {
  align-self: start;
  margin-top: 7px;
  color: #e2ebf6;
  font-size: 13px;
}
.contact-icon {
  overflow: hidden;
}

.contact-icon img {
  width: 36px;
  height: 36px;
}

.contact-grid a[href*="github"] .contact-icon img {
  width: 38px;
  height: 38px;
}

.contact-grid a[href^="mailto:"] .contact-icon img {
  width: 34px;
  height: 34px;
}
.resume-logo-badge {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  overflow: hidden;
  border-radius: 8px;
  background: #f7fbff;
  box-shadow: 0 8px 18px rgba(4, 10, 18, 0.2);
}

.resume-logo-badge img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: none !important;
}

.resume-logo-badge-wide img {
  width: 48px;
  height: 48px;
}
