:root {
  --bg-primary: #f6f1f7;
  --bg-secondary: #efe4ef;
  --bg-strong: #2d0d35;
  --text-primary: #1e1b4b;
  --text-secondary: #4b4566;
  --border-color: rgba(45, 13, 53, 0.14);
  --card-bg: #ffffff;
  --marquee-blend: rgba(255, 255, 255, 0.7);
  --accent-primary: #5a1b69;
  --accent-strong: #33103f;
  --accent-soft: #d8b4e1;
  --success: #4d7b68;
  --shadow-soft: 0 16px 32px rgba(34, 17, 38, 0.08);
  --radius: 18px;
  --header-height: 78px;
  --container: 1200px;
}

html[data-theme="dark"] {
  --bg-primary: #130d1a;
  --bg-secondary: #1d1323;
  --bg-strong: #2d0d35;
  --text-primary: #f3ebf3;
  --text-secondary: #cab7cc;
  --border-color: rgba(221, 194, 232, 0.14);
  --card-bg: #1c1324;
  --marquee-blend: rgba(13, 9, 17, 0.72);
  --accent-primary: #cf9ee2;
  --accent-strong: #e9d2f3;
  --accent-soft: #7b4d82;
  --success: #9bc7b6;
  --shadow-soft: 0 16px 32px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-weight: 600;
  color: var(--text-primary);
}

p {
  margin: 0;
  color: var(--text-primary);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(var(--container), calc(100vw - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(246, 241, 247, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s ease, border-color 0.2s ease;
}

html[data-theme="dark"] .site-header {
  background: rgba(19, 13, 26, 0.96);
}

body {
  padding-top: var(--header-height);
  padding-bottom: var(--header-height);
}

main {
  flex: 1;
}

.nav-shell {
  width: min(var(--container), calc(100vw - 48px));
  margin: 0 auto;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-strong);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text-primary);
  border-color: var(--border-color);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.is-active {
  background: var(--bg-strong);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-soft);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
  padding: 0;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(90, 27, 105, 0.35);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

main {
  display: block;
}

.section {
  padding: 88px 0;
}

.section-shell {
  width: min(var(--container), calc(100vw - 48px));
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-primary);
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-strong);
  display: inline-block;
}

.hero {
  padding-top: 68px;
  padding-bottom: 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.hero-copy {
  padding-top: 8px;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin: 20px 0 18px;
  max-width: 760px;
  color: var(--text-primary);
}

.hero h1 .accent {
  color: var(--accent-primary);
  font-style: italic;
}

.hero p {
  max-width: 580px;
  font-size: 1.08rem;
  color: var(--text-secondary);
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  color: var(--text-primary);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--bg-strong);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
}

.hero-panel {
  background: linear-gradient(145deg, var(--bg-secondary), rgba(255, 255, 255, 0.08));
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 18px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(90, 27, 105, 0.17), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(90, 27, 105, 0.14);
}

.hero-photo {
  position: absolute;
  inset: 18px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  z-index: 2;
}

.rb-badge {
  position: absolute;
  inset: 46px;
  display: grid;
  place-items: center;
  background: var(--bg-strong);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.rb-badge span {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(7rem, 17vw, 16rem);
  color: #fff;
  line-height: 0.8;
  letter-spacing: -0.14em;
  transform: translateX(-0.05em);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.04);
}

.metric {
  padding: 24px 12px;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.metric span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.feature-card,
.info-card,
.case-card,
.pricing-card,
.tile,
.brand-panel,
.matrix-card,
.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.feature-card {
  padding: 20px;
  min-height: 190px;
}

.feature-number {
  display: inline-block;
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.97rem;
}

.section-head {
  width: min(760px, 100%);
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(2.05rem, 3.5vw, 3.1rem);
  margin-top: 12px;
  line-height: 0.96;
  color: var(--text-primary);
}

.section-head p {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-primary);
}

.brand-panel {
  background: var(--bg-strong);
  color: #fff;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-panel h3 {
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  margin-bottom: 18px;
  color: #fff;
}

.brand-panel p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.7;
}

.brand-panel strong {
  color: #fff;
}

.case-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.case-card,
.pricing-card {
  overflow: hidden;
}

.case-body,
.pricing-body {
  padding: 22px;
}

.case-topline,
.pricing-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(90, 27, 105, 0.06);
  color: var(--accent-primary);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
}

.case-card h3,
.pricing-card h3 {
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.case-metrics,
.pricing-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.mini-stat {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 12px;
}

.mini-stat strong {
  display: block;
  font-size: 1.2rem;
  font-family: "Fraunces", Georgia, serif;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.mini-stat span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.case-body p,
.pricing-body p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.96rem;
}

.case-quote {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 3px solid var(--accent-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.92rem;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.tile {
  padding: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 18px;
}

.tile strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 8px;
  font-family: "Fraunces", Georgia, serif;
  color: var(--text-primary);
}

.tile span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.marquee-wrap {
  position: relative;
  overflow: hidden;
  padding: 10px 0 0;
  margin-top: 10px;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-set {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  color: var(--text-primary);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}

.marquee-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--bg-strong);
}

.marquee-icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.marquee-text-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  font-weight: 800;
  color: #fff;
  background: var(--bg-strong);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.tool-card {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  min-height: 170px;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(90, 27, 105, 0.36);
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg-secondary);
}

.tool-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(9%) sepia(9%) saturate(1498%) hue-rotate(258deg) brightness(93%) contrast(90%);
}

.tool-icon.text-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  background: var(--bg-strong);
  letter-spacing: -0.04em;
}

.tool-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tool-tag {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
}

.grid-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.matrix-card {
  padding: 22px 18px;
}

.matrix-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.matrix-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--border-color);
}

.price-row:first-of-type {
  border-top: 0;
}

.price-row .label {
  color: var(--text-secondary);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.price-row .amount {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.pricing-card .cta {
  width: 100%;
  margin-top: 10px;
}

.page-banner {
  background: var(--bg-strong);
  color: #fff;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 22px;
  margin-top: 8px;
}

.page-banner h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 14px;
  color: #fff;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
  line-height: 1.7;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 12px 0;
  background: rgba(246, 241, 247, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  transition: background 0.2s ease, border-color 0.2s ease;
}

html[data-theme="dark"] footer {
  background: rgba(19, 13, 26, 0.96);
}

.footer-inner {
  width: min(var(--container), calc(100vw - 48px));
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-height: auto;
}

.footer-meta {
  color: var(--text-secondary);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
}

.footer-links a {
  transition: color 0.2s ease;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-primary);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .case-grid,
  .pricing-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tile-grid,
  .grid-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 4px;
  }
}

@media (max-width: 760px) {
  body {
    padding-top: var(--header-height);
    padding-bottom: calc(var(--header-height) + 20px);
  }

  .nav-shell,
  .section-shell {
    width: min(var(--container), calc(100vw - 28px));
    padding: 0 14px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .metric-row,
  .tile-grid,
  .grid-matrix {
    grid-template-columns: 1fr;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand {
    font-size: 1rem;
  }

  .section {
    padding: 64px 0;
  }

  footer {
    padding: 8px 0;
  }

  .footer-inner {
    padding: 8px 14px;
  }

  .footer-links {
    gap: 10px;
    font-size: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none;
  }

  .btn,
  .theme-toggle,
  .nav-link,
  .tool-card {
    transition: none;
  }

/* ========================================================
   REBACKEND UNIVERSAL ACCESSIBILITY & BOUNDS OVERRIDE ENGINE
   ======================================================= */

/* ── 1. PORTRAIT IMAGE BOUNDING BOX STABILIZATION ── */
img[src*="amina"], .profile-photo, .profile-image, [class*="portrait"] img, [class*="profile"] img, .about-image img, .founder-image img {
  width: 100% !important;
  height: 100% !important;
  min-height: 420px !important;
  max-height: 580px !important;
  object-fit: cover !important;        /* Prevents portrait from getting squished or distorted */
  object-position: center top !important;  /* Centers facial features perfectly inside the crop box */
  border-radius: 16px !important;     /* Smooth geometric dashboard borders matching interior2 layout */
  display: block !important;
  margin: 0 auto !important;           /* Centers image inside its desktop column layout */
}

/* ── 2. WHITE MODE RESOLUTION: HIGH-CONTRAST TYPOGRAPHY ── */
html:not([data-theme="dark"]) h1, html:not([data-theme="dark"]) h2, html:not([data-theme="dark"]) h3, html:not([data-theme="dark"]) p, html:not([data-theme="dark"]) span, html:not([data-theme="dark"]) li, html:not([data-theme="dark"]) a,
body:not(.dark):not(.dark-mode) h1, body:not(.dark):not(.dark-mode) h2, body:not(.dark):not(.dark-mode) h3, body:not(.dark):not(.dark-mode) p, body:not(.dark):not(.dark-mode) span, body:not(.dark):not(.dark-mode) li, body:not(.dark):not(.dark-mode) a,
.light h1, .light h2, .light h3, .light p, .light span, .light li, .light-mode h1, .light-mode h2, .light-mode h3, .light-mode p {
  color: #111827 !important; /* Forces solid black/charcoal visibility across all text on white screens */
}

/* ── 3. WHITE MODE SPECIALIZED EMAIL STRING LOCK ── */
html:not([data-theme="dark"]) a[href^="mailto:"], html:not([data-theme="dark"]) .email-text,
body:not(.dark):not(.dark-mode) a[href^="mailto:"], body:not(.dark):not(.dark-mode) .email-text,
.light a[href^="mailto:"], .light-mode a[href^="mailto:"] {
  color: #1e1b4b !important; /* Premium Dark Navy Brand Contrast Highlight */
  text-decoration: underline !important;
  opacity: 1 !important;
}

/* ── 4. STRICT LIGHT THEME ASSET LOGO PRESERVATION ── */
html:not([data-theme="dark"]) .tool-stack img, html:not([data-theme="dark"]) .tool-card img, html:not([data-theme="dark"]) .software-icons img,
body:not(.dark):not(.dark-mode) .tool-stack img, body:not(.dark):not(.dark-mode) .tool-card img, body:not(.dark):not(.dark-mode) .software-icons img {
  filter: none !important; /* Keeps software icons dark and legible on light canvases */
  opacity: 1 !important;
}

/* ── 5. BULLETPROOF DARK THEME LOGO OVERRIDES (FORCES WHITE SILHOUETTES) ── */
html[data-theme="dark"] .tool-stack img, html[data-theme="dark"] .tool-card img, html[data-theme="dark"] .software-icons img,
body.dark img, body.dark-mode img, [data-theme="dark"] img, .tool-card img, .tool-stack img, .software-icons img {
  filter: invert(1) brightness(2) contrast(1.2) !important; /* Flips dark logos into clean white silhouettes against dark backgrounds */
  opacity: 0.95 !important;
}
