/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #221f1f;
  --bg2:          #1a2220;
  --window-bg:    #221f1f;
  --window-border:#2a3a35;
  --bar-bg:       #243330;
  --accent:       #3fffa8;
  --accent-soft:  rgba(63,255,168,0.12);
  --accent-border:rgba(63,255,168,0.25);
  --text:         #cdddd8;
  --text-muted:   #16b389;
  --text-dim:     #16b389;
  --shadow:       0 16px 48px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4);
  --radius:       12px;
  --bar-radius:   12px 12px 0 0;
  --font-main:    'Syne', sans-serif;
  --font-mono:    'Space Mono', monospace;
}

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
}

/* ===== DESKTOP ===== */
.desktop {
  position: relative;
  width: 100vw; height: 100vh;
  overflow: hidden;
  /* Subtle dot grid */
  background-image: radial-gradient(circle, rgba(63,255,168,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  background-color: var(--bg);
}

/* ===== DESKTOP HERO ===== */
.desktop-hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 0;
}

.desktop-label {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.desktop-name {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0;
  color: rgba(3, 248, 138, 0.846);
  letter-spacing: -0.02em;
  user-select: none;
}

.desktop-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 12px;
  letter-spacing: 0.08em;
}

/* ===== ICON GRID ===== */
.icon-grid {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
  z-index: 5;
}

.icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.15s, transform 0.15s;
}

.icon-btn:hover {
  background: var(--accent-soft);
  transform: translateY(-4px);
}

.icon-btn:active {
  transform: translateY(-1px) scale(0.97);
}

.icon-img {
  width: 56px; height: 56px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

.icon-img svg {
  width: 100%; height: 100%;
}

.icon-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* ===== FOOTER ===== */
.desktop-footer {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 5;
  white-space: nowrap;
}

.desktop-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.desktop-footer a:hover { color: var(--accent); }
.footer-sep { opacity: 0.4; }

/* ===== TASKBAR ===== */
.taskbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40px;
  background: rgba(18,24,22,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--window-border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  z-index: 9999;
}

.taskbar-btn {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}
.taskbar-btn:hover {
  background: rgba(63,255,168,0.2);
}

/* ===== WINDOWS ===== */
.window {
  position: absolute;
  display: none;
  flex-direction: column;
  background: var(--window-bg);
  border: 1px solid var(--window-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 280px;
  min-height: 120px;
  max-height: calc(100vh - 80px);
  overflow: hidden;
  z-index: 100;
  transition: box-shadow 0.2s;
}

.window.active {
  display: flex;
}

.window.focused {
  border-color: var(--accent-border);
  box-shadow: var(--shadow), 0 0 0 1px var(--accent-border);
}

.window.maximized {
  top: 40px !important;
  left: 0 !important;
  width: 100vw !important;
  height: calc(100vh - 40px) !important;
  border-radius: 0;
  max-height: none;
}

/* ===== WINDOW BAR ===== */
.window-bar {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: var(--bar-bg);
  border-bottom: 1px solid var(--window-border);
  cursor: grab;
  flex-shrink: 0;
  gap: 10px;
  border-radius: var(--bar-radius);
}

.window-bar:active { cursor: grabbing; }

.win-controls {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.wc {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.wc:hover { opacity: 0.8; }
.wc-close { background: #ff5f57; }
.wc-min   { background: #febc2e; }
.wc-max   { background: #28c840; }

.win-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  pointer-events: none;
}

.win-spacer { width: 42px; flex-shrink: 0; }

/* ===== WINDOW BODY ===== */
.window-body {
  padding: 22px 24px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--window-border) transparent;
}

.win-divider {
  border: none;
  border-top: 1px solid var(--window-border);
  margin: 18px 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent-border);
}

/* ===== ABOUT ===== */
.about-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.about-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a4a40, #1a3028);
  border: 2px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.about-name {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 2px;
}

.about-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 2px;
}

.about-loc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.about-blurb {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.edu-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.edu-deg {
  font-weight: 600;
  font-size: 13px;
  color: #daeee8;
}

.edu-school {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.edu-gpa {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list li {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: 99px;
}

/* ===== LINKS ===== */
.links-note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-style: italic;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.link-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--window-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.15s;
}

.link-row:hover {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  transform: translateX(3px);
}

.link-icon-box {
  width: 20px; height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.link-icon-box svg {
  width: 100%; height: 100%;
}

.link-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #daeee8;
}

.link-arrow {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.15s;
}

.link-row:hover .link-arrow {
  color: var(--accent);
}

/* ===== WORK ===== */



.work-set{
  font-family: var(--font-main);
  font-size: 23px;
  color: var(--accent);
}

.work-title{
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 5px;
}

.work-company{
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 2px;
}

.work-blurb{
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
}



/* ===== CONTACT ===== */
.contact-heading {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
}

.contact-blurb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-email-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  margin-bottom: 14px;
}

.contact-email-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

.contact-email {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
}

.contact-email:hover { color: var(--accent); }

.contact-btn {
  display: inline-block;
  background: var(--accent);
  color: #0d1a16;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}

.contact-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.contact-ig {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.contact-ig a {
  color: var(--accent);
  text-decoration: none;
}

.contact-ig a:hover { text-decoration: underline; }

.break {
  white-space: pre-wrap;
}