* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

/* WINDOW */
.window {
  width: calc(100vw - 40px);
  height: calc(100vh - 40px);
  margin: 20px;
  background: #202122;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #5D5F63;
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

/* TITLE BAR */
.title-bar {
  height: 42px;
  background: #272729;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #aaa;
  font-size: 16px;
  font-weight: 600;
}

.buttons {
  position: absolute;
  left: 12px;
  display: flex;
  gap: 8px;
}

.btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.red { background: #ff5f57; }
.yellow { background: #ffbd2e; }
.green { background: #28c840; }

.content {
  flex: 1;
  display: flex;
  overflow: hidden;
}

/* SIDEBAR */
.sidebar {
  width: 220px;
  padding: 12px;
  background: #272729;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-group {
  display: flex;
  flex-direction: column;
}

.sidebar-button {
  display: flex;
  align-items: center;
  padding: 10px;
  color: #ECECEC;
  text-decoration: none;
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.sidebar-button:hover,
.sidebar-button.active {
  background: #3a3a3c;
}

.sidebar-heading {
  margin-bottom: 8px;
  color: #9a9a9a;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-links {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #3a3a3c;
}

.sidebar-link {
  display: block;
  padding: 8px 10px;
  color: #cfcfcf;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.2s;
}

.sidebar-link + .sidebar-link {
  margin-top: 4px;
}

.sidebar-link:hover {
  background: #3a3a3c;
  color: white;
}

.icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  opacity: 0.8;
  flex-shrink: 0;
}

/* MAIN */
.main-content {
  flex: 1;
  overflow-y: auto;
  color: white;
}

.main-view {
  padding: 30px;
}

.section {
  min-height: 0;
  padding-bottom: 28px;
  scroll-margin-top: 24px;
}

.section + .section {
  padding-top: 18px;
  border-top: 1px solid #3a3a3c;
}

.section h1,
.section h2 {
  margin-bottom: 12px;
}

.section p {
  max-width: 60ch;
  line-height: 1.6;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 20px;
}

.resume-card {
  position: sticky;
  top: 30px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #2f3135 0%, #232428 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.resume-card-label {
  margin-bottom: 10px;
  color: #9fb9d6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.resume-card h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.resume-card-copy {
  margin-bottom: 18px;
  color: #ccd4df;
}

.resume-preview-frame {
  padding: 12px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(77, 163, 255, 0.18), transparent 42%),
    #17181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.resume-preview-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
}

.resume-download-btn {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #59acff 0%, #3f8ce3 100%);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-intro {
  padding: 0 0 8px 116px;
}

.about-intro-label {
  margin-bottom: 8px;
  color: #9fb9d6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-intro h3 {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.1;
}

.about-intro p {
  max-width: 62ch;
  color: #d2d8e2;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.timeline-date {
  position: relative;
  padding-top: 2px;
  text-align: right;
}

.timeline-date::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #59acff;
  box-shadow: 0 0 0 6px rgba(89, 172, 255, 0.12);
}

.timeline-month{
    padding-left: 10px;
}
.timeline-year {
  display: block;
}

.timeline-month {
  color: #f3f5f8;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.timeline-year {
  margin-top: 4px;
  color: #8f9aac;
  font-size: 14px;
}

.timeline-content {
  position: relative;
  padding: 20px 22px 20px 26px;
  border-radius: 22px;
  background: #2E2F33;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: -24px;
  left: -24px;
  bottom: -24px;
  width: 1px;
  background: linear-gradient(180deg, rgba(89, 172, 255, 0) 0%, rgba(89, 172, 255, 0.32) 16%, rgba(89, 172, 255, 0.32) 84%, rgba(89, 172, 255, 0) 100%);
}

.timeline-item:first-child .timeline-content::before {
  top: 10px;
}

.timeline-item:last-child .timeline-content::before {
  bottom: calc(100% - 10px);
}

.timeline-content h3 {
  margin-bottom: 4px;
  font-size: 22px;
}

.timeline-company {
  margin-bottom: 10px;
  color: #9fb9d6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.timeline-content p {
  max-width: none;
  color: #ccd4df;
}

/* LINKS */
.links a {
  display: inline-block;
  margin-top: 10px;
  margin-right: 10px;
  padding: 10px 16px;
  background: #3a3a3c;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  font-size: 14px;
  transition: 0.2s;
}

.links a:hover {
  background: #4da3ff;
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.project {
  --project-card-bg: linear-gradient(180deg, #303135 0%, #26272b 100%);
  --project-media-bg: linear-gradient(135deg, #1d2330 0%, #111723 100%);
  background: var(--project-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  min-height: 460px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.project-stockzeo {
  --project-card-bg: #27282C;
  --project-media-bg: #0E172A;
  background: var(--project-card-bg);
}

.project-traffic {
  --project-media-bg:
    radial-gradient(circle at top left, rgba(77, 163, 255, 0.32), transparent 42%),
    linear-gradient(135deg, #1d3f59 0%, #0f1824 100%);
  background: var(--project-card-bg);
}

.project:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.project-media {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--project-media-bg);
}

.project img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

.project-content {
  padding: 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.tag-blue {
  color: #b8e0ff;
  background: rgba(73, 155, 255, 0.18);
  border-color: rgba(73, 155, 255, 0.28);
}

.tag-amber {
  color: #ffd59a;
  background: rgba(255, 176, 77, 0.18);
  border-color: rgba(255, 176, 77, 0.28);
}

.tag-green {
  color: #b9f2cb;
  background: rgba(75, 197, 122, 0.18);
  border-color: rgba(75, 197, 122, 0.28);
}

.tag-violet {
  color: #d8cbff;
  background: rgba(146, 113, 255, 0.18);
  border-color: rgba(146, 113, 255, 0.28);
}

.tag-red {
  color: #ffc0c0;
  background: rgba(255, 99, 99, 0.18);
  border-color: rgba(255, 99, 99, 0.28);
}

.tag-cyan {
  color: #b9f5ff;
  background: rgba(66, 214, 230, 0.18);
  border-color: rgba(66, 214, 230, 0.28);
}

.project h3 {
  margin-bottom: 0;
  font-size: 22px;
}

.project p {
  color: #d4d7dc;
}

.project-buttons {
  margin-top: 8px;
}

.open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(180deg, #59acff 0%, #3f8ce3 100%);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.open-btn:hover {
  background: linear-gradient(180deg, #74bbff 0%, #4b98ee 100%);
  transform: translateY(-1px);
}

.project-view {
  padding-bottom: 0;
}

.project-view-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(49, 51, 56, 0.96) 0%, rgba(31, 33, 37, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.project-view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.project-back-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #eef4ff;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.project-back-button:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(-2px);
}

.project-view-label {
  color: #9aa7bc;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-view-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
}

.project-view-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.14);
  color: #9fd0ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.project-view-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.project-view-lead {
  max-width: 58ch;
  color: #d0d6e2;
  font-size: 18px;
  line-height: 1.7;
}

.project-view-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.project-detail-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
}

.project-detail-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 1213;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}



.project-image-placeholder span {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.project-image-placeholder small {
  color: #a9c6ea;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-view-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-panel,
.project-story-panel {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.project-panel h3,
.project-story-panel h3 {
  margin-bottom: 14px;
  font-size: 20px;
}

.project-panel p,
.project-panel li,
.project-story-panel p {
  color: #d0d6e2;
  line-height: 1.75;
}

.project-panel ul {
  margin: 0;
  padding-left: 18px;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-pill {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5fc;
  font-size: 14px;
  font-weight: 600;
}

.project-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.project-story-accent {
  background:
    radial-gradient(circle at top left, rgba(255, 179, 71, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.04);
}

@media (max-width: 1100px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout,
  .project-view-hero,
  .project-view-grid,
  .project-story-grid {
    grid-template-columns: 1fr;
  }

  .resume-card {
    position: static;
  }
    .resume-preview-frame {
    display: none;
  }
}

/* MOBILE */
@media (max-width: 750px) {
  body {
    align-items: stretch;
    background-color: #272729;
  }

  .window {
    width: 100vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    border: 0px;
  }

  .title-bar {
    position: sticky;
    top: 0;
    z-index: 30;
  }

  .content {
    flex-direction: column;
  }

  .main-view {
    padding: 24px;
  }

  .sidebar {
    width: 100%;
    display: flex;
    gap: 12px;
    position: sticky;
    top: 0px;
    z-index: 20;
    flex-shrink: 0;
    overflow-x: auto;
  }

  .sidebar-group {
    flex-direction: row;
  }

  .sidebar-links {
    display: none;
  }

  .sidebar-heading {
    display: none;
  }

  .sidebar-button,
  .sidebar-link {
    margin-bottom: 0;
    white-space: nowrap;
  }

  .section {
    min-height: auto;
  }

  .resume-preview-frame {
    display: none;
  }

  .about-intro {
    padding-left: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline-date {
    text-align: left;
  }

  .timeline-date::after,
  .timeline-content::before {
    display: none;
  }

  .timeline-content {
    padding: 18px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project {
    min-height: 420px;
  }

  .project-media {
    min-height: 200px;
  }

  .project-view-shell {
    padding: 22px;
  }

  .project-view-header {
    flex-direction: column;
    align-items: flex-start;
  }

}

#name-title{
    font-size: 50px;
}

    .button-row {
      margin-top: 32px;
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    .primary-btn,
    .secondary-btn,
    .social-btn {
      border: none;
      border-radius: 16px;
      padding: 14px 20px;
      font-size: 15px;
      cursor: pointer;
      transition: 0.2s ease;
    }

    .primary-btn {
      background: var(--accent);
      color: #111;
    }

    .secondary-btn,
    .social-btn {
      background: transparent;
      color: var(--text);
      border: 1px solid var(--border);
      text-decoration: none;
    }

    .social-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      border: solid #5E5F62 1px;
    }

    .social-btn svg {
      width: 18px;
      height: 18px;
      fill: currentColor;
      flex-shrink: 0;
    }

    .social-btn:hover,
    .primary-btn:hover,
    .secondary-btn:hover {
      opacity: 0.9;
      transform: translateY(-1px);
    }

    #name-subheading{
        font-size: 20px;
        color: #5E5F61;
        font-weight: bold;
    }
