:root {
  --bg: #64718f;
  --surface: #111827;
  --card: #171f2f;
  --text: #e5e7eb;
  --muted: #cbd5e1;
  --accent: #34d399;
  --accent-strong: #10b981;
  --link: #a7f3d0;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
.page-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
h1 {
  font-size: clamp(2rem, 3.5vw + 1rem, 3rem);
  letter-spacing: 0.02em;
  margin: 0.5rem 0 0;
  color: #f8fafc;
}
.card {
  background: linear-gradient(180deg, var(--card), var(--surface));
  padding: 1.25rem 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}
h2 {
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.75rem);
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #f1f5f9;
}
h3 {
  font-size: 1.05rem;
  margin: 0.25rem 0;
  color: #e2e8f0;
}
.intro-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 0.5rem;
  background: linear-gradient(180deg, var(--card), var(--surface));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.intro-table td {
  vertical-align: middle;
  padding: 1rem;
}
.intro-photo {
  text-align: center;
  min-width: 420px;
}
.intro-photo img {
  display: block;
  width: 400px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}
.intro-text {
  text-align: left;
}
.intro-card {
  padding: 0.5rem 0.5rem 0.5rem 0.25rem;
}
.intro-name {
  font-size: clamp(1.6rem, 1.4vw + 1.3rem, 2.2rem);
  margin: 0 0 0.25rem;
  color: #f8fafc;
  font-weight: 700;
}
.intro-meta {
  font-size: clamp(1.3rem, 1.2vw + 1rem, 1.6rem);
  margin: 0.25rem 0;
  color: #e2e8f0;
  font-weight: 500;
}
.activities-table {
  width: 100%;
  border-collapse: collapse;
}
.activities-table thead th {
  text-align: left;
  padding: 0.75rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
}
.activities-table td {
  padding: 1rem 0.75rem;
  vertical-align: top;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.activities-table img {
  display: block;
  width: 300px;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}
a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a:hover,
a:focus {
  color: var(--accent-strong);
  border-color: var(--accent-strong);
}
a:visited {
  color: var(--link);
}
a[href*="pega"]:hover {
  color: #2f6246;
}
a[href*="mit"]:hover {
  color: #2f6246;
}
a[href*="breakthroughtech"]:hover {
  color: #2f6246;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 900px) {
  .intro-photo {
    min-width: 0;
  }
  .intro-table td {
    display: block;
    width: 100%;
  }
  .intro-text {
    text-align: center;
  }
  .intro-card {
    padding: 0.75rem;
  }
  .activities-table img {
    width: 260px;
  }
}
@media (max-width: 560px) {
  .activities-table thead {
    display: none;
  }
  .activities-table tr {
    display: block;
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 0.5rem;
  }
  .activities-table td {
    display: block;
    border-bottom: none;
  }
  .activities-table img {
    width: 100%;
    max-width: 420px;
  }
}
