:root, [data-theme="light"] {
  --bg: #f8fafc; --surface: #ffffff; --surface-sub: #f1f5f9; --border: #cbd5e1;
  --text: #0f172a; --text-muted: #475569; --primary: #059669; --primary-light: #d1fae5;
  --shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}
[data-theme="dark"] {
  --bg: #0b0f19; --surface: #111827; --surface-sub: #1f2937; --border: #374151;
  --text: #f3f4f6; --text-muted: #9ca3af; --primary: #10b981; --primary-light: #064e3b;
  --shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Satoshi', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; padding-bottom: 4rem; }
h1, h2, h3, h4 { font-family: 'Cabinet Grotesk', sans-serif; font-weight: 800; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }

nav { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 1rem 0; }
[data-theme="dark"] nav { background: rgba(17, 24, 39, 0.9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.75rem; font-family: 'Cabinet Grotesk', sans-serif; font-weight: 900; font-size: 1.25rem; }
.brand img { height: 32px; }
.theme-btn { background: var(--surface-sub); border: 1px solid var(--border); color: var(--text); padding: 0.4rem 0.9rem; border-radius: 30px; font-weight: 700; cursor: pointer; }

.hero { padding: 3.5rem 0 2.5rem; text-align: center; background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 70%); }
.badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1.2rem; border-radius: 30px; background: var(--primary-light); color: var(--primary); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
.hero p { color: var(--text-muted); font-size: 1.2rem; max-width: 750px; margin: 0 auto; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; margin-bottom: 2rem; box-shadow: var(--shadow); }
.card h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 1rem; }

.showcase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.showcase-box { background: var(--surface-sub); border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem; text-align: center; }
.showcase-box img { max-width: 100%; height: 180px; object-fit: contain; }
.showcase-box h4 { margin-top: 0.75rem; font-size: 1.1rem; }

.teacher-box { background: var(--primary-light); border-left: 5px solid var(--primary); padding: 1.5rem; border-radius: 0 16px 16px 0; margin-top: 1rem; }
.teacher-box h3 { color: var(--primary); margin-bottom: 0.5rem; }

/* TEAM & AUTHOR SECTIONS */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.team-role-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow); }
.team-role-card__header { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.team-role-card__title { font-family: 'Cabinet Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text); }
.team-member-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.team-member { display: flex; flex-direction: column; gap: 2px; }
.team-member__name { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.team-member__email { font-size: 0.85rem; color: var(--primary); text-decoration: none; }
.team-member__email:hover { text-decoration: underline; }

.author-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; box-shadow: var(--shadow); }
.author-card__header { display: flex; align-items: center; gap: 1rem; }
.author-card__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--primary); font-family: 'Cabinet Grotesk', sans-serif; font-size: 1.25rem; font-weight: 800; flex-shrink: 0; }
.author-card__name { font-family: 'Cabinet Grotesk', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--text); }
.author-card__email { font-size: 0.9rem; color: var(--primary); text-decoration: none; font-weight: 500; }
.author-card__email:hover { text-decoration: underline; }
.author-card__links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.author-link-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.8rem; background: var(--surface-sub); border: 1px solid var(--border); border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text); text-decoration: none; transition: background 0.2s, color 0.2s; }
.author-link-badge:hover { background: var(--primary); color: #ffffff; border-color: var(--primary); }
.author-card__affiliation { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; border-top: 1px solid var(--border); padding-top: 1rem; }
.author-card__affiliation a { color: var(--primary); text-decoration: underline; font-weight: 600; }
