:root {
  --white: #ffffff;
  --soft-gray: #f8fafc;
  --deep-navy: #0f172a;
  --cyan-blue: #06b6d4;
  --royal-blue: #2563eb;
  --text-gray: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --glass: rgba(255, 255, 255, 0.74);
  --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.1);
  --shadow-hover: 0 24px 80px rgba(37, 99, 235, 0.18);
  --radius: 8px;
  --radius-lg: 8px;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Sora", "Plus Jakarta Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--deep-navy);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(6, 182, 212, 0.06), transparent 34%),
    linear-gradient(245deg, rgba(37, 99, 235, 0.06), transparent 30%),
    var(--white);
}

main {
  overflow: hidden;
}

img,
canvas {
  max-width: 100%;
}

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

button {
  font: inherit;
}

::selection {
  color: var(--white);
  background: var(--royal-blue);
}

.section-padding {
  padding: 112px 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.95)),
    var(--soft-gray);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--royal-blue);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-blue), var(--royal-blue));
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--deep-navy);
}

.section-text {
  margin: 18px 0 0;
  color: var(--text-gray);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 800;
  min-height: 48px;
  padding-inline: 22px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-accent {
  color: var(--white);
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--cyan-blue), var(--royal-blue));
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.26);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  color: var(--white);
  box-shadow: 0 22px 44px rgba(37, 99, 235, 0.34);
}

.btn-outline-navy {
  color: var(--deep-navy);
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
}

.btn-outline-navy:hover,
.btn-outline-navy:focus-visible {
  color: var(--royal-blue);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow-soft);
}

.btn-primary-soft {
  color: var(--royal-blue);
  background: rgba(37, 99, 235, 0.09);
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.btn-primary-soft:hover,
.btn-primary-soft:focus-visible {
  color: var(--white);
  background: var(--royal-blue);
}

/* Navigation */
.site-navbar {
  min-height: 78px;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(20px);
  transition:
    min-height 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
  z-index: 50;
}

.site-navbar.nav-scrolled {
  min-height: 68px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--deep-navy);
}

.text-brand {
  max-width: min(54vw, 360px);
  letter-spacing: 0;
  line-height: 1.05;
}

.text-brand span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, var(--deep-navy), var(--royal-blue), var(--cyan-blue), var(--deep-navy));
  background-size: 240% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: textShine 6s ease-in-out infinite;
}

.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: var(--white);
  font-size: 0.88rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--deep-navy), var(--royal-blue));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

.navbar .nav-link {
  color: var(--text-gray);
  font-weight: 700;
  font-size: 0.95rem;
  padding-inline: 12px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible,
.navbar .nav-link.active {
  color: var(--royal-blue);
}

.navbar-toggler {
  border: 0;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.16);
}

.nav-cta {
  min-height: 42px;
  padding-inline: 18px;
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 94svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 128px 0 82px;
  background:
    radial-gradient(circle at 14% 14%, rgba(6, 182, 212, 0.18), transparent 34%),
    radial-gradient(circle at 84% 20%, rgba(37, 99, 235, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.three-canvas {
  display: block;
}

.hero-section #hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.54;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 76%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 24px;
  color: var(--deep-navy);
  font-weight: 800;
  font-size: 0.88rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.08);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan-blue);
  box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.16);
}

.hero-title {
  margin: 0;
  max-width: 960px;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 8.5rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(92deg, var(--deep-navy), var(--royal-blue), var(--cyan-blue), var(--deep-navy));
  background-size: 260% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: textShine 5.5s ease-in-out infinite;
  position: relative;
}

.hero-title .word,
.hero-subtitle .word,
.section-title .word {
  display: inline-block;
  will-change: transform, opacity;
}

.hero-title .word {
  color: transparent;
  background: linear-gradient(92deg, var(--deep-navy), var(--royal-blue), var(--cyan-blue), var(--deep-navy));
  background-size: 260% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: textShine 5.5s ease-in-out infinite;
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: min(240px, 52vw);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-blue), var(--royal-blue), transparent);
  transform-origin: left;
  animation: titleUnderline 4.5s ease-in-out infinite;
}

.hero-subtitle {
  margin: 22px 0 0;
  max-width: 860px;
  color: var(--deep-navy);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--text-gray);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-portrait-card {
  position: relative;
  max-width: 470px;
  min-height: 590px;
  margin-left: auto;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: none;
  transform-style: preserve-3d;
  overflow: visible;
}

.hero-portrait-card::before {
  display: none;
}

.hero-portrait-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 16%;
  bottom: auto;
  width: 94%;
  height: 74%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, rgba(6, 182, 212, 0.22), transparent 42%),
    radial-gradient(circle at 56% 54%, rgba(37, 99, 235, 0.18), transparent 54%),
    radial-gradient(ellipse at center, rgba(15, 23, 42, 0.16), transparent 70%);
  filter: blur(28px);
  opacity: 0.9;
  transform: translateX(-50%);
  animation: shadowPulse 4.8s ease-in-out infinite;
}

.hero-portrait-frame {
  position: absolute;
  inset: 0 -16px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
  transform: translateZ(34px);
  will-change: transform, opacity;
}

.hero-portrait-frame::before {
  display: none;
}

.hero-portrait-frame::after {
  display: none;
}

.hero-portrait-frame img {
  position: relative;
  z-index: 1;
  width: min(126%, 540px);
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0, 0, 0, 0.92) 88%, rgba(0, 0, 0, 0.35) 96%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgba(0, 0, 0, 0.92) 88%, rgba(0, 0, 0, 0.35) 96%, transparent 100%);
  filter:
    drop-shadow(0 30px 34px rgba(15, 23, 42, 0.22))
    drop-shadow(0 10px 22px rgba(37, 99, 235, 0.14));
  animation: portraitFloat 4.8s ease-in-out infinite;
  will-change: transform;
}

.hero-portrait-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--deep-navy);
  font-size: 0.86rem;
  font-weight: 900;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  transform: translateZ(58px);
  animation: floatBadge 5s ease-in-out infinite;
}

.hero-portrait-badge i {
  color: var(--royal-blue);
}

.badge-top {
  top: 34px;
  left: 26px;
}

.badge-bottom {
  right: 26px;
  bottom: 48px;
  animation-delay: 1s;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin-top: 58px;
}

.metric-item {
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 56px rgba(15, 23, 42, 0.08);
}

.metric-value {
  display: block;
  color: var(--royal-blue);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: var(--text-gray);
  font-size: 0.92rem;
  font-weight: 700;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--deep-navy);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  transform: translateX(-50%);
  animation: floatY 2.6s ease-in-out infinite;
}

/* About */
.skill-badge-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.skill-badge-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--deep-navy);
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  animation: floatBadge 5s ease-in-out infinite;
}

.skill-badge-cloud span:nth-child(2n) {
  animation-delay: 0.8s;
}

.skill-badge-cloud span:nth-child(3n) {
  animation-delay: 1.4s;
}

.profile-card,
.service-card,
.skills-panel,
.toolbox-card,
.project-card,
.testimonial-card,
.testimonial-feature-card,
.testimonial-stat,
.contact-3d-panel,
.contact-method,
.footer-panel,
.footer-cta {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: var(--glass);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  will-change: transform;
}

:where(.profile-card, .service-card, .skills-panel, .toolbox-card, .project-card, .testimonial-card, .testimonial-feature-card, .testimonial-stat, .contact-3d-panel, .contact-method, .footer-panel, .footer-cta) {
  position: relative;
}

:where(.profile-card, .service-card, .skills-panel, .toolbox-card, .project-card, .testimonial-card, .testimonial-feature-card, .testimonial-stat, .contact-3d-panel, .contact-method, .footer-panel, .footer-cta)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(315deg, rgba(6, 182, 212, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity 260ms ease;
}

:where(.profile-card, .service-card, .skills-panel, .toolbox-card, .project-card, .testimonial-card, .testimonial-feature-card, .testimonial-stat, .contact-3d-panel, .contact-method, .footer-panel, .footer-cta):hover::after {
  opacity: 1;
}

:where(.profile-card, .service-card, .skills-panel, .toolbox-card, .project-card, .testimonial-card, .testimonial-feature-card, .testimonial-stat, .contact-3d-panel, .contact-method, .footer-panel, .footer-cta) > *:not(.js-tilt-glare) {
  position: relative;
  z-index: 1;
  transform: translateZ(18px);
}

.hero-portrait-card > .hero-portrait-frame {
  position: absolute;
  z-index: 1;
  transform: translateZ(34px);
}

.hero-portrait-card > .hero-portrait-badge {
  position: absolute;
  z-index: 2;
  transform: translateZ(58px);
}

.hero-portrait-card {
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.profile-card {
  max-width: 520px;
  min-height: 560px;
  margin-left: auto;
  padding: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.12), transparent 28%),
    linear-gradient(315deg, rgba(37, 99, 235, 0.14), transparent 32%);
}

.profile-card > * {
  position: relative;
  z-index: 1;
}

.profile-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
}

.profile-chip,
.profile-availability {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  color: var(--royal-blue);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
}

.profile-availability {
  color: var(--deep-navy);
  background: rgba(6, 182, 212, 0.12);
}

.profile-avatar {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 210px;
  height: 250px;
  margin: 8px auto 28px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: rotate(-2deg);
  overflow: visible;
}

.profile-avatar::before {
  display: none;
}

.profile-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 86%;
  height: 24px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.2);
  filter: blur(14px);
  transform: translateX(-50%);
}

.profile-avatar img {
  position: relative;
  z-index: 1;
  width: 118%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter:
    drop-shadow(0 22px 26px rgba(15, 23, 42, 0.2))
    drop-shadow(0 8px 18px rgba(37, 99, 235, 0.12));
  animation: portraitFloat 5.4s ease-in-out infinite;
}

.profile-card h3 {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 2rem;
}

.profile-card p {
  max-width: 360px;
  margin: 12px auto 0;
  color: var(--text-gray);
  text-align: center;
}

.profile-stack {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.profile-stack div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--deep-navy);
  font-weight: 800;
}

.profile-stack i {
  color: var(--royal-blue);
  font-size: 1.25rem;
}

.profile-card-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.profile-card-footer span {
  padding: 6px 10px;
  color: var(--text-gray);
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.86);
}

/* Services */
.services-section {
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 9% -12% auto;
  height: 420px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.14), transparent),
    linear-gradient(120deg, rgba(37, 99, 235, 0.1), transparent 58%);
  transform: rotate(-3deg);
}

.service-grid {
  position: relative;
  z-index: 1;
}

.service-card {
  height: 100%;
  min-height: 286px;
  padding: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--cyan-blue), var(--royal-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.service-card:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-4deg);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(15, 23, 42, 0.1);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  transform: translateZ(8px);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  font-size: 1.45rem;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--cyan-blue), var(--royal-blue));
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.2);
  transform: translateZ(34px);
}

.clean-icon {
  position: relative;
  isolation: isolate;
}

.clean-icon::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 1px solid rgba(6, 182, 212, 0.22);
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.76);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.motion-card:hover .clean-icon::before,
.contact-method:hover .clean-icon::before,
.social-list a:hover::before,
.footer-social a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.service-card h3,
.project-card h3 {
  margin: 24px 0 10px;
  color: var(--deep-navy);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.service-card p,
.project-card p,
.testimonial-card p,
.toolbox-card p {
  margin: 0;
  color: var(--text-gray);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--royal-blue);
  font-size: 0.88rem;
  font-weight: 900;
  transform: translateZ(22px);
}

.service-link i {
  transition: transform 220ms ease;
}

.service-card:hover .service-link i {
  transform: translate(3px, -3px);
}

/* Skills */
.toolbox-card {
  margin-top: 34px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.toolbox-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--deep-navy);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.toolbox-header i {
  color: var(--cyan-blue);
}

.skills-panel {
  padding: 30px;
  border-radius: var(--radius-lg);
}

.skill-row + .skill-row {
  margin-top: 18px;
}

.skill-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
  color: var(--deep-navy);
  font-weight: 800;
}

.progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.progress-bar {
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan-blue), var(--royal-blue));
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.3);
  transition: width 1.2s cubic-bezier(0.2, 0.9, 0.2, 1);
}

/* Projects */
.project-card {
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.project-card:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(4deg);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: var(--shadow-hover);
}

.project-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 178px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: var(--white);
  font-size: 3rem;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(37, 99, 235, 0.86)),
    var(--deep-navy);
  transform: translateZ(24px);
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.72)),
    linear-gradient(135deg, rgba(6, 182, 212, 0.18), transparent 52%);
  pointer-events: none;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  pointer-events: none;
}

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

.project-card:hover .project-visual img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.1);
}

.project-visual-icon {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  font-size: 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.66);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.22);
}

.project-body {
  padding: 26px;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.tech-list span {
  padding: 6px 10px;
  color: var(--royal-blue);
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--deep-navy);
  font-weight: 800;
}

.project-link i {
  color: var(--royal-blue);
  transition: transform 220ms ease;
}

.project-link:hover {
  color: var(--royal-blue);
}

.project-link:hover i {
  transform: translateX(4px);
}

/* Showcase */
.showcase-section {
  background: var(--white);
}

.showcase-stage {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.86) 44%, rgba(248, 250, 252, 0.54) 100%),
    linear-gradient(180deg, #ffffff, #f8fafc);
}

.showcase-stage #showcase-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.showcase-content {
  position: relative;
  z-index: 2;
  padding-block: 112px;
}

.min-vh-75 {
  min-height: 560px;
}

.showcase-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.showcase-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 13px;
  color: var(--deep-navy);
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.showcase-points i {
  color: var(--royal-blue);
}

/* Testimonials */
.testimonials-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.82)),
    var(--white);
}

.testimonial-aura {
  position: absolute;
  inset: 12% auto auto 50%;
  width: min(720px, 88vw);
  height: min(720px, 88vw);
  pointer-events: none;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(6, 182, 212, 0.14), transparent 58%),
    radial-gradient(circle at 70% 30%, rgba(37, 99, 235, 0.16), transparent 34%);
  transform: translateX(-50%);
  animation: testimonialAura 12s ease-in-out infinite;
}

.testimonial-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 24px;
  align-items: stretch;
  perspective: 1400px;
}

.testimonial-feature-card {
  min-height: 520px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.testimonial-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.14), transparent 38%),
    linear-gradient(315deg, rgba(6, 182, 212, 0.13), transparent 38%);
}

.quote-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  color: var(--white);
  font-size: 2.1rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--deep-navy), var(--royal-blue));
  box-shadow: 0 22px 52px rgba(37, 99, 235, 0.24);
  transform: translateZ(36px);
}

.testimonial-feature-card p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--deep-navy);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.22;
}

.testimonial-stack {
  display: grid;
  gap: 18px;
  align-content: stretch;
}

.testimonial-card {
  height: 100%;
  min-height: 218px;
  padding: 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.testimonial-card:hover,
.testimonial-feature-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-hover);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.mini-quote {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: var(--royal-blue);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--radius);
  background: rgba(37, 99, 235, 0.08);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  color: var(--cyan-blue);
}

.testimonial-card p {
  color: var(--deep-navy);
  font-weight: 600;
}

.testimonial-stat {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.testimonial-stat span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--deep-navy);
  font-weight: 900;
  font-size: 0.88rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.testimonial-stat i {
  color: var(--royal-blue);
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.reviewer-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  color: var(--white);
  font-weight: 800;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--deep-navy), var(--royal-blue));
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.reviewer strong,
.reviewer span {
  display: block;
}

.reviewer strong {
  color: var(--deep-navy);
}

.reviewer div span {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Contact */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.78;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn-whatsapp {
  color: var(--white);
  background: #16a34a;
  border: 1px solid #16a34a;
  box-shadow: 0 18px 36px rgba(22, 163, 74, 0.2);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  color: var(--white);
  background: #15803d;
  border-color: #15803d;
}

.social-list,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-list {
  margin-top: 26px;
}

.social-list a,
.footer-social a {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--deep-navy);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  transition:
    transform 220ms ease,
    color 220ms ease,
    background 220ms ease;
}

.social-list a::before,
.footer-social a::before {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.72);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.social-list a:hover,
.footer-social a:hover {
  color: var(--white);
  background: var(--royal-blue);
  transform: translateY(-4px) translateZ(18px) rotateX(8deg);
}

.social-list a:hover::before,
.footer-social a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.contact-3d-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  gap: 24px;
  min-height: 430px;
  padding: 28px;
  border-radius: var(--radius-lg);
  perspective: 1000px;
  overflow: hidden;
}

.contact-3d-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: inherit;
  pointer-events: none;
}

.contact-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}

.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(6, 182, 212, 0.3);
  border-radius: 50%;
  animation: orbitSpin 20s linear infinite;
}

.ring-one {
  width: 300px;
  height: 300px;
}
.ring-two {
  width: 200px;
  height: 200px;
  animation-direction: reverse;
  animation-duration: 15s;
}

.orbit-core {
  position: relative;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--royal-blue), var(--cyan-blue));
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #fff;
  z-index: 2;
  box-shadow:
    0 10px 30px rgba(37, 99, 235, 0.3),
    inset 0 2px 10px rgba(255, 255, 255, 0.5);
  animation: pulseCore 3s ease-in-out infinite;
}

.orbit-node {
  position: absolute;
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: var(--royal-blue);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  z-index: 3;
}

.node-a {
  top: 10%;
  left: 10%;
  animation: floatY 4s ease-in-out infinite;
}
.node-b {
  bottom: 20%;
  right: 5%;
  animation: floatY 5s ease-in-out infinite 0.5s;
}
.node-c {
  bottom: 10%;
  left: 30%;
  animation: floatY 4.5s ease-in-out infinite 1s;
}

@keyframes orbitSpin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseCore {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 10px 30px rgba(37, 99, 235, 0.3),
      inset 0 2px 10px rgba(255, 255, 255, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow:
      0 15px 40px rgba(37, 99, 235, 0.4),
      inset 0 2px 10px rgba(255, 255, 255, 0.6);
  }
}

.contact-methods {
  display: grid;
  align-content: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
  transition:
    transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 300ms ease;
  cursor: pointer;
}

.contact-method:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
}

.method-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  color: var(--white);
  border-radius: 14px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.method-icon i {
  font-size: 1.4rem;
  opacity: 0.9;
}

.method-content {
  flex: 1;
}

.method-action {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #94a3b8;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 50%;
  background: var(--white);
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.contact-method:hover .method-action {
  color: var(--royal-blue);
  border-color: rgba(37, 99, 235, 0.2);
  background: rgba(37, 99, 235, 0.04);
  transform: rotate(-10deg) scale(1.05);
}

.contact-actions .btn i,
.contact-method i,
.social-list i,
.footer-social i {
  line-height: 1;
}

.contact-method h3 {
  margin: 0;
  color: var(--deep-navy);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.contact-method a,
.contact-method span {
  display: inline-block;
  margin-top: 2px;
  color: var(--text-gray);
  font-weight: 700;
}

.contact-method a:hover {
  color: var(--royal-blue);
}

.floating-email {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  color: var(--white);
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(145deg, var(--deep-navy), var(--royal-blue));
  box-shadow:
    0 20px 44px rgba(37, 99, 235, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform-style: preserve-3d;
  animation: emailFloat 3.4s ease-in-out infinite;
}

.floating-email i {
  font-size: 1.2rem;
}

.floating-email:hover,
.floating-email:focus-visible {
  color: var(--white);
  transform: translateY(-5px) rotateX(8deg) rotateY(-8deg);
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 72px 0 26px;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.2), transparent 34%),
    linear-gradient(315deg, rgba(6, 182, 212, 0.14), transparent 30%),
    var(--deep-navy);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}

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

.footer-brand {
  color: var(--white);
}

.footer-brand.text-brand {
  max-width: none;
}

.site-footer p {
  margin: 16px 0 0;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.footer-cta-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--cyan-blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.footer-cta h2 {
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.12;
}

.footer-main {
  align-items: stretch;
}

.footer-panel {
  height: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.footer-panel h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-social {
  margin-top: 22px;
  justify-content: flex-start;
}

.footer-social a {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-contact i {
  color: var(--cyan-blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 90ms;
}

.delay-2 {
  transition-delay: 180ms;
}

.delay-3 {
  transition-delay: 270ms;
}

.delay-4 {
  transition-delay: 360ms;
}

.delay-5 {
  transition-delay: 450ms;
}

@keyframes floatY {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -9px);
  }
}

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

@keyframes orbitSpin {
  from {
    transform: rotateZ(0deg) translateZ(0);
  }
  to {
    transform: rotateZ(360deg) translateZ(0);
  }
}

@keyframes emailFloat {
  0%,
  100% {
    transform: translateY(0) rotateX(0deg);
  }
  50% {
    transform: translateY(-8px) rotateX(6deg);
  }
}

@keyframes testimonialAura {
  0%,
  100% {
    transform: translateX(-50%) rotate(0deg) scale(1);
  }
  50% {
    transform: translateX(-50%) rotate(8deg) scale(1.04);
  }
}

@keyframes textShine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes titleUnderline {
  0%,
  100% {
    transform: scaleX(0.72);
    opacity: 0.7;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes portraitFloat {
  0%,
  100% {
    transform: translateY(0) rotateZ(0deg);
  }
  50% {
    transform: translateY(-14px) rotateZ(1.2deg);
  }
}

@keyframes shadowPulse {
  0%,
  100% {
    transform: translateX(-50%) scaleX(0.92);
    opacity: 0.68;
  }
  50% {
    transform: translateX(-50%) scaleX(1);
    opacity: 0.9;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Responsive */
@media (max-width: 1199.98px) {
  .hero-title {
    max-width: 820px;
  }

  .showcase-stage {
    min-height: 720px;
  }
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 88px 0;
  }

  .site-navbar {
    background: rgba(255, 255, 255, 0.94);
  }

  .navbar-collapse {
    padding: 16px 0 10px;
  }

  .nav-cta {
    width: 100%;
    margin-top: 8px;
  }

  .hero-section {
    min-height: auto;
    padding: 122px 0 76px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-top: 42px;
  }

  .profile-card {
    max-width: none;
    margin-left: 0;
  }

  .hero-portrait-card {
    max-width: 470px;
    min-height: 540px;
    margin: 24px auto 0;
  }

  .showcase-stage {
    min-height: 760px;
  }

  .showcase-stage #showcase-canvas {
    opacity: 0.52;
  }

  .showcase-content {
    padding-block: 86px;
  }

  .min-vh-75 {
    min-height: 520px;
  }

  .testimonial-stage {
    grid-template-columns: 1fr;
  }

  .testimonial-feature-card {
    min-height: auto;
  }

  .contact-3d-panel {
    grid-template-columns: 1fr;
  }

  .contact-orbit {
    min-height: 300px;
  }

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

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

  .site-footer {
    text-align: left;
  }

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

@media (max-width: 767.98px) {
  .section-padding {
    padding: 76px 0;
  }

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

  .hero-section {
    padding-top: 112px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-portrait-card {
    min-height: 460px;
  }

  .metric-item {
    min-height: 86px;
  }

  .profile-card,
  .skills-panel,
  .testimonial-feature-card,
  .contact-3d-panel,
  .footer-cta,
  .footer-panel {
    padding: 24px;
  }

  .profile-card {
    min-height: auto;
  }

  .project-body,
  .service-card,
  .testimonial-card,
  .testimonial-stat,
  .contact-method {
    padding: 24px;
  }

  .showcase-stage {
    min-height: 700px;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .brand-mark {
    gap: 9px;
    font-size: 0.98rem;
  }

  .text-brand {
    max-width: 210px;
    font-size: 0.92rem;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .eyebrow {
    align-items: flex-start;
    border-radius: 18px;
  }

  .hero-title {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .hero-subtitle {
    font-size: 1.62rem;
  }

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

  .hero-portrait-card {
    min-height: 390px;
  }

  .hero-portrait-badge {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .badge-top {
    top: 22px;
    left: 18px;
  }

  .badge-bottom {
    right: 18px;
    bottom: 28px;
  }

  .section-title {
    font-size: 2rem;
  }

  .skill-meta {
    font-size: 0.92rem;
  }

  .showcase-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .testimonial-feature-card p {
    font-size: 1.28rem;
  }

  .testimonial-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-orbit {
    min-height: 260px;
    transform: scale(0.82) rotateX(56deg) rotateZ(-18deg);
  }

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

  .floating-email {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
    justify-content: center;
  }

  .floating-email span {
    display: none;
  }

  .footer-links {
    gap: 12px;
  }
}
