/* Home page dark theme matching the provided screenshot */

:root {
  --bg: #0b0d10;
  --surface: #111418;
  --fg: #e5e7eb;
  --muted: #9aa4b2;
  --edge: #161a20;
  --accent: #e7ff6f;
  --wrap: 1080px;
  /* soft accent palette */
  --c-cyan: #7fd1cc;
  --c-purple: #bcb3ff;
  --c-amber: #ffd36a;
  --c-rose: #f4a8b6;
}

html, body {
  background: var(--bg);
  color: var(--fg);
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #111; }
::-moz-selection { background: var(--accent); color: #111; }

.snap-root { min-height: 100vh; }

.wrap {
  max-width: var(--wrap);
  margin: 96px auto 120px;
  padding: 0 32px;
}

.hero h4 {
  margin: 0 0 28px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.2px;
}

.my-name {
  font-family: "Press Start 2P", system-ui, monospace;
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 28px;
  white-space: nowrap;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.info ul { list-style: none; padding: 0; margin: 0 0 28px; }
.info li { margin: 6px 0; color: var(--muted); }
/* subtle colored bullets */
.info li::before { content: "•"; display: inline-block; margin-right: 8px; color: var(--c-cyan); }
.info li:nth-child(2)::before { color: var(--c-purple); }
.info li:nth-child(3)::before { color: var(--c-amber); }
.info li:nth-child(4)::before { color: var(--c-rose); }

.say-hi {
  display: inline-block;
  margin: 6px 0 22px;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 2px solid var(--c-amber);
  padding-bottom: 2px;
}
.say-hi:hover { opacity: 0.9; }

/* Accessbility: focus outlines */
a:focus-visible, button:focus-visible {
  outline: 2px dashed var(--c-purple);
  outline-offset: 3px;
}

.social a { color: var(--fg); text-decoration: none; margin-right: 18px; opacity: 0.9; transition: color 120ms ease; }
.social a.github-link:hover { color: var(--c-cyan); }
.social a.x-link:hover { color: var(--c-rose); }

.rule { height: 1px; border: 0; background: var(--edge); margin: 56px 0; }

.projects .project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.projects .card { display: block; color: var(--fg); text-decoration: none; background: var(--surface); border: 1px solid var(--edge); border-radius: 6px; overflow: hidden; }
.projects .thumb { aspect-ratio: 16/9; background: #0e1114; }
.projects .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.projects .body { padding: 12px 14px 16px; }
.projects .body h4 { margin: 0 0 8px; font-size: 1rem; }
.projects .badge { display: inline-block; font-size: 0.75rem; color: var(--muted); border: 1px solid #2b2e33; padding: 2px 6px; border-radius: 4px; margin-right: 6px; }
/* tinted badge accents */
.projects .badge:nth-child(1) { color: var(--c-cyan); border-color: #385a57; background-color: rgba(127,209,204,0.06); }
.projects .badge:nth-child(2) { color: var(--c-purple); border-color: #3d356b; background-color: rgba(188,179,255,0.06); }
.projects .badge:nth-child(3) { color: var(--c-amber); border-color: #5c4d2a; background-color: rgba(255,211,106,0.06); }

.center { text-align: center; }
.muted { color: var(--muted); }

.contact-inner { padding-bottom: 96px; }

/* typewriter helpers */
.hidden { opacity: 0; pointer-events: none; }
.show { opacity: 1; pointer-events: auto; transition: opacity 600ms ease; }

@media (max-width: 560px) {
  .wrap {
    margin: 64px auto 80px;
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }
  .my-name {
    white-space: normal;
    letter-spacing: 1px;
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
  .projects .project-grid { grid-template-columns: 1fr; }
}

/* Minimal one-page style inspired by angelikaholod.com */
:root {
  --bg: #fff;
  --fg: #0f0f0f;
  --muted: #666;
  --accent: #111;
  --line: #e9e9e9;
  --badge: #f2f2f2;
  --wrap: 1040px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif; line-height: 1.6; }

/* Scroll snapping containers */
.snap-root { scroll-snap-type: y proximity; overflow-y: auto; height: 100vh; }
.snap { scroll-snap-align: start; min-height: 100vh; display: flex; align-items: center; }

.wrap { width: 100%; max-width: var(--wrap); padding: 0 24px; margin: 0 auto; }

/* Headings */
h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.2; }
h1 { font-size: clamp(36px, 8vw, 72px); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(20px, 3.4vw, 32px); font-weight: 700; }
h3 { font-size: clamp(18px, 2.6vw, 24px); font-weight: 600; }
h4 { font-size: clamp(14px, 2.2vw, 18px); font-weight: 600; color: var(--muted); }

p { margin: 10px 0 0; color: var(--muted); }
a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.8; }

/* Divider */
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Hero */
.hero { padding: 64px 0; }
.info ul { list-style: none; padding: 0; margin: 16px 0 20px; display: flex; flex-wrap: wrap; gap: 12px 16px; color: var(--fg); }
.say-hi { display: inline-block; margin-top: 8px; font-weight: 600; }
.social { margin-top: 18px; display: flex; align-items: center; gap: 16px; }
.social a { display: inline-flex; align-items: center; gap: 8px; }

/* Projects grid */
.projects { padding: 64px 0; }
.project-grid { display: grid; grid-template-columns: repeat( auto-fill, minmax(260px, 1fr) ); gap: 18px; margin-top: 18px; }
.card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; transition: transform .18s ease; }
.card:hover { transform: translateY(-2px); }
.card .thumb { aspect-ratio: 16/9; background: #fafafa; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .body { padding: 12px; }
.badge { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--badge); margin: 4px 6px 0 0; color: #333; border: 1px solid var(--line); }

/* Clinical/Data section (simple list) */
.list { margin-top: 12px; padding-left: 18px; }
.list li { margin: 6px 0; }

/* Contact */
.contact { padding: 64px 0; }
.contact-inner { text-align: center; }
.contact-inner small { color: var(--muted); }

/* Utility */
.muted { color: var(--muted); }
.center { text-align: center; }

/* Responsive tweaks */
@media (max-width: 560px) {
  .social { gap: 12px; }
  .project-grid { grid-template-columns: 1fr; }
}

