:root {
  --bg: #080809;
  --bg-elevated: #121014;
  --rose: #c9a3a8;
  --rose-deep: #9e6b73;
  --champagne: #e8d5c4;
  --gold-soft: #c9a87c;
  --gold-warm: #d4b896;
  --glow-rose: rgba(200, 150, 160, 0.18);
  --glow-gold: rgba(212, 184, 150, 0.14);
  --text-muted: #9a959c;
  --text-subtle: #5e5a62;
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-weight: 300;
  background: var(--bg);
  color: #ece8e4;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Slow-drifting mesh + shifting gradient bands */
.bg-motion {
  position: fixed;
  inset: -15%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background:
    radial-gradient(
      ellipse 100% 80% at 15% 20%,
      rgba(158, 107, 115, 0.22) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 90% 70% at 85% 75%,
      rgba(201, 168, 124, 0.14) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 70% 60% at 50% 50%,
      rgba(110, 75, 95, 0.12) 0%,
      transparent 45%
    ),
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(212, 175, 180, 0.06) 35%,
      transparent 55%,
      rgba(196, 168, 140, 0.05) 80%,
      transparent 100%
    );
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    200% 200%;
  animation:
    bg-float 22s ease-in-out infinite alternate,
    bg-sheen 14s ease-in-out infinite;
}

.bg-motion-rotate {
  position: fixed;
  left: 50%;
  top: 45%;
  z-index: 0;
  width: 140vmax;
  height: 140vmax;
  pointer-events: none;
  opacity: 0.65;
  mix-blend-mode: screen;
  background: conic-gradient(
    from 220deg at 50% 50%,
    transparent 0deg,
    rgba(180, 120, 130, 0.07) 60deg,
    transparent 120deg,
    rgba(200, 175, 150, 0.06) 200deg,
    transparent 280deg,
    rgba(150, 100, 120, 0.05) 320deg,
    transparent 360deg
  );
  transform: translate(-50%, -50%);
  animation: bg-rotate 48s linear infinite;
}

@keyframes bg-float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(4%, -3%) scale(1.06);
  }
}

@keyframes bg-sheen {
  0%,
  100% {
    background-position:
      0% 0%,
      0% 0%,
      0% 0%,
      0% 40%;
  }
  50% {
    background-position:
      0% 0%,
      0% 0%,
      0% 0%,
      100% 60%;
  }
}

@keyframes bg-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.name {
  margin: 0 0 0.4em;
  font-size: clamp(3rem, 11vw, 5rem);
  font-weight: 400;
  font-style: normal;
  background: linear-gradient(
    105deg,
    var(--rose-deep) 0%,
    var(--rose) 18%,
    var(--champagne) 38%,
    var(--gold-soft) 52%,
    #e8c4c8 68%,
    var(--gold-warm) 82%,
    var(--rose-deep) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rose-gold-flow 10s ease-in-out infinite;
  filter: drop-shadow(0 0 40px var(--glow-rose))
    drop-shadow(0 0 72px var(--glow-gold));
}

@keyframes rose-gold-flow {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.title {
  margin: 0 0 2.75rem;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 500;
  background: linear-gradient(
    90deg,
    #7a6d72 0%,
    var(--rose) 35%,
    var(--champagne) 50%,
    var(--gold-soft) 65%,
    #7a6d72 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-shimmer 14s ease-in-out infinite;
}

@keyframes title-shimmer {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--text-subtle);
  background: rgba(18, 16, 20, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 165, 175, 0.14);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.social-link:hover {
  color: var(--champagne);
  border-color: rgba(212, 184, 196, 0.4);
  background: rgba(200, 150, 165, 0.08);
  box-shadow:
    0 0 20px var(--glow-rose),
    0 0 36px var(--glow-gold);
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.icon {
  width: 1.125rem;
  height: 1.125rem;
}

.content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  max-width: 1100px;
  padding: 2.5rem clamp(1rem, 6vw, 5rem) 6rem;
}

.panel {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: clamp(1rem, 3vw, 2.3rem);
  align-items: start;
  padding: 1.9rem 0 2rem;
  margin: 0;
  border-bottom: 1px solid rgba(212, 184, 196, 0.16);
}

.panel h2 {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 500;
  color: #f1ddca;
  opacity: 0.95;
}

.panel-items {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.item {
  position: relative;
  padding: 1.05rem 0 1.1rem 1.25rem;
  border-top: 1px solid rgba(220, 190, 200, 0.12);
}

.item h3 {
  margin: 0 0 0.28rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: #f5ece8;
}

.meta {
  margin: 0 0 0.52rem;
  color: #c2b8bd;
  font-size: 0.94rem;
}

.item p {
  margin: 0;
  color: #ddd6da;
  line-height: 1.72;
  max-width: 62ch;
}

.skills-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.55rem 1rem;
  max-width: 720px;
}

.skills-list li {
  color: #e2d7d2;
  padding-left: 1rem;
  position: relative;
}

.skills-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--rose), var(--gold-soft));
  box-shadow: 0 0 10px rgba(201, 163, 168, 0.35);
}

.item::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 1.7rem;
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--rose), var(--gold-soft));
  box-shadow: 0 0 12px rgba(201, 163, 168, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .bg-motion,
  .bg-motion-rotate,
  .name,
  .title {
    animation: none !important;
  }

  .bg-motion-rotate {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .name {
    background-position: 45% center;
  }

  .title {
    background-position: 50% center;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 90vh;
  }

  .content {
    padding-top: 1.3rem;
  }

  .panel {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1.35rem 0 1.5rem;
  }

  .panel h2 {
    font-size: 1.35rem;
  }

  .item {
    padding-left: 1rem;
  }
}
