:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --yellow: #f5c518;
  --yellow-hover: #e0b310;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-dim: rgba(255, 255, 255, 0.35);
  --border: rgba(255, 255, 255, 0.1);
  --green: #22c55e;
  --font: 'Inter', system-ui, sans-serif;
  --max-w: 1200px;
  --bs-body-bg: #0a0a0a;
  --bs-body-color: #ffffff;
  --bs-link-color: #f5c518;
  --bs-link-hover-color: #ffd84d;
}

/* ── BOOTSTRAP 5 OVERRIDES (dark theme) ── */
.container-custom {
  max-width: var(--max-w);
}

.navbar-dark {
  --bs-navbar-color: rgba(255, 255, 255, 0.55);
  --bs-navbar-hover-color: #ffffff;
  --bs-navbar-active-color: #f5c518;
  --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.15);
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

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

html { scroll-behavior: smooth; background: var(--bg); color: var(--text); }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

@media (hover: hover) and (pointer: fine) {
  body.custom-cursor-active,
  body.custom-cursor-active a,
  body.custom-cursor-active button,
  body.custom-cursor-active input,
  body.custom-cursor-active textarea,
  body.custom-cursor-active select,
  body.custom-cursor-active label,
  body.custom-cursor-active summary,
  body.custom-cursor-active [role="button"] {
    cursor: none !important;
  }
}

.site-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.site-cursor-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(245, 197, 24, 0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease, border-radius 0.22s ease;
}

.site-cursor-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.55);
  transform: translate(-50%, -50%);
  transition: width 0.22s ease, height 0.22s ease, border-radius 0.22s ease, background 0.22s ease;
}

.site-cursor.is-hover .site-cursor-ring {
  width: 2.75rem;
  height: 2.75rem;
  border-color: rgba(245, 197, 24, 0.85);
}

.site-cursor.is-hover .site-cursor-dot {
  width: 4px;
  height: 4px;
}

.site-cursor.is-mobile-view .site-cursor-ring {
  border-radius: 6px;
  width: 1.65rem;
  height: 1.65rem;
}

.site-cursor.is-mobile-view .site-cursor-dot {
  border-radius: 2px;
  width: 8px;
  height: 8px;
}

.site-cursor.is-mobile-view.is-hover .site-cursor-ring {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 8px;
}

/* ── CINEMATIC HERO ── */
.cinematic-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0a0a0a;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  filter: grayscale(0%) brightness(0.82) saturate(1.22);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.88) 42%,
      rgba(0, 0, 0, 0.48) 52%,
      rgba(0, 0, 0, 0.16) 68%,
      rgba(0, 0, 0, 0.02) 100%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.62) 100%);
  z-index: 1;
}

.hero-header,
.hero-body,
.hero-meta,
.hero-proof {
  position: relative;
  z-index: 2;
}

.hero-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem 3rem 0;
  gap: 1rem;
}

.hero-brand {
  text-decoration: none;
  color: inherit;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-brand-name {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  padding-left: 0.75rem;
  border-left: 1px solid var(--yellow);
}

.brand-cursor {
  display: inline-block;
  width: 0.45em;
  height: 0.95em;
  margin-left: 0.35em;
  border-radius: 1px;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(245, 197, 24, 0.45);
  animation: cursor-blink 1s step-end infinite;
}

.hero-header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
}

.social-icon:hover { opacity: 1; color: var(--yellow); }
.social-icon svg { width: 18px; height: 18px; }

.lang-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
}

.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 3rem 3rem;
  max-width: 560px;
}

.hero-kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(1.65rem, 3.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}

.hero-headline-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.hero-headline-sizer {
  visibility: hidden;
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
  pointer-events: none;
  user-select: none;
}

.hero-headline-live {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-typewriter {
  display: inline;
  white-space: pre-wrap;
  word-break: break-word;
}

.hero-cursor {
  display: inline-block;
  width: 0.42em;
  height: 0.9em;
  margin-left: 0.25em;
  border-radius: 1px;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(245, 197, 24, 0.45);
  vertical-align: baseline;
  animation: cursor-blink 1s step-end infinite;
}

.hero-subheadline {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.5;
  margin-bottom: 2.25rem;
  max-width: 320px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  background: var(--yellow);
  border: none;
  padding: 0.9rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-yellow:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.btn-play:hover { color: var(--yellow); }

.play-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  padding-left: 2px;
}

.hero-meta {
  position: absolute;
  bottom: 5rem;
  right: 3rem;
  z-index: 2;
  text-align: right;
}

@keyframes meta-logo-pulse {
  0%, 100% {
    color: rgba(255, 255, 255, 0.28);
    text-shadow: 0 0 0 transparent;
  }
  50% {
    color: rgba(245, 197, 24, 0.62);
    text-shadow: 0 0 36px rgba(245, 197, 24, 0.22);
  }
}

.hero-meta-logo {
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.05em;
  animation: meta-logo-pulse 2.6s ease-in-out infinite;
}

.meta-label {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.meta-location {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.meta-time {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.meta-available {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.hero-proof {
  padding: 0 3rem 2.5rem;
  text-align: center;
}

.hero-proof-text {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.hero-quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
}

.hero-quick-nav .nav-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.2s;
  position: relative;
}

.hero-quick-nav .nav-link:hover,
.hero-quick-nav .nav-link.active-nav {
  color: var(--yellow);
}

.hero-quick-nav .nav-link.active-nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--yellow);
  border-radius: 1px;
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── SECTION NAV (Bootstrap 5 navbar) ── */
.section-nav {
  background: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.section-nav-container {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.section-nav-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--yellow) !important;
}

.section-nav-toggler {
  border-color: var(--border);
  padding: 0.35rem 0.55rem;
}

.section-nav-toggler:focus {
  box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.35);
}

.section-nav-inner {
  gap: 0.15rem;
  padding: 0.5rem 0;
}

@media (min-width: 992px) {
  .section-nav-inner {
    flex-direction: row !important;
    align-items: center;
    padding: 0;
  }
}

.nav-link-custom {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted) !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-link-custom:hover,
.nav-link-custom.active-nav {
  color: var(--text) !important;
  background: rgba(245, 197, 24, 0.12);
}

.nav-link-custom.active-nav {
  color: var(--yellow) !important;
}

/* ── SECTIONS ── */
.site-main {
  background: var(--bg);
  position: relative;
}

.site-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.section {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0;
  scroll-margin-top: 64px;
}

.section-about,
.section-experience,
.section-skills,
.section-projects,
.section-education,
.section-certificates,
.section-contact {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.section-about {
  padding-top: 5rem;
  padding-bottom: 5.5rem;
}

.section-experience {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-skills {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-projects {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-education {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-certificates {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-contact {
  padding-top: 3rem;
  padding-bottom: 4.5rem;
}

.section-about::before,
.section-experience::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.section-experience::before {
  right: auto;
  left: -120px;
}

.section-skills::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.section-about .section-title,
.section-experience .section-title,
.section-skills .section-title,
.section-projects .section-title,
.section-education .section-title,
.section-certificates .section-title,
.section-contact .section-title {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.section-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(245, 197, 24, 0.35);
  background: rgba(245, 197, 24, 0.06);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.section-lead {
  max-width: 620px;
  margin-bottom: 2rem;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-left: 2px solid var(--yellow);
  border-radius: 0 10px 10px 0;
}

.section-lead-text {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  margin: 0;
}

/* ── EXPERIENCE ── */
.section-experience .section-head--compact {
  margin-bottom: 1.25rem;
}

.section-index--sm {
  font-size: clamp(2rem, 5vw, 3rem);
}

.experience-main {
  max-width: 680px;
}

.experience-intro {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 520px;
}

.experience-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
}

.exp-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.85rem;
  padding-bottom: 0.85rem;
}

.exp-item--last {
  padding-bottom: 0;
}

.exp-item-rail {
  position: relative;
  display: flex;
  justify-content: center;
}

.exp-item-rail::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: -0.85rem;
  width: 1px;
  background: rgba(245, 197, 24, 0.25);
}

.exp-item--last .exp-item-rail::after {
  display: none;
}

.exp-item-dot {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(245, 197, 24, 0.35);
  flex-shrink: 0;
  z-index: 1;
}

.exp-item-card {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.exp-item-card:hover {
  border-color: rgba(245, 197, 24, 0.22);
}

.exp-item-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem 0.85rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

.exp-item-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--yellow);
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.2);
  flex-shrink: 0;
}

.exp-item-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.15rem;
}

.exp-item-role {
  font-size: 12px;
  font-weight: 500;
  color: rgba(245, 197, 24, 0.88);
  line-height: 1.3;
}

.exp-item-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  text-align: right;
}

.exp-item-type {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.exp-item-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.exp-item-status .dot-green {
  width: 6px;
  height: 6px;
}

.exp-item-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 0.6rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.exp-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.exp-tag {
  font-size: 10px;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.15);
}

/* ── SKILLS ── */
.skills-intro {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 520px;
}

.skills-grid {
  --bs-gutter-x: 0.85rem;
  --bs-gutter-y: 0.85rem;
  align-items: stretch;
}

.skills-grid > [class*="col-"] {
  display: flex;
}

.skill-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.skill-group:hover {
  border-color: rgba(245, 197, 24, 0.2);
}

.skill-group-title {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 2.75rem;
  display: flex;
  align-items: flex-end;
}

.skill-group-tags {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  align-content: start;
}

.skill-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.38rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  line-height: 1.25;
  text-align: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.skill-chip:hover {
  color: var(--yellow);
  border-color: rgba(245, 197, 24, 0.28);
  background: rgba(245, 197, 24, 0.06);
}

/* ── PROJECTS ── */
.section-projects::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.projects-intro {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 560px;
}

.projects-grid {
  --bs-gutter-x: 0.85rem;
  --bs-gutter-y: 0.85rem;
}

.project-card {
  height: 100%;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: rgba(245, 197, 24, 0.22);
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.project-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  color: var(--yellow);
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.25);
  white-space: nowrap;
}

.project-meta {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-align: right;
  line-height: 1.35;
}

.project-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.65rem;
}

.project-tag {
  font-size: 10px;
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.15);
}

.project-card .project-links {
  margin-top: auto;
  padding-top: 0.25rem;
}

.project-card .project-link {
  font-size: 10px;
  padding: 0.32rem 0.7rem;
}

/* ── EDUCATION ── */
.section-education::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.education-intro {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 520px;
}

.education-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 680px;
}

.edu-card {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-left: 2px solid var(--yellow);
  border-radius: 0 8px 8px 0;
  transition: border-color 0.2s, background 0.2s;
}

.edu-card:hover {
  border-color: rgba(245, 197, 24, 0.22);
  background: rgba(255, 255, 255, 0.035);
}

.edu-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 0.85rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.edu-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--yellow);
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.2);
  flex-shrink: 0;
}

.edu-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.15rem;
}

.edu-meta {
  font-size: 12px;
  font-weight: 500;
  color: rgba(245, 197, 24, 0.88);
  line-height: 1.3;
}

.edu-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

.edu-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 0.65rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.edu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.edu-tag {
  font-size: 10px;
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.15);
}

/* ── CERTIFICATES ── */
.section-certificates::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.certificates-intro {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 520px;
}

.certificates-grid {
  --bs-gutter-x: 0.85rem;
  --bs-gutter-y: 0.85rem;
}

.certificates-grid > [class*="col-"] {
  display: flex;
}

.cert-card {
  width: 100%;
  position: relative;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.cert-card--has-pdf {
  cursor: pointer;
}

.cert-card--has-pdf:hover,
.cert-card--has-pdf:focus-within {
  border-color: rgba(245, 197, 24, 0.35);
  z-index: 3;
}

.cert-card:hover {
  border-color: rgba(245, 197, 24, 0.22);
  background: rgba(255, 255, 255, 0.035);
}

.cert-card--has-pdf:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cert-card-body {
  position: relative;
  z-index: 1;
}

.cert-pdf-mark {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.12rem 0.35rem;
  pointer-events: none;
  transition: opacity 0.2s;
}

.cert-card--has-pdf:hover:not(.cert-card--open) .cert-pdf-mark,
.cert-card--has-pdf:focus-within:not(.cert-card--open) .cert-pdf-mark {
  opacity: 0;
}

.cert-preview {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: 0.45rem;
  background: rgba(8, 8, 8, 0.97);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.92);
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
  pointer-events: none;
}

.cert-card--has-pdf:hover:not(.cert-card--open) .cert-preview,
.cert-card--has-pdf:focus-within:not(.cert-card--open) .cert-preview {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.88);
}

.cert-lightbox[hidden] {
  display: none !important;
}

.cert-lightbox-dialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  padding: 0.75rem;
  border: 1px solid rgba(245, 197, 24, 0.35);
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  background: rgba(8, 8, 8, 0.98);
}

.cert-lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(94vw, 1160px);
  max-height: calc(90vh - 2.5rem);
  border-radius: 4px;
  background: #0a1628;
}

.cert-lightbox-frame {
  width: min(92vw, 900px);
  height: min(82vh, 640px);
  border: none;
  border-radius: 4px;
  background: #111;
}

.cert-lightbox-hint {
  margin-top: 0.35rem;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--yellow);
}

@media (hover: none), (pointer: coarse) {
  .cert-card--has-pdf:hover .cert-preview,
  .cert-card--has-pdf:focus-within .cert-preview {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.92);
  }

  .cert-card--has-pdf:hover .cert-pdf-mark,
  .cert-card--has-pdf:focus-within .cert-pdf-mark {
    opacity: 1;
  }
}

.cert-preview iframe {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: none;
  border-radius: 4px;
  background: #111;
}

.cert-preview-img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: contain;
  border-radius: 4px;
  background: #0a1628;
}

.cert-preview-hint {
  margin-top: 0.35rem;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-dim);
}

.cert-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.cert-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--yellow);
  flex: 1 1 12rem;
  min-width: 0;
}

.cert-card-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cert-type {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.cert-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.cert-status .dot-green {
  width: 6px;
  height: 6px;
}

.cert-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 0.45rem;
}

.cert-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 0.6rem;
}

.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.cert-tag {
  font-size: 10px;
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.15);
}

/* ── CONTACT ── */
.section-contact::before {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.section-contact::after {
  content: "{ }";
  position: absolute;
  top: 3.5rem;
  right: 1rem;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(245, 197, 24, 0.04);
  pointer-events: none;
  user-select: none;
}

.section-contact .section-head--compact {
  margin-bottom: 1.25rem;
}

.contact-layout {
  align-items: stretch;
}

.contact-intro {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 420px;
}

.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.contact-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.55);
  animation: contact-pulse 2.4s ease-in-out infinite;
}

@keyframes contact-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.92); }
}

.contact-headline {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1.75rem;
  max-width: 380px;
}

.contact-headline-accent {
  display: block;
  color: var(--yellow);
  margin-top: 0.15rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 440px;
}

.contact-channel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.22s, background 0.22s, transform 0.22s;
}

.contact-channel:hover {
  border-color: rgba(245, 197, 24, 0.32);
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(4px);
}

.contact-channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--yellow);
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.2);
  flex-shrink: 0;
}

.contact-channel-icon svg {
  width: 18px;
  height: 18px;
}

.contact-channel-body {
  min-width: 0;
}

.contact-channel-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}

.contact-channel-value {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-channel-arrow {
  font-size: 14px;
  color: rgba(245, 197, 24, 0.55);
  transition: color 0.2s, transform 0.2s;
}

.contact-channel:hover .contact-channel-arrow {
  color: var(--yellow);
  transform: translate(2px, -2px);
}

.contact-form-panel {
  padding: 1.75rem 1.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.contact-form-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}

.contact-form-head {
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-form-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}

.contact-form-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0.4rem 0 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-field {
  margin-bottom: 0.5rem;
}

.contact-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.contact-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  padding: 0.75rem 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}

.contact-input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.contact-input:focus {
  outline: none;
  border-color: rgba(245, 197, 24, 0.45);
  background: rgba(0, 0, 0, 0.38);
}

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

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: var(--yellow);
  color: #0a0a0a;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.contact-submit svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.contact-submit:hover {
  background: #ffd84d;
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.22);
  transform: translateY(-1px);
}

.contact-submit:hover svg {
  transform: translateX(3px);
}

.contact-success {
  font-size: 13px;
  color: var(--yellow);
  margin: 0.75rem 0 0;
  line-height: 1.5;
}

.contact-success.contact-error {
  color: #f87171;
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-index {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(245, 197, 24, 0.12);
  user-select: none;
}

/* ── ABOUT ── */
.about-layout {
  align-items: flex-start;
}

.about-intro-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-intro-text {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  margin: 0;
}

.about-body {
  max-width: 620px;
  padding-left: 0.15rem;
}

.about-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-aside {
  position: sticky;
  top: 72px;
}

.about-panel {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem 1.35rem 1.25rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.about-panel-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.about-facts {
  margin: 0;
}

.about-fact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-fact:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.about-fact--highlight {
  padding-top: 0;
}

.about-fact--highlight dd {
  color: var(--yellow);
}

.about-fact dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.about-fact dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.about-note {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.about-cta-btn {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--yellow);
  background: transparent;
  border: 1px solid rgba(245, 197, 24, 0.4);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.about-cta-btn:hover {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-left: 0.85rem;
  border-left: 2px solid var(--yellow);
  line-height: 1.2;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.section-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 2rem;
}

.section-head {
  margin-bottom: 2.75rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }

.p-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.p-card:hover {
  border-color: rgba(245, 197, 24, 0.25);
  transform: translateY(-2px);
}

.card-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.card-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(245, 197, 24, 0.12);
  color: var(--yellow);
  margin-bottom: 0.6rem;
}

.tech-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.75rem; }

.tech-tag {
  font-size: 11px;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}

.project-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--yellow);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 197, 24, 0.3);
  background: rgba(245, 197, 24, 0.06);
  transition: background 0.2s;
}

.project-link:hover { background: rgba(245, 197, 24, 0.14); }
.project-link svg { width: 14px; height: 14px; }

.timeline-item {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 1.75rem;
  border-left: 1px solid var(--border);
  margin-left: 4px;
}

.timeline-item:last-child { border-left-color: transparent; }

.timeline-dot {
  position: absolute;
  left: -5px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
}

.timeline-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.3rem;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.85rem;
}

.form-input:focus { outline: none; border-color: var(--yellow); }

.form-success { font-size: 14px; color: var(--yellow); margin-top: 0.5rem; }

.contact-link { color: var(--yellow); text-decoration: none; }
.contact-link:hover { text-decoration: underline; }

.site-footer {
  position: relative;
  padding: 3rem 0 2.5rem;
  font-size: 13px;
  color: var(--text-dim);
  background:
    radial-gradient(ellipse 80% 120% at 50% 100%, rgba(245, 197, 24, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, transparent 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(320px, 60vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(245, 197, 24, 0.15) 20%,
    rgba(245, 197, 24, 0.85) 50%,
    rgba(245, 197, 24, 0.15) 80%,
    transparent 100%
  );
}

.site-footer-panel {
  position: relative;
  z-index: 1;
}

.site-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: 1.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(245, 197, 24, 0.35);
  background: rgba(245, 197, 24, 0.06);
  box-shadow: 0 0 24px rgba(245, 197, 24, 0.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--yellow);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-name {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
}

.footer-role {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.footer-tagline-item {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  padding: 0.42rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-tagline-item:hover {
  color: var(--yellow);
  border-color: rgba(245, 197, 24, 0.28);
  background: rgba(245, 197, 24, 0.06);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-accent-line {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 197, 24, 0.35) 0%, rgba(255, 255, 255, 0.06) 42%, transparent 100%);
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-fade-up.active { opacity: 1; transform: none; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--yellow);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}

.skip-link:focus { top: 0.75rem; }

:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

.hidden { display: none; }

.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 80;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--yellow);
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.2s;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px);
}

.back-to-top.visible:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; }

@media (max-width: 768px) {
  .cinematic-hero {
    min-height: 100svh;
    min-height: 100dvh;
    overflow: visible;
    padding-bottom: 1.5rem;
  }

  .hero-bg {
    background-position: 70% center;
    filter: grayscale(0%) brightness(0.7) saturate(1.12);
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.96) 0%,
        rgba(0, 0, 0, 0.9) 45%,
        rgba(0, 0, 0, 0.5) 62%,
        rgba(0, 0, 0, 0.12) 100%
      ),
      linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.06) 50%, rgba(0, 0, 0, 0.62) 100%);
  }

  .hero-header {
    flex-wrap: wrap;
    align-items: center;
    padding: 1.25rem 1.25rem 0;
    gap: 0.85rem;
  }

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

  .hero-body,
  .hero-proof {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-body {
    padding-top: 1.25rem;
    padding-bottom: 1rem;
    max-width: none;
    justify-content: flex-start;
  }

  .hero-kicker {
    letter-spacing: 0.18em;
    margin-bottom: 0.85rem;
  }

  .hero-headline {
    font-size: clamp(1.35rem, 6.5vw, 1.85rem);
    letter-spacing: 0.04em;
    line-height: 1.3;
  }

  .hero-headline-wrap {
    height: auto !important;
  }

  .hero-headline-sizer {
    display: none;
  }

  .hero-headline-live {
    position: static;
  }

  .hero-subheadline {
    max-width: none;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .btn-yellow,
  .btn-play {
    width: 100%;
    justify-content: center;
  }

  .hero-meta {
    position: relative;
    bottom: auto;
    right: auto;
    text-align: left;
    padding: 0 1.25rem 0.75rem;
  }

  .hero-proof {
    padding-bottom: 1.5rem;
  }

  .hero-proof-text {
    font-size: 12px;
    line-height: 1.55;
  }

  .hero-quick-nav {
    gap: 0.35rem 0.85rem;
  }

  .hero-quick-nav .nav-link {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .scroll-hint {
    display: none;
  }

  .section {
    padding: 3rem 0;
  }

  .section-about {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .animate-fade-up {
    opacity: 1;
    transform: none;
  }

  .about-layout {
    gap: 2rem;
  }

  .exp-item-header {
    grid-template-columns: auto 1fr;
  }

  .edu-card-head {
    grid-template-columns: auto 1fr;
  }

  .contact-headline {
    max-width: none;
  }

  .contact-channels {
    max-width: none;
  }

  .section-contact::after {
    display: none;
  }

  .edu-badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .exp-item-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    text-align: left;
  }

  .section-head--split {
    align-items: flex-start;
  }

  .section-index {
    font-size: 2.5rem;
  }

  .about-aside {
    position: static;
  }

  .hero-meta-logo { display: none; }

  .site-footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-tagline {
    width: 100%;
  }

  .skill-group-tags {
    grid-template-columns: 1fr;
  }

  .cert-lightbox-img {
    max-width: 94vw;
    max-height: calc(88vh - 2.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-fade-up { opacity: 1; transform: none; transition: none; }
  .scroll-hint { animation: none; }
  .contact-status-dot { animation: none; }
  .contact-channel:hover { transform: none; }
  .contact-submit:hover { transform: none; }
  body.custom-cursor-active,
  body.custom-cursor-active a,
  body.custom-cursor-active button,
  body.custom-cursor-active input,
  body.custom-cursor-active textarea,
  body.custom-cursor-active select,
  body.custom-cursor-active label,
  body.custom-cursor-active summary,
  body.custom-cursor-active [role="button"] {
    cursor: auto !important;
  }
  .site-cursor { display: none !important; }
}
