html, 
body {
   
  background-color: #ffffff;
  padding: 0 24px;
  margin: 0;
  font-family: 'Times New Roman', Times, serif;
  cursor: url("images/cursors/cursorCA15.cur"), pointer;
}

:root {
  --rail-anchor: 20vw;
  --rail-width: min(650px, 90vw);
  --rail-gap: 40px;
  --name-scale: .75;
  --mobile-gap: 300px;
}

a:hover {
  cursor: url("images/cursors/handCA15.cur"), pointer;
}

a,
.contact-link,
.titlebar,
.titlebar button,
.project a {
  cursor: url("images/cursors/handCA15.cur"), pointer;
}

.page {
  max-width: 2300px;
  margin-left: auto;
  margin-right: auto;
  transform: none; /* nudge left */
  padding: 0 20px;
}

.left-rail{
  position: relative;
  left: var(--rail-anchor);                 /* anchor point */
  transform: translateX(-50%); /* center the block on the anchor */
  width: var(--rail-width);     /* keep it sane */
}


.name {
  color: rgb(45, 45, 45);
  font-size: 6rem;
  text-align: left;
  margin: 20px 20px 0px 20px;
  font-family: 'Times New Roman', Times, serif;
  letter-spacing: -0.3px;
  /* filter: blur(.0px);  <-- removed */

  /* 1.9px ≈ 0.015em at 8rem size */
  text-shadow:
    -0.015em 0 rgba(255, 0, 120, 0.55),  /* magenta */
     0.015em 0 rgba(0, 255, 255, 0.55),  /* cyan */
     0       0 0.01em rgb(0, 0, 0);      /* subtle dark halo */

  -webkit-font-smoothing: none;      /* For WebKit browsers (Chrome, Safari) */
  -moz-osx-font-smoothing: grayscale;/* For Firefox on macOS */
}

.name-wrap {
  margin: 80px auto 0px auto;
  width: calc(680px * var(--name-scale));            /* display size */
  aspect-ratio: 650 / 190;
  height: auto;
}
#pixName {
  width: 100%;             /* scale up the low-res canvas */
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
   filter:
    drop-shadow(-0.15em 0 rgba(255, 0, 119, 0.354))
    drop-shadow( 0.15em 0 rgba(0, 255, 255, 0.315))
    drop-shadow( 0 0 0.01em rgba(0, 0, 0, 0.6))
  
}
.sr-only {
  position: absolute;
  left: -9999px;
}


.logline {
  font-size: 1.1rem;
  font-weight: bold;
  color: rgb(45, 45, 45);
  /* 1.3px ≈ 0.06em at 1.4rem */
  text-shadow:
    -0.06em 0 rgba(255, 0, 120, 0.55),
     0.06em 0 rgba(0, 255, 255, 0.55);
      
  margin: -35px auto 16px auto;
  text-align: center
}

.bio {font-size: 1.1rem;
  font-weight: bold;
  color: rgb(45, 45, 45);
  /* 1.3px ≈ 0.06em at 1.4rem */
  text-shadow:
    -0.06em 0 rgba(255, 0, 120, 0.55),
     0.06em 0 rgba(0, 255, 255, 0.55);
     width: 45vw;
     max-width: 580px;

  }

.projectsheader {
  width: 400px;
  font-size: .9rem;
  font-weight: bold;
  margin: 25px 25px 25px 70px;
  text-align: left;
  color: rgb(45, 45, 45);
  /* same feel as logline */
  text-shadow:
    -0.06em 0 rgba(255, 0, 120, 0.55),
     0.06em 0 rgba(0, 255, 255, 0.55);
  letter-spacing: -0.3px;
  /* filter: blur(.0px); <-- removed */
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
}

.project {
  width: 400px;
  margin: 8px 25px 5px 70px; 
  text-align: left;
  font-size: .9rem;
  color: rgb(0, 0, 228);

  /* 0.8px ≈ 0.05em at ~1rem */
  text-shadow:
    -0.06em 0 rgba(255, 0, 120, 0.55),
     0.06em 0 rgba(0, 255, 255, 0.55);

  letter-spacing: -0.3px;
  /* filter: blur(.2px); <-- removed */
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
}

.project a {
  display: inline;
  text-decoration: underline;
  font-weight: bold;
  color: inherit;
}

.project a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mail-icon {
  width: 30px;  /* adjust to taste */
  height: 30px;
  image-rendering: pixelated;
}


.contact-link {
  text-decoration: underline;
  font-weight: bold;
  color: rgb(0, 0, 228);
  text-shadow:
    -0.05em 0 rgba(255, 0, 120, 0.55),
     0.05em 0 rgba(0, 255, 255, 0.55);
}

.icon-row {
  display: flex;
  gap: 32px;
  margin-top: 60px;
  justify-content: center;
  align-items: flex-start;
  width: calc(680px * var(--name-scale));
  margin-left: auto;
  margin-right: auto;
  
}

.icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px 6px;
  text-decoration: none;
  color: #000000;
  cursor: url("images/cursors/handCA15.cur"), pointer;
}

.icon img {
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
  filter:
    drop-shadow(-0.08em 0 rgba(255, 0, 119, 0.317))  /* magenta left */
    drop-shadow( 0.1em 0 rgba(0, 255, 255, 0.347)); /* cyan right */
}

@media (max-width: 800px) {
  :root {
    --rail-anchor: 50vw;
  }

  body {
    padding: 0 12px;
  }

  .page {
    padding: 0;
  }

  .left-rail {
    width: 100%;
    left: 0;
    transform: none;
  }

  .name-wrap {
    width: min(100%, calc(680px * var(--name-scale)));
    margin-left: auto;
    margin-right: auto;
  }

  .logline,
  .bio,
  .icon-row {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .projectsheader,
  .project {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .logline-break {
    display: block;
  }
}


.icon-label {
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: -0.2px;
  color: rgb(45, 45, 45);
  text-shadow:
    -.08em 0 rgba(255, 0, 120, 0.55),
     .08em 0 rgba(0, 255, 255, 0.55);
}

.resume-icon .icon-label {
  margin-left: -12px; /* nudge text left relative to icon */
}

.projectswrapper {
  margin-top: 60px;
  text-align: center;
}

@media (max-width: 800px) {
  .projectswrapper {
    margin-top: var(--mobile-gap);
  }
}

.window {
  width: 40vw;
  height: clamp(100px, 65vh, 1100px);
  max-width: 800px; /* or whatever feels right */
  background: #a8a8a8;

  /* Windows 95 3D frame */
  border-top: 2px solid #c6c6c6;
  border-left: 2px solid #c6c6c6;
  border-right: 2px solid #6a6a6a;
  border-bottom: 2px solid #6a6a6a;

  position: fixed;
  top: 8vh;
  left: calc(var(--rail-anchor) + (var(--rail-width) / 2) + var(--rail-gap));
  transform: translate(var(--win-offset-x, 0px), var(--win-offset-y, 0px));
  display: none;
  flex-direction: column;

  /* NO blur / modern shadow */
  box-shadow:
    1px 1px 0 #000,                 /* subtle desktop separation */
    -1px -1px 0 rgba(255, 0, 119, 0.176), /* magenta fringe */
     1.1px  1.1px 0 rgba(0,255, 255, .3); /* cyan fringe */
  z-index: 999;
}

#win1 { top: 10.5vh; left: calc(var(--rail-anchor) + 340px); 
}

#win2 {
 
  top: -vh; left: calc(var(--rail-anchor) + 420px); 
}

#win3 {
  
  top: clamp(-50px, -1vh, 800px); left: calc(var(--rail-anchor) + 500px); 
}

.titlebar {
  background: #a3a3a3;      /* inactive Win95 gray, darkened */
  color: #000000;

  padding: 3px 6px;
  font-family: "Times New Roman", serif;
  font-weight: bold;
  font-size: 1rem;
  text-shadow:
    -0.05em 0 rgba(255, 0, 120, 0.55),
     0.05em 0 rgba(0, 255, 255, 0.55);


  display: flex;
  justify-content: space-between;
  align-items: center;

  border-bottom: 2px solid #404040;

  cursor: url("images/cursors/handCA15.cur"), pointer;
}

.window.active-window .titlebar {
  background: #000080; /* classic Win95 active blue */
  color: #ffffff;
  text-shadow:
    -0.05em 0 rgba(255, 255, 255, 0.55),
     0.05em 0 rgba(255, 255, 255, 0.55);
}
.titlebar button {
  width: 20px;
  height: 20px;
  padding: 0;

  background: #a3a3a3;

  border-top: 1px solid #cfcfcf;
  border-left: 1px solid #cfcfcf;
  border-right: 1px solid #2f2f2f;
  border-bottom: 1px solid #2f2f2f;

  box-sizing: border-box;

  font-family: Tahoma, "MS Sans Serif", Arial, sans-serif;
  font-size: 12px;
  font: weight 1200px;
  text-shadow:
    -0.05em 0 rgba(255, 0, 120, 0.55),
     0.05em 0 rgba(0, 255, 255, 0.55);
;

  display: flex;
  align-items: center;
  justify-content: center;

  /* 🔑 key part */
  line-height: 1;
   cursor: url("images/cursors/handCA15.cur"), pointer;
}

.titlebar button span {
  display: inline-block;
  transform: translateY(-2.9px) scale(2);  /* lift glyph to optical center */
}


.titlebar button:active {
  border-top: 1px solid #2f2f2f;
  border-left: 1px solid #2f2f2f;
  border-right: 1px solid #cfcfcf;
  border-bottom: 1px solid #cfcfcf;
}

.content {
  flex: 1;
  background: white;

  /* inset container */
  border-top: 2px solid #6a6a6a;
  border-left: 2px solid #6a6a6a;
  border-right: 2px solid #cfcfcf;
  border-bottom: 2px solid #cfcfcf;

  overflow-y: auto;
}

/* WebKit-based browsers (Chrome, Edge, etc.) */
.content::-webkit-scrollbar {
  width: 14px;
}

.content::-webkit-scrollbar-track {
  background: #b2b2b2;
}

.content::-webkit-scrollbar-thumb {
  background: #7f7f7f;
  border: 2px solid #5f5f5f;
  cursor: url("images/cursors/cursorCA15.cur"), pointer;
}

.content::-webkit-scrollbar-thumb:hover {
  cursor: url("images/cursors/handCA15.cur"), pointer;
}

.content img {
  width: 100%;
  height: auto;
  display: block;
}

.window-body {
  padding: 12px;
}

.bio-body {
  font-size: 1rem;
  color: #111;
}

.resume-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.resume-frame {
  flex: 1;
  width: 100%;
  border: none;
}

.resume-link {
  margin: 0;
  font-weight: bold;
}

.resume-image { width: 100%; height: auto; display: block; }



