/* Minimal, clean, responsive styles */
* { box-sizing: border-box; }
:root {
  --bg: #0b0c10;
  --card: #111318;
  --text: #e6e6e6;
  --muted: #a9b0b8;
  --accent: #6ee7b7;
  --accent-2: #60a5fa;
  --border: #23262d;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}
html, body { margin:0; padding:0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(100%, 960px); margin: 0 auto; padding: 0 16px; }
.skip-link { position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip-link:focus { position:static; width:auto; height:auto; padding:8px 12px; background:#000; color:#fff; }

.site-header { position: sticky; top: 0; backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); background: rgba(11,12,16,0.8); z-index: 100; }
.header-inner { display:flex; align-items:center; justify-content:space-between; padding: 14px 0; }
.brand { font-weight: 700; color: var(--text); }
.nav-list { display:flex; gap:16px; list-style:none; margin:0; padding:0; }
.menu-toggle { display:none; }

.hero { padding: 48px 0 16px; }
.hero h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; }
.cta-row { display:flex; gap:12px; margin-top: 12px; }
.button { display:inline-block; padding:10px 14px; border-radius: 12px; background: var(--accent); color:#0b0c10; font-weight:600; box-shadow: var(--shadow); }
.button.secondary { background: transparent; color: var(--text); border:1px solid var(--border); }
.button:hover { filter: brightness(1.05); text-decoration:none; }

.card { background: var(--card); border:1px solid var(--border); border-radius: 16px; padding: 20px; margin: 18px 0; box-shadow: var(--shadow); }
.card h2 { margin-top: 0; }

.pill-list { display:flex; flex-wrap:wrap; gap:10px; padding:0; margin:0; list-style:none; }
.pill-list li { padding:6px 10px; border-radius:999px; border:1px solid var(--border); background:#0f1116; color: var(--muted); }

.link-list { list-style:none; padding:0; margin:0; display:grid; gap: 12px; }
.link-list a { display:flex; flex-direction:column; padding:12px; border-radius:12px; border:1px solid var(--border); background:#0f1116; }
.link-list a:hover { background:#0f1319; }
.item-title { font-weight:600; color: var(--text); }
.item-sub { color: var(--muted); font-size: 0.95rem; }

.site-footer { border-top:1px solid var(--border); margin-top: 32px; padding: 20px 0; color: var(--muted); }

/* Detail page layout */
.article { max-width: 800px; margin: 0 auto; }
.article h1 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 6px; }
.meta { color: var(--muted); margin-bottom: 18px; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px 20px; }
.figure { border:1px dashed var(--border); padding:10px; border-radius:12px; margin: 12px 0; text-align:center; color: var(--muted); }

.button-row { display:flex; gap:.5rem; align-items:center; flex-wrap:wrap; }
.button-row h3 { margin:0; display:inline-flex; }

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-photo img {
  max-width: 180px;  
  width: 100%;      
  height: auto;
  /* border-radius: 50%; */
  object-fit: cover;
}

.edu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.edu-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0f1116;
}

.edu-text {
  display: flex;
  flex-direction: column;
}

.edu-text .item-title {
  font-weight: 600;
  color: var(--text);
}

.edu-text .item-sub {
  color: var(--muted);
  font-size: 0.95rem;
}

.edu-logo img {
  max-height: 40px;   /* desktop/tablet */
  width: auto;
  display: block;
}

.honors {
  font-style: italic;
  color: var(--text);   /* same color as normal text, not muted */
  display: block;
  margin-top: 6px;      /* gives breathing room below degree line */
}

.company-logo {
  max-height: 64px;   /* ≈ h-16 */
  width: auto;        /* scale by aspect ratio */
  object-fit: contain;
  display: block;
}

@media (max-width: 700px) {
  .edu-logo img {
    max-height: 28px; /* shrink logos on mobile */
  }

  .edu-list li {
    flex-direction: column;     /* stack text + logo */
    align-items: flex-start;    /* keep alignment neat */
    gap: 8px;                   /* add a little space */
  }

  .edu-logo {
    align-self: flex-end;       /* logo aligns right if stacked */
  }
}



/* Responsive nav */
@media (max-width: 700px) {
  .menu-toggle { display:block; background:none; border:1px solid var(--border); color:var(--text); padding:6px 10px; border-radius:10px; }
  .nav-list { display:none; flex-direction:column; background: rgba(11,12,16,0.98); position:absolute; right:16px; top:56px; padding:12px; border-radius:12px; border:1px solid var(--border); }
  .nav-list.open { display:flex; }
}
