:root {
  --color-bg: #0b0c10;
  --color-bg-elevated: #111319;
  --color-bg-soft: #161821;
  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-text: #f5f5f7;
  --color-text-muted: #a0a3b1;

  /* Accent palette — based on requested OKLCH color */
  --color-accent: oklch(45% 0.15 264.665);
  --color-accent-soft: color-mix(in oklch, var(--color-accent) 26%, transparent);
  --color-accent-strong: color-mix(in oklch, var(--color-accent) 60%, transparent);

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.7);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --transition-fast: 0.25s ease-out;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  background: radial-gradient(circle at top left, #1f2233 0, #070812 48%, #020308 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--color-accent);
}

.page-wrapper {
  background: radial-gradient(circle at top left, #1f2233 0, #060712 45%, #010108 100%);
  color: var(--color-text);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  padding-top: 92px;
}

section {
  padding: 90px 0;
}

.section-header {
  text-align: left;
  margin-bottom: 40px;
}

.section-kicker {
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 10px;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 0;
  max-width: 540px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background-color var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    oklch(60% 0.16 264.665),
    oklch(46% 0.15 264.665)
  );
  color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--color-accent) 25%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease, color 0.2s ease;
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--color-accent) 40%, transparent),
    0 0 0 1px color-mix(in srgb, var(--color-accent) 30%, transparent);
  background: linear-gradient(
    135deg,
    oklch(62% 0.16 264.665),
    oklch(48% 0.15 264.665)
  );
}

.btn-primary:active {
  transform: translateY(-1px) scale(1);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: #fff;
}

.meta-label {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  display: inline-block;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.02);
  transition: background var(--transition-fast), border-color var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast);
}

.social-links a:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: #fff;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tags span {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--color-border-subtle);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
}

.accent {
  color: var(--color-accent);
}

.card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #222538 0, #10121b 45%, #080812 100%);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border-subtle);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.site-footer {
  background-color: #05060c;
  color: var(--color-text-muted);
  padding: 30px 0;
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent),
    transparent
  );
  opacity: 0.3;
}

.footer-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 8px;
}

.footer-role {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0 0 16px;
}

.footer-divider {
  width: 50%;
  margin: 12px auto;
  border: none;
  border-top: 1px solid var(--color-border-subtle);
  opacity: 0.5;
}

.footer-copy {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

.footer-nav {
  flex-shrink: 0;
}

.footer-nav a {
  font-size: 1.1rem;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-subtle);
  animation: footer-bounce 2s ease-in-out infinite;
}

.footer-nav a:hover {
  color: #fff;
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
}

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

@media (max-width: 768px) {
  .site-footer {
    padding: 20px 0;
  }

  .footer-name {
    font-size: 16px;
  }

  .footer-role {
    font-size: 14px;
  }

  .footer-divider {
    width: 70%;
  }

  .footer-copy {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 18px 0;
  }

  .footer-name {
    font-size: 15px;
  }

  .footer-role {
    font-size: 13px;
  }

  .footer-divider {
    width: 80%;
    margin: 10px auto;
  }

  .footer-copy {
    font-size: 11px;
  }
}

/* Background animation SVG (hero + contact) — sits under section content, theme-colored */
.hero-section,
.contact-section {
  position: relative;
}

.hero-bg-animation,
.contact-bg-animation {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-animation .bg-animation-svg,
.contact-bg-animation .bg-animation-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-section .container,
.contact-section > .container {
  position: relative;
  z-index: 1;
}

