/* ═══════════════════════════════════════════════
   DESIGN DIRECTION — Obsidian × Electric Mint
   Fond quasi-noir, accents mint/teal électrique,
   touches coral, typographie Syne + Cormorant
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,600&family=Syne:wght@400;500;600;700;800&display=swap');

:root {
  --bg:           #111318;
  --bg-sidebar:   #161820;
  --bg-card:      rgba(255,255,255,0.025);
  --bg-card-hover:rgba(13,255,176,0.05);

  --accent:       #0DFFB0;       /* mint électrique */
  --accent-glow:  rgba(13,255,176,0.18);
  --accent-dim:   rgba(13,255,176,0.55);
  --coral:        #FF3D5A;       /* pop secondaire */
  --coral-dim:    rgba(255,61,90,0.6);

  --text:         #F0F4FF;
  --text-muted:   rgba(220,228,245,0.72);
  --text-sub:     rgba(220,228,245,0.88);

  --border:       rgba(255,255,255,0.07);
  --border-accent:rgba(13,255,176,0.25);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay subtil sur tout le body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ═══════════════ HALOS DE FOND ═══════════════ */
.bg-glows {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-glows span {
  position: absolute;
  border-radius: 50%;
}
.bg-glows span:nth-child(1) {
  width: 700px; height: 500px;
  top: 30%; right: -100px;
  background: radial-gradient(ellipse, rgba(13,255,176,0.08) 0%, transparent 60%);
}
.bg-glows span:nth-child(2) {
  width: 550px; height: 400px;
  bottom: 5%; left: 15%;
  background: radial-gradient(ellipse, rgba(13,255,176,0.065) 0%, transparent 60%);
}
.bg-glows span:nth-child(3) {
  width: 360px; height: 280px;
  top: 58%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(13,255,176,0.05) 0%, transparent 60%);
}
.bg-glows span:nth-child(4) {
  width: 320px; height: 260px;
  bottom: 6%; left: -40px;
  background: radial-gradient(ellipse, rgba(13,255,176,0.07) 0%, transparent 65%);
}
.bg-glows span:nth-child(5) {
  width: 420px; height: 300px;
  top: 12%; left: 30%;
  background: radial-gradient(ellipse, rgba(13,255,176,0.04) 0%, transparent 60%);
}
.bg-glows span:nth-child(6) {
  width: 280px; height: 200px;
  top: 48%; right: 5%;
  background: radial-gradient(ellipse, rgba(13,255,176,0.06) 0%, transparent 60%);
}
.bg-glows span:nth-child(7) {
  width: 220px; height: 160px;
  top: 8%; left: 5%;
  background: radial-gradient(ellipse, rgba(13,255,176,0.05) 0%, transparent 60%);
}
.bg-glows span:nth-child(8) {
  width: 180px; height: 140px;
  top: 32%; left: 42%;
  background: radial-gradient(ellipse, rgba(13,255,176,0.045) 0%, transparent 55%);
}
.bg-glows span:nth-child(9) {
  width: 340px; height: 240px;
  bottom: 12%; right: 8%;
  background: radial-gradient(ellipse, rgba(13,255,176,0.055) 0%, transparent 60%);
}
.bg-glows span:nth-child(10) {
  width: 160px; height: 120px;
  top: 22%; left: 55%;
  background: radial-gradient(ellipse, rgba(13,255,176,0.04) 0%, transparent 55%);
}
.bg-glows span:nth-child(11) {
  width: 200px; height: 150px;
  bottom: 30%; left: 38%;
  background: radial-gradient(ellipse, rgba(13,255,176,0.05) 0%, transparent 58%);
}
.bg-glows span:nth-child(12) {
  width: 260px; height: 180px;
  top: 42%; left: -30px;
  background: radial-gradient(ellipse, rgba(13,255,176,0.06) 0%, transparent 60%);
}

/* Tout le contenu doit être au-dessus des halos */
.page { position: relative; z-index: 1; }

/* ═══════════════ LAYOUT ═══════════════ */
.page {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 100vh;
}

/* ─── SIDEBAR ─── */
.sidebar {
  background: var(--bg-sidebar);
  display: flex;
  flex-direction: column;
  padding: 44px 28px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(13,255,176,0.15) transparent;
  background-image:
    radial-gradient(ellipse 260px 200px at 50% -10px, rgba(13,255,176,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 200px 160px at 50% 110%, rgba(13,255,176,0.07) 0%, transparent 70%);
  border-right: 1px solid var(--border);
}

.sidebar-ornament {
  display: flex;
  gap: 5px;
  margin-bottom: 36px;
  align-items: center;
}
.orn-block { height: 3px; border-radius: 2px; }
.orn-block:nth-child(1) { width: 32px; background: var(--accent); }
.orn-block:nth-child(2) { width: 14px; background: var(--coral); }
.orn-block:nth-child(3) { width: 7px;  background: rgba(232,237,245,0.15); }

/* ─── Photo ─── */
.photo-wrap {
  width: 128px;
  height: 128px;
  margin: 0 auto 28px;
  position: relative;
}
.photo-wrap::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0.45;
}
.photo-wrap::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
  animation: spinSlow 18s linear infinite;
  border-top-color: var(--accent-dim);
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: none;
  background: none;
  filter: grayscale(15%) contrast(1.05);
}

/* ─── Nom ─── */
.sidebar-name {
  text-align: center;
  margin-bottom: 32px;
}
.sidebar-name h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
.sidebar-name h1 em {
  font-style: italic;
  color: var(--accent);
}
.sidebar-name .job-title {
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 9px;
  font-weight: 500;
  line-height: 1.5;
}

.sidebar-sep {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

.sb-section { margin-bottom: 22px; }
.sb-title {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 700;
}

/* ─── Contact ─── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(220,228,245,0.82);
  margin-bottom: 10px;
  line-height: 1.45;
}
.contact-item svg {
  width: 13px; height: 13px;
  flex-shrink: 0; margin-top: 2px;
  color: var(--accent);
}
.contact-item a {
  color: rgba(220,228,245,0.82);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--accent); }

/* ─── Badges ─── */
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  color: rgba(220,228,245,0.7);
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.badge:hover { border-color: var(--border-accent); color: var(--accent); }

/* ─── Langues ─── */
.lang-item { margin-bottom: 11px; }
.lang-name {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}
.lang-name span { font-size: 11.5px; color: rgba(220,228,245,0.5); font-weight: 400; }
.lang-bar {
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.lang-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(13,255,176,0.4));
}

/* ═══════════════ MAIN ═══════════════ */
.main {
  background: var(--bg);
  padding: 52px 56px 80px;
  min-height: 100vh;
  position: relative;
}

.main::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 580px;
  height: 440px;
  background: radial-gradient(ellipse, rgba(13,255,176,0.11) 0%, rgba(13,255,176,0.04) 35%, transparent 65%);
  pointer-events: none;
}

.main::after {
  content: '';
  position: absolute;
  bottom: 80px;
  left: -60px;
  width: 460px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(13,255,176,0.07) 0%, rgba(13,255,176,0.02) 40%, transparent 65%);
  pointer-events: none;
}

/* ─── Header ─── */
.main-header-bar {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 44px;
  animation: fadeIn 0.6s ease both;
}
.main-header-bar h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--text);
}
.main-header-bar h2 strong {
  font-weight: 700;
  color: var(--accent);
  display: block;
  text-shadow: 0 0 40px var(--accent-glow);
}
.main-header-bar h2 em {
  font-style: italic;
  color: var(--text);
  opacity: 0.22;
}
.year-tag {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  align-self: flex-start;
  margin-top: 8px;
  font-weight: 600;
}

/* ─── About ─── */
.about-block {
  max-width: 580px;
  margin-bottom: 48px;
  animation: fadeIn 0.6s 0.1s ease both;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: 0 10px 10px 0;
}
.about-block p {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(220,228,245,0.9);
  font-weight: 400;
}
.about-block p strong {
  color: var(--text);
  font-weight: 600;
}

/* ─── Tabs ─── */
.tabs-scroll-hint {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 12px;
  animation: bounceDown 1.5s ease-in-out infinite;
}
.tabs-scroll-hint svg { width: 13px; height: 13px; }
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%       { transform: translateY(4px); opacity: 1; }
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 44px;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 2px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  padding-top: 8px;
  will-change: transform;
}
.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  background: none;
  border: none;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 18px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
}

.tab-panel { display: none; }
.tab-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════ TIMELINE ═══════════════ */
.timeline { display: flex; flex-direction: column; }

.tl-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: border-color 0.2s, box-shadow 0.3s;
}
.tl-item:hover {
  border-bottom-color: rgba(13,255,176,0.15);
  box-shadow: inset 0 0 60px -20px rgba(13,255,176,0.04);
}

.tl-date {
  font-size: 12px;
  color: rgba(220,228,245,0.55);
  letter-spacing: 0.04em;
  text-align: right;
  padding-right: 24px;
  padding-top: 4px;
  border-right: 1px solid var(--border);
  position: relative;
  font-weight: 500;
  transition: border-color 0.2s;
}
.tl-item:hover .tl-date { border-right-color: var(--border-accent); }
.tl-date::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg-sidebar);
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  transition: box-shadow 0.2s;
}
.tl-item:hover .tl-date::after {
  box-shadow: 0 0 20px var(--accent-glow), 0 0 5px var(--accent);
}

.tl-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
  line-height: 1.2;
}
.tl-content .company {
  font-size: 11.5px;
  color: var(--accent-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}

/* ─── Skill blocks dans la timeline ─── */
.skill-block { margin-bottom: 28px; }

.skill-block-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(220,228,245,0.82);
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
  text-shadow: 0 0 18px rgba(13,255,176,0.15);
}
.skill-block-title .ico { font-style: normal; font-size: 20px; }

.skill-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.skill-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: rgba(220,228,245,0.78);
  line-height: 1.6;
  font-weight: 400;
}
.skill-list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  box-shadow: 0 0 8px rgba(13,255,176,0.5);
}

/* ═══════════════ COMPÉTENCES ═══════════════ */
.comp-category { margin-bottom: 44px; }

.comp-category-title {
  font-family: 'Syne', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  transition: transform 0.22s, border-color 0.22s, background 0.22s, box-shadow 0.22s;
  cursor: default;
}
.skill-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 32px rgba(13,255,176,0.08);
}
.skill-card img {
  width: 34px; height: 34px;
  object-fit: contain;
  filter: brightness(0.9);
  transition: filter 0.2s;
}
.skill-card:hover img { filter: brightness(1.1); }
.skill-card .skill-name {
  font-size: 12px;
  color: rgba(220,228,245,0.85);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.skill-dots { display: flex; gap: 3px; }
.dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.dot.on {
  background: var(--accent);
  box-shadow: 0 0 5px var(--accent-glow);
}

/* ─── Soft pills ─── */
.soft-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

.soft-pill {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 13.5px;
  color: rgba(220,228,245,0.82);
  font-weight: 500;
  cursor: default;
  transition: background 0.2s, border-color 0.22s, color 0.22s, box-shadow 0.22s;
}
.soft-pill:hover {
  background: rgba(13,255,176,0.08);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(13,255,176,0.1);
}

/* ═══════════════ CENTRES D'INTÉRÊT ═══════════════ */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 12px;
}

.interest-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.22s, border-color 0.22s, background 0.22s, box-shadow 0.22s;
  cursor: default;
  box-shadow: 0 0 30px -10px rgba(13,255,176,0.04);
}
.interest-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 40px rgba(13,255,176,0.07);
}
.interest-icon { font-size: 32px; }
.interest-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.interest-card p {
  font-size: 13.5px;
  color: rgba(220,228,245,0.65);
  line-height: 1.65;
  font-weight: 400;
}

/* ─── Séparateur utilitaire ─── */
.sep {
  height: 1px;
  background: var(--border);
  margin: 8px 0 44px;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 768px) {
  html, body {
    overflow-x: clip;
    width: 100%;
  }

  .page {
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    width: 100%;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 36px 24px 32px;
    align-items: center;
    text-align: center;
    background-image: radial-gradient(ellipse 300px 150px at 50% 0%, rgba(13,255,176,0.07) 0%, transparent 70%);
  }

  .sidebar-ornament { justify-content: center; margin-bottom: 24px; }
  .sidebar-name { margin-bottom: 20px; }
  .sidebar-sep { width: 100%; max-width: 260px; }
  .sb-section { width: 100%; max-width: 320px; text-align: left; }
  .badge-row { justify-content: center; }
  .lang-item { max-width: 280px; margin-left: auto; margin-right: auto; }

  .main { padding: 32px 28px 60px; }
  .main::before { display: none; }

  .main-header-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    margin-bottom: 28px;
  }
  .main-header-bar h2 { font-size: clamp(38px, 13vw, 58px); text-align: center; }
  .year-tag { align-self: center; margin-top: 0; }

  .about-block {
    max-width: 100%;
    margin-bottom: 32px;
    border-left: 2px solid var(--accent);
    border-radius: 0 10px 10px 0;
  }

  .tabs-arrow { display: flex; }

  .tabs-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    justify-content: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }

  .tab-panel {
    padding-top: 0;
  }
  .tabs-wrapper { margin-bottom: 28px; }
  .tab-btn { padding: 10px 13px; font-size: 12.5px; }

  .tl-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 16px;
    margin-bottom: 12px;
    background: rgba(13,255,176,0.03);
    border: 1px solid rgba(13,255,176,0.12);
    border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0;
    border-bottom: 1px solid rgba(13,255,176,0.12);
    box-shadow: 0 4px 24px rgba(13,255,176,0.04);
  }
  .tl-item:last-child { margin-bottom: 0; }
  .tl-date {
    text-align: left;
    border-right: none;
    border-left: none;
    padding-right: 0;
    padding-left: 0;
    padding-top: 0;
    color: var(--accent-dim);
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .tl-date::after { display: none; }

  .tl-content h3 { font-size: 19px; }

  .skills-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .interests-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .interest-card { padding: 18px 12px; }
  .soft-wrap { justify-content: center; }

  /* ── Tailles lisibles sur mobile ── */
  .sidebar-name h1         { font-size: 28px; }
  .sidebar-name .job-title { font-size: 11px; }
  .sb-title                { font-size: 11px; }
  .contact-item            { font-size: 14px; }
  .badge                   { font-size: 12px; }
  .lang-name               { font-size: 14px; }
  .lang-name span          { font-size: 12px; }
  .skill-block-title       { font-size: 13px; }
  .skill-block-title .ico  { font-size: 16px; }
  .skill-list li           { font-size: 14px; }
  .tl-content h3           { font-size: 19px; }
  .tl-content .company     { font-size: 11px; }
  .about-block p           { font-size: 15px; }
  .soft-pill               { font-size: 13px; }
  .comp-category-title     { font-size: 12px; }
  .skill-card .skill-name  { font-size: 11px; }
  .interest-card h3        { font-size: 18px; }
  .interest-card p         { font-size: 13px; }
  .interest-icon           { font-size: 28px; }
}

@media (max-width: 400px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .interests-grid { grid-template-columns: 1fr; }
  .tab-btn { padding: 10px 9px; font-size: 12px; }
}