:root {
  --bg: #0d1026;
  --bg-strong: #090b1a;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --surface-soft: rgba(255, 255, 255, 0.03);
  --surface-dark: rgba(29, 19, 64, 0.72);
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.06);
  --text: #ffffff;
  --text-muted: #c8cbe0;
  --text-soft: #9094ad;
  --text-faint: #636782;
  --accent: #7d29f2;
  --accent-strong: #6c32a6;
  --accent-deep: #381659;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 0 30px rgba(125, 41, 242, 0.3);
  --blur: 24px;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-3xl: 2.2rem;
  --font-sans: "Space Grotesk", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
  --accent-rgb: 125, 41, 242;
  --accent-strong-rgb: 108, 50, 166;
  --accent-deep-rgb: 56, 22, 89;
  --hero-gradient-start: #f0abfc;
  --hero-gradient-mid: #7d29f2;
  --hero-gradient-end: #381659;
  --button-gradient-start: #381659;
  --button-gradient-end: #7d29f2;
  --project-overlay-start: rgba(56, 22, 89, 0.84);
  --project-overlay-mid: rgba(108, 50, 166, 0.64);
  --project-overlay-end: rgba(125, 41, 242, 0.82);
  --blob-one-bg: rgba(56, 22, 89, 0.8);
  --blob-two-bg: rgba(108, 50, 166, 0.8);
  --blob-three-bg: rgba(29, 19, 64, 0.94);
  --blob-four-bg: rgba(125, 41, 242, 0.62);
  --aurora-one-bg: linear-gradient(120deg, rgba(125, 41, 242, 0.26), rgba(108, 50, 166, 0.08), transparent 72%);
  --aurora-two-bg: linear-gradient(120deg, rgba(240, 171, 252, 0.18), rgba(34, 211, 238, 0.08), transparent 76%);
  --aurora-three-bg: linear-gradient(120deg, rgba(56, 22, 89, 0.32), rgba(125, 41, 242, 0.1), transparent 74%);
  --cursor-color: rgba(125, 41, 242, 0.24);
  --profile-ring-start: #7d29f2;
  --profile-ring-end: #381659;
  --section-glow: rgba(125, 41, 242, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.03), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent 16%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--text);
}

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

button {
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden],
.is-hidden {
  display: none !important;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.container {
  width: min(100% - 3rem, 84rem);
  margin-inline: auto;
}

.background-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.background-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, transparent 0%, transparent 35%, rgba(13, 16, 38, 0.12) 68%, rgba(13, 16, 38, 0.42) 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  mix-blend-mode: screen;
  animation: pulse 6s infinite alternate;
}

.blob--one {
  top: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: var(--blob-one-bg);
  opacity: 0.5;
}

.blob--two {
  top: 30%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--blob-two-bg);
  opacity: 0.4;
  animation-duration: 5s;
}

.blob--three {
  bottom: -10%;
  left: 20%;
  width: 70vw;
  height: 70vw;
  background: var(--blob-three-bg);
  opacity: 0.8;
  filter: blur(145px);
  animation-duration: 7s;
  animation-direction: alternate-reverse;
}

.blob--four {
  top: 60%;
  left: 60%;
  width: 30vw;
  height: 30vw;
  background: var(--blob-four-bg);
  opacity: 0.2;
  filter: blur(95px);
  animation-duration: 4s;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  mix-blend-mode: screen;
  opacity: 0.26;
  animation: drift 14s ease-in-out infinite;
}

.aurora--one {
  top: 8%;
  left: 12%;
  width: 36rem;
  height: 22rem;
  background: var(--aurora-one-bg);
}

.aurora--two {
  top: 38%;
  right: 4%;
  width: 30rem;
  height: 18rem;
  background: var(--aurora-two-bg);
  animation-duration: 18s;
  animation-delay: -4s;
}

.aurora--three {
  bottom: 10%;
  left: 28%;
  width: 40rem;
  height: 22rem;
  background: var(--aurora-three-bg);
  animation-duration: 16s;
  animation-delay: -7s;
}

body.is-at-rest .aurora {
  opacity: 0.38;
}

.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.25) 0 1px, transparent 1px),
    radial-gradient(circle at 75% 65%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px),
    radial-gradient(circle at 45% 80%, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px),
    radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px),
    radial-gradient(circle at 30% 55%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px);
  background-size: 180px 180px, 220px 220px, 210px 210px, 160px 160px, 240px 240px;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cursor-color) 0%, rgba(255, 255, 255, 0.06) 12%, transparent 66%);
  filter: blur(56px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
}

body.has-pointer-glow .cursor-glow {
  opacity: 0.8;
}

.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.45rem;
  border-radius: 0.72rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.theme-toggle:not(.is-hidden) {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 10px 24px rgba(var(--accent-rgb), 0.18);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.theme-toggle i {
  width: 1rem;
  height: 1rem;
}

.glass-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1.5rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand-button {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  color: var(--text);
  text-align: left;
  transform-origin: left center;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-underline {
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.5s ease;
}

.brand-button:hover,
.brand-button:focus-visible {
  color: var(--accent);
}

.brand-button:hover .brand-underline,
.brand-button:focus-visible .brand-underline {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 1rem;
  min-width: 0;
}

.nav-links,
.nav-back {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links button,
.nav-back {
  transition: color 0.3s ease;
}

.nav-links button:hover,
.nav-links button:focus-visible,
.nav-back:hover,
.nav-back:focus-visible {
  color: var(--text);
}

.nav-accent:hover,
.nav-accent:focus-visible {
  color: var(--accent);
}

.nav-back i {
  width: 1rem;
  height: 1rem;
}

.language-switcher {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  margin-left: 0.5rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.language-switcher button {
  padding: 0.45rem 0.8rem;
  border-radius: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-soft);
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.language-switcher button.is-active {
  color: var(--text);
  background: var(--accent);
  box-shadow: 0 0 15px rgba(125, 41, 242, 0.5);
}

.site-main {
  position: relative;
  z-index: 1;
  padding-top: 8.5rem;
  padding-bottom: 5rem;
}

.view-enter {
  animation: fade-slide-up 0.7s ease both;
}

.home-stack {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.hero-section {
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 68rem;
}

.hero-title {
  margin: 0 0 2rem;
  font-size: clamp(4rem, 12vw, 8.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  filter: drop-shadow(0 18px 55px rgba(0, 0, 0, 0.45));
}

.hero-title__line {
  display: block;
}

.hero-title__line--gradient {
  color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  max-width: 42rem;
  margin: 0 0 3rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  font-weight: 400;
  color: var(--text-muted);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.15rem 1.9rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.glass-button i {
  width: 1.1rem;
  height: 1.1rem;
}

.glass-button:hover,
.glass-button:focus-visible {
  transform: translateY(-2px) scale(1.02);
}

.glass-button--primary {
  background: rgba(125, 41, 242, 0.2);
  border-color: rgba(125, 41, 242, 0.5);
  box-shadow: var(--shadow-accent);
}

.glass-button--primary:hover,
.glass-button--primary:focus-visible {
  background: rgba(125, 41, 242, 0.38);
}

.glass-button--ghost {
  background: var(--surface);
}

.glass-button--ghost:hover,
.glass-button--ghost:focus-visible {
  background: var(--surface-strong);
}

.glass-button--cta {
  border-radius: 999px;
  background: rgba(29, 19, 64, 0.6);
  border-color: rgba(125, 41, 242, 0.4);
}

.glass-button--cta:hover,
.glass-button--cta:focus-visible {
  background: rgba(125, 41, 242, 0.28);
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(125, 41, 242, 0.4);
}

.content-section {
  scroll-margin-top: 8rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.6rem;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.section-heading__icon {
  width: 2.5rem;
  height: 2.5rem;
}

.section-heading__icon--primary {
  color: var(--accent);
}

.section-heading__icon--secondary {
  color: var(--accent-strong);
}

.section-heading__icon--deep {
  color: var(--accent-deep);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.project-card__image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.2;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.project-card__image i {
  width: 5rem;
  height: 5rem;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 22, 89, 0) 0%, rgba(108, 50, 166, 0) 50%, rgba(125, 41, 242, 0) 100%);
  transition: background 0.5s ease;
  z-index: 1;
}

.project-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 2rem;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.project-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.project-card__badge i {
  width: 1.5rem;
  height: 1.5rem;
  transform: rotate(135deg);
}

.project-card h3 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.15;
}

.project-card p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-card:hover .project-card__overlay,
.project-card:focus-within .project-card__overlay {
  background: linear-gradient(135deg, rgba(56, 22, 89, 0.8) 0%, rgba(108, 50, 166, 0.6) 50%, rgba(125, 41, 242, 0.8) 100%);
}

.project-card:hover .project-card__image,
.project-card:focus-within .project-card__image {
  transform: scale(1.1);
  opacity: 0.1;
}

.project-card:hover .project-card__content,
.project-card:focus-within .project-card__content {
  opacity: 1;
  transform: translateY(0);
}

.timeline {
  position: relative;
  max-width: 64rem;
  margin-inline: auto;
  padding: 0 0 0.5rem 2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
  position: relative;
  padding-left: 2.75rem;
}

.timeline-item + .timeline-item {
  margin-top: 2rem;
}

.timeline-marker {
  position: absolute;
  top: 1.25rem;
  left: -0.78rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--bg);
  border: 4px solid var(--accent);
  box-shadow: 0 0 15px rgba(125, 41, 242, 0.8);
  transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.2);
}

.timeline-card {
  padding: 2rem;
  border-radius: var(--radius-3xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.timeline-item:hover .timeline-card {
  background: var(--surface-strong);
  transform: translateY(-4px);
}

.timeline-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.timeline-card h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  font-weight: 700;
}

.timeline-card__company {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 500;
}

.timeline-card__tag,
.timeline-card__date {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
}

.timeline-card__date {
  background: rgba(29, 19, 64, 0.8);
}

.timeline-card__location {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.timeline-points {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  list-style: none;
}

.timeline-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-bullet {
  margin-top: 0.1rem;
  color: var(--accent);
  opacity: 0.75;
}

.skills-cloud {
  overflow: hidden;
  padding: 2.5rem;
}

.skills-cloud__glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(125, 41, 242, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.skills-cloud__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.skill-pill:hover {
  background: rgba(125, 41, 242, 0.2);
  border-color: rgba(125, 41, 242, 0.5);
  color: var(--text);
}

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

.link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 9.5rem;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: var(--radius-3xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.link-card i {
  width: 1.75rem;
  height: 1.75rem;
  color: #727689;
  transition: color 0.3s ease;
}

.link-card span {
  display: block;
  width: 100%;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  word-break: break-word;
  transition: color 0.3s ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-8px);
  background: rgba(56, 22, 89, 0.4);
  border-color: rgba(125, 41, 242, 0.4);
}

.link-card:hover i,
.link-card:focus-visible i {
  color: var(--accent);
}

.link-card:hover span,
.link-card:focus-visible span {
  color: var(--text);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  transition: background-color 0.3s ease;
}

.contact-card:hover {
  background: var(--surface-strong);
}

.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1.1rem;
  background: rgba(29, 19, 64, 0.95);
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-card__icon {
  transform: scale(1.08);
}

.contact-card__icon i {
  width: 1.75rem;
  height: 1.75rem;
}

.contact-card__icon--primary {
  border: 1px solid rgba(125, 41, 242, 0.3);
  color: var(--accent);
}

.contact-card__icon--secondary {
  border: 1px solid rgba(108, 50, 166, 0.3);
  color: var(--accent-strong);
}

.contact-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.contact-card p {
  margin: 0.25rem 0 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
}

.form-shell {
  padding: 2.5rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-field {
  display: grid;
  gap: 0.75rem;
}

.form-field label {
  margin-left: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: rgba(13, 16, 38, 0.5);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #666a82;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(125, 41, 242, 0.4);
  box-shadow: 0 0 0 2px rgba(125, 41, 242, 0.3);
}

.form-field textarea {
  resize: none;
  min-height: 9.5rem;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1.2rem 1.5rem;
  margin-top: 0.25rem;
  border-radius: 1.2rem;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(125, 41, 242, 0.4);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  opacity: 0.92;
  transform: translateY(-2px);
}

.submit-button i {
  width: 1.2rem;
  height: 1.2rem;
}

.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 2rem;
  margin-top: 2rem;
}

.profile-card,
.bio-copy {
  overflow: hidden;
}

.profile-card {
  padding: 2rem;
}

.profile-card__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108, 50, 166, 0.2), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.profile-card:hover .profile-card__glow {
  opacity: 1;
}

.profile-avatar {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 1.5rem;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 0 30px rgba(125, 41, 242, 0.3);
}

.profile-avatar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg);
}

.profile-avatar__inner i {
  width: 3rem;
  height: 3rem;
  color: var(--accent);
}

.profile-name {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
}

.profile-role {
  margin: 0 0 2rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.profile-meta {
  display: grid;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.profile-meta__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-meta__item i {
  width: 1rem;
  height: 1rem;
  color: var(--accent-strong);
}

.bio-copy {
  padding: 2.4rem 2.8rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.bio-copy p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.bio-copy p + p {
  margin-top: 1.4rem;
}

.bio-copy__sparkle {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2rem;
  opacity: 0.03;
  pointer-events: none;
}

.bio-copy__sparkle i {
  width: 10rem;
  height: 10rem;
}

.bio-copy__lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
}

.bio-copy__quote {
  padding: 1rem 1rem 1rem 1.5rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 0.8rem 0.8rem 0;
  background: rgba(255, 255, 255, 0.05);
  color: #dfe1f1;
  font-style: italic;
}

.bio-copy__highlight {
  color: var(--text);
  font-weight: 600;
}

.bio-copy__footer {
  margin-top: 2rem !important;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-faint);
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  padding: 3rem 1.5rem 4rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(13, 16, 38, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0.5rem 0 0;
}

.site-footer p:first-child {
  color: rgba(255, 255, 255, 0.4);
}

.site-footer p:last-child {
  color: var(--accent-strong);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(125, 41, 242, 0.8);
  outline-offset: 3px;
}

@keyframes pulse {
  from {
    transform: scale(0.96);
  }

  to {
    transform: scale(1.06);
  }
}

@keyframes fade-slide-up {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-grid,
  .bio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-nav {
    padding-inline: 1rem;
  }

  .nav-panel {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand-button {
    align-items: center;
    text-align: center;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .site-main {
    padding-top: 10rem;
  }

  .timeline {
    padding-left: 1.25rem;
  }

  .timeline-item {
    padding-left: 2rem;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 1.5rem, 84rem);
  }

  .site-nav {
    padding: 0.75rem;
  }

  .nav-panel {
    padding: 0.9rem 1rem;
  }

  .nav-links,
  .nav-back {
    justify-content: center;
    text-align: center;
  }

  .language-switcher {
    margin-left: 0;
  }

  .hero-actions,
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .glass-button {
    width: 100%;
  }

  .projects-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .timeline-card,
  .profile-card,
  .bio-copy,
  .form-shell,
  .contact-card,
  .skills-cloud {
    padding: 1.5rem;
  }

  .timeline-card__header {
    flex-direction: column;
  }

  .timeline-card__company {
    flex-wrap: wrap;
  }

  .profile-name {
    font-size: 1.7rem;
  }

  .bio-copy {
    font-size: 1rem;
  }
}

.site-nav {
  padding: 1.35rem;
}

.nav-panel {
  gap: 1.25rem;
  padding: 0.95rem 1.25rem;
}

.brand-button {
  flex-shrink: 0;
}

.nav-actions {
  gap: 0.9rem;
}

.nav-links,
.nav-back {
  gap: 1.05rem;
}

.nav-links button,
.nav-back {
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links button:hover,
.nav-links button:focus-visible,
.nav-back:hover,
.nav-back:focus-visible {
  transform: translateY(-1px);
}

.language-switcher {
  margin-left: 0;
  border-radius: 0.9rem;
}

.language-switcher button,
.theme-toggle {
  border-radius: 0.72rem;
}

.language-switcher button.is-active {
  box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.5);
}

.site-main {
  padding-top: 8.15rem;
  padding-bottom: 4.75rem;
}

.home-stack {
  gap: 5.5rem;
}

.hero-section {
  min-height: 74vh;
  padding-top: 1rem;
}

.hero-title {
  font-size: clamp(4rem, 12vw, 8.8rem);
}

.hero-title__line--gradient {
  background: linear-gradient(90deg, var(--hero-gradient-start), var(--hero-gradient-mid), var(--hero-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  padding-left: 1.45rem;
}

.hero-actions,
.cta-row {
  gap: 1.15rem;
}

.glass-button {
  padding: 1.05rem 1.7rem;
  font-size: 0.82rem;
}

.glass-button--primary {
  background: rgba(var(--accent-rgb), 0.2);
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.3);
}

.glass-button--primary:hover,
.glass-button--primary:focus-visible {
  background: rgba(var(--accent-rgb), 0.38);
}

.glass-button--cta {
  background: rgba(var(--accent-deep-rgb), 0.36);
  border-color: rgba(var(--accent-rgb), 0.38);
}

.glass-button--cta:hover,
.glass-button--cta:focus-visible {
  background: rgba(var(--accent-rgb), 0.24);
  box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.4);
}

.section-heading {
  gap: 0.95rem;
  margin-bottom: 2.35rem;
}

.projects-grid {
  gap: 1.4rem;
  margin-bottom: 2.25rem;
}

.project-card {
  display: block;
  min-height: 22rem;
  aspect-ratio: auto;
  transform: translateZ(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.project-card__media,
.project-card__overlay,
.project-card__content {
  position: absolute;
  inset: 0;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.project-card__overlay {
  background:
    linear-gradient(180deg, rgba(13, 16, 38, 0.08) 0%, rgba(13, 16, 38, 0.18) 40%, rgba(13, 16, 38, 0.88) 100%),
    linear-gradient(135deg, rgba(56, 22, 89, 0.08) 0%, rgba(108, 50, 166, 0.04) 48%, rgba(125, 41, 242, 0.08) 100%);
}

.project-card__content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.45rem;
  opacity: 1;
  transform: none;
}

.project-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 11, 26, 0.24);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-card__eyebrow i {
  width: 0.95rem;
  height: 0.95rem;
}

.project-card__text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
}

.project-card h3 {
  font-size: 1.55rem;
  line-height: 1.1;
}

.project-card p {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.project-card p i {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.project-card:hover .project-card__media img,
.project-card:focus-visible .project-card__media img {
  transform: scale(1.08);
  filter: saturate(1.05);
}

.project-card:hover .project-card__overlay,
.project-card:focus-visible .project-card__overlay {
  background:
    linear-gradient(180deg, rgba(13, 16, 38, 0.02) 0%, rgba(13, 16, 38, 0.12) 36%, rgba(13, 16, 38, 0.92) 100%),
    linear-gradient(135deg, var(--project-overlay-start) 0%, var(--project-overlay-mid) 50%, var(--project-overlay-end) 100%);
}

.timeline-item + .timeline-item {
  margin-top: 1.8rem;
}

.timeline-marker {
  box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.8);
}

.timeline-card {
  padding: 1.9rem;
}

.timeline-card__company {
  font-size: 1rem;
  flex-wrap: wrap;
}

.timeline-card__date {
  background: rgba(var(--accent-deep-rgb), 0.52);
}

.skills-cloud {
  padding: 2.25rem;
}

.skills-cloud__glow {
  top: -2rem;
  right: -2rem;
  background: var(--section-glow);
}

.skill-pill:hover {
  background: rgba(var(--accent-rgb), 0.2);
  border-color: rgba(var(--accent-rgb), 0.5);
}

.links-grid {
  grid-template-columns: repeat(15, minmax(0, 1fr));
  gap: 1.25rem;
}

.links-grid > * {
  grid-column: span 3;
}

.links-grid > :nth-last-child(3) {
  grid-column: 1 / 6;
}

.links-grid > :nth-last-child(2) {
  grid-column: 6 / 11;
}

.links-grid > :last-child {
  grid-column: 11 / 16;
}

.link-card {
  min-height: 10rem;
  padding: 1.8rem 1rem;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.link-card .link-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
  margin-inline: auto;
  flex: 0 0 3rem;
  font-size: 0;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.link-card__icon i {
  width: 1.35rem;
  height: 1.35rem;
}

.link-card:hover,
.link-card:focus-visible {
  background: rgba(var(--accent-deep-rgb), 0.36);
  border-color: rgba(var(--accent-rgb), 0.38);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.link-card:hover i,
.link-card:focus-visible i {
  color: var(--accent);
  transform: scale(1.06);
}

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

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

.contact-card {
  padding: 1.85rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
}

.contact-card__icon {
  flex-shrink: 0;
  background: rgba(var(--accent-deep-rgb), 0.75);
}

.contact-card__link {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.25s ease, transform 0.25s ease;
}

.contact-card__link:hover,
.contact-card__link:focus-visible {
  color: var(--accent);
  transform: translateX(2px);
}

.contact-card__link--phone {
  font-size: 1.15rem;
}

.form-shell {
  padding: 2.2rem;
}

.form-field input,
.form-field textarea {
  padding: 1.15rem 1.2rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.3);
  background: rgba(13, 16, 38, 0.62);
}

.submit-button {
  padding: 1.15rem 1.45rem;
  background: linear-gradient(90deg, var(--button-gradient-start), var(--button-gradient-end));
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.35);
}

.submit-button:hover,
.submit-button:focus-visible {
  box-shadow: 0 14px 36px rgba(var(--accent-rgb), 0.42);
}

.bio-grid {
  margin-top: 1.5rem;
}

.profile-avatar {
  width: 8.65rem;
  height: 8.65rem;
  padding: 3px;
  background: linear-gradient(135deg, var(--profile-ring-start), var(--profile-ring-end));
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.26);
}

.profile-avatar__image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg);
}

.profile-role {
  margin-bottom: 1.8rem;
}

.profile-links {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.profile-links__title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

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

.profile-links__list > :last-child {
  grid-column: 1 / -1;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.profile-link i {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--accent);
}

.profile-link:hover,
.profile-link:focus-visible {
  color: var(--text);
  background: rgba(var(--accent-rgb), 0.14);
  border-color: rgba(var(--accent-rgb), 0.34);
  transform: translateY(-2px);
}

.bio-copy {
  padding: 2.35rem 2.7rem;
  font-size: 1.08rem;
}

.bio-copy__lead {
  font-size: 1.28rem;
}

.bio-copy__footer {
  padding-top: 1.9rem;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.8);
}

@keyframes drift {
  0% {
    transform: translate3d(-2%, 0, 0) rotate(-6deg) scale(0.98);
  }

  50% {
    transform: translate3d(3%, -2%, 0) rotate(4deg) scale(1.04);
  }

  100% {
    transform: translate3d(-1%, 3%, 0) rotate(-3deg) scale(1);
  }
}

@media (max-width: 1160px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .links-grid > :nth-last-child(3),
  .links-grid > :nth-last-child(2),
  .links-grid > :last-child {
    grid-column: span 1;
  }

  .contact-grid,
  .bio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .site-nav {
    padding-inline: 1rem;
  }

  .nav-panel {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand-button {
    align-items: center;
    text-align: center;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .site-main {
    padding-top: 9.7rem;
  }

  .timeline {
    padding-left: 1.35rem;
  }

  .timeline-item {
    padding-left: 2rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: 2rem;
  }

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

  .contact-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 1.5rem, 84rem);
  }

  .site-nav {
    padding: 0.75rem;
  }

  .nav-panel {
    padding: 0.85rem 0.95rem;
    gap: 0.85rem;
  }

  .brand-text {
    font-size: 1.25rem;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links,
  .nav-back {
    width: 100%;
    justify-content: center;
    text-align: center;
    gap: 0.65rem 0.85rem;
  }

  .nav-links button {
    padding: 0.52rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-tools {
    justify-content: center;
  }

  .language-switcher {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-main {
    padding-top: 12.5rem;
  }

  .home-stack {
    gap: 4.5rem;
  }

  .hero-title {
    font-size: clamp(3rem, 15vw, 5rem);
    margin-bottom: 1.5rem;
  }

  .hero-subtitle {
    margin-bottom: 2rem;
    padding-left: 1rem;
  }

  .hero-actions,
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .glass-button {
    width: 100%;
  }

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

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

  .project-card {
    min-height: 20rem;
  }

  .timeline-card,
  .profile-card,
  .bio-copy,
  .form-shell,
  .contact-card,
  .skills-cloud {
    padding: 1.45rem;
  }

  .timeline-card__header {
    flex-direction: column;
  }

  .contact-card {
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .site-main {
    padding-top: 13.4rem;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.45rem);
  }

  .hero-title {
    font-size: clamp(2.7rem, 16vw, 4rem);
  }

  .project-card__content {
    padding: 1.15rem;
  }

  .project-card__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .project-card h3 {
    font-size: 1.3rem;
  }

  .links-grid,
  .profile-links__list {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline-item {
    padding-left: 1.6rem;
  }

  .timeline-marker {
    left: -0.7rem;
  }

  .contact-card__icon {
    width: 3.3rem;
    height: 3.3rem;
  }

  .contact-card__link,
  .contact-card__link--phone {
    font-size: 0.98rem;
    word-break: break-word;
  }
}

@media (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}

/* Hosting fallback: keep project text visible even if an older cached CSS block leaks through. */
.projects-grid .project-card .project-card__content {
  opacity: 1 !important;
  transform: none !important;
  z-index: 2;
  display: flex;
}

.projects-grid .project-card .project-card__eyebrow {
  display: inline-flex !important;
}

.projects-grid .project-card .project-card__overlay {
  background:
    linear-gradient(180deg, rgba(13, 16, 38, 0.08) 0%, rgba(13, 16, 38, 0.18) 40%, rgba(13, 16, 38, 0.88) 100%),
    linear-gradient(135deg, rgba(56, 22, 89, 0.08) 0%, rgba(108, 50, 166, 0.04) 48%, rgba(125, 41, 242, 0.08) 100%);
}

.projects-grid .project-card h3,
.projects-grid .project-card p,
.projects-grid .project-card .project-card__eyebrow {
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.42);
}
