:root {
  --bg: #050b12;
  --bg-soft: #0b1623;
  --surface: rgba(9, 17, 28, 0.72);
  --surface-strong: rgba(8, 15, 26, 0.92);
  --surface-soft: rgba(12, 22, 37, 0.78);
  --surface-card: rgba(15, 27, 44, 0.86);
  --border: rgba(133, 175, 245, 0.18);
  --border-strong: rgba(99, 242, 195, 0.34);
  --text: #eff5ff;
  --muted: #98a8c6;
  --muted-strong: #c9d4e7;
  --accent: #63f2c3;
  --accent-strong: #11e7a4;
  --accent-alt: #73a7ff;
  --accent-warm: #ffb566;
  --accent-pink: #ff7dd6;
  --shadow-soft: 0 18px 52px rgba(0, 0, 0, 0.24);
  --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.22);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --content-width: min(1520px, calc(100vw - 12px));
  --transition-smooth: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.28s ease;
}

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

html {
  scroll-behavior: smooth;
  background: #050b12;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  font-family: "Poppins", sans-serif;
  background-color: #050b12;
  background-image:
    radial-gradient(circle at top left, rgba(115, 167, 255, 0.12), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(99, 242, 195, 0.14), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(255, 181, 102, 0.08), transparent 26%),
    linear-gradient(180deg, #050b12 0%, #07111c 44%, #081521 100%);
  color: var(--text);
  line-height: 1.6;
}

body::selection,
::selection {
  background: rgba(99, 242, 195, 0.22);
  color: var(--text);
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: contents;
}

.ambient-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint;
}

.ambient-grid,
.ambient-noise {
  position: absolute;
}

.ambient-grid {
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 160px 160px;
}

.ambient-noise {
  inset: 0;
  opacity: 0.03;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.24) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px);
  background-size: 220px 220px;
  mix-blend-mode: normal;
}
.page {
  position: relative;
  z-index: 1;
}

.container {
  width: var(--content-width);
  margin: 0 auto;
  padding: 24px 0 28px;
  display: grid;
  grid-template-columns: 332px minmax(0, 1fr);
  gap: clamp(12px, 2vw, 20px);
}

.container,
.content,
section,
.sidebar,
.sidebar-inner,
.intro-layout,
.intro-copy {
  min-width: 0;
  max-width: 100%;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

section {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(15, 25, 40, 0.78), rgba(8, 14, 24, 0.84)),
    rgba(8, 14, 24, 0.72);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0.4;
}

section:not(.intro) {
  padding: clamp(18px, 2vw, 24px);
}

h2 {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.75rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-emoji {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(10, 18, 30, 0.84);
  font-size: 1.15rem;
  line-height: 1;
  animation: sectionEmojiFloat 3.8s ease-in-out infinite;
  /* Promote to its own GPU layer to avoid jitter on mobile */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 760px) {
  .section-emoji {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-emoji {
    animation: none;
  }
}
.sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
}

.sidebar-inner {
  position: relative;
  top: 0;
  padding: 20px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(153, 190, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(18, 29, 47, 0.92), rgba(9, 18, 30, 0.94)),
    rgba(8, 14, 24, 0.88);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.sidebar-inner::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 220px;
  background:
    radial-gradient(circle at center, rgba(115, 167, 255, 0.24), transparent 58%),
    radial-gradient(circle at 70% 40%, rgba(99, 242, 195, 0.16), transparent 40%);
  opacity: 0.72;
  filter: blur(12px);
  pointer-events: none;
}

.sidebar-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.profile-frame {
  position: relative;
  margin-bottom: 22px;
  border-radius: 28px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(115, 167, 255, 0.16), rgba(99, 242, 195, 0.12), rgba(255, 125, 214, 0.08));
  overflow: hidden;
}

.profile-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-halo {
  position: absolute;
  inset: 14% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 242, 195, 0.28), rgba(115, 167, 255, 0.12), transparent 66%);
  filter: blur(12px);
  opacity: 0.64;
}

.profile-pic {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.sidebar-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.18rem;
}

.status-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 0;
}

.status-box,
.linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 46px;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: none;
}

.status-indicator {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(17, 231, 164, 0.34);
}

.status-text {
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.linkedin-icon {
  width: 46px;
  padding: 0;
}

.linkedin-icon img {
  width: 18px;
  height: 18px;
}

.sidebar .name {
  width: auto;
  max-width: 100%;
  margin: 0;
  font-size: clamp(1.46rem, 1.65vw, 1.82rem);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
  text-align: center;
  justify-self: center;
}

.sidebar .location {
  margin-top: 0.35rem;
  width: auto;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
}

.identity-block {
  display: grid;
  justify-items: center;
  width: 100%;
  gap: 0.1rem;
  text-align: center;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  width: 100%;
  margin-top: 0;
}

.btn,
.toggle-details,
#loadMoreBtn,
#seeLessBtn,
#loadMoreBtnExperience,
#seeLessBtnExperience,
#toggleSkillsMobile,
#loadMoreBtnCertifications,
#seeLessBtnCertifications,
.contact-form button,
#toggle-phone {
  border: 0;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.82rem 0.85rem;
  border-radius: 18px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.94rem;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(12, 22, 37, 0.72);
  transition: none;
}

.btn.green {
  color: #04120f;
  border-color: rgba(99, 242, 195, 0.28);
  background:
    linear-gradient(135deg, rgba(99, 242, 195, 0.96), rgba(115, 167, 255, 0.78));
}

.btn img {
  width: 18px;
  height: 18px;
}

.intro {
  padding: clamp(22px, 2.8vw, 30px);
  min-height: 0;
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 18%, rgba(115, 167, 255, 0.16), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(99, 242, 195, 0.14), transparent 26%),
    linear-gradient(140deg, rgba(16, 28, 46, 0.95), rgba(7, 13, 22, 0.96) 58%, rgba(8, 14, 24, 0.98));
}

.intro::after {
  content: "";
  position: absolute;
  inset: auto auto 16px 18px;
  width: 180px;
  height: 180px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0.26;
  transform: rotate(10deg);
}

.intro-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
}

.intro-copy {
  position: relative;
  z-index: 2;
}

.intro-mobile-profile {
  display: none;
}

.intro-mobile-actions {
  display: none;
}

.intro-heading-copy {
  display: contents;
}

.intro-mobile-side {
  display: contents;
}

.say-hello {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.96rem;
  letter-spacing: 0.02em;
}

.wave {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: waveAnimation 3.6s ease-in-out infinite;
}

.intro-title {
  max-width: none;
  margin-bottom: 0.75rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.intro-title .highlight {
  color: var(--text);
  text-shadow: none;
}

.intro-role-line {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 40px;
  margin-bottom: 1.2rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 242, 195, 0.18);
  background:
    linear-gradient(135deg, rgba(99, 242, 195, 0.14), rgba(115, 167, 255, 0.08)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.role-bullet {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent), var(--accent-alt));
  box-shadow: none;
}

#typewriter {
  position: relative;
  display: block;
  min-height: 1.2em;
  color: var(--accent);
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.94rem, 1.12vw, 1.02rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: none;
  white-space: nowrap;
  transition: opacity 0.12s linear;
}

#typewriter::after {
  content: "";
  width: 0.13em;
  height: 0.9em;
  margin-left: 0.16em;
  border-radius: 999px;
  background: rgba(239, 245, 255, 0.76);
  animation: none;
}

.intro-description {
  max-width: 64ch;
  margin-bottom: 1.6rem;
  color: var(--muted-strong);
  font-size: clamp(0.98rem, 1.2vw, 1.05rem);
  line-height: 1.55;
}

.stats-clean {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat-block {
  position: relative;
  min-height: 118px;
  padding: 1rem 1.1rem 1rem 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(12, 22, 37, 0.56);
  overflow: hidden;
}

.stat-block::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-alt));
}

.stat-block::after {
  display: none;
}

.stat-block h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.3rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.counter {
  font-variant-numeric: tabular-nums;
}

.stat-block p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.94rem;
}

.intro-visual {
  position: relative;
  min-height: 320px;
  contain: layout;
  isolation: isolate;
  overflow: visible;
}

.visual-core {
  position: absolute;
  inset: 22% 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.24), transparent 24%),
    radial-gradient(circle, rgba(115, 167, 255, 0.26), rgba(99, 242, 195, 0.18), rgba(8, 14, 24, 0.16) 68%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 56px rgba(17, 231, 164, 0.08);
  animation: none;
}

.visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  will-change: transform;
}

.ring-one {
  inset: 10% 8%;
  animation: visualRingSpin 42s linear infinite;
}

.ring-two {
  inset: 20% 18%;
  border-style: dashed;
  animation: visualRingSpinReverse 52s linear infinite;
}

.signal-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(70px, 8vw, 96px);
  aspect-ratio: 1;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(11, 20, 33, 0.74);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: signalDrift var(--drift-duration, 10s) ease-in-out infinite;
}

.signal-card img {
  width: clamp(34px, 4vw, 48px);
  height: clamp(34px, 4vw, 48px);
  object-fit: contain;
}

.signal-shopify {
  top: 8%;
  left: 12%;
  --drift-duration: 18s;
  --drift-x: -6px;
  --drift-y: -4px;
}

.signal-klaviyo {
  top: 16%;
  right: 8%;
  --drift-duration: 20s;
  --drift-x: 6px;
  --drift-y: -4px;
  animation-delay: -1.3s;
}

.signal-looker {
  bottom: 18%;
  left: 6%;
  --drift-duration: 22s;
  --drift-x: -7px;
  --drift-y: 5px;
  animation-delay: -2.4s;
}

.signal-figma {
  bottom: 8%;
  right: 16%;
  --drift-duration: 19s;
  --drift-x: 5px;
  --drift-y: 6px;
  animation-delay: -0.8s;
}

.signal-ga4 {
  top: 50%;
  right: 30%;
  --drift-duration: 17s;
  --drift-x: 4px;
  --drift-y: -6px;
  animation-delay: -3.4s;
}

.experience,
.projects,
.education,
.stakes,
.contact {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.projects-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
  flex-wrap: wrap;
}

.projects-topbar h2 {
  margin-bottom: 0;
}

.stakes-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
  flex-wrap: wrap;
}

.stakes-topbar h2 {
  margin-bottom: 0;
}

.projects-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(12, 21, 35, 0.84);
}

.projects-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-strong);
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: none;
}

.projects-switch-btn.is-active {
  color: #04120f;
  background: linear-gradient(135deg, rgba(99, 242, 195, 0.96), rgba(115, 167, 255, 0.78));
}

.certifications {
  overflow: visible;
}

.certifications-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.certifications-head h2 {
  margin-bottom: 0.55rem;
}

.certifications-head p {
  max-width: 56ch;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.certifications-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 242, 195, 0.18);
  background: rgba(99, 242, 195, 0.08);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.certifications-filter-toggle {
  display: none;
}

.certifications-filter-popover {
  display: block;
}

.certifications-filter-header {
  display: none;
}

.certifications-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
}

.certifications-switch .projects-switch-btn {
  flex: 0 0 auto;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.certification-card {
  --certification-accent: #c7a6ff;
  --certification-accent-soft: rgba(199, 166, 255, 0.16);
  --certification-badge-bg: rgba(199, 166, 255, 0.1);
  --certification-glow: rgba(199, 166, 255, 0.14);
  position: relative;
  min-width: 0;
  min-height: 184px;
  padding: 0.95rem 0.95rem 1rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, var(--certification-glow), transparent 32%),
    linear-gradient(180deg, rgba(16, 29, 48, 0.9), rgba(9, 17, 28, 0.95)),
    rgba(10, 18, 30, 0.92);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.72rem;
  align-content: start;
  overflow: hidden;
}

.certification-card[data-category="ai"] {
  --certification-accent: #c7a6ff;
  --certification-accent-soft: rgba(199, 166, 255, 0.16);
  --certification-badge-bg: rgba(199, 166, 255, 0.1);
  --certification-glow: rgba(199, 166, 255, 0.14);
}

.certification-card[data-category="crm"] {
  --certification-accent: #63f2c3;
  --certification-accent-soft: rgba(99, 242, 195, 0.14);
  --certification-badge-bg: rgba(99, 242, 195, 0.08);
  --certification-glow: rgba(99, 242, 195, 0.14);
}

.certification-card[data-category="project"] {
  --certification-accent: #8ea1ff;
  --certification-accent-soft: rgba(142, 161, 255, 0.16);
  --certification-badge-bg: rgba(142, 161, 255, 0.1);
  --certification-glow: rgba(142, 161, 255, 0.14);
}

.certification-card[data-category="data"] {
  --certification-accent: #73a7ff;
  --certification-accent-soft: rgba(115, 167, 255, 0.14);
  --certification-badge-bg: rgba(115, 167, 255, 0.1);
  --certification-glow: rgba(115, 167, 255, 0.12);
}

.certification-card[data-category="marketing"] {
  --certification-accent: #ffb566;
  --certification-accent-soft: rgba(255, 181, 102, 0.14);
  --certification-badge-bg: rgba(255, 181, 102, 0.12);
  --certification-glow: rgba(255, 181, 102, 0.12);
}

.certification-card[data-category="design"] {
  --certification-accent: #ff7dd6;
  --certification-accent-soft: rgba(255, 125, 214, 0.14);
  --certification-badge-bg: rgba(255, 125, 214, 0.1);
  --certification-glow: rgba(255, 125, 214, 0.12);
}

.certification-card[data-category="web"] {
  --certification-accent: #79e8ff;
  --certification-accent-soft: rgba(121, 232, 255, 0.14);
  --certification-badge-bg: rgba(121, 232, 255, 0.1);
  --certification-glow: rgba(121, 232, 255, 0.12);
}

.certification-card[data-category="ecommerce"] {
  --certification-accent: #5fd0a0;
  --certification-accent-soft: rgba(95, 208, 160, 0.14);
  --certification-badge-bg: rgba(95, 208, 160, 0.1);
  --certification-glow: rgba(95, 208, 160, 0.12);
}

.certification-card[data-category="fashion"] {
  --certification-accent: #b7a1ff;
  --certification-accent-soft: rgba(183, 161, 255, 0.14);
  --certification-badge-bg: rgba(183, 161, 255, 0.1);
  --certification-glow: rgba(183, 161, 255, 0.12);
}

.certification-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--certification-accent), transparent 92%);
  opacity: 0.95;
}

.certification-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.certification-issuer {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.72rem;
}

.certification-issuer-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(10, 18, 30, 0.92);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.certification-issuer-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Logos sombres : on les inverse pour qu'ils ressortent sur fond foncé */
.certification-issuer-logo img[alt="Gorgias"] {
  filter: invert(1) brightness(1.2);
}

.certification-issuer-copy {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.certification-issuer-name {
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.certification-badge,
.certification-date,
.certification-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

.certification-badge {
  width: fit-content;
  border-color: var(--certification-accent-soft);
  background: var(--certification-badge-bg);
  color: var(--certification-accent);
  font-weight: 700;
}

.certification-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.certification-date {
  color: var(--muted-strong);
  white-space: nowrap;
}

.certification-card-body {
  display: grid;
  gap: 0.38rem;
}

.certification-card h3 {
  font-size: clamp(0.98rem, 1.18vw, 1.16rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.certification-meta {
  color: var(--muted-strong);
  font-size: 0.88rem;
  line-height: 1.35;
}

.certification-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.certification-tags span {
  color: var(--muted-strong);
}

.certifications-actions {
  margin-top: 1.1rem;
}

.site-footer {
  position: relative;
  display: grid;
  gap: 1.4rem;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(15, 25, 40, 0.78), rgba(8, 14, 24, 0.86)),
    rgba(8, 14, 24, 0.72);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  opacity: 0.4;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 1.1rem;
}

.footer-kicker {
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer h2 {
  display: block;
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(1.85rem, 4.5vw, 4.2rem);
  line-height: 1.02;
  white-space: nowrap;
}

#footer-role {
  display: inline-block;
  color: var(--accent);
  transition: opacity 0.16s linear;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.6rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  border-color: rgba(99, 242, 195, 0.34);
  background: rgba(99, 242, 195, 0.12);
  color: var(--accent);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.projects-panel {
  display: grid;
  gap: 1rem;
}

.projects-panel[hidden] {
  display: none !important;
}

.experience-item,
.education-item,
.project-card,
.stake-card,
.info-box,
.contact-form {
  box-shadow: var(--shadow-card);
}

.experience-item {
  position: relative;
  margin-bottom: 1.2rem;
  padding: 1.45rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(12, 21, 35, 0.74);
  overflow: hidden;
  transition: none;
}

.experience-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-alt), transparent);
  opacity: 0.82;
}

.experience-item::after,
.education-item::after {
  content: attr(data-date);
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.experience-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding-right: 120px;
}

.left-column {
  flex-shrink: 0;
}

.logo {
  width: 66px;
  height: 66px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(10, 18, 30, 0.84);
  object-fit: contain;
}

.experience-text h3,
.education-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.experience-text .company,
.education-text .school {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.experience-item hr,
.education-item hr {
  border: 0;
  height: 1px;
  margin: 1rem 0 0.9rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 90%);
}

.experience-description h4 {
  margin-bottom: 0.55rem;
  padding-top: 0.2rem;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.experience-description ul {
  margin: 0 0 0.6rem 1.2rem;
}

.experience-description li {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.more-sections {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transition:
    max-height 0.45s ease,
    opacity 0.24s ease,
    margin-top 0.24s ease,
    visibility 0s linear 0.24s;
}

.experience-item.is-expanded .more-sections {
  max-height: 1200px;
  margin-top: 0.6rem;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.experience {
  counter-reset: experience-card;
  overflow: visible;
}

.experience::after {
  display: none;
}

.experience .experience-item {
  --experience-accent: rgba(99, 242, 195, 0.88);
  --experience-accent-soft: rgba(99, 242, 195, 0.12);
  --experience-card-glow: rgba(115, 167, 255, 0.1);
  counter-increment: experience-card;
  display: grid;
  grid-template-columns: minmax(220px, 258px) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-items: start;
  gap: 1rem 1.05rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, var(--experience-accent-soft), transparent 38%),
    radial-gradient(circle at 92% 10%, var(--experience-card-glow), transparent 26%),
    linear-gradient(180deg, rgba(14, 25, 40, 0.86), rgba(9, 16, 27, 0.92)),
    rgba(10, 18, 30, 0.88);
  overflow: visible;
}

.experience .experience-item:nth-of-type(2n) {
  --experience-accent: rgba(255, 181, 102, 0.9);
  --experience-accent-soft: rgba(255, 125, 214, 0.1);
  --experience-card-glow: rgba(255, 181, 102, 0.1);
}

.experience .experience-item:nth-of-type(3n) {
  --experience-accent: rgba(115, 167, 255, 0.9);
  --experience-accent-soft: rgba(115, 167, 255, 0.12);
  --experience-card-glow: rgba(99, 242, 195, 0.08);
}

.experience .experience-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 38%);
  pointer-events: none;
}

.experience .experience-item::after {
  display: none;
}

.experience .experience-meta {
  grid-column: 1;
  grid-row: 1 / span 3;
  position: sticky;
  top: 24px;
  display: grid;
  gap: 0.9rem;
  align-content: start;
  align-self: start;
  height: max-content;
  z-index: 2;
}

.experience .experience-header {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.95rem;
  min-height: 232px;
  margin: 0;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 54%),
    linear-gradient(180deg, rgba(17, 29, 47, 0.92), rgba(10, 19, 31, 0.94)),
    rgba(10, 18, 30, 0.92);
  overflow: hidden;
}

.experience .experience-header::before {
  display: none;
}

.experience .experience-header::after {
  display: none;
}

.experience .left-column,
.experience .right-column,
.experience .experience-text {
  position: relative;
  z-index: 1;
  width: 100%;
}

.experience .left-column {
  display: flex;
  justify-content: center;
}

.experience .right-column,
.experience .experience-text {
  display: grid;
  justify-items: center;
  text-align: center;
}

.experience .logo {
  width: 82px;
  height: 82px;
  padding: 12px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(10, 18, 30, 0.9);
  margin: 0 auto;
}

.experience .experience-text h3 {
  max-width: 10ch;
  font-size: clamp(1.16rem, 1.3vw, 1.34rem);
  line-height: 1.08;
  margin-bottom: 0.95rem;
  text-align: center;
}

.experience .experience-text .company {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.88rem;
}

.experience-company-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.experience .experience-item hr {
  display: none;
}

.experience .date-badge-mobile {
  display: inline-flex;
  justify-self: center;
  margin: 0;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(11, 20, 33, 0.92);
  color: var(--muted-strong);
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.experience .experience-item > .experience-description,
.experience .experience-item > .load-more-wrapper-pro,
.experience .experience-item > .more-sections {
  grid-column: 2;
}

.experience .experience-item > .experience-description {
  position: relative;
  grid-row: 1;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(12, 21, 35, 0.84);
}

.experience .experience-item > .experience-description::before {
  display: none;
}

.experience .experience-description h4 {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.78rem;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.experience .experience-description ul {
  margin: 0;
  padding-left: 1.15rem;
}

.experience .experience-description li {
  margin-bottom: 0.48rem;
  color: var(--muted-strong);
}

.experience .experience-description li:last-child {
  margin-bottom: 0;
}

.experience .experience-item > .load-more-wrapper-pro {
  grid-row: 2;
  margin-top: 0;
  justify-content: flex-start;
}

.experience .experience-item > .more-sections {
  grid-row: 3;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  display: none;
  max-height: none;
  opacity: 1;
  overflow: visible;
  visibility: visible;
  pointer-events: auto;
  transition: none;
}

.experience .more-sections .experience-description {
  grid-column: span 6;
  min-width: 0;
  grid-row: auto;
  position: relative;
  height: 100%;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(12, 21, 35, 0.84);
}

.experience .more-sections .experience-description::before {
  display: none;
}

.experience .more-sections .experience-description:first-child:nth-last-child(2) {
  grid-column: 1 / -1;
}

.experience .more-sections .experience-description:nth-child(3):nth-last-child(2) {
  grid-column: 1 / -1;
}

.experience .more-sections .load-more-wrapper-pro {
  grid-column: 1 / -1;
  justify-content: flex-start;
  margin-top: 0;
}

.experience .experience-item.is-expanded > .load-more-wrapper-pro {
  display: none;
}

.experience .experience-item.is-expanded > .more-sections {
  grid-row: auto;
  display: grid;
}

.experience .toggle-details {
  min-height: 44px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
}

.experience .toggle-show::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.9;
}

.experience .toggle-hide::after {
  content: "−";
  font-size: 1rem;
  line-height: 1;
  opacity: 0.82;
}

.toggle-details,
#loadMoreBtn,
#seeLessBtn,
#loadMoreBtnExperience,
#seeLessBtnExperience,
#toggleSkillsMobile,
#loadMoreBtnCertifications,
#seeLessBtnCertifications {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.8rem 1.15rem;
  border-radius: 16px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(12, 21, 35, 0.8);
  appearance: none;
  -webkit-appearance: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: none;
}

.toggle-details:focus,
.toggle-details:focus-visible,
.toggle-details:active {
  outline: none;
  box-shadow: none;
  color: var(--text);
  text-shadow: none;
  transform: none;
}

.load-more-wrapper-pro,
.load-more-wrapper,
.load-more-wrapper-experience,
.load-more-wrapper-skills {
  display: flex;
  justify-content: flex-start;
  gap: 0.9rem;
}

.load-more-wrapper,
.load-more-wrapper-experience,
.load-more-wrapper-skills {
  justify-content: center;
  margin-top: 1.2rem;
}

.load-more-wrapper-skills[hidden] {
  display: none;
}

.project-card {
  position: relative;
  aspect-ratio: 1.34 / 1;
  min-height: 400px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: rgba(12, 21, 35, 0.8);
  transform: translateZ(0);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform;
  transition: none;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 11, 18, 0.02) 0%, rgba(6, 11, 18, 0.22) 42%, rgba(6, 11, 18, 0.94) 100%);
  z-index: 1;
}

.project-card::after {
  display: none;
}

.projects .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.project-card .project-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform: scale(1.001);
  transform-origin: center;
  backface-visibility: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .project-card {
    transition:
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.32s ease,
      box-shadow 0.32s ease;
  }

  .project-card .project-img {
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .project-card:hover {
    transform: translateY(-2px) scale(1.008);
    border-color: rgba(99, 242, 195, 0.2);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
  }

  .project-card:hover .project-img {
    transform: scale(1.025);
  }
}

.project-info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem;
}

.project-info > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 74px);
}

.project-info h3 {
  margin-bottom: 0.25rem;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.project-info p {
  max-width: none;
  color: rgba(239, 245, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.35;
  text-wrap: balance;
}

.arrow-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(12, 21, 35, 0.84);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.arrow-icon img {
  width: 22px;
  height: 22px;
  transform: rotate(-45deg);
}

.education {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.education h2 {
  grid-column: 1 / -1;
  margin-bottom: 0.2rem;
}

.education-item {
  position: relative;
  padding: 1.4rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(12, 21, 35, 0.7);
  overflow: hidden;
}

.education .education-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.38rem 0.95rem;
}

.education .education-text h3 {
  grid-column: 1;
  font-size: 1.02rem;
  line-height: 1.2;
}

.education .education-text .school {
  grid-column: 1;
  margin-top: 0;
}

.education-item p {
  color: var(--muted);
  font-size: 0.96rem;
}

.education-item::after {
  display: none;
  content: none;
}

.date-badge,
.date-badge-mobile {
  display: none;
}

.education .date-badge {
  display: inline-flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  margin: 0;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.82rem;
  white-space: nowrap;
}

.experience .date-badge-mobile {
  display: inline-flex;
}

.stakes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.skills-mobile-actions {
  display: none;
}

.skills-mobile-actions[hidden] {
  display: none !important;
}

.stake-card {
  position: relative;
  min-height: 108px;
  min-width: 0;
  padding: 0.84rem 0.9rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(11, 20, 33, 0.78);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  overflow: hidden;
  transition: none;
}

.stake-icon {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(10, 18, 30, 0.9);
  display: grid;
  place-items: center;
}

.stake-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.stake-info {
  min-width: 0;
}

.stake-info h3 {
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.stake-info p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact {
  padding-bottom: clamp(24px, 4vw, 34px);
}

.contact h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 1.6rem;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.contact-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 1.3rem;
}

.contact-info {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.info-box {
  min-height: 92px;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(12, 21, 35, 0.78);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: none;
}

.info-box img {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(10, 18, 30, 0.9);
}

.info-box span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.info-box p,
.info-box a {
  color: var(--text);
  font-weight: 600;
}

.info-box.phone {
  justify-content: space-between;
}

.info-box.phone > div {
  flex: 1;
}

#toggle-phone {
  width: 46px;
  height: 46px;
  padding: 0;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(10, 18, 30, 0.9);
  display: grid;
  place-items: center;
  transition: none;
}

#toggle-phone img {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
}

#phone-number.clickable {
  cursor: pointer;
}

.contact-form {
  position: relative;
  padding: 1.2rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(11, 20, 33, 0.82);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: -10% auto auto -10%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115, 167, 255, 0.16), transparent 68%);
  opacity: 0.6;
  pointer-events: none;
}

.contact-form input,
.contact-form textarea {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(9, 17, 28, 0.88);
  color: var(--text);
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(152, 168, 198, 0.84);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(99, 242, 195, 0.36);
  box-shadow: 0 0 0 4px rgba(99, 242, 195, 0.08);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form button {
  position: relative;
  z-index: 1;
  min-height: 56px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(99, 242, 195, 0.98), rgba(115, 167, 255, 0.82));
  color: #04120f;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: none;
}

#form-status {
  position: relative;
  z-index: 1;
  min-height: 1.4rem;
  color: var(--accent);
  font-size: 0.95rem;
}

#form-status.error {
  color: #ff7d97;
}

.hidden,
.experience-item.invisible {
  display: none !important;
}

.fade-in-on-load {
  opacity: 1;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  border: 2px solid #22e57f;
  border-radius: 50%;
  background: transparent;
  transform: translate3d(-50%, -50%, 0);
  transition:
    width 0.18s ease,
    height 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    opacity 0.16s ease;
}

.custom-cursor.is-active {
  opacity: 1;
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  background: rgba(34, 229, 127, 0.16);
}

.custom-cursor.low-contrast {
  border-color: rgba(8, 14, 24, 0.82);
  background: rgba(8, 14, 24, 0.08);
}

.custom-cursor.hover.low-contrast {
  background: rgba(8, 14, 24, 0.16);
}

body.has-fancy-cursor,
body.has-fancy-cursor a,
body.has-fancy-cursor button,
body.has-fancy-cursor input,
body.has-fancy-cursor textarea,
body.has-fancy-cursor select {
  cursor: none;
}

@keyframes waveAnimation {
  0%,
  100% {
    transform: rotate(0deg);
  }
  12% {
    transform: rotate(16deg);
  }
  22% {
    transform: rotate(-10deg);
  }
  34% {
    transform: rotate(12deg);
  }
  46% {
    transform: rotate(-4deg);
  }
  58% {
    transform: rotate(8deg);
  }
}



@keyframes visualRingSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes visualRingSpinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes signalDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(var(--drift-x, 8px), var(--drift-y, -8px), 0);
  }
}








@keyframes sectionEmojiFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-1px) rotate(-4deg);
  }
  50% {
    transform: translateY(-3px) rotate(3deg);
  }
  75% {
    transform: translateY(-1px) rotate(-2deg);
  }
}

@media (max-width: 1280px) {
  .intro-layout {
    grid-template-columns: 1fr;
  }

  .intro-visual {
    width: min(100%, 460px);
    margin-left: auto;
    min-height: 240px;
  }

  .experience::after {
    left: 92px;
  }

  .experience .experience-item {
    grid-template-columns: minmax(210px, 236px) minmax(0, 1fr);
  }
}

@media (max-width: 1080px) {
  .container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    top: 0;
  }

  .sidebar-inner {
    position: relative;
    top: 0;
  }

  .projects-topbar {
    align-items: flex-start;
  }

  .stakes-topbar {
    align-items: flex-start;
  }

  .certifications-topbar {
    align-items: flex-start;
  }

  .projects-switch {
    width: 100%;
  }

  .stakes-switch {
    width: 100%;
  }

  .certifications-switch {
    width: 100%;
  }

  .projects-switch-btn {
    flex: 1;
  }

  .personal-projects-grid,
  .projects .grid,
  .education,
  .contact-container {
    grid-template-columns: 1fr;
  }

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

  .experience-header {
    padding-right: 0;
  }

  .experience::after {
    display: none;
  }

  .experience .experience-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.85rem;
    padding: 1rem;
  }

  .experience .experience-meta,
  .experience .experience-description,
  .experience .load-more-wrapper-pro,
  .experience .more-sections {
    grid-column: 1;
    grid-row: auto;
  }

  .experience .experience-item > .experience-description,
  .experience .experience-item > .load-more-wrapper-pro,
  .experience .experience-item > .more-sections {
    grid-column: 1;
    grid-row: auto;
  }

  .experience .experience-meta {
    position: static;
    top: auto;
  }

  .experience .experience-header {
    min-height: auto;
    grid-template-columns: 50px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    padding: 0.7rem;
    gap: 0.65rem;
  }

  .experience .logo {
    width: 50px;
    height: 50px;
    padding: 8px;
    border-radius: 16px;
  }

  .experience .left-column {
    justify-content: flex-start;
  }

  .experience .right-column,
  .experience .experience-text {
    justify-items: start;
    text-align: left;
  }

  .experience .experience-text h3 {
    max-width: none;
    margin-bottom: 0.52rem;
    color: var(--text);
    font-size: 1.16rem;
    line-height: 1.04;
  }

  .experience .experience-text .company {
    padding: 0.3rem 0.52rem;
    font-size: 0.7rem;
  }

  .experience-company-row {
    justify-content: flex-start;
  }

  .experience .experience-item {
    gap: 0.65rem;
    padding: 0.75rem;
    border-radius: 24px;
  }

  .experience .date-badge-mobile {
    justify-self: start;
    margin: 0;
    padding: 0.3rem 0.58rem;
    font-size: 0.68rem;
  }

  .experience .experience-item > .experience-description,
  .experience .more-sections .experience-description {
    padding: 0.75rem;
    border-radius: 18px;
  }

  .experience .experience-description h4 {
    margin-bottom: 0.5rem;
    padding: 0.26rem 0.48rem;
    font-size: 0.66rem;
    line-height: 1.15;
  }

  .experience .experience-description ul {
    padding-left: 1rem;
  }

  .experience .experience-description li {
    margin-bottom: 0.28rem;
    font-size: 0.78rem;
    line-height: 1.34;
  }

  .experience .toggle-details {
    min-height: 40px;
    padding: 0.58rem 0.75rem;
    font-size: 0.82rem;
  }

  .experience .more-sections {
    grid-template-columns: 1fr;
  }

  .experience .more-sections .experience-description {
    grid-column: 1 / -1;
  }

  .experience-item::after,
  .education-item::after {
    display: none;
  }

  .date-badge-mobile,
  .date-badge {
    display: inline-flex;
    margin-bottom: 0.8rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted-strong);
    font-size: 0.82rem;
  }
}

@media (max-width: 980px) {
  .certifications-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stakes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .project-card,
  .project-card .project-img {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  :root {
    --content-width: calc(100vw - 12px);
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: var(--content-width);
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    padding: 10px 0 24px;
    gap: 16px;
  }

  .content,
  .intro,
  .intro-layout,
  .intro-copy,
  .intro-description,
  .stats-clean,
  .stat-block,
  .site-footer {
    min-width: 0;
    max-width: 100%;
  }

  section,
  .sidebar-inner {
    border-radius: 28px;
  }

  section:not(.intro),
  .intro,
  .sidebar-inner {
    padding: 20px;
  }

  .sidebar {
    display: none;
  }

  .sidebar-inner {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    padding: 14px;
  }

  .profile-frame {
    width: 112px;
    margin-bottom: 0;
    padding: 7px;
    border-radius: 22px;
  }

  .profile-frame::before {
    inset: 7px;
    border-radius: 18px;
  }

  .profile-halo {
    display: none;
  }

  .profile-pic {
    border-radius: 16px;
  }

  .sidebar-content {
    justify-items: stretch;
    text-align: left;
    gap: 0.55rem;
  }

  .status-container {
    justify-content: flex-start;
    gap: 0.45rem;
  }

  .status-box,
  .linkedin-icon {
    min-height: 34px;
    padding: 0.42rem 0.58rem;
  }

  .status-text {
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .linkedin-icon {
    width: 34px;
  }

  .linkedin-icon img {
    width: 15px;
    height: 15px;
  }

  .identity-block,
  .sidebar .name,
  .sidebar .location {
    justify-items: start;
    text-align: left;
  }

  .sidebar .name {
    font-size: 1.12rem;
  }

  .sidebar .location {
    margin-inline: 0;
    font-size: 0.8rem;
  }

  .status-container,
  .actions {
    flex-wrap: wrap;
  }

  .actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .btn {
    min-height: 38px;
    padding: 0.45rem 0.5rem;
    border-radius: 14px;
    font-size: 0.72rem;
  }

  .btn img {
    width: 15px;
    height: 15px;
  }

  .intro-copy {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: center;
    column-gap: 0.85rem;
    row-gap: 0.85rem;
  }

  .intro-mobile-profile {
    position: relative;
    display: block;
    grid-column: 1;
    grid-row: 1;
    width: 80px;
    height: 80px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border-radius: 18px;
    background: transparent;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
    overflow: hidden;
  }

  .intro-mobile-profile img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .intro-heading-copy {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    align-content: center;
    min-width: 0;
  }

  .intro-mobile-side {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    align-self: start;
    gap: 0.45rem;
    min-width: 0;
  }

  .intro-mobile-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem;
    margin: 0;
  }

  .intro-mobile-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.36rem 0.22rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted-strong);
    font-size: 0.68rem;
    font-weight: 700;
  }

  .intro-mobile-actions a:nth-child(2) {
    color: #04120f;
    border-color: rgba(99, 242, 195, 0.28);
    background: linear-gradient(135deg, rgba(99, 242, 195, 0.96), rgba(115, 167, 255, 0.78));
  }

  .say-hello {
    width: fit-content;
    margin-bottom: 0.62rem;
    padding: 0.56rem 0.66rem;
    font-size: 0.72rem;
  }

  .intro-title {
    max-width: 100%;
    font-size: clamp(1.28rem, 5.9vw, 1.82rem);
    line-height: 1.06;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .intro-role-line {
    width: 100%;
    max-width: 100%;
    min-height: 42px;
    margin: 0;
    justify-content: center;
    overflow: hidden;
  }

  #typewriter {
    max-width: 100%;
    font-size: clamp(0.8rem, 3.7vw, 1.05rem);
    white-space: normal;
    text-align: center;
    overflow-wrap: break-word;
  }

  .intro-description {
    grid-column: 1 / -1;
    margin-top: 1.45rem;
    font-size: 0.95rem;
    overflow-wrap: break-word;
  }

  .stats-clean {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .stat-block {
    min-height: 112px;
    padding: 0.9rem;
    border-radius: 20px;
  }

  .stat-block h3 {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }

  .stat-block p {
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .intro-visual {
    display: none;
  }

  .projects .grid,
  .personal-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .stakes-topbar {
    align-items: center;
    flex-wrap: nowrap;
  }

  .stakes-topbar h2 {
    min-width: 0;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .stakes-switch {
    width: auto;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .stakes-switch .projects-switch-btn {
    min-height: 40px;
    padding: 0.55rem 0.8rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .stakes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .stake-card {
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: 104px;
    padding: 0.62rem 0.38rem;
    gap: 0.38rem;
    text-align: center;
    border-radius: 18px;
  }

  .stake-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .stake-icon img {
    width: 22px;
    height: 22px;
  }

  .stake-info h3 {
    font-size: 0.72rem;
    line-height: 1.1;
  }

  .stake-info p {
    font-size: 0.68rem;
    line-height: 1.1;
  }

  .skill-mobile-hidden {
    display: none !important;
  }

  .skills-mobile-actions {
    display: flex;
    margin-top: 0.85rem;
  }

  .certifications-metrics {
    grid-template-columns: 1fr;
  }

  .certifications-topbar {
    align-items: center;
    margin-bottom: 0.9rem;
    flex-wrap: nowrap;
  }

  .certifications-head h2 {
    margin-bottom: 0;
  }

  .certifications-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: auto;
    height: 44px;
    padding: 0 0.88rem;
    border-radius: 999px;
    border: 1px solid rgba(99, 242, 195, 0.22);
    background: rgba(99, 242, 195, 0.09);
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 700;
  }

  .certifications-filter-toggle svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
  }

  .certifications-filter-popover {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    align-items: end;
    padding: 1rem;
    background: rgba(5, 11, 18, 0.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .certifications-filter-popover.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .certifications-filter-panel {
    width: 100%;
    max-height: min(72vh, 520px);
    padding: 1rem;
    border-radius: 26px;
    border: 1px solid var(--border);
    background:
      linear-gradient(180deg, rgba(15, 25, 40, 0.98), rgba(8, 14, 24, 0.98)),
      rgba(8, 14, 24, 0.96);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
    overflow-y: auto;
  }

  .certifications-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
    color: var(--text);
    font-weight: 700;
  }

  .certifications-filter-header button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted-strong);
    font-size: 1.2rem;
  }

  .certifications-switch {
    width: 100%;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    background: transparent;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .certifications-switch .projects-switch-btn {
    min-height: 44px;
    width: 100%;
    padding: 0.62rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
  }

  .certifications-switch .projects-switch-btn.is-active {
    border-color: rgba(99, 242, 195, 0.36);
    background-color: var(--accent);
    background-image: linear-gradient(135deg, rgba(99, 242, 195, 0.96), rgba(115, 167, 255, 0.78));
    color: #04120f;
  }

  .certification-card-head {
    align-items: flex-start;
  }

  .certification-date {
    min-height: 30px;
  }

  .personal-project-media {
    height: 170px;
  }

  .project-card,
  .project-card .project-img {
    width: 100%;
    max-width: 100%;
  }

  .project-card {
    height: clamp(178px, 45vw, 230px);
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 20px;
  }

  .project-card .project-img {
    height: 100%;
    min-height: 0;
  }

  .project-info {
    gap: 0.4rem;
    padding: 0.65rem;
  }

  .project-info > div:first-child {
    max-width: calc(100% - 34px);
  }

  .project-info h3 {
    margin-bottom: 0.1rem;
    font-size: 0.98rem;
    line-height: 1.05;
  }

  .project-info p {
    display: -webkit-box;
    font-size: 0.62rem;
    line-height: 1.18;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .arrow-icon {
    width: 30px;
    height: 30px;
  }

  .arrow-icon img {
    width: 13px;
    height: 13px;
  }

  .toggle-details,
  #loadMoreBtn,
  #seeLessBtn,
  #loadMoreBtnExperience,
  #seeLessBtnExperience,
  #toggleSkillsMobile,
  #loadMoreBtnCertifications,
  #seeLessBtnCertifications {
    width: 100%;
    max-width: 100%;
  }

  .load-more-wrapper,
  .load-more-wrapper-experience {
    flex-direction: column;
    align-items: stretch;
  }
  #seeLessBtn,
  #seeLessBtnExperience,
  #seeLessBtnCertifications {
    margin-left: 0;
  }

  .site-footer {
    padding: 22px;
    border-radius: 28px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer h2 {
    max-width: 100%;
    font-size: 1.75rem;
    overflow-wrap: break-word;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .status-box {
    min-width: 0;
    flex: 1;
  }

  .intro-description,
  .experience-description li,
  .education-item p,
  .stake-info p,
  .project-info p {
    font-size: 0.92rem;
  }

  .project-info p {
    font-size: 0.58rem;
  }

  .certifications-topbar {
    gap: 0.45rem;
  }

  .certifications-head h2 {
    gap: 0.5rem;
    font-size: clamp(1.18rem, 6.7vw, 1.34rem);
  }

  .certifications-head .section-emoji {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .certifications-filter-toggle {
    height: 38px;
    padding: 0 0.58rem;
    gap: 0.32rem;
    font-size: 0.72rem;
  }

  .certifications-filter-toggle svg {
    width: 15px;
    height: 15px;
  }

  .signal-card {
    width: 58px;
    border-radius: 18px;
  }
  .certifications-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
  }

  .stakes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-clean {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-box.phone {
    align-items: flex-start;
  }

  .certification-card {
    padding: 0.75rem 0.85rem;
    border-radius: 20px;
    gap: 0.5rem;
    min-height: 0;
  }

  .certification-card-head {
    gap: 0.5rem;
  }

  .certification-issuer {
    gap: 0.55rem;
    align-items: center;
  }

  .certification-issuer-logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .certification-issuer-logo img {
    width: 22px;
    height: 22px;
  }

  .certification-issuer-name {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .certification-badge,
  .certification-date {
    min-height: 26px;
    padding: 0.26rem 0.6rem;
    font-size: 0.74rem;
  }

  .certification-card-body {
    gap: 0.32rem;
  }

  .certification-card h3 {
    font-size: 0.98rem;
    line-height: 1.22;
  }

  .certification-meta {
    display: none;
  }

  .certification-tags {
    gap: 0.4rem;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .footer-links a {
    min-height: 42px;
    padding: 0.5rem 0.25rem;
    font-size: 0.78rem;
  }

  .site-footer h2 {
    font-size: clamp(0.92rem, 4.3vw, 1.22rem);
    line-height: 1.1;
    white-space: nowrap;
  }

  #footer-role {
    display: inline;
  }

  .sidebar-inner {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .profile-frame {
    width: 96px;
  }

  .sidebar .name {
    font-size: 1rem;
  }

  .status-text {
    font-size: 0.68rem;
  }

  .btn {
    font-size: 0.68rem;
  }

  .footer-bottom {
    display: grid;
    gap: 0.35rem;
  }

  .ambient-background {
    display: none;
  }
}

@media (max-width: 760px) {
  .projects-topbar h2,
  .experience h2,
  .education h2,
  .certifications-head h2,
  .stakes-topbar h2,
  .contact h2 {
    font-size: clamp(1.32rem, 6vw, 1.65rem);
    line-height: 1.08;
  }

  .intro-description,
  .experience .experience-description li,
  .education-item p,
  .contact p,
  .info-box p {
    font-size: 0.88rem;
    line-height: 1.48;
  }

  .experience .experience-text h3,
  .education-text h3 {
    font-size: 1.08rem;
    line-height: 1.08;
  }

  .experience .experience-text .company,
  .experience .date-badge-mobile,
  .education-text .school,
  .education .date-badge {
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .experience .experience-description h4 {
    font-size: 0.68rem;
    line-height: 1.15;
  }

  .stat-block h3 {
    font-size: clamp(1.55rem, 7.2vw, 1.95rem);
  }

  .stat-block p,
  .stake-info p {
    font-size: 0.72rem;
    line-height: 1.18;
  }

  .stake-info h3 {
    font-size: 0.78rem;
    line-height: 1.1;
  }

  .project-info h3 {
    font-size: 0.92rem;
    line-height: 1.06;
  }

  .project-info p {
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .certification-issuer-name {
    font-size: 0.82rem;
    line-height: 1.15;
  }

  .certification-card h3 {
    font-size: 0.88rem;
    line-height: 1.18;
  }

  .certification-badge,
  .certification-date {
    font-size: 0.7rem;
    line-height: 1.15;
  }

  .footer-links a,
  .intro-mobile-actions a,
  #loadMoreBtn,
  #seeLessBtn,
  #loadMoreBtnExperience,
  #seeLessBtnExperience,
  #toggleSkillsMobile,
  #loadMoreBtnCertifications,
  #seeLessBtnCertifications {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .ambient-background,
  .intro-visual,
  .custom-cursor {
    display: none !important;
  }
}
