:root {
  color-scheme: dark;
  --bg: #070509;
  --surface: #121018;
  --surface-high: #211929;
  --surface-glass: rgba(27, 22, 34, 0.74);
  --outline: rgba(255, 231, 246, 0.17);
  --text: #fff7fb;
  --muted: #d8c7d3;
  --primary: #ff4fa3;
  --primary-high: #ff9fca;
  --primary-low: #4b1230;
  --secondary: #ffe1f2;
  --tertiary: #8df3e5;
  --lime: #c8ff6f;
  --cyan: #86e9ff;
  --amber: #ffd166;
  --shadow: 0 22px 70px rgba(255, 79, 163, 0.16);
  --radius-xl: 44px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 8px;
  font-family: "Google Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(255, 79, 163, 0.18), transparent 28%),
    linear-gradient(240deg, rgba(126, 231, 255, 0.08), transparent 34%),
    var(--bg);
  overflow-x: hidden;
  word-wrap: break-word;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 84%);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 79, 163, 0.24), transparent 34%),
    rgba(7, 5, 9, 0.94);
  backdrop-filter: blur(20px);
  transition: opacity 520ms ease, visibility 520ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-card {
  width: min(280px, calc(100% - 48px));
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 79, 163, 0.18), rgba(255, 255, 255, 0.055)),
    rgba(19, 16, 23, 0.86);
  box-shadow: 0 28px 90px rgba(255, 79, 163, 0.22);
  animation: loaderCardIn 780ms cubic-bezier(0.2, 0, 0, 1) both;
}

.loader-orbit {
  position: relative;
  width: 118px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.loader-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 216, 235, 0.18);
  border-top-color: var(--primary);
  border-right-color: var(--secondary);
  border-radius: 50%;
  animation: loaderSpin 950ms linear infinite;
}

.loader-orbit::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 139, 195, 0.24);
  border-bottom-color: var(--primary-high);
  border-radius: 50%;
  animation: loaderSpin 1500ms linear infinite reverse;
}

.loader-orbit span {
  position: absolute;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 22px rgba(255, 79, 163, 0.8);
  animation: loaderPulse 1100ms ease-in-out infinite;
}

.loader-orbit span:nth-child(1) {
  top: 6px;
}

.loader-orbit span:nth-child(2) {
  right: 8px;
  bottom: 24px;
  animation-delay: 180ms;
}

.loader-orbit span:nth-child(3) {
  left: 10px;
  bottom: 18px;
  animation-delay: 360ms;
}

.loader-orbit img {
  position: relative;
  z-index: 1;
  width: 58px;
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 18px;
  background: var(--primary);
  box-shadow: 0 14px 34px rgba(255, 79, 163, 0.42);
}

.loader-card p {
  margin: 8px 0 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.loader-card small {
  color: var(--muted);
  font-weight: 700;
}

.ambient {
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    conic-gradient(from 120deg at 18% 24%, transparent, rgba(255, 79, 163, 0.34), transparent 28%),
    conic-gradient(from 260deg at 82% 12%, transparent, rgba(255, 139, 195, 0.2), transparent 24%),
    linear-gradient(180deg, transparent 0%, rgba(255, 79, 163, 0.1) 100%);
  filter: blur(42px);
  opacity: 0.74;
  animation: ambientShift 14s ease-in-out infinite alternate;
}

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

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

.top-app-bar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 10;
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--outline);
  border-radius: 28px;
  background: rgba(13, 10, 17, 0.76);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), opacity 400ms ease;
  will-change: transform;
}

.top-app-bar.nav-hidden {
  transform: translateY(calc(-100% - 32px));
  opacity: 0;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  aspect-ratio: 1;
  padding: 7px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--primary);
  color: #17000c;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(255, 79, 163, 0.4);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.desktop-nav a {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: 220ms ease;
}

.desktop-nav a:hover {
  color: var(--text);
  background: var(--primary-low);
}

.icon-button,
.filled-button,
.tonal-button,
.github-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
}

.icon-button {
  width: 48px;
  border-radius: 18px;
  background: var(--secondary);
  color: #26101d;
}

.section-shell {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

section {
  scroll-margin-top: 112px;
}

.hero {
  min-height: calc(100vh - 104px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(min(430px, 100%), 0.78fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  padding: 110px 0 54px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary-high);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: clamp(4.2rem, 7.4vw, 7.35rem);
  line-height: 0.88;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.filled-button,
.tonal-button {
  min-width: 156px;
  padding: 0 22px;
  border-radius: 18px;
  transition: transform 240ms cubic-bezier(0.2, 0, 0, 1), box-shadow 240ms ease;
}

.filled-button {
  background: var(--primary);
  color: #18000d;
  box-shadow: 0 16px 34px rgba(255, 79, 163, 0.34);
}

.tonal-button {
  background: var(--surface-high);
  color: var(--secondary);
}

.filled-button:hover,
.tonal-button:hover,
.github-link:hover {
  transform: translateY(-3px);
}

.hero-stage {
  position: relative;
  min-height: clamp(500px, 41vw, 560px);
  border-radius: 0;
  border: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: -30% -20%;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 28% 32%, rgba(255, 79, 163, 0.22), transparent 50%),
    radial-gradient(ellipse at 72% 68%, rgba(141, 243, 229, 0.18), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(200, 255, 111, 0.06), transparent 60%);
  filter: blur(50px);
  opacity: 0.8;
  animation: heroAura 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.floating-profile {
  --float-accent: var(--primary);
  --float-accent-2: var(--tertiary);
  --float-rotate: -4deg;
  position: absolute;
  display: grid;
  gap: 16px;
  width: min(45%, 245px);
  padding: 14px 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 24% 18%, color-mix(in srgb, var(--float-accent) 30%, transparent), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(10, 8, 14, 0.74);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.36),
    0 0 40px color-mix(in srgb, var(--float-accent) 22%, transparent),
    0 0 80px color-mix(in srgb, var(--float-accent) 16%, transparent),
    0 0 140px color-mix(in srgb, var(--float-accent) 10%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  animation: floatSoft 5.6s ease-in-out infinite;
  overflow: hidden;
  transition: transform 260ms cubic-bezier(0.2, 0, 0, 1), border-color 260ms ease, box-shadow 260ms ease;
}

.floating-profile::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  pointer-events: none;
}

.floating-profile::after {
  content: "";
  position: absolute;
  inset: -70% auto -70% -34%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(18deg) translateX(-120%);
  animation: floatingSweep 4.8s ease-in-out infinite;
}

.floating-profile:hover {
  border-color: color-mix(in srgb, var(--float-accent) 58%, white 12%);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.4),
    0 0 50px color-mix(in srgb, var(--float-accent) 30%, transparent),
    0 0 100px color-mix(in srgb, var(--float-accent) 22%, transparent),
    0 0 180px color-mix(in srgb, var(--float-accent) 14%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.floating-profile img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--float-accent) 24%, #1a101b), color-mix(in srgb, var(--float-accent-2) 18%, #1a101b));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.floating-profile span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--float-accent) 18%, transparent);
  color: color-mix(in srgb, var(--float-accent) 75%, white 25%);
  font-size: 0.82rem;
  font-weight: 800;
}

.floating-profile strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
  line-height: 1.12;
}

.floating-profile.yudha {
  top: clamp(22px, 4vw, 42px);
  left: clamp(8px, 3vw, 28px);
}

.floating-profile.ayu {
  --float-accent: var(--tertiary);
  --float-accent-2: var(--amber);
  --float-rotate: 4deg;
  right: clamp(6px, 3vw, 24px);
  bottom: clamp(30px, 5vw, 56px);
  animation-delay: -2s;
}

.team,
.projects,
.achievements,
.contact {
  padding: 72px 0;
}

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

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

.profile-card {
  --profile-accent: var(--primary);
  --profile-accent-2: var(--tertiary);
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at var(--x, 14%) var(--y, 12%), color-mix(in srgb, var(--profile-accent) 28%, transparent), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)),
    rgba(18, 16, 24, 0.84);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.26);
  transition: transform 260ms cubic-bezier(0.2, 0, 0, 1), border-color 260ms ease, background 260ms ease;
}

.profile-card--ayu {
  --profile-accent: var(--tertiary);
  --profile-accent-2: var(--amber);
}

.profile-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--profile-accent) 62%, white 10%);
}

.profile-header {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.avatar-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--profile-accent) 36%, #0d0910), color-mix(in srgb, var(--profile-accent-2) 24%, #0d0910));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.avatar-frame::after {
  content: "";
  position: absolute;
  inset: auto 16px 12px;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--profile-accent) 52%, transparent);
  filter: blur(8px);
}

.profile-title {
  min-width: 0;
}

.role-chip {
  width: fit-content;
  min-height: 38px;
  margin-bottom: 12px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--profile-accent) 22%, transparent);
  color: color-mix(in srgb, var(--profile-accent) 78%, white 22%);
  font-size: 0.82rem;
  font-weight: 800;
}

.role-chip .material-symbols-rounded {
  font-size: 20px;
}

.profile-title h3 {
  margin-bottom: 8px;
  font-size: clamp(1.2rem, 2vw, 1.44rem);
  line-height: 1.12;
}

.profile-title p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.48;
}

.profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.045);
}

.profile-field {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(7, 5, 9, 0.46);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.075);
}

.profile-field--wide {
  grid-column: 1 / -1;
}

.profile-field > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--profile-accent) 72%, white 28%);
  font-size: 0.78rem;
  font-weight: 800;
}

.profile-field .material-symbols-rounded {
  font-size: 19px;
}

.profile-field input,
.profile-field textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  resize: none;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.profile-field textarea {
  min-height: 68px;
}

.profile-field--wide textarea {
  min-height: 94px;
}

.profile-field input::selection,
.profile-field textarea::selection {
  background: color-mix(in srgb, var(--profile-accent) 38%, transparent);
}

.github-link {
  width: fit-content;
  min-height: 44px;
  margin-top: 4px;
  padding: 0 16px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--profile-accent) 18%, transparent);
  color: var(--secondary);
  font-size: 0.92rem;
  transition: 220ms ease;
}

/* Profile Skills - embedded skill matrix inside profile card */
.profile-skills {
  --skill-accent: var(--profile-accent);
  --skill-accent-2: var(--profile-accent-2);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--profile-accent) 16%, transparent), transparent 42%),
    rgba(9, 8, 14, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.profile-skills-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.profile-skills-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--profile-accent) 18%, transparent);
  color: color-mix(in srgb, var(--profile-accent) 76%, white 24%);
  font-size: 0.84rem;
  font-weight: 800;
}

.profile-skills-label .material-symbols-rounded {
  font-size: 20px;
}

.profile-skills .skill-score {
  --score-size: 58px;
}

.profile-skills .skill-score span {
  font-size: 0.82rem;
}

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

.project-card {
  position: relative;
  min-height: 300px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at var(--x, 50%) var(--y, 40%), rgba(255, 139, 195, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(255, 79, 163, 0.16), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: transform 260ms cubic-bezier(0.2, 0, 0, 1), border-color 260ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: auto -18% -30% 18%;
  height: 120px;
  border-radius: 999px;
  background: rgba(255, 79, 163, 0.2);
  filter: blur(28px);
  transform: rotate(-10deg);
}

.project-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  border-color: rgba(255, 139, 195, 0.5);
}

.project-icon {
  width: 54px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 20px;
  background: var(--secondary);
  overflow: hidden;
}

.project-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-kicker,
.project-url {
  position: relative;
  z-index: 1;
}

.project-kicker {
  color: var(--primary-high);
  font-size: 0.8rem;
  font-weight: 800;
}

.project-card h3 {
  position: relative;
  z-index: 1;
  margin: 8px 0 12px;
  font-size: 1.5rem;
}

.project-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.58;
}

.project-url {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary);
  font-size: 0.88rem;
  font-weight: 800;
}

.project-url .material-symbols-rounded {
  font-size: 18px;
}

.achievement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.achievement-card {
  position: relative;
  min-height: 260px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--outline);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at var(--x, 12%) var(--y, 22%), rgba(255, 209, 102, 0.24), transparent 28%),
    radial-gradient(circle at 86% 42%, rgba(141, 243, 229, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: transform 260ms cubic-bezier(0.2, 0, 0, 1), border-color 260ms ease;
}

.achievement-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  pointer-events: none;
}

.achievement-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -34% 16%;
  height: 150px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 209, 102, 0.26), rgba(141, 243, 229, 0.2), rgba(255, 79, 163, 0.22));
  filter: blur(36px);
  animation: achievementGlow 7s ease-in-out infinite alternate;
}

.achievement-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 209, 102, 0.52);
}

.achievement-icon,
.achievement-content,
.achievement-link {
  position: relative;
  z-index: 1;
}

.achievement-icon {
  width: 88px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: linear-gradient(145deg, var(--amber), var(--tertiary));
  color: #1b1100;
  box-shadow: 0 18px 44px rgba(255, 209, 102, 0.22);
  animation: scorePop 900ms cubic-bezier(0.2, 0, 0, 1) both;
}

.achievement-icon .material-symbols-rounded {
  font-size: 42px;
}

.achievement-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.14);
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 800;
}

.achievement-content h3 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1;
}

.achievement-content p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.achievement-link {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--amber), var(--tertiary));
  color: #1b1100;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 18px 42px rgba(255, 209, 102, 0.18);
  transition: transform 240ms cubic-bezier(0.2, 0, 0, 1), box-shadow 240ms ease;
}

.achievement-link:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 24px 54px rgba(255, 209, 102, 0.25);
}

.skill-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 79, 163, 0.28), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(141, 243, 229, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.skill-board::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  pointer-events: none;
}

.skill-board::after {
  content: "";
  position: absolute;
  inset: auto -16% -34% 12%;
  height: 180px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 79, 163, 0.28), rgba(141, 243, 229, 0.2), rgba(200, 255, 111, 0.22));
  filter: blur(42px);
  opacity: 0.78;
  animation: skillGlow 7s ease-in-out infinite alternate;
}

.skill-column {
  --skill-accent: var(--primary);
  --skill-accent-2: var(--lime);
  position: relative;
  z-index: 1;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at var(--x, 16%) var(--y, 12%), color-mix(in srgb, var(--skill-accent) 22%, transparent), transparent 32%),
    rgba(9, 8, 14, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  overflow: hidden;
  transition: transform 260ms cubic-bezier(0.2, 0, 0, 1), border-color 260ms ease;
}

.skill-column--ayu {
  --skill-accent: var(--tertiary);
  --skill-accent-2: var(--amber);
}

.skill-column:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--skill-accent) 55%, white 12%);
}

.skill-person {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 82px;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.skill-avatar {
  width: 72px;
  aspect-ratio: 1;
  padding: 6px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--skill-accent) 46%, #17101d), color-mix(in srgb, var(--skill-accent-2) 30%, #17101d));
  box-shadow: 0 16px 34px color-mix(in srgb, var(--skill-accent) 22%, transparent);
}

.skill-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.skill-person span {
  display: block;
  margin-bottom: 4px;
  color: color-mix(in srgb, var(--skill-accent) 72%, white 28%);
  font-size: 0.78rem;
  font-weight: 800;
}

.skill-person h3 {
  margin-bottom: 0;
  font-size: 1.65rem;
  line-height: 1;
}

.skill-score {
  --score-size: 78px;
  width: var(--score-size);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #111019 0 56%, transparent 57%),
    conic-gradient(from -90deg, var(--skill-accent), var(--skill-accent-2) calc(var(--value) * 1%), rgba(255, 255, 255, 0.1) 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 12px 28px rgba(0, 0, 0, 0.25);
  animation: scorePop 900ms cubic-bezier(0.2, 0, 0, 1) both;
}

.skill-score span {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
}

.skill-list {
  display: grid;
  gap: 14px;
}

.skill {
  --fill: calc(var(--value) * 1%);
  position: relative;
  min-height: 92px;
  padding: 16px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025)),
    rgba(33, 25, 41, 0.72);
  transform: translateY(10px);
  animation: skillCardIn 700ms cubic-bezier(0.2, 0, 0, 1) var(--delay, 0ms) both;
  transition: transform 240ms cubic-bezier(0.2, 0, 0, 1), background 240ms ease, border-color 240ms ease;
}

.skill::after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -32%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: rotate(18deg) translateX(-140%);
  animation: skillSweep 3.8s ease-in-out calc(var(--delay, 0ms) + 800ms) infinite;
}

.skill:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: color-mix(in srgb, var(--skill-accent) 44%, white 8%);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--skill-accent) 14%, transparent), rgba(255, 255, 255, 0.045)),
    rgba(33, 25, 41, 0.82);
}

.skill-icon {
  position: relative;
  z-index: 1;
  width: 46px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: color-mix(in srgb, var(--skill-accent) 20%, transparent);
  color: color-mix(in srgb, var(--skill-accent) 76%, white 24%);
  font-size: 24px;
}

.skill-copy,
.skill strong {
  position: relative;
  z-index: 1;
}

.skill-copy {
  min-width: 0;
}

.skill-copy > span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 700;
}

.skill strong {
  min-width: 52px;
  color: color-mix(in srgb, var(--skill-accent) 70%, white 30%);
  font-size: 1.06rem;
  text-align: right;
}

.skill-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.skill-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--skill-accent), var(--primary-high), var(--skill-accent-2));
  box-shadow: 0 0 22px color-mix(in srgb, var(--skill-accent) 55%, transparent);
  transform-origin: left;
  animation: growBar 1200ms cubic-bezier(0.2, 0, 0, 1) var(--delay, 0ms) both;
}

.skill-track i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.54), transparent);
  transform: translateX(-100%);
  animation: trackShine 2.8s ease-in-out calc(var(--delay, 0ms) + 900ms) infinite;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  align-items: center;
  gap: 34px;
  min-height: 330px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--outline);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at var(--x, 14%) var(--y, 22%), rgba(255, 79, 163, 0.34), transparent 28%),
    radial-gradient(circle at 82% 28%, rgba(37, 211, 102, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  pointer-events: none;
}

.contact-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(37, 211, 102, 0.28), transparent 62%),
    conic-gradient(from 120deg, rgba(255, 79, 163, 0.2), rgba(141, 243, 229, 0.28), rgba(200, 255, 111, 0.2), rgba(255, 79, 163, 0.2));
  filter: blur(10px);
  opacity: 0.72;
  animation: contactHalo 8s ease-in-out infinite alternate;
}

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

.contact-panel h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(2.6rem, 5.2vw, 5.15rem);
}

.contact-panel p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-services span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--secondary);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: serviceFloat 4.8s ease-in-out infinite;
}

.contact-services span:nth-child(2) {
  animation-delay: -1.2s;
}

.contact-services span:nth-child(3) {
  animation-delay: -2.4s;
}

.contact-services .material-symbols-rounded {
  color: var(--tertiary);
  font-size: 21px;
}

.contact-action {
  min-height: 250px;
  padding: 24px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  background: rgba(8, 8, 13, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.contact-action p {
  color: var(--secondary);
  font-weight: 800;
  text-align: center;
}

.contact-orbit {
  position: relative;
  width: 118px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.contact-orbit::before,
.contact-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.contact-orbit::before {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top-color: rgba(37, 211, 102, 0.9);
  border-right-color: rgba(141, 243, 229, 0.78);
  animation: loaderSpin 5.2s linear infinite;
}

.contact-orbit::after {
  inset: 16px;
  border: 1px dashed rgba(255, 159, 202, 0.42);
  animation: loaderSpin 8s linear infinite reverse;
}

.contact-orbit > span {
  position: absolute;
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.78);
  animation: contactDot 1.8s ease-in-out infinite;
}

.contact-orbit > span:nth-child(1) {
  top: 4px;
}

.contact-orbit > span:nth-child(2) {
  right: 10px;
  bottom: 22px;
  animation-delay: 260ms;
}

.contact-orbit > span:nth-child(3) {
  left: 12px;
  bottom: 18px;
  animation-delay: 520ms;
}

.contact-icon {
  position: relative;
  z-index: 1;
  width: 68px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(145deg, #25d366, var(--tertiary));
  color: #02130a;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.32);
  animation: contactIconPulse 2.5s ease-in-out infinite;
}

.contact-icon .material-symbols-rounded {
  font-size: 32px;
}

.whatsapp-button {
  width: fit-content;
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, #25d366, #8df3e5);
  color: #041109;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.28);
  white-space: nowrap;
  transition: transform 240ms cubic-bezier(0.2, 0, 0, 1), box-shadow 240ms ease, filter 240ms ease;
}

.whatsapp-button:hover {
  transform: translateY(-4px) scale(1.02);
  filter: saturate(1.12);
  box-shadow: 0 24px 52px rgba(37, 211, 102, 0.36);
}

.whatsapp-button .material-symbols-rounded {
  font-size: 32px;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 26px;
  padding: 26px 0 112px;
  color: var(--muted);
  text-align: center;
}

.footer p {
  margin-bottom: 8px;
}

/* Mobile Header Actions - hidden on desktop, shown on mobile */
.mobile-header-actions {
  display: none;
}

.header-chip,
.header-contact-pill {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 220ms cubic-bezier(0.2, 0, 0, 1), box-shadow 220ms ease;
}

.header-chip {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--secondary);
}

.header-chip .material-symbols-rounded {
  font-size: 20px;
  color: var(--primary-high);
}

.header-contact-pill {
  border-radius: 14px;
  border: 0;
  background: linear-gradient(135deg, #25d366, var(--tertiary));
  color: #041109;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28);
}

.header-contact-pill .material-symbols-rounded {
  font-size: 20px;
}

.header-chip:hover,
.header-contact-pill:hover {
  transform: translateY(-2px);
}

/* Mobile Bottom Nav - Modern Floating Dock */
.mobile-nav {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(0);
  width: min(420px, calc(100% - 28px));
  min-height: 60px;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 231, 246, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(28, 22, 38, 0.92), rgba(13, 10, 17, 0.96));
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(24px) saturate(1.4);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), opacity 400ms ease;
  will-change: transform;
}

.mobile-nav.nav-hidden {
  transform: translateX(-50%) translateY(calc(100% + 32px));
  opacity: 0;
  pointer-events: none;
}

.mobile-nav-glow {
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  background:
    conic-gradient(from 180deg at 50% 50%, rgba(255, 79, 163, 0.18), rgba(141, 243, 229, 0.12), rgba(200, 255, 111, 0.1), rgba(255, 79, 163, 0.18));
  opacity: 0;
  filter: blur(10px);
  z-index: -1;
  transition: opacity 600ms ease;
  animation: navGlowPulse 6s ease-in-out infinite;
}

.mobile-nav:hover .mobile-nav-glow {
  opacity: 1;
}

.mobile-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding: 4px;
  border-radius: 999px;
  color: rgba(216, 199, 211, 0.5);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 320ms cubic-bezier(0.2, 0, 0, 1),
    background 320ms cubic-bezier(0.2, 0, 0, 1),
    transform 220ms cubic-bezier(0.2, 0, 0, 1);
}

.mobile-nav-icon-wrap {
  position: relative;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition:
    background 320ms cubic-bezier(0.2, 0, 0, 1),
    transform 320ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 320ms ease;
}

.mobile-nav-icon-wrap .material-symbols-rounded {
  font-size: 20px;
  transition: transform 320ms cubic-bezier(0.2, 0, 0, 1);
}

.mobile-nav-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0.7;
  transition: opacity 320ms ease, transform 320ms ease;
}

/* Mobile nav - hover state */
.mobile-nav-item:hover {
  color: var(--text);
}

.mobile-nav-item:hover .mobile-nav-icon-wrap {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Mobile nav - active state */
.mobile-nav-item.active {
  color: var(--primary-high);
}

.mobile-nav-item.active .mobile-nav-icon-wrap {
  background:
    radial-gradient(circle at 50% 60%, rgba(255, 79, 163, 0.32), rgba(255, 79, 163, 0.08));
  box-shadow:
    0 4px 16px rgba(255, 79, 163, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-3px) scale(1.08);
}

.mobile-nav-item.active .mobile-nav-icon-wrap .material-symbols-rounded {
  transform: scale(1.05);
}

.mobile-nav-item.active .mobile-nav-label {
  opacity: 1;
  color: var(--primary-high);
}

.mobile-nav-item.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-high));
  box-shadow: 0 0 12px rgba(255, 79, 163, 0.6);
  animation: navDotIn 360ms cubic-bezier(0.2, 0, 0, 1) both;
}

/* Mobile nav - pressed state */
.mobile-nav-item:active .mobile-nav-icon-wrap {
  transform: translateY(0) scale(0.94);
  transition-duration: 80ms;
}

@keyframes navDotIn {
  from {
    width: 4px;
    opacity: 0;
  }
  to {
    width: 18px;
    opacity: 1;
  }
}

@keyframes navGlowPulse {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0, 0, 1);
}

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

@keyframes ambientShift {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(0deg);
  }
  to {
    transform: translate3d(2%, 1.5%, 0) rotate(8deg);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0) rotate(var(--float-rotate, -1deg));
  }
  50% {
    transform: translateY(-16px) rotate(calc(var(--float-rotate, -1deg) + 3deg));
  }
}

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

@keyframes heroAura {
  from {
    transform: translate3d(-2%, 2%, 0) rotate(-4deg) scale(0.96);
    opacity: 0.48;
  }
  to {
    transform: translate3d(4%, -4%, 0) rotate(8deg) scale(1.08);
    opacity: 0.82;
  }
}

@keyframes floatingSweep {
  0%,
  58% {
    transform: rotate(18deg) translateX(-140%);
  }
  100% {
    transform: rotate(18deg) translateX(620%);
  }
}

@keyframes growBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes skillGlow {
  from {
    transform: translate3d(-2%, 0, 0) rotate(-2deg);
    opacity: 0.58;
  }
  to {
    transform: translate3d(4%, -10%, 0) rotate(6deg);
    opacity: 0.9;
  }
}

@keyframes skillCardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes scorePop {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-16deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes achievementGlow {
  from {
    transform: translate3d(-2%, 0, 0) rotate(-3deg);
    opacity: 0.58;
  }
  to {
    transform: translate3d(5%, -18%, 0) rotate(7deg);
    opacity: 0.88;
  }
}

@keyframes skillSweep {
  0%,
  58% {
    transform: rotate(18deg) translateX(-140%);
  }
  100% {
    transform: rotate(18deg) translateX(520%);
  }
}

@keyframes trackShine {
  0%,
  48% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes contactHalo {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.95);
    opacity: 0.52;
  }
  to {
    transform: translate3d(-28px, -24px, 0) rotate(18deg) scale(1.08);
    opacity: 0.86;
  }
}

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

@keyframes contactDot {
  0%,
  100% {
    transform: scale(0.78);
    opacity: 0.58;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes contactIconPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.04);
  }
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderPulse {
  0%,
  100% {
    transform: scale(0.84);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes loaderCardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Tools Section */
.tools {
  padding: 72px 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 16px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(18, 16, 24, 0.6);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  transition: transform 260ms cubic-bezier(0.2, 0, 0, 1), border-color 260ms ease, background 260ms ease;
}

.tool-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(18, 16, 24, 0.8);
}

.tool-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  padding: 10px;
}

.tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.1));
  transition: transform 260ms ease;
}

.tool-card:hover .tool-icon img {
  transform: scale(1.1);
}

.tool-card span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}


@media (max-width: 900px) {
  .desktop-nav,
  .top-app-bar .icon-button {
    display: none;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .top-app-bar {
    top: 10px;
    min-height: 64px;
    border-radius: 24px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 94px 0 36px;
  }

  h1 {
    max-width: 780px;
    font-size: clamp(3.8rem, 15vw, 6.25rem);
    line-height: 0.9;
  }

  .hero-stage {
    min-height: 500px;
  }

  .hero-stage::before {
    inset: -40% -30%;
  }

  .floating-profile {
    width: min(42%, 230px);
  }

  .floating-profile.ayu {
    top: clamp(58px, 9vw, 82px);
    bottom: auto;
  }

  .profile-grid,
  .project-grid,
  .achievement-card,
  .skill-board {
    grid-template-columns: 1fr;
  }

  .achievement-card {
    align-items: start;
  }

  .skill-board {
    padding: 16px;
  }

  .profile-card {
    padding: 18px;
  }

  .profile-header {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .mobile-nav {
    display: grid;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .top-app-bar,
  .footer {
    width: min(calc(100% - 22px), 430px);
  }

  .brand small {
    display: none;
  }

  .mobile-header-actions {
    gap: 6px;
  }

  .header-chip,
  .header-contact-pill {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
    border-radius: 12px;
  }

  .mobile-nav {
    bottom: 12px;
    min-height: 68px;
    padding: 8px 10px;
    border-radius: 24px;
  }

  .mobile-nav-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .mobile-nav-icon-wrap .material-symbols-rounded {
    font-size: 22px;
  }

  .mobile-nav-label {
    font-size: 0.64rem;
  }

  .hero {
    padding-top: 94px;
  }

  h1 {
    font-size: clamp(3rem, 14.5vw, 4.15rem);
    line-height: 0.92;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .filled-button,
  .tonal-button {
    min-width: 0;
    padding-inline: 14px;
    border-radius: 20px;
  }

  .hero-stage {
    min-height: 380px;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
  }

  .hero-stage::before {
    inset: -50% -40%;
    filter: blur(60px);
  }

  .floating-profile {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: calc(50% - 14px);
    padding: 10px 10px 14px;
    gap: 10px;
    border-radius: 24px;
    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.36),
      0 0 30px color-mix(in srgb, var(--float-accent) 20%, transparent),
      0 0 60px color-mix(in srgb, var(--float-accent) 12%, transparent),
      0 0 100px color-mix(in srgb, var(--float-accent) 8%, transparent),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: floatSoftMobile 5.6s ease-in-out infinite;
  }

  .floating-profile img {
    border-radius: 20px;
  }

  .floating-profile.yudha {
    margin-top: 10px;
  }

  .floating-profile.ayu {
    margin-top: 50px;
  }

  .floating-profile strong {
    font-size: clamp(0.78rem, 3.4vw, 0.92rem);
    line-height: 1.14;
  }

  .floating-profile span {
    font-size: 0.72rem;
    min-height: 28px;
  }

  .team,
  .projects,
  .achievements {
    padding: 50px 0;
  }

  .contact {
    padding: 50px 0 100px;
  }

  .achievement-card {
    min-height: auto;
    gap: 18px;
    padding: 22px;
    border-radius: 34px;
  }

  .achievement-icon {
    width: 66px;
    border-radius: 24px;
  }

  .achievement-icon .material-symbols-rounded {
    font-size: 34px;
  }

  .achievement-link {
    width: 100%;
    white-space: normal;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 22px;
    border-radius: 34px;
  }

  .contact-panel h2 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
    line-height: 0.96;
  }

  .contact-services {
    gap: 8px;
    margin-top: 22px;
  }

  .contact-services span {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .contact-action {
    min-height: 226px;
    padding: 20px;
    border-radius: 28px;
  }

  .contact-orbit {
    width: 104px;
  }

  .whatsapp-button {
    width: 100%;
    min-height: 64px;
    padding-inline: 16px;
  }

  .project-grid {
    gap: 12px;
  }

  .project-card {
    min-height: 230px;
    padding: 18px;
    border-radius: 30px;
  }

  .project-icon {
    width: 48px;
    margin-bottom: 18px;
    border-radius: 18px;
  }

  .profile-card {
    gap: 16px;
    border-radius: 32px;
  }

  .profile-header {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .avatar-frame {
    border-radius: 24px;
  }

  .avatar-frame img {
    width: 100%;
    object-fit: cover;
    object-position: top;
  }

  .profile-title h3 {
    font-size: 1rem;
  }

  .profile-title p {
    font-size: 0.88rem;
  }

  .role-chip {
    min-height: 34px;
    margin-bottom: 8px;
    padding-inline: 12px;
    font-size: 0.76rem;
  }

  .profile-form {
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 24px;
  }

  .profile-field {
    border-radius: 18px;
  }

  .github-link {
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
  }

  .skill-board {
    padding: 10px;
    border-radius: 34px;
  }

  .skill-column {
    padding: 18px;
    border-radius: 26px;
  }

  .skill-person {
    grid-template-columns: 58px minmax(0, 1fr) 64px;
    gap: 12px;
    margin-bottom: 18px;
  }

  .skill-avatar {
    width: 58px;
    border-radius: 20px;
  }

  .skill-avatar img {
    border-radius: 16px;
  }

  .skill-person h3 {
    font-size: 1.35rem;
  }

  .skill-person span {
    font-size: 0.72rem;
  }

  .skill-score {
    --score-size: 64px;
  }

  .skill-score span {
    font-size: 0.82rem;
  }

  .skill {
    min-height: 86px;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 14px;
    border-radius: 22px;
  }

  .skill-icon {
    width: 40px;
    border-radius: 15px;
    font-size: 22px;
  }

  .skill-copy > span {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .skill strong {
    min-width: 44px;
    font-size: 0.94rem;
  }

  .tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 12px;
  }

  .tool-card {
    padding: 14px 10px;
    gap: 8px;
    border-radius: 20px;
  }

  .tool-icon {
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: 12px;
  }

  .tool-card span {
    font-size: 0.75rem;
  }
}

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

  .page-loader {
    transition-duration: 120ms !important;
  }
}
