/* ═══════════════════════════════════════════════════════════════════
   light-mode.css — Warm Editorial Paper Theme (`body.light-mode`)
   ───────────────────────────────────────────────────────────────────
   60-30-10 Light Mode Distribution:
   • 60% Warm Editorial Alabaster Canvas (#F7F6F2 / #EFECE6)
   • 30% Crisp Gallery White Surfaces (#FFFFFF) + Subtle Slate Borders
   • 10% International Engineering Vermilion (#D9460F / #EA580C)
   ═══════════════════════════════════════════════════════════════════ */

body.light-mode {
  color-scheme: light;

  /* 60% Warm Alabaster Canvas */
  --bg0:        #F7F6F2;
  --bg1:        #EFECE6;
  --bg2:        #FFFFFF;

  /* 30% Crisp Structural Surfaces */
  --surface:    #FFFFFF;
  --surface-2:  rgba(15, 23, 42, 0.04);
  --surface-3:  rgba(15, 23, 42, 0.07);
  --line:       rgba(15, 23, 42, 0.11);
  --line-soft:  rgba(15, 23, 42, 0.07);
  --line-strong:rgba(217, 70, 15, 0.45);

  /* High-Contrast Ink Typography */
  --t1:         #111318;
  --t2:         #333846;
  --t3:         #5B6275;
  --t4:         #858D9F;

  /* 10% Focal Accent */
  --brand:      #D9460F;
  --brand-deep: #B83709;
  --brand-soft: #C23B0A;
  --cobalt:     #0284C7;
  --emerald:    #059669;
  --red:        #DC2626;

  /* Soft Paper Shadows */
  --sh-sm:      0 2px 8px rgba(15, 23, 42, 0.05);
  --sh-md:      0 14px 36px rgba(15, 23, 42, 0.09);
  --sh-lg:      0 28px 70px rgba(15, 23, 42, 0.14);
  --sh-brand:   0 10px 26px rgba(217, 70, 15, 0.22);

  background-color: var(--bg0);
  background-image:
    radial-gradient(1100px 600px at 85% -5%, rgba(217, 70, 15, 0.06), transparent 60%),
    radial-gradient(900px 520px at 10% 25%, rgba(2, 132, 199, 0.05), transparent 60%),
    linear-gradient(180deg, var(--bg0) 0%, var(--bg1) 100%);
  color: var(--t1);
}

body.light-mode ::selection {
  background: rgba(217, 70, 15, 0.18);
  color: #111318;
}

body.light-mode .architectural-grid {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
}

/* Navbar & Mobile Drawer */
body.light-mode #navbar {
  background: rgba(247, 246, 242, 0.86);
  border-bottom-color: var(--line);
}

body.light-mode #navbar.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--sh-sm);
}

body.light-mode .mm-panel {
  background: #FFFFFF;
}

/* Terminal & Schematics */
body.light-mode .term {
  background: #FFFFFF;
  box-shadow: var(--sh-sm);
}

body.light-mode .p-schematic {
  background: #F3F1EC;
}

body.light-mode .sch-grid {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

body.light-mode .sch-node {
  background: #FFFFFF;
}

/* Tech Icons on Light Surface */
body.light-mode .ic-invert {
  filter: none;
  opacity: 0.88;
}

body.light-mode .ic-sock {
  filter: none;
  opacity: 0.85;
}

body.light-mode .ic-django {
  filter: invert(32%) sepia(44%) saturate(560%) hue-rotate(112deg) brightness(0.82);
}

/* Inputs & Modal */
body.light-mode .contact-input {
  background: #FFFFFF;
}

body.light-mode .pm-dialog {
  background: #FFFFFF;
}

body.light-mode .footer {
  background: #EFECE6;
}

/* GitHub Activity Calendar in Light Mode */
body.light-mode .gh-chart-scroll {
  background: #F7F6F2;
}

body.light-mode .gh-cell {
  stroke: rgba(15, 23, 42, 0.06);
}

body.light-mode .gh-cell[data-level="0"],
body.light-mode .gh-legend-swatch[data-level="0"] {
  fill: rgba(15, 23, 42, 0.06);
  background: rgba(15, 23, 42, 0.06);
}

body.light-mode .gh-cell[data-level="1"],
body.light-mode .gh-legend-swatch[data-level="1"] {
  fill: rgba(217, 70, 15, 0.24);
  background: rgba(217, 70, 15, 0.24);
}

body.light-mode .gh-cell[data-level="2"],
body.light-mode .gh-legend-swatch[data-level="2"] {
  fill: rgba(217, 70, 15, 0.48);
  background: rgba(217, 70, 15, 0.48);
}

body.light-mode .gh-cell[data-level="3"],
body.light-mode .gh-legend-swatch[data-level="3"] {
  fill: rgba(217, 70, 15, 0.74);
  background: rgba(217, 70, 15, 0.74);
}

body.light-mode .gh-cell[data-level="4"],
body.light-mode .gh-legend-swatch[data-level="4"] {
  fill: #D9460F;
  background: #D9460F;
}

body.light-mode .gh-cell:hover,
body.light-mode .gh-cell.active-cell {
  stroke: #111318;
}

/* Orbiting Search Bar in Light Mode */
body.light-mode .orbit-search-shell {
  background: rgba(15, 23, 42, 0.10);
  box-shadow: var(--sh-sm);
}

body.light-mode .orbit-search-inner {
  background: rgba(255, 255, 255, 0.96);
}

body.light-mode .oqt-btn {
  background: #FFFFFF;
}


