.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.about-grid-single { grid-template-columns: 1fr; }
.java-run-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; align-items: stretch; }
.about-code-window { background: transparent; border: none; box-shadow: none; transform: none; position: relative; }
.about-code-window:hover { transform: none; box-shadow: none; border-color: transparent; }
.cmd-window { background: transparent; border: none; overflow: hidden; transform: none; box-shadow: none; position: relative; display: flex; flex-direction: column; }
.cmd-window:hover { transform: none; box-shadow: none; }
/* Neon border on profile window */
.cmd-window::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(251,146,60,0.5);
  pointer-events: none;
  box-shadow: 0 0 6px rgba(251,146,60,0.4), 0 0 18px rgba(251,146,60,0.15), inset 0 0 6px rgba(251,146,60,0.05);
  z-index: 10;
}
.cmd-window::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(251,146,60,0.15);
  transform: translate(5px, 5px);
  pointer-events: none;
  z-index: 9;
}
.cmd-body { font-family: var(--font-mono); font-size: 0.72rem; padding: 0.75rem 1rem; color: #ccc; flex: 1; overflow-y: auto; }

/* Photo scan reveal transition */
.about-photo {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: brightness(0.75) contrast(1.15) saturate(0.7);
  transition: filter 0.4s ease;
  clip-path: inset(0 0 100% 0);
  animation: none;
}
.about-photo.revealed {
  clip-path: inset(0 0 0% 0);
  transition: clip-path 0.6s ease, filter 0.4s ease;
}
.about-photo:hover { filter: brightness(0.9) contrast(1.1) saturate(0.9); }


/* Light theme: brighter photo with warm white feel */
body.light .about-photo {
  filter: brightness(1.05) contrast(1.05) saturate(0.85);
  background: #fff;
}
body.light .about-photo:hover {
  filter: brightness(1.1) contrast(1.05) saturate(1);
}
