.fa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

:root {
  --site-primary: #9e00b6;
  --site-primary-dark: #87009b;
  --site-background: #fbf9f6;
  --site-text: #1b1c1a;
}

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

html {
  font-size: 15px;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: clip;
  background-color: var(--site-background);
  color: var(--site-text);
}

main,
section,
footer {
  width: 100%;
}

section {
  scroll-margin-top: 6.5rem;
}

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

button,
input,
textarea {
  font: inherit;
}

.signature-glow:hover {
  box-shadow: 0 40px 40px -20px rgba(27, 28, 26, 0.04), 0 0 20px rgba(158, 0, 182, 0.1);
}

.hero-portrait-glow {
  position: absolute;
  width: clamp(14rem, 24vw, 21rem);
  height: clamp(14rem, 24vw, 21rem);
  border-radius: 9999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.08) 58%),
    radial-gradient(circle at 70% 70%, rgba(158, 0, 182, 0.25), transparent 62%);
  filter: blur(18px);
  opacity: 0.9;
}

.hero-portrait-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(15rem, 26vw, 22rem);
  aspect-ratio: 1;
  padding: clamp(0.55rem, 1vw, 0.85rem);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 9999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 243, 240, 0.8)),
    linear-gradient(145deg, rgba(158, 0, 182, 0.16), rgba(255, 255, 255, 0));
  box-shadow:
    0 30px 70px rgba(27, 28, 26, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  animation: hero-float 6s ease-in-out infinite;
}

.hero-portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 9999px;
}

.hero-floating-chip {
  animation: hero-chip-float 5.5s ease-in-out infinite;
}

.project-showcase-frame {
  aspect-ratio: 1366 / 651;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
}

.project-showcase-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
}

.contact-cta-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(132, 113, 131, 0.12);
  border-radius: 2.5rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 243, 240, 0.94)),
    linear-gradient(145deg, rgba(158, 0, 182, 0.06), rgba(255, 255, 255, 0));
  box-shadow: 0 28px 60px rgba(27, 28, 26, 0.08);
}

.contact-cta-shell::before {
  content: "";
  position: absolute;
  inset: auto auto -7rem -6rem;
  width: 20rem;
  height: 20rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(158, 0, 182, 0.14), rgba(158, 0, 182, 0));
  pointer-events: none;
}

.contact-cta-shell::after {
  content: "";
  position: absolute;
  inset: -7rem -6rem auto auto;
  width: 18rem;
  height: 18rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(96, 173, 150, 0.12), rgba(96, 173, 150, 0));
  pointer-events: none;
}

.contact-cta-panel,
.contact-form-shell {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(132, 113, 131, 0.12);
  border-radius: 2rem;
}

.contact-cta-panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  background:
    radial-gradient(circle at top right, rgba(158, 0, 182, 0.1), rgba(158, 0, 182, 0) 42%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 248, 0.95));
  box-shadow: 0 22px 50px rgba(27, 28, 26, 0.06);
}

.contact-compact-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  min-height: 100%;
}

.contact-form-shell {
  padding: clamp(1.4rem, 3vw, 2rem);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 243, 0.98)),
    linear-gradient(145deg, rgba(158, 0, 182, 0.05), rgba(255, 255, 255, 0));
  box-shadow:
    0 26px 55px rgba(27, 28, 26, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.contact-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(158, 0, 182, 0.12);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--site-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.contact-mail-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(132, 113, 131, 0.12);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.78);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contact-mail-card:hover {
  transform: translateY(-2px);
  border-color: rgba(158, 0, 182, 0.22);
  box-shadow: 0 18px 34px rgba(27, 28, 26, 0.08);
}

.contact-mail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(158, 0, 182, 0.16), rgba(158, 0, 182, 0.06));
  color: var(--site-primary);
}

.contact-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.95rem;
  background: linear-gradient(145deg, rgba(158, 0, 182, 0.16), rgba(158, 0, 182, 0.06));
  color: var(--site-primary);
}

.contact-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.contact-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(132, 113, 131, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--site-primary);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease,
    color 180ms ease, border-color 180ms ease;
}

.contact-icon-link:hover {
  transform: translateY(-2px);
  border-color: rgba(158, 0, 182, 0.22);
  background: var(--site-primary);
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(158, 0, 182, 0.18);
}

.contact-input,
input.contact-input,
textarea.contact-input {
  width: 100%;
  border: 1px solid rgba(132, 113, 131, 0.16) !important;
  border-radius: 1rem !important;
  background: rgba(255, 255, 255, 0.94) !important;
  padding: 0.95rem 1rem !important;
  font-size: 1rem;
  line-height: 1.4;
  outline: none !important;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-input:focus,
input.contact-input:focus,
textarea.contact-input:focus {
  border-color: rgba(158, 0, 182, 0.28) !important;
  box-shadow: 0 0 0 4px rgba(158, 0, 182, 0.08) !important;
}

.abstract-bg {
  background-image:
    radial-gradient(circle at 16% 44%, rgba(251, 249, 246, 0.94) 0%, rgba(251, 249, 246, 0.84) 24%, rgba(251, 249, 246, 0.38) 46%, rgba(251, 249, 246, 0) 66%),
    linear-gradient(118deg, rgba(246, 243, 236, 0.84) 0%, rgba(223, 245, 238, 0.54) 42%, rgba(251, 249, 246, 0.96) 100%),
    url("https://lh3.googleusercontent.com/aida-public/AB6AXuCoNxxhg8RvSM9XbapontBs6QQdIv-e4yIaxwDVzEtUBVyhO0UILgN0wfkq5NH0-cf7jxrEZepXm6IWgHdYF03d91BfgCSYJZstzulkZntrQgUY9n2aMuByfEiFtjUkTwU8jCRL7qmXBM1WfdnaLYi3nH3CBhEzbTfFUjGeVI9Nebu0vnKiOSzjgy5xqQ4VaIPWse0hbicO0HViWsXrrXf0YjIXNfmLnKt6H1ttNMY5xKl1L_e4MxqnDHzuB5vKzWFsehSu7VhJhyFO");
  background-position: left center, center, center;
  background-size: 56rem 56rem, cover, cover;
  background-repeat: no-repeat;
  background-blend-mode: normal, normal, overlay;
}

.page-section {
  padding: clamp(4.5rem, 6vw, 6rem) clamp(1.25rem, 3vw, 2.5rem);
}

.section-shell {
  width: min(100%, 72rem);
  margin-inline: auto;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  background-color: var(--site-primary) !important;
  color: #ffffff !important;
}

.primary-button:hover {
  background-color: var(--site-primary-dark) !important;
}

.primary-button:focus-visible {
  outline: 3px solid rgba(158, 0, 182, 0.18);
  outline-offset: 3px;
}

@media (min-width: 1024px) {
  html {
    font-size: 14.5px;
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes hero-chip-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}
