:root {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-primary);
}

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(rgba(56, 189, 248, 0.07) 1px, transparent 1px),
    radial-gradient(ellipse at 15% 10%, rgba(56, 189, 248, 0.08), transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(16, 185, 129, 0.06), transparent 45%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ambient-cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.028) 0%,
    rgba(16, 185, 129, 0.01) 40%,
    transparent 68%
  );
  pointer-events: none;
  will-change: transform;
  opacity: 0;
  transition: opacity 250ms ease;
}

body.has-pointer-aura .ambient-cursor-aura {
  opacity: 1;
}

body,
button,
a {
  font-family: var(--font-ui);
}

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

a:hover {
  color: var(--accent-primary);
}

button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 4px;
}

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

.container {
  max-width: var(--container-width);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-small);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--border-subtle);
  background: rgb(9 13 22 / 88%);
  backdrop-filter: blur(12px);
  transition: background var(--transition-standard), box-shadow var(--transition-standard);
}

.scroll-progress {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transform: scale3d(0, 1, 1);
  transform-origin: left center;
  will-change: transform;
  pointer-events: none;
}

.site-nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  transition: min-height var(--transition-standard);
}

.site-header.is-scrolled {
  background: rgba(9, 13, 22, 0.95);
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.65);
}

.site-header.is-scrolled .site-nav {
  min-height: 64px;
}

.brand-logo {
  color: var(--text-primary);
  font-family: var(--font-code);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-logo::after {
  content: "_";
  margin-left: 3px;
  color: var(--accent-primary);
  animation: terminalCursorBlink 1.15s steps(2, start) infinite;
}

@keyframes terminalCursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.brand-logo:hover {
  color: var(--accent-primary);
}

.nav-panel,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-panel {
  gap: 34px;
}

.nav-links {
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.language-toggle {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: color var(--transition-standard);
}

.nav-links a:hover,
.language-toggle:hover {
  color: var(--accent-primary);
}

.nav-links a {
  position: relative;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--accent-primary);
  content: "";
  transition: transform var(--transition-standard);
}

.nav-links a.is-active {
  color: var(--accent-primary);
  border-color: rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.1);
}

.nav-links a.is-active::after {
  display: none;
}

.nav-links a:hover {
  border-color: transparent;
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-primary);
}

.nav-actions {
  gap: 20px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.language-option {
  color: var(--text-muted);
}

.language-option.is-current {
  color: var(--accent-primary);
}

.nav-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-small);
  background: var(--accent-glow);
  color: var(--accent-primary);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition-standard), border-color var(--transition-standard);
}

.nav-cta:hover {
  border-color: var(--accent-primary);
  background: rgb(56 189 248 / 22%);
  color: var(--text-primary);
}

.nav-cta svg,
.button svg,
.text-link svg,
.hero-eyebrow svg,
.hero-availability svg,
.back-to-top svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-small);
  background: var(--bg-card);
  cursor: pointer;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse at 82% 28%, rgb(56 189 248 / 7%), transparent 31%),
    radial-gradient(rgba(56, 189, 248, 0.07) 1px, transparent 1px),
    radial-gradient(ellipse at 15% 10%, rgba(56, 189, 248, 0.08), transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(16, 185, 129, 0.06), transparent 45%);
  background-size: 100% 100%, 28px 28px, 100% 100%, 100% 100%;
}

.hero-section::before {
  position: absolute;
  z-index: 0;
  top: -140px;
  left: 50%;
  width: min(920px, 95vw);
  height: 340px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(56, 189, 248, 0.16) 0%,
    rgba(16, 185, 129, 0.06) 45%,
    transparent 72%
  );
  filter: blur(28px);
  content: "";
  pointer-events: none;
  animation: auroraDrift 13s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  0% {
    transform: translateX(calc(-50% - 26px)) scale(0.98);
    opacity: 0.82;
  }
  100% {
    transform: translateX(calc(-50% + 26px)) scale(1.04);
    opacity: 1;
  }
}

.hero-section > .container {
  position: relative;
  z-index: 1;
}

.hero-row {
  --bs-gutter-x: 64px;
  row-gap: 48px;
}

.hero-copy {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow,
.section-index {
  color: var(--text-muted);
  font-family: var(--font-code);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.6;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--accent-primary);
}

.hero-eyebrow svg {
  width: 16px;
  height: 16px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 10vw, 88px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
  white-space: nowrap;
}

.hero-copy h1 > span {
  background: linear-gradient(135deg, #f8fafc 25%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tech-list {
  justify-content: center;
}

.hero-actions {
  width: max-content;
  max-width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.hero-availability {
  justify-content: center;
}

.hero-role {
  margin: 20px 0 0;
  color: var(--accent-primary);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.5;
}

.hero-description {
  max-width: 650px;
  margin: 16px auto 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.hero-focus-line {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px auto 0;
  color: var(--accent-primary);
  font-family: var(--font-code);
  font-size: 12px;
}

.hero-focus-line svg {
  width: 15px;
  height: 15px;
}

.hero-tech-list,
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.hero-tech-list li,
.project-tags li {
  padding: 6px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-family: var(--font-code);
  font-size: 12px;
  font-weight: 400;
}

.hero-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(0);
  transition:
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

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

.button:active {
  transform: translateY(-1px) scale(0.985);
}

.button:focus:not(:hover),
.button:focus-visible:not(:hover) {
  transform: translateY(0);
}

.button-primary {
  position: relative;
  overflow: hidden;
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  color: var(--bg-primary);
  box-shadow: 0 10px 25px -6px rgba(56, 189, 248, 0.45);
}

.button-primary::after {
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transition: left 550ms ease;
  content: "";
  pointer-events: none;
}

.button-primary:hover::after {
  left: 140%;
}

.button-primary:hover {
  border-color: #7dd3fc;
  background: #7dd3fc;
  color: var(--bg-primary);
}

.button-secondary {
  border-color: var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
}

.button-secondary:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.hero-availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 25px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-secondary);
  box-shadow: 0 0 14px rgb(16 185 129 / 45%);
}

.hero-availability .status-dot::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgb(16 185 129 / 55%);
  border-radius: inherit;
  animation: availability-pulse 2.2s ease-out infinite;
  content: "";
}

@keyframes availability-pulse {
  0% {
    transform: scale(0.65);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.section {
  padding: 84px 0;
  background-image:
    radial-gradient(rgba(56, 189, 248, 0.07) 1px, transparent 1px),
    radial-gradient(ellipse at 15% 10%, rgba(56, 189, 248, 0.08), transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(16, 185, 129, 0.06), transparent 45%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
}

.about-section,
.projects-section {
  border-top: 1px solid rgb(148 163 184 / 12%);
  border-bottom: 1px solid rgb(148 163 184 / 12%);
  background-color: rgb(15 23 42 / 72%);
}

.skills-section,
.contact-section {
  background-color: transparent;
}

.section-heading {
  margin-bottom: 30px;
}

.section-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--text-muted);
}

.section-index {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-index::after {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-accent), transparent);
  content: "";
}

.section-index > span:first-child {
  color: var(--accent-primary);
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-description {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
}

.content-panel,
.education-card,
.skill-card,
.project-card,
.contact-panel {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition-standard),
    box-shadow var(--transition-standard),
    border-color var(--transition-standard),
    background var(--transition-standard);
}

.content-panel:hover,
.education-card:hover,
.skill-card:hover,
.project-card:hover,
.contact-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.about-copy {
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
}

.about-copy > p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
}

.about-copy > p:last-of-type {
  margin-bottom: 0;
}

.about-copy > .button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.about-copy > .button svg {
  width: 17px;
  height: 17px;
}

.education-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.education-stack::before {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 20px;
  width: 1px;
  background: linear-gradient(var(--accent-primary), var(--border-subtle));
  content: "";
}

.education-stack .education-card {
  position: relative;
  margin-left: 44px;
}

.education-stack .education-card::before {
  position: absolute;
  top: 28px;
  left: -31px;
  width: 13px;
  height: 13px;
  border: 2px solid #334155;
  border-radius: 50%;
  background: #334155;
  content: "";
}

.education-stack .education-card:first-child::before {
  border-color: #7dd3fc;
  background: var(--accent-primary);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}

.education-card {
  display: flex;
  min-height: 132px;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
}

.education-card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-small);
  background: var(--accent-glow);
  color: var(--accent-primary);
}

.education-card-icon svg {
  width: 21px;
  height: 21px;
}

.education-card .eyebrow {
  margin: 0 0 4px;
}

.education-card h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.education-card p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.education-date {
  margin-left: auto;
  color: var(--text-muted);
  font-family: var(--font-code);
  font-size: 12px;
  white-space: nowrap;
}

.skills-grid {
  margin-top: 8px;
}

.skill-card {
  position: relative;
  isolation: isolate;
  height: 100%;
  min-height: 176px;
  padding: 22px;
}

.skill-card::before,
.project-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgb(56 189 248 / 6%),
    transparent 72%
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-standard);
}

.skill-card:hover::before,
.project-card:hover::before {
  opacity: 1;
}

.skill-card > *,
.project-card > * {
  position: relative;
  z-index: 1;
}

.skill-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.skill-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.skill-card-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
}

.skill-card-header svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--accent-primary);
}

.skill-category-badge {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 9px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-primary);
}

.skill-category-badge svg {
  width: 18px;
  height: 18px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-tags li {
  padding: 6px 9px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-family: var(--font-code);
  font-size: 12px;
}

.skill-tags li,
.project-tags li,
.hero-tech-list li {
  transition:
    border-color var(--transition-standard),
    background var(--transition-standard),
    color var(--transition-standard);
}

.skill-tags li:hover,
.project-tags li:hover,
.hero-tech-list li:hover {
  border-color: var(--border-accent);
  background: rgba(56, 189, 248, 0.08);
  color: var(--text-primary);
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.project-slider-error {
  margin: 16px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-small);
  background: var(--bg-card);
  color: var(--accent-secondary);
  font-size: 14px;
}

.projects-list.swiper-fallback .project-inline-swiper {
  overflow: visible;
}

.projects-list.swiper-fallback .project-inline-swiper .swiper-wrapper {
  display: block;
  transform: none !important;
}

.projects-list.swiper-fallback .project-inline-swiper .swiper-slide {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.projects-list.swiper-fallback .project-slider-arrow,
.projects-list.swiper-fallback .project-pagination {
  display: none;
}

.project-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.project-card:hover {
  transform: none;
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.project-card > .row {
  position: relative;
  z-index: 1;
  min-height: 100%;
}

.project-showcase {
  min-width: 0;
  border-right: 1px solid var(--border-subtle);
  background: var(--bg-browser-frame);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.project-browser {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.project-browser-bar {
  display: grid;
  min-height: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.project-browser-dots {
  display: flex;
  gap: 6px;
  justify-self: start;
}

.project-browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
}

.project-page-name {
  overflow: hidden;
  min-width: 0;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-code);
  font-size: 13px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-slide-count {
  justify-self: end;
  margin: 0;
  color: var(--accent-primary);
  font-family: var(--font-code);
  font-size: 12px;
  white-space: nowrap;
}

.project-inline-swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-browser-frame);
}

.project-inline-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-browser-frame);
  object-fit: contain;
  padding: 10px;
  cursor: zoom-in;
  transition: transform 300ms ease;
}

.project-inline-slide img:hover {
  transform: scale(1.015);
}

.project-image-wrap {
  position: relative;
  overflow: hidden;
}

.project-zoom-hint {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  background: rgba(9, 13, 22, 0.82);
  color: var(--text-primary);
  opacity: 0;
  transition: opacity var(--transition-standard);
}

.project-image-wrap:hover .project-zoom-hint {
  opacity: 1;
}

.project-zoom-hint svg {
  width: 16px;
  height: 16px;
}

.project-progress-slide {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  background:
    radial-gradient(ellipse at 50% 45%, rgb(56 189 248 / 10%), transparent 38%),
    var(--bg-browser-frame);
  text-align: center;
}

.project-progress-slide svg {
  width: 42px;
  height: 42px;
  color: var(--accent-primary);
}

.project-progress-slide h4 {
  margin: 0;
  color: var(--accent-primary);
  font-family: var(--font-code);
  font-size: 20px;
  font-weight: 500;
}

.project-progress-slide p {
  max-width: 440px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.project-slider-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  background: rgb(9 13 22 / 85%);
  color: var(--text-primary);
  font-family: var(--font-code);
  font-size: 30px;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition:
    border-color var(--transition-standard),
    background var(--transition-standard),
    color var(--transition-standard);
}

.project-slider-arrow:hover:not(:disabled) {
  border-color: var(--accent-primary);
  background: rgb(9 13 22 / 95%);
  color: var(--accent-primary);
}

.project-slider-arrow:disabled,
.project-slider-arrow.swiper-button-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.project-slider-prev {
  left: 16px;
}

.project-slider-next {
  right: 16px;
}

.project-pagination {
  position: static;
  display: flex;
  width: 100% !important;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 4px 0 10px;
  background: var(--bg-browser-frame);
}

.project-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 36px);
}

.project-card-meta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.project-category,
.project-status {
  color: var(--text-muted);
  font-family: var(--font-code);
  font-size: 12px;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-secondary);
}

.project-status .status-dot {
  width: 7px;
  height: 7px;
}

.project-card h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(24px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.project-card-description {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.project-highlights {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.project-highlights li::before {
  margin-right: 8px;
  color: var(--accent-primary);
  content: "▸";
}

.project-tags {
  gap: 7px;
  margin-top: 16px;
}

.project-tags li {
  padding: 5px 8px;
  font-size: 12px;
}

.project-github-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--accent-primary);
  font-size: 14px;
  font-weight: 600;
}

.project-github-link svg {
  width: 17px;
  height: 17px;
}

.project-private-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 8px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: #0b101b;
  color: var(--text-secondary);
  font-family: var(--font-code);
  font-size: 12px;
}

.project-private-badge svg {
  width: 15px;
  height: 15px;
}


.swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0 !important;
  border: 1px solid #64748b;
  background: transparent;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 999px;
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  transition: width 220ms ease, background 220ms ease;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(ellipse at 100% 0%, rgb(56 189 248 / 9%), transparent 38%),
    var(--bg-card);
}

.contact-copy,
.contact-cards-grid {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  font-size: clamp(36px, 5vw, 54px);
}

.contact-copy {
  margin-bottom: 28px;
}

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

.contact-card {
  display: flex;
  min-width: 0;
  min-height: 138px;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: rgba(9, 13, 22, 0.72);
  color: var(--text-secondary);
  text-decoration: none;
  transition:
    border-color var(--transition-standard),
    background var(--transition-standard),
    color var(--transition-standard),
    transform var(--transition-standard);
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
  background: rgba(15, 23, 42, 0.9);
  color: var(--accent-primary);
}

.contact-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-card-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid var(--border-accent);
  border-radius: 9px;
  background: var(--accent-glow);
  color: var(--accent-primary);
}

.contact-card-icon svg {
  width: 19px;
  height: 19px;
}

.contact-card-label {
  color: var(--text-muted);
  font-family: var(--font-code);
  font-size: 12px;
}

.contact-card-value-row {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.contact-card-value {
  min-width: 0;
  margin-top: auto;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact-card-email .contact-card-value {
  margin-top: 0;
}

.contact-card:hover .contact-card-value {
  color: var(--accent-primary);
}

.contact-card-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.contact-card:not(.contact-card-email) {
  position: relative;
  padding-right: 44px;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.footer-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright,
.footer-tagline {
  margin: 0;
}

.footer-tagline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-code);
  font-size: 13px;
}

.footer-tagline .status-dot {
  width: 7px;
  height: 7px;
}

.footer-inner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

.back-to-top {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 14px;
  transition: border-color var(--transition-standard), color var(--transition-standard), background var(--transition-standard);
}

.back-to-top:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  color: var(--accent-primary);
}

a svg[data-lucide="arrow-up-right"],
button svg[data-lucide="arrow-up-right"] {
  transition: transform 180ms ease;
}

a:hover svg[data-lucide="arrow-up-right"],
button:hover svg[data-lucide="arrow-up-right"] {
  transform: translate(3px, -3px);
}

.back-to-top:hover svg {
  transform: translateY(-3px);
  transition: transform 180ms ease;
}

.copy-email-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.copy-email-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  align-self: flex-end;
  justify-content: flex-end;
  gap: 6px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-code);
  font-size: 12px;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.copy-email-button:hover {
  color: var(--accent-primary);
  transform: scale(1.12);
}

.copy-email-button svg {
  display: block;
  width: 16px;
  height: 16px;
}

.copy-email-label:empty {
  display: none;
}

.copy-email-button.is-copied,
.copy-email-button.is-copied svg {
  color: var(--accent-secondary);
  transform: none;
}



.image-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
}

.image-lightbox.is-open {
  display: block;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.94);
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  height: 100%;
}

.image-lightbox-bar {
  display: grid;
  height: 64px;
  grid-template-columns: minmax(140px, 1fr) minmax(180px, 2fr) 90px 44px;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgb(9 13 22 / 96%);
}

.image-lightbox-bar p {
  margin: 0;
  font-family: var(--font-code);
  font-size: 13px;
}

.image-lightbox-project {
  color: var(--text-primary);
  font-weight: 600;
}

.image-lightbox-page {
  overflow: hidden;
  color: var(--text-secondary);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-lightbox-count {
  color: var(--accent-primary);
  text-align: right;
}

.image-lightbox-close {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
}

.image-lightbox-close svg {
  width: 18px;
  height: 18px;
}

.image-lightbox-stage {
  display: grid;
  height: calc(100% - 64px);
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 8px;
  padding: 14px;
}

.image-lightbox-image {
  width: 100%;
  max-width: 94vw;
  height: 82vh;
  max-height: 82vh;
  object-fit: contain;
  justify-self: center;
}

.image-lightbox-arrow {
  z-index: 2;
  width: 48px;
  height: 48px;
  justify-self: center;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  background: rgb(9 13 22 / 88%);
  color: var(--text-primary);
  font-family: var(--font-code);
  font-size: 32px;
  line-height: 1;
}

.image-lightbox-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-section::before {
    animation: none !important;
  }

  .brand-logo::after {
    animation: none !important;
  }

  .ambient-cursor-aura {
    display: none;
  }
}
