:root {
  --bg: #07111c;
  --bg-deep: #0d1a2f;
  --bg-elevated: #13253f;
  --paper: #f6f3ec;
  --paper-strong: #ffffff;
  --paper-soft: #eef3f8;
  --ink: #0d1b2b;
  --ink-soft: #566475;
  --line: rgba(12, 24, 39, 0.08);
  --line-light: rgba(255, 255, 255, 0.1);
  --accent: #46d3b0;
  --accent-deep: #119d7b;
  --accent-warm: #ffc46b;
  --accent-cool: #7ca9ff;
  --shadow-lg: 0 32px 90px rgba(8, 18, 33, 0.16);
  --shadow-md: 0 22px 44px rgba(12, 23, 40, 0.11);
  --shadow-sm: 0 14px 30px rgba(12, 23, 40, 0.08);
  --radius-2xl: 36px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: rgba(223, 232, 245, 0.9);
  background:
    radial-gradient(circle at 0% 0%, rgba(70, 211, 176, 0.14), transparent 26%),
    radial-gradient(circle at 100% 15%, rgba(255, 196, 107, 0.12), transparent 22%),
    linear-gradient(180deg, #07111c 0%, #0d1a2f 50%, #101d32 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 65%);
  opacity: 0.16;
}

.ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.65;
  z-index: 0;
}

.ambient-one {
  top: 80px;
  left: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(70, 211, 176, 0.45), transparent 70%);
}

.ambient-two {
  top: 320px;
  right: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(124, 169, 255, 0.26), transparent 70%);
}

.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 120;
}

.cursor-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  transition:
    opacity 0.2s ease,
    width 0.24s ease,
    height 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease;
}

.cursor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-warm);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.cursor-text {
  opacity: 0;
  color: #ffffff;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity 0.18s ease;
}

.container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(7, 17, 28, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.brand span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.96rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
}

.site-nav .nav-resume {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: #ffffff;
  border-radius: 999px;
}

.hero {
  position: relative;
  padding: 6rem 0 3.2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(70, 211, 176, 0.18), transparent 18%),
    radial-gradient(circle at 78% 18%, rgba(255, 196, 107, 0.16), transparent 18%),
    linear-gradient(145deg, #07111c 0%, #10213a 55%, #172a46 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 82%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 160px;
  background:
    linear-gradient(180deg, rgba(7, 17, 28, 0), rgba(7, 17, 28, 0.16)),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 3.6rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.6rem;
}

.section-heading h2,
.hero h1,
.about-story h3,
.value-card h3,
.timeline-card h3,
.skills-summary h3,
.subsection-heading h3,
.profile-card h4,
.project-body h3,
.package-card h3,
.contact-panel h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.05;
}

.hero h1 {
  display: grid;
  gap: 0.35rem;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  color: #f8fbff;
}

.display-line {
  display: block;
}

.accent-line {
  color: #cfdcff;
}

.hero-text,
.section-lead,
.about-story p,
.skills-summary p,
.timeline-card p,
.profile-list,
.profile-user,
.project-body p,
.package-card p,
.contact-panel p {
  line-height: 1.78;
}

.hero-text {
  max-width: 60ch;
  margin: 1.55rem 0 0;
  font-size: 1.08rem;
  color: rgba(230, 239, 251, 0.88);
}

.section-lead {
  margin: 1rem 0 0;
  max-width: 56ch;
  color: var(--ink-soft);
}

.section-lead-light {
  color: rgba(219, 230, 244, 0.8);
}

.hero-type {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  min-height: 42px;
  margin-top: 1.8rem;
}

.hero-type-label {
  color: rgba(219, 230, 244, 0.72);
  font-weight: 700;
}

.typewriter {
  min-height: 1.5rem;
  padding-right: 0.32rem;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  border-right: 2px solid rgba(255, 255, 255, 0.82);
  animation: blink 0.9s steps(1) infinite;
}

.hero-highlights,
.hero-actions,
.social-row,
.tag-row,
.project-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-highlights {
  margin-top: 1.7rem;
}

.hero-highlights span,
.tag-row span,
.skill-pills span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-highlights span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-actions {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #08131f;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 18px 36px rgba(17, 157, 123, 0.32);
}

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.button-ghost {
  color: var(--ink);
  background: #f4f7fb;
  border-color: rgba(13, 27, 43, 0.09);
}

.button-small {
  min-height: 46px;
  padding: 0.72rem 1.14rem;
  font-size: 0.94rem;
}

.social-row {
  margin-top: 2rem;
}

.social-row a {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.social-row a:hover,
.social-row a:focus-visible {
  transform: translateY(-3px);
  background: rgba(70, 211, 176, 0.14);
  border-color: rgba(70, 211, 176, 0.34);
}

.hero-visual {
  position: relative;
}

.portrait-stage {
  position: relative;
  padding: 2rem 1.2rem;
}

.portrait-stage::before {
  content: "";
  position: absolute;
  inset: 6% 10% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 169, 255, 0.15), transparent 70%);
  filter: blur(10px);
}

.portrait-card {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 430px;
  padding: 1.05rem;
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 34px 90px rgba(2, 11, 23, 0.38);
}

.portrait-ring {
  position: absolute;
  inset: 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.portrait-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 30px;
}

.hero-badge {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 0.25rem;
  max-width: 220px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(12, 26, 45, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.hero-badge span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-warm);
}

.hero-badge strong {
  color: #f8fbff;
  line-height: 1.45;
  font-size: 0.95rem;
}

.hero-badge-top {
  top: 8%;
  left: 0;
  animation: floatBadge 6.5s ease-in-out infinite;
}

.hero-badge-bottom {
  right: 0;
  bottom: 8%;
  animation: floatBadge 7.5s ease-in-out infinite reverse;
}

.tech-orbit {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.tech-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.54rem 0.86rem;
  border-radius: 999px;
  background: rgba(8, 20, 36, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ecf4ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 34px rgba(3, 11, 24, 0.34);
  backdrop-filter: blur(10px);
  animation: techFloat 6.8s ease-in-out infinite;
}

.tech-pill img {
  width: 20px;
  height: 20px;
  padding: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.tech-pill-1 {
  top: 16%;
  right: 2%;
  animation-delay: 0s;
}

.tech-pill-2 {
  top: 27.5%;
  right: -5%;
  animation-delay: 0.6s;
}

.tech-pill-3 {
  top: 39%;
  right: 1%;
  animation-delay: 1.2s;
}

.tech-pill-4 {
  top: 16%;
  left: 2%;
  animation-delay: 1.8s;
}

.tech-pill-5 {
  top: 27.5%;
  left: -6%;
  animation-delay: 2.4s;
}

.tech-pill-6 {
  top: 50.5%;
  right: -4%;
  animation-delay: 3s;
}

.tech-pill-7 {
  top: 39%;
  left: 1%;
  animation-delay: 3.4s;
}

.tech-pill-8 {
  top: 50.5%;
  left: -5%;
  animation-delay: 4s;
}

.tech-pill-9 {
  top: 64%;
  right: 2%;
  animation-delay: 4.6s;
}

.tech-pill-10 {
  top: 64%;
  left: 1%;
  animation-delay: 5.2s;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.proof-card {
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.proof-card strong {
  display: block;
  margin-bottom: 0.32rem;
  color: #ffffff;
  font-size: 1rem;
}

.proof-card span {
  color: rgba(223, 232, 245, 0.86);
  line-height: 1.58;
}

.section {
  position: relative;
  padding: 5.75rem 0;
}

#about {
  background:
    radial-gradient(circle at top left, rgba(124, 169, 255, 0.14), transparent 20%),
    linear-gradient(180deg, #0a1424 0%, #101d32 100%);
}

.section-muted {
  background:
    radial-gradient(circle at top left, rgba(70, 211, 176, 0.12), transparent 22%),
    linear-gradient(180deg, #0a1526 0%, #0f1d33 100%);
}

#about .section-heading h2,
#about .section-lead,
.section-muted .section-heading h2,
.section-muted .section-lead {
  color: #f8fbff;
}

.section-dark {
  background:
    radial-gradient(circle at 0% 0%, rgba(70, 211, 176, 0.14), transparent 16%),
    linear-gradient(180deg, #0a1424 0%, #101d32 100%);
}

.section-dark .section-heading h2,
.section-dark .subsection-heading h3,
.section-dark .timeline-card h3,
.section-dark .timeline-company,
.section-dark .timeline-meta strong {
  color: #ffffff;
}

.section-dark .eyebrow {
  color: var(--accent-warm);
}

.card-surface,
.about-card,
.value-card,
.profile-card,
.certificate-card,
.project-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.package-card {
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.about-grid,
.skills-layout {
  display: grid;
  gap: 1.5rem;
}

.about-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  align-items: start;
}

.card-surface {
  background: linear-gradient(150deg, rgba(8, 18, 31, 0.95), rgba(16, 31, 50, 0.95));
  border-radius: var(--radius-xl);
}

.about-story,
.skills-summary,
.skills-bars,
.profile-card,
.package-card {
  padding: 1.85rem;
}

.about-story p,
.skills-summary p,
.package-card p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.skills-summary h3,
.skills-bars .skill-bar-head span {
  color: #f8fbff;
}

.skills-summary p {
  color: rgba(223, 232, 245, 0.86);
}

.about-card {
  background: linear-gradient(145deg, rgba(8, 18, 31, 0.96), rgba(17, 31, 50, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-story {
  padding: 1.55rem;
}

.about-story h3 {
  color: #ffffff;
}

.about-story-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-story-tag {
  max-width: 28ch;
  margin: 0;
  color: rgba(255, 196, 107, 0.94);
  font-weight: 700;
  line-height: 1.6;
}

.about-copy-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.15rem;
}

.about-copy-columns p {
  margin: 0;
  color: rgba(223, 232, 245, 0.82);
  font-size: 1.02rem;
  line-height: 1.72;
  letter-spacing: 0.01em;
}


.about-side {
  display: grid;
  gap: 1rem;
}

.about-photo-card,
.quote-card {
  background: linear-gradient(145deg, rgba(8, 18, 31, 0.95), rgba(18, 31, 50, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.about-photo-card {
  position: relative;
  overflow: visible;
  padding: 1rem;
}

.about-photo-card img {
  border-radius: 22px;
  object-fit: cover;
}

.about-facts {
  display: grid;
  gap: 0.9rem;
}

.about-fact {
  padding: 1.05rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(12, 28, 47, 0.96), rgba(24, 43, 67, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-sm);
}

.about-fact span,
.package-type,
.project-kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-fact span,
.package-type {
  color: var(--accent-warm);
}

.package-type {
  color: var(--accent-deep);
}

.about-fact strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1rem;
  color: #ffffff;
}

.quote-card {
  position: relative;
  padding: 1.3rem 1.35rem;
  overflow: hidden;
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-warm));
}

.quote-card p {
  margin: 0;
  color: rgba(248, 251, 255, 0.92);
  font-weight: 700;
  line-height: 1.7;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.15rem;
}

.value-card {
  padding: 1.4rem 1.35rem;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(10, 19, 33, 0.94), rgba(18, 32, 51, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.value-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-warm);
  font-weight: 800;
}

.value-card h3 {
  font-size: 1.16rem;
  color: #ffffff;
}

.value-card p {
  margin: 0.85rem 0 0;
  color: rgba(223, 232, 245, 0.78);
  line-height: 1.7;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-0.5px);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.7rem;
  align-items: start;
}

.timeline-meta {
  position: relative;
  padding: 1.35rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-self: start;
  justify-self: end;
  max-width: 360px;
}

.timeline-meta::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2.15rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-warm);
  box-shadow: 0 0 0 8px rgba(255, 196, 107, 0.12);
  transform: translateY(-50%);
}

.timeline-meta span,
.timeline-meta strong {
  display: block;
}

.timeline-meta span {
  color: rgba(219, 230, 244, 0.72);
  font-size: 0.95rem;
}

.timeline-meta strong {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.96);
}

.timeline-card {
  padding: 1.65rem 1.7rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 44px rgba(2, 10, 21, 0.24);
  max-width: 620px;
}

.timeline-item:nth-child(odd) .timeline-meta {
  grid-column: 1;
  grid-row: 1;
}

.timeline-item:nth-child(odd) .timeline-card {
  grid-column: 2;
  grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-meta {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
}

.timeline-item:nth-child(even) .timeline-meta::after {
  left: -2.15rem;
  right: auto;
}

.timeline-item:nth-child(even) .timeline-card {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.timeline-card h3 {
  font-size: 1.32rem;
}

.timeline-company {
  margin-top: 0.48rem;
  font-weight: 800;
  color: var(--accent-warm);
}

.timeline-card p {
  margin: 0.92rem 0 0;
  color: rgba(224, 233, 246, 0.88);
}

.skills-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.skills-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(8, 18, 31, 0.95) 0%, rgba(18, 32, 52, 0.95) 100%);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.skills-card:hover {
  transform: translateY(-2px);
  border-color: rgba(148, 163, 184, 0.35);
}

.skills-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.skills-card-head i {
  font-size: 1.2rem;
  color: var(--accent);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.1);
}

.skills-card-head h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.skills-card p {
  margin: 0 0 1rem;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.9rem;
  line-height: 1.65;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.skills-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.25);
}



.subsection-heading {
  margin: 3.6rem 0 1.45rem;
}

.three-column-grid,
.projects-grid,
.package-grid,
.certificate-grid {
  display: grid;
  gap: 1.4rem;
}

.three-column-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cp-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(8, 18, 31, 0.95) 0%, rgba(18, 32, 52, 0.95) 100%);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cp-card:hover {
  transform: translateY(-3px);
  border-color: var(--cp-accent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.cp-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.15rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.cp-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.cp-name {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.cp-body {
  padding: 0.75rem 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.cp-row:last-of-type {
  border-bottom: none;
}

.cp-label {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.cp-value {
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cp-accent);
}

.cp-handle {
  font-family: "Inter", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.cp-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border);
  transition: color 0.2s ease, background 0.2s ease;
  margin-top: auto;
}

.cp-link:hover {
  color: var(--cp-accent);
  background: color-mix(in srgb, var(--cp-accent) 6%, transparent);
}

.pubdev-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  width: fit-content;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(70, 211, 176, 0.4);
  background: linear-gradient(140deg, #1f7ae0, #1456a8);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(4, 12, 24, 0.2);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.pubdev-link::after {
  content: "\2197";
  font-size: 0.88rem;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.cert-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(8, 18, 31, 0.95) 0%, rgba(18, 32, 52, 0.95) 100%);
  border: 1px solid rgba(148, 163, 184, 0.15);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cert-card:hover {
  transform: translateY(-2px);
  border-color: var(--cert-accent);
}

.cert-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 1rem 0 0 1rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cert-accent) 15%, transparent);
  color: var(--cert-accent);
  font-size: 1.2rem;
  z-index: 1;
}

.cert-image {
  margin: 0;
  padding: 0.75rem;
  overflow: hidden;
}

.cert-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cert-info {
  padding: 0 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cert-info h4 {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.cert-info span {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.pubdev-link:hover,
.pubdev-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 196, 107, 0.7);
  background: linear-gradient(140deg, #2b8af6, #1a64bf);
  box-shadow: 0 14px 28px rgba(4, 12, 24, 0.27);
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.project-card {
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(12, 24, 39, 0.92), rgba(17, 33, 54, 0.86));
  border: 1px solid rgba(124, 169, 255, 0.2);
  box-shadow: 0 20px 48px rgba(5, 13, 24, 0.3);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition:
    border-color 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    130deg,
    rgba(124, 169, 255, 0.18) 0%,
    rgba(70, 211, 176, 0.12) 45%,
    rgba(255, 196, 107, 0.14) 100%
  );
  opacity: 0;
  transition: opacity 0.24s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 169, 255, 0.45);
  box-shadow: 0 26px 56px rgba(5, 13, 24, 0.38);
}

.project-card:hover::before {
  opacity: 0.9;
}

.project-media {
  display: flex;
  position: relative;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  aspect-ratio: 16 / 6;
  min-height: 70px;
  object-fit: cover;
  display: block;
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 10%, rgba(7, 17, 28, 0.64) 100%);
}

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

.project-label {
  display: inline-flex;
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.36rem 0.6rem;
  border-radius: 999px;
  background: rgba(7, 17, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.project-body {
  display: grid;
  gap: 0.72rem;
  padding: 1rem;
}

.project-kicker {
  margin: 0;
  color: rgba(255, 196, 107, 0.9);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.project-body p {
  margin: 0;
  color: rgba(223, 232, 245, 0.78);
  font-size: 0.8rem;
  line-height: 1.55;
}

.project-body h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0.08rem 0 0.35rem;
}

.project-card .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.1rem;
}

.project-card .tag-row span {
  display: inline-flex;
  align-items: center;
  background: rgba(124, 169, 255, 0.15);
  border: 1px solid rgba(124, 169, 255, 0.25);
  color: rgba(233, 242, 255, 0.95);
  padding: 0.24rem 0.52rem;
  font-size: 0.64rem;
  font-weight: 600;
  border-radius: 999px;
}

.project-card .tag-row span:not(:last-child)::after {
  content: none;
}

.project-actions {
  margin-top: 0.16rem;
  gap: 0.5rem;
}

.project-actions .button {
  padding: 0.44rem 0.72rem;
  font-size: 0.7rem;
  border-radius: 999px;
  min-height: auto;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.project-actions .button::after {
  content: "\2192";
  margin-left: 0.32rem;
  transition: transform 0.2s ease;
  display: inline-block;
}

.project-actions .button:hover {
  transform: translateY(-1px);
}

.project-actions .button:hover::after {
  transform: translateX(2px);
}

.project-card .button-primary {
  color: #072241;
  background: linear-gradient(120deg, #7ca9ff, #46d3b0);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 20px rgba(70, 211, 176, 0.28);
}

.project-actions .button-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(237, 245, 255, 0.95);
}

.oss-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.oss-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1rem 0.85rem;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.oss-stat:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.015);
}

.oss-stat-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.oss-stat strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.oss-stat span {
  font-size: 0.72rem;
  color: rgba(223, 232, 245, 0.45);
  font-weight: 500;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(8, 18, 31, 0.95), rgba(18, 32, 52, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.package-card:hover {
  transform: translateY(-2px);
  border-color: rgba(148, 163, 184, 0.35);
}

.package-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--pkg-accent) 14%, transparent);
  color: var(--pkg-accent);
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.package-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.package-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.package-head h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.pkg-version {
  font-size: 0.75rem;
  color: rgba(219, 230, 244, 0.6);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
}

.package-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.6;
}

.package-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.package-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.76rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.package-meta i {
  font-size: 0.7rem;
}

.package-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  margin-top: 0.25rem;
}

.package-link:hover {
  color: var(--accent-warm);
}

.package-link i {
  font-size: 0.7rem;
}

.package-card-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(ellipse at top right, rgba(255, 196, 107, 0.1), transparent 50%),
    linear-gradient(145deg, rgba(8, 18, 31, 0.95), rgba(18, 32, 52, 0.95));
  border-color: rgba(255, 255, 255, 0.12);
}

.package-card-cta:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.package-cta-content h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: #ffffff;
}

.package-cta-content p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.package-card-cta .button {
  align-self: flex-start;
}


.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.package-card:hover {
  transform: translateY(-2px);
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-sm);
}

.package-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--pkg-accent) 14%, transparent);
  color: var(--pkg-accent);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.package-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.package-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.package-head h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.pkg-version {
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-weight: 500;
  background: rgba(148, 163, 184, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
}

.package-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.6;
}

.package-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.package-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.76rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.package-meta i {
  font-size: 0.7rem;
}

.package-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.2s ease;
  margin-top: 0.25rem;
}

.package-link:hover {
  color: var(--accent);
}

.package-link i {
  font-size: 0.7rem;
}

.package-card-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(ellipse at top right, rgba(59, 130, 246, 0.08), transparent 50%),
    var(--surface);
  border-color: rgba(59, 130, 246, 0.2);
}

.package-card-cta:hover {
  border-color: rgba(59, 130, 246, 0.35);
}

.package-cta-content h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: #ffffff;
}

.package-cta-content p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.package-card-cta .button {
  align-self: flex-start;
}

.certificate-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.certificate-card {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.certificate-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f8fbff;
}

.certificate-card figcaption {
  padding: 1rem 1.2rem 1.15rem;
  color: var(--ink);
  font-weight: 800;
}

.contact-section {
  padding-top: 2.5rem;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2.15rem;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 196, 107, 0.2), transparent 22%),
    linear-gradient(145deg, #08131f 0%, #13253d 100%);
  box-shadow: 0 28px 68px rgba(6, 14, 26, 0.28);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
}

.contact-copy,
.contact-actions {
  position: relative;
  z-index: 1;
}

.contact-panel h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-panel p {
  margin: 1rem 0 0;
  color: rgba(223, 232, 245, 0.84);
}

.site-footer {
  margin-top: 5rem;
  background: #07111c;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-brand strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.footer-brand span {
  color: rgba(219, 230, 244, 0.55);
  font-size: 0.78rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(219, 230, 244, 0.7);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.footer-copy {
  margin: 0;
  color: rgba(219, 230, 244, 0.4);
  font-size: 0.82rem;
}

@media (pointer: fine) {
  .js body,
  .js a,
  .js button,
  .js .project-card,
  .js .profile-card,
  .js .package-card,
  .js .certificate-card,
  .js .value-card {
    cursor: none;
  }

  .cursor-ready .cursor-ring,
  .cursor-ready .cursor-dot {
    opacity: 1;
  }

  body.cursor-active .cursor-ring {
    width: 86px;
    height: 86px;
    background: rgba(70, 211, 176, 0.12);
    border-color: rgba(70, 211, 176, 0.45);
  }

  body.cursor-active .cursor-text {
    opacity: 1;
  }
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(0.985);
  filter: blur(4px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay),
    filter 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay);
  will-change: opacity, transform, filter;
}

.js .reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes techFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-12px) scale(1.03);
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .about-grid,
  .skills-layout,
  .about-values,
  .three-column-grid,
  .package-grid,
  .certificate-grid,
  .contact-panel,
  .oss-stats {
    grid-template-columns: 1fr;
  }

  .oss-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proof,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-meta::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(7, 17, 28, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .nav-resume {
    width: 100%;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero-grid {
    gap: 2.4rem;
  }

  .hero-proof,
  .projects-grid,
  .about-copy-columns {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    position: static;
    max-width: none;
    margin: 0 auto 1rem;
  }

  .hero-badge-bottom {
    margin-top: 1rem;
    margin-bottom: 0;
  }

  .portrait-stage {
    padding: 0;
  }

  .tech-pill {
    font-size: 0.72rem;
    padding: 0.42rem 0.65rem;
  }

  .tech-pill img {
    width: 16px;
    height: 16px;
  }

  .contact-actions {
    width: 100%;
  }

  .oss-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tech-orbit {
    display: none;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .section {
    padding: 4.4rem 0;
  }

  .hero-actions,
  .project-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .about-story,
  .skills-summary,
  .skills-bars,
  .profile-card,
  .package-card,
  .timeline-card,
  .contact-panel {
    padding: 1.4rem;
  }

  .hero-proof {
    margin-top: 1.8rem;
  }

  .proof-card,
  .timeline-meta {
    padding: 1.1rem;
  }

  .cursor-ring,
  .cursor-dot {
    display: none !important;
  }

  .skill-bar-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
