/* Always-visible project and modal headers (title and close-x) */
.project-item .modal-header,
.modal .modal-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #18263a; /* 100% opacity */
  margin: 0 !important;
  padding: 0 1.5rem;
  width: 100%;
  min-height: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.modal .modal-card {
  margin-top: 0 !important;
}
.modal .modal-content {
  padding-top: 64px; /* Match header height */
}
.modal .modal-content {
  padding-top: 56px; /* Height of header, adjust as needed */
}
/* Unify contact form submit button style with resume panel download button */
.contact-form button[type="submit"] {
  background: #1976d2;
  color: #fff;
  border: 1px solid #1976d2;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.18);
  font-size: 1rem;
  padding: 0.6rem 1.4rem;
  align-self: flex-end;
  margin-top: 0.5rem;
  text-shadow: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.contact-form button[type="submit"]:hover,
.contact-form button[type="submit"]:focus {
  background: #00ff88;
  color: #111;
  border-color: #00ff88;
}
/* Force Konami mobile HUD exit button to be visible and prominent */
#konami-mobile button {
  z-index: 999999 !important;
}
#konami-mobile button.exit-red {
  background: linear-gradient(90deg, #ff003c 60%, #ff7b00 100%) !important;
  color: #fff !important;
  border: 2.5px solid #fff !important;
  font-size: 1.25rem !important;
  font-weight: bold !important;
  box-shadow: 0 2px 12px 0 #ff003c88 !important;
  padding: 12px 18px !important;
  letter-spacing: 0.04em !important;
  text-shadow: 0 2px 8px #000, 0 0 2px #fff !important;
}
/* Modern Contact Panel Layout */
.contact-panel-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 1.2rem;
}
.contact-panel-left {
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 320px;
}
.contact-panel-right {
  flex: 2 1 340px;
  min-width: 240px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.contact-form-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent, #00ff88);
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
}

@media (max-width: 700px) {
  .contact-panel-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  .contact-panel-left, .contact-panel-right {
    max-width: 100%;
    min-width: 0;
  }
}

/* Enhance contact form card look */
.contact-form {
  background: var(--bg-panel-strong, #18263a);
  border: 1.5px solid var(--accent, #2b2e2c);
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.13);
  border-radius: 12px;
  padding: 1.5rem 1.2rem;
  margin-bottom: 0;
  margin-top: 0;
}
.contact-form input,
.contact-form textarea {
  background: #101a28;
  color: #e8f0f6;
  border: 1px solid var(--accent, #00ff88);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 0.5rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent, #00ff88);
  border-color: var(--accent, #00ff88);
}
.contact-form button[type="submit"] {
  align-self: flex-end;
  margin-top: 0.5rem;
  background: var(--accent, #00ff88);
  color: #101a28;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,255,136,0.08);
  transition: background 0.15s, color 0.15s;
}
.contact-form button[type="submit"]:hover {
  background: #00e67a;
  color: #fff;
}
.contact-form-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent, #00ff88);
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
}
.contact-intro {
  color: #b7d6f7;
  font-size: 1.02rem;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}
/* Contact form styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-panel-strong, #18263a);
  padding: 1.2rem 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  margin-bottom: 1.5rem;
}
.contact-form input,
.contact-form textarea {
  background: #101a28;
  color: #e8f0f6;
  border: 1px solid var(--accent, #00ff88);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent, #00ff88);
  border-color: var(--accent, #00ff88);
}
.contact-form button[type="submit"] {
  align-self: flex-end;
  margin-top: 0.5rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
/* Right-align close-link in panel headers */
.panel-header-flex .close-link {
  margin-left: auto;
}
/* Flex header for panel close button right alignment */
.panel-header-flex {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.panel-header-flex .close-link {
  margin-left: auto;
  order: 2;
}
.panel-header-flex h3 {
  order: 1;
}
/* Fallback for close-link if flex fails */
.panel .close-link {
  float: right;
}
/* Green bold text in modals (e.g., FireShark) */
.modal .fires-flex-text b,
.modal .fires-flex-text strong {
  color: #00c97a;
}

/* =========================================
   ABOUT GALLERY (responsive images)
   ========================================= */
.about-gallery {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.about-gallery img {
  max-width: 180px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  background: #fff;
  margin: 0;
}

@media (max-width: 700px) {
  .about-gallery {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .about-gallery img {
    max-width: 90vw;
    width: 100%;
    margin: 0 auto;
    display: block;
  }
}

/* =========================================
   CSS-ONLY PANELS & MODALS (hash routing)
   ========================================= */

/* 1) Default: hide panels & modals */
.panel,
.modal {
  display: none;
}

/* 2) Show a panel or modal when it's the :target */
.panel:target,
.modal:target {
  display: block;
}

/* 2a) Keep a parent panel open if a child inside it is targeted (e.g., resume TOC anchors) */
.panel:has(:target) {
  display: block;
}

/* 3) Dummy target that "closes" everything when linked to (#hide) */
#hide {
  display: block;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* =========================================
   MODAL LAYER
   ========================================= */

.modal {
  position: fixed;
  inset: 0;
  /* full-screen overlay */
  z-index: 100;
  /* above .panel (which sits below) */
}

.modal::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal .modal-card {
  position: absolute;
  inset: 6vh 6vw auto 6vw;
  /* top/right/bottom/left */
  max-height: 88vh;
  overflow: auto;
  background: rgba(245, 248, 250, 0.96);
  color: #2c3e50;
  border: 1px solid rgba(0, 255, 136, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px);
  padding: 0 24px 24px 24px;
}

.modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}

.modal .modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2366a2;
}

/* Close buttons (works for both panels and modals) */
.close-link,
.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  color: #2c3e50;
  border: 1px solid rgba(52, 73, 94, 0.2);
  background: rgba(44, 62, 80, 0.7);
  transition: background .18s, box-shadow .18s;
}

.close-link:hover,
.modal-close:hover,
.close-link:focus,
.modal-close:focus {
  background: #f4f8fa;
  box-shadow: 0 2px 8px rgba(41, 128, 185, 0.08);
}

/* =========================================
   CONTACT LINKS (kept minimal & clean)
   ========================================= */

.contact-links.professional {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
  max-width: 340px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-decoration: none;
  color: #222;
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-divider {
  height: 1px;
  width: 100%;
  background: rgba(52, 73, 94, 0.2);
  margin: .4rem 0;
}

/* =========================================
   PROJECTS (gallery snippets)
   ========================================= */

.projects-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.project-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(52, 73, 94, 0.18);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  transition: transform .18s ease, box-shadow .18s ease;
}

.project-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

.project-item img {
  display: block;
  width: 100%;
  height: auto;
}

.project-info {
  padding: 0.75rem 1rem 1rem;
  text-align: left;
}

.project-info h4 {
  color: #2366a2;
  margin: 0 0 .4rem 0;
  font-size: 1.05rem;
}

/* =========================================
   RESUME PANEL (variables + presentation)
   ========================================= */

#panel-resume {
  --bg-light: rgba(245, 248, 250, 0.96);
  --text-light: #2c3e50;
  --muted-light: #7f8c8d;
  --rule-light: rgba(52, 73, 94, 0.2);
  --accent-light: #2980b9;
  --link-light: #3498db;
  --chip-bg-light: rgba(255, 255, 255, 0.1);
  --chip-border-light: rgba(41, 128, 185, 0.3);
  --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.3);

  --bg-dark: rgba(30, 35, 40, 0.95);
  --text-dark: #e8e8e8;
  --muted-dark: #cccccc;
  --rule-dark: rgba(0, 255, 136, 0.3);
  --accent-dark: #00ff88;
  --link-dark: #33ffcc;
  --chip-bg-dark: rgba(0, 255, 136, 0.12);
  --chip-border-dark: rgba(0, 255, 136, 0.35);
  --shadow-dark: 0 0 20px rgba(0, 0, 0, 0.4);

  background: #1a2336 !important;
  color: var(--text-light);
  border: 1px solid var(--rule-light);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

#panel-resume h3 {
  color: var(--accent-light) !important;
  text-shadow: none !important;
  font-size: 2rem;
  margin-top: 0;
}

#panel-resume.dark-mode {
  background: var(--bg-dark);
  color: var(--text-dark);
  border: 1px solid var(--rule-dark);
  box-shadow: var(--shadow-dark);
}

#panel-resume.dark-mode h3 {
  color: var(--accent-dark) !important;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.5) !important;
}

/* Controls (PDF button etc.) */
.resume-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: flex-end;
}

.btn-toggle,
.btn-ghost,
.btn,
.btn-blue {
  padding: 8px 16px;
  border: 1px solid;
  background: transparent;
  cursor: pointer;
  font-family: 'VT323', monospace;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

#panel-resume .btn-toggle {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

#panel-resume .btn-ghost {
  border-color: var(--muted-light);
  color: var(--muted-light);
}

#panel-resume .btn-toggle:hover,
#panel-resume .btn-ghost:hover {
  background: var(--chip-bg-light);
}

#panel-resume.dark-mode .btn-toggle {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

#panel-resume.dark-mode .btn-ghost {
  border-color: var(--muted-dark);
  color: var(--muted-dark);
}

#panel-resume.dark-mode .btn-toggle:hover,
#panel-resume.dark-mode .btn-ghost:hover {
  background: var(--chip-bg-dark);
}

/* Layout */
.resume-shell {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .resume-shell {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .resume-toc {
    display: none;
  }
}

/* TOC */
.resume-toc {
  position: sticky;
  top: 1rem;
  align-self: start;
}

.resume-toc .toc-link {
  display: block;
  padding: 8px 12px;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font-family: 'VT323', monospace;
  font-size: 0.9rem;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

/* Light mode TOC */
#panel-resume .resume-body {
  scroll-behavior: smooth;
}

#panel-resume .toc-link {
  color: var(--muted-light);
}

#panel-resume .toc-link:hover {
  color: var(--accent-light);
  background: var(--chip-bg-light);
}

#panel-resume .toc-link.is-active {
  color: var(--accent-light);
  border-left-color: var(--accent-light);
  background: var(--chip-bg-light);
}

/* Dark mode TOC */
#panel-resume.dark-mode .toc-link {
  color: var(--muted-dark);
}

#panel-resume.dark-mode .toc-link:hover {
  color: var(--accent-dark);
  background: var(--chip-bg-dark);
}

#panel-resume.dark-mode .toc-link.is-active {
  color: var(--accent-dark);
  border-left-color: var(--accent-dark);
  background: var(--chip-bg-dark);
}

/* Resume content area */
.resume-body {
  min-height: 400px;
  scroll-behavior: smooth;
}

.resume-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid;
}

/* Light header */
#panel-resume .resume-header {
  border-bottom-color: var(--rule-light);
}

#panel-resume .resume-header h4 {
  color: #6aa7ff;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

/* Dark header */
#panel-resume.dark-mode .resume-header {
  border-bottom-color: var(--rule-dark);
}

#panel-resume.dark-mode .resume-header h4 {
  color: var(--accent-dark);
  text-shadow: 0 0 6px rgba(0, 255, 136, 3);
}

/* Sections */
.resume-section {
  margin-bottom: 1.25rem;
  border-left: 4px solid #6aa7ff;
  border-radius: 6px;
  background: #1a2336;
  color: #e7eefc;
  /* padding: 1rem; */
}

:root {
  --bg-page: #0f1824;
  --bg-panel: rgba(18, 29, 44, 0.96);
  --bg-panel-strong: rgba(16, 24, 38, 0.98);
  --text: #e8f0f6;
  --muted: #b4c2cf;
  --rule: rgba(0, 255, 136, 0.25);
  --accent: #00ff88;         /* neon emerald */
  --accent-green: #00c97a;   /* used for modal bold text */
  --accent-2: #33d6ff;       /* neon cyan */
  --accent-ink: #2366a2;     /* ink blue for legacy headings */
  --chip: rgba(0,255,136,0.10);
  --chip-border: rgba(0,255,136,0.35);
  --shadow-deep: 0 12px 40px rgba(0,0,0,0.45);
}
#panel-resume.dark-mode .resume-section details {
  border-color: var(--rule-dark);
}

/* Collapsible summaries */
.resume-section summary {
  padding: 1rem;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  background: transparent;
  transition: background .2s ease;
  color: #6aa7ff;
}

.resume-section summary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.resume-section details[open] summary {
  border-bottom: 1px solid #23304a;
}

.resume-section details>*:not(summary) {
  padding: 0 1rem 1rem;
}

.resume-section details[open] summary {
  border-bottom: 1px solid;
}

.resume-section details[open] summary {
  border-bottom: 1px solid #23304a;
}

.resume-section details>*:not(summary) {
  padding: 0 1rem 1rem;
  background: #1a2336;
  color: #e7eefc;
}

/* Typography & links inside resume */
#panel-resume h1,
#panel-resume h2,
#panel-resume h3,
#panel-resume h4 {
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

#panel-resume p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

#panel-resume a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

#panel-resume a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

#panel-resume a {
  color: var(--link-light);
}

#panel-resume.dark-mode a {
  color: var(--link-dark);
}

/* Lists & jobs */
.resume-list {
  list-style: none;
  padding: 0;
}

.resume-list li {
  padding: 0.3rem 0;
  border-left: 3px solid transparent;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.job {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 6px;
}

/* #panel-resume .job {
  background: var(--chip-bg-light);
} */

#panel-resume.dark-mode .job {
  background: var(--chip-bg-dark);
}

.job ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.5rem;
}

.job li {
  margin-bottom: 0.3rem;
  line-height: 1.5;
}

.when {
  float: right;
  font-size: 0.9rem;
  font-style: italic;
}

#panel-resume .when {
  color: var(--muted-light);
}

#panel-resume.dark-mode .when {
  color: var(--muted-dark);
}

/* =========================================
   INVISIBLE SCROLL ANCHORS (resume TOC)
   ========================================= */

/* Targets such as #panel-resume-summary, #panel-resume-skills, etc. */
[id^="panel-resume-"] {
  position: relative;
  top: -80px;
  /* adjust if header height changes */
  height: 0;
  display: block;
}

@media (max-width: 768px) {
  [id^="panel-resume-"] {
    top: -100px;
  }
}



/* ================================
   DARK THEME — PANEL & MODAL SKIN
   Palette: deep slate + cyan/teal neon
   ================================ */

/* Theme tokens */
:root {
  --bg-page: #0f1824;
  --bg-panel: rgba(18, 29, 44, 0.96);
  --bg-panel-strong: rgba(16, 24, 38, 0.98);
  --text: #e8f0f6;
  --muted: #b4c2cf;
  --rule: rgba(0, 255, 136, 0.25);
  --accent: #00ff88;
  /* neon emerald */
  --accent-2: #33d6ff;
  /* neon cyan */
  --accent-ink: #2366a2;
  /* ink blue for legacy headings */
  --chip: rgba(0, 255, 136, 0.10);
  --chip-border: rgba(0, 255, 136, 0.35);
  --shadow-deep: 0 12px 40px rgba(0, 0, 0, 0.45);
}

/* Panels (overrides light card) */
.panel {
  background: var(--bg-panel) !important;
  color: var(--text) !important;
  border: 1px solid var(--rule) !important;
  box-shadow: var(--shadow-deep) !important;
}

/* Panel headings */
.panel h3 {
  color: var(--accent) !important;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.35);
}

/* Body text tweaks inside panels */
.panel p,
.panel li,
.panel .label {
  color: var(--text);
}

.panel .when {
  color: var(--muted);
}

/* Links inside panels */
.panel a {
  color: var(--accent-2);
}

.panel a:hover {
  opacity: .9;
  text-decoration: underline;
}

/* Close button contrast */
.close-link {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.close-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Resume: use dark tokens consistently */
#panel-resume {
  --bg-light: var(--bg-panel);
  --text-light: var(--text);
  --muted-light: var(--muted);
  --rule-light: var(--rule);
  --accent-light: var(--accent);
  --link-light: var(--accent-2);
  --chip-bg-light: var(--chip);
  --chip-border-light: var(--chip-border);
  --shadow-light: var(--shadow-deep);
}

#panel-resume h3 {
  color: var(--accent) !important;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.35) !important;
}

#panel-resume .resume-header {
  border-bottom-color: var(--rule);
}

#panel-resume .resume-header h4 {
  color: var(--accent);
}

#panel-resume .resume-section {
  border-left-color: var(--accent);
  background: var(--bg-panel-strong);
}

#panel-resume .resume-section summary {
  color: var(--accent);
}

#panel-resume .resume-section details {
  border-color: var(--rule);
}

/* #panel-resume .job {
  background: rgba(0, 255, 136, 0.08);
} */

/* Resume TOC */
#panel-resume .toc-link {
  color: var(--muted);
}

#panel-resume .toc-link:hover {
  background: var(--chip);
  color: var(--accent);
}

#panel-resume .toc-link.is-active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--chip);
}

/* Buttons */
.btn,
.btn-blue,
.btn-toggle,
.btn-ghost {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: transparent;
  box-shadow: 0 2px 10px rgba(0, 255, 136, 0.16);
}

.btn:hover,
.btn-blue:hover,
.btn-toggle:hover,
.btn-ghost:hover {
  background: rgba(0, 255, 136, 0.12);
}

/* Projects gallery cards */
.project-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(0, 255, 136, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}

.project-info h4 {
  color: var(--accent-2);
}

/* Contact block */
.contact-link {
  color: var(--text);
}

.contact-divider {
  background: rgba(255, 255, 255, 0.15);
}

/* Modals */
.modal::before {
  background: rgba(4, 8, 14, 0.72);
}

.modal .modal-card {
  background: var(--bg-panel-strong);
  color: var(--text);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-deep);
}

.modal .modal-title {
  color: var(--accent) !important;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.35);
}

.modal-close {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* About section: keep readable on dark */
#panel-about .about-text {
  color: #dfe7ee;
}

#panel-about .about-gallery img {
  background: #0d1623;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

/* Subtle rules & chips */
.panel hr {
  border-color: var(--rule);
}

.panel b,
.panel strong {
  color: var(--accent);
  /* the neon green token you already have */
}
