/* ============================================
   Jean Luca Bez — Academic Personal Site
   Minimalist dark navy design
   ============================================ */

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

:root {
  --navy-950: #0a1225;
  --navy-900: #0c1123;
  --navy-800: #111b3a;
  --navy-700: #162a5f;
  --navy-600: #1e3778;
  --navy-500: #375aaa;
  --navy-400: #5a78be;
  --navy-300: #829bd2;
  --navy-200: #aabee6;
  --navy-100: #d2def5;
  --navy-50: #ebf0fa;

  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-300: #5eead4;
  --teal-200: #99f6e4;

  --text-primary: #e8ecf4;
  --text-secondary: rgba(210, 222, 245, 0.65);
  --text-muted: rgba(170, 190, 230, 0.45);

  --surface: var(--navy-900);
  --surface-raised: rgba(22, 42, 95, 0.25);
  --surface-hover: rgba(22, 42, 95, 0.4);
  --border: rgba(170, 190, 230, 0.08);
  --border-accent: rgba(45, 212, 191, 0.25);

  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-width: 1100px;
  --section-padding: 6rem 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(45, 212, 191, 0.2);
  color: white;
}

a {
  color: var(--teal-400);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--teal-300);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Navigation ---- */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

#nav.scrolled {
  background: rgba(10, 18, 37, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary) !important;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--teal-400);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  transition: all 0.3s;
}

/* ---- Hero ---- */

#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero-bg {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(at 20% 25%, rgba(22, 42, 95, 0.8) 0px, transparent 50%),
    radial-gradient(at 80% 20%, rgba(15, 30, 70, 0.6) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(20, 184, 166, 0.04) 0px, transparent 50%),
    radial-gradient(at 90% 90%, rgba(55, 90, 170, 0.4) 0px, transparent 50%);
}

.hero-content {
  position: relative;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-greeting {
  font-size: 0.9rem;
  color: var(--teal-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.hero-role {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--teal-400);
  margin-bottom: 0.25rem;
}

.hero-affiliation a {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.hero-bio {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 1.5rem;
  max-width: 540px;
  line-height: 1.75;
}

.hero-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal-500);
  color: var(--navy-950);
}

.btn-primary:hover {
  background: var(--teal-400);
  color: var(--navy-950);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.2);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--teal-400);
  color: var(--teal-400);
  transform: translateY(-2px);
}

.hero-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.hero-social a:hover {
  background: var(--surface-hover);
  border-color: var(--border-accent);
  color: var(--teal-400);
  transform: translateY(-2px);
}

.hero-social svg {
  width: 18px;
  height: 18px;
}

.hero-photo {
  position: absolute;
  right: -2rem;
  bottom: 46px;
  width: 480px;
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.hero-interests span {
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.hero-interests span:hover {
  border-color: var(--border-accent);
  color: var(--teal-400);
}

/* ---- Sections ---- */

.section {
  padding: var(--section-padding);
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background: var(--navy-800);
  background: linear-gradient(180deg, rgba(17, 27, 58, 0.5) 0%, rgba(10, 18, 37, 0.5) 100%);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  background: linear-gradient(to right, var(--teal-400), transparent);
  border-radius: 2px;
  margin-top: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 3rem;
}

.section-subtitle a {
  color: var(--teal-400);
  font-weight: 500;
}

/* ---- About ---- */

.about-grid {
  margin-top: 2.5rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.edu-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.edu-item:last-child {
  border-bottom: none;
}

.edu-degree {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.edu-school {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.edu-year {
  color: var(--teal-400);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.3rem;
}

/* ---- Experience ---- */

.experience-list {
  margin-top: 2.5rem;
}

.exp-item {
  display: flex;
  gap: 2.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.exp-item:last-child {
  border-bottom: none;
}

.exp-dates {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--teal-400);
  min-width: 7rem;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.exp-position {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.exp-org {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.exp-org a {
  color: var(--text-secondary);
}

.exp-org a:hover {
  color: var(--teal-400);
}

.exp-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ---- Education ---- */

.edu-honors {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-400);
}

.edu-thesis {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  line-height: 1.6;
}

.edu-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.edu-advisor {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.5;
}

/* ---- Publications ---- */

.pub-chart {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 80px;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
  position: relative;
}

.pub-chart-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}

.pub-chart-fill {
  width: 100%;
  max-width: 28px;
  border-radius: 3px 3px 0 0;
  background: var(--teal-400);
  opacity: 0.35;
  transition: opacity 0.2s;
  min-height: 2px;
}

.pub-chart-bar:hover .pub-chart-fill {
  opacity: 0.7;
}

.pub-chart-count {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 3px;
  order: -1;
}

.pub-chart-label {
  position: absolute;
  bottom: -1.5rem;
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pub-chart-milestone {
  border-left: 1px dashed var(--text-muted);
  margin-left: 2px;
  padding-left: 2px;
}

.pub-chart-milestone::before {
  content: attr(data-milestone);
  position: absolute;
  top: -14px;
  left: -1px;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.pub-year-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.pub-year-nav a {
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-secondary) !important;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.pub-year-nav a:hover {
  border-color: var(--teal-400);
  color: var(--teal-400) !important;
  background: rgba(45, 212, 191, 0.05);
}

.pub-year-group {
  margin-bottom: 3rem;
  scroll-margin-top: 5rem;
}

.pub-year {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-400);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pub-item {
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  transition: background 0.2s;
  background: rgba(20, 184, 166, 0.04);
}

.pub-item:hover {
  background: var(--surface-raised);
}

.pub-item.pub-featured {
}

.pub-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.4rem;
}

.pub-venue {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-400);
}

.pub-type {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pub-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.pub-authors {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

.pub-authors strong {
  color: var(--text-primary);
}

.pub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.pub-link {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-secondary) !important;
  transition: all 0.2s;
}

.pub-link:hover {
  border-color: var(--teal-400);
  color: var(--teal-400) !important;
  background: rgba(45, 212, 191, 0.05);
}

button.pub-link {
  cursor: pointer;
  background: none;
  font-family: inherit;
}

.pub-link-copied {
  border-color: var(--teal-400) !important;
  color: var(--teal-400) !important;
}

.pub-link-active {
  border-color: var(--teal-400);
  color: var(--teal-400) !important;
  background: rgba(45, 212, 191, 0.08);
}

.pub-abstract {
  margin-top: 0.6rem;
  padding: 0.6rem 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.pub-abstract p {
  margin: 0;
}

/* ---- Software Cards ---- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.software-card {
  display: block;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  transition: all 0.3s;
  color: var(--text-primary) !important;
  text-decoration: none !important;
  overflow: hidden;
}

.software-card:hover {
  border-color: var(--border-accent);
  background: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.software-logo {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--navy-800);
}

.software-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.25rem 1.5rem 0.4rem;
}

.software-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 1.5rem;
}

.software-links {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.25rem;
}

.software-links a {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-secondary) !important;
  transition: all 0.2s;
}

.software-links a:hover {
  border-color: var(--teal-400);
  color: var(--teal-400) !important;
  background: rgba(45, 212, 191, 0.05);
}

/* ---- Research Projects (list) ---- */

.research-list {
  margin-top: 2.5rem;
}

.research-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.research-item:last-child {
  border-bottom: none;
}

.research-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.research-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.research-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-400);
}

.research-dates {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.research-fullname {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.research-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  line-height: 1.6;
}

/* ---- Awards ---- */

.awards-list {
  margin-top: 2.5rem;
}

.award-item {
  display: flex;
  gap: 2rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.award-item:last-child {
  border-bottom: none;
}

.award-year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal-400);
  min-width: 3.5rem;
}

.award-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.award-org {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

/* ---- Service ---- */

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.service-block h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-400);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

.service-block ul {
  list-style: none;
}

.service-block li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.service-block li:last-child {
  border-bottom: none;
}

.service-block li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.service-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal-400);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

/* ---- Startup ---- */

.startup-item {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  transition: background 0.2s;
  background: rgba(20, 184, 166, 0.04);
}

.startup-item:hover {
  background: var(--surface-raised);
}

.startup-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.startup-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.startup-former {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.startup-dates {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-400);
}

.startup-role {
  font-size: 0.9rem;
  color: var(--teal-400);
  font-weight: 600;
  margin-top: 0.4rem;
}

.startup-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  line-height: 1.7;
}

.startup-links {
  margin-top: 1rem;
}

/* ---- Service sub-sections ---- */

.service-section-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.service-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- PC Table ---- */

.pc-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
}

.pc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.pc-table thead {
  background: rgba(22, 42, 95, 0.5);
}

.pc-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--teal-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.pc-table td {
  padding: 0.6rem 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pc-table tbody tr:last-child td {
  border-bottom: none;
}

.pc-table tbody tr:hover {
  background: rgba(45, 212, 191, 0.03);
}

.pc-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.pc-table td:nth-child(2) {
  font-weight: 600;
  color: var(--teal-400);
  white-space: nowrap;
}

/* ---- Footer ---- */

#footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.footer-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.footer-right a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-right a:hover {
  color: var(--teal-400);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .hero-content {
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-name {
    font-size: 2.75rem;
  }

  .hero-bio {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-links, .hero-social, .hero-interests {
    justify-content: center;
  }

  .hero-photo {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 18, 37, 0.97);
    backdrop-filter: blur(16px);
    padding: 1.5rem 2rem;
    gap: 0;
    border-top: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

@media (max-width: 600px) {
  :root {
    --section-padding: 4rem 0;
  }

  .hero-name {
    font-size: 2.25rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .exp-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .award-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .pc-table {
    font-size: 0.78rem;
  }

  .pc-table th,
  .pc-table td {
    padding: 0.5rem 0.6rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* ---- Scrollbar ---- */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--navy-950);
}

::-webkit-scrollbar-thumb {
  background: rgba(55, 90, 170, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(55, 90, 170, 0.5);
}
