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

:root {
  --bg: #E7ECEF;
  --surface: #E7ECEF;
  --border: #E4E0D8;
  --text-primary: #18180F;
  --text-secondary: #68685E;
  --text-muted: #A4A49A;
  --accent: #18180F;
  --copper: #B85C2C;
  --copper-hi: #D4845A;
  --copper-lo: #7A3A18;
  --green-1: #eaf3de;
  --green-2: #c0dd97;
  --green-3: #97c459;
  --green-4: #639922;
  --green-5: #3b6d11;
  --max-w: 680px;
  --radius: 14px;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition: 0.2s ease;
}

[data-theme="dark"] {
  --bg: #211103;
  --surface: #181A16;
  --border: #2A2C26;
  --text-primary: #EEECEA;
  --text-secondary: #8A8A80;
  --text-muted: #56564E;
  --accent: #EEECEA;
  --copper: #D4845A;
  --copper-hi: #E8A07A;
  --copper-lo: #A05030;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.75;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.glass-surface__filter {
  display: none;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, top 0.4s cubic-bezier(0.4, 0, 0.2, 1), left 0.4s cubic-bezier(0.4, 0, 0.2, 1), right 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.4s ease;
}

nav.scrolled {
  top: 12px;
  left: 80px;
  right: 80px;
  border-radius: 12px;
  background: rgba(248, 247, 244, 0.82);
  border: 1px solid rgba(228, 224, 216, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 2px 8px rgba(24, 24, 15, 0.05), 0 8px 24px rgba(24, 24, 15, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] nav.scrolled {
  background: rgba(18, 20, 16, 0.84);
  border: 1px solid rgba(42, 44, 38, 0.9);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.35s ease, padding 0.35s ease;
}

nav.scrolled .nav-inner {
  height: 48px;
  padding: 0 20px;
}

.nav-logo {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--text-primary);
  letter-spacing: -0.01em !important;
  text-decoration: none;
  position: relative;
  transition: letter-spacing 0.25s ease, color 0.2s ease !important;
}

.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width 0.25s ease;
}

.nav-logo:hover::after {
  width: 100%;
}

.nav-logo:hover {
  letter-spacing: 0.02em !important;
  color: var(--copper) !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
  letter-spacing: 0.02em !important;
}

.nav-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: var(--text-primary);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--copper) !important;
}

.nav-links a:hover::before {
  opacity: 0.06;
  transform: scale(1);
}

.theme-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.theme-btn:hover {
  color: var(--text-primary);
  background: var(--border);
  transform: rotate(12deg);
}

.icon-moon,
.icon-sun {
  width: 16px;
  height: 16px;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

.icon-sun {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: block;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-hamburger:hover {
  background: var(--border);
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 16px 14px;
  gap: 2px;
  border-top: 1px solid var(--border);
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.35s;
}

[data-theme="dark"] .nav-mobile {
  background: rgba(20, 20, 18, 0.92);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

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

.nav-spacer {
  height: 56px;
}

/* MAIN */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* HERO */
.hero-wrap {
  position: relative;
  margin-top: 32px;
}

.hero-banner {
  width: 100%;
  height: 240px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  position: relative;
  background: url('nubelson-fernandes--Xqckh_XVU4-unsplash.jpg') center/cover no-repeat;
}

.hero-banner-svg {
  display: none;
}

.hero-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif) !important;
  font-style: italic !important;
  font-size: 17px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  letter-spacing: 0.06em !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* AVATAR */
.profile-row {
  padding: 0 4px;
  background: var(--bg);
  border-radius: 0 0 var(--radius) var(--radius);
  position: relative;
  transition: background var(--transition);
}

.avatar-wrap {
  position: relative;
  top: -36px;
  margin-bottom: -16px;
  display: inline-block;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--bg) !important;
  background: linear-gradient(135deg, #97c459, #639922);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 28px;
  color: #fff;
  transition: border-color var(--transition);
  overflow: hidden;
  box-shadow: 0 0 0 1.5px var(--copper) !important;
}

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

.avatar-mini {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #97c459, #639922);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 9px;
  color: #fff;
  flex-shrink: 0;
}

/* PROFILE */
.profile-name {
  font-family: var(--font-serif);
  font-size: 32px !important;
  color: var(--text-primary);
  line-height: 1.15 !important;
  margin-top: 4px;
  letter-spacing: -0.03em !important;
}

.profile-subtitle {
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  color: var(--text-muted) !important;
  margin-top: 8px !important;
  font-weight: 300;
  letter-spacing: 0.01em !important;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px !important;
  border: 1px solid var(--border);
  border-radius: 8px !important;
  background: var(--surface);
  color: var(--text-secondary);
  font-family: var(--font-mono) !important;
  font-size: 11.5px !important;
  text-decoration: none;
  transition: all 0.18s ease !important;
  font-weight: 400;
  letter-spacing: 0.02em !important;
}

.social-btn:hover {
  border-color: var(--copper) !important;
  color: var(--copper) !important;
  transform: translateY(-1px) !important;
}

.social-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ABOUT */
.about-section {
  margin-top: 36px;
}

.about-text {
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
  color: var(--text-secondary);
  font-weight: 400 !important;
}

.about-text strong {
  color: var(--copper) !important;
  font-weight: 600 !important;
}

/* SECTION HEADER */
.section-header {
  margin-top: 64px !important;
  padding-left: 14px !important;
  border-left: none !important;
  position: relative !important;
  overflow: visible !important;
}

.section-header::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--copper);
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-header.visible::before {
  transform: scaleY(1);
}

.section-title {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: var(--copper) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  opacity: 0.9 !important;
}

.section-sub {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  color: var(--text-muted) !important;
  margin-top: 5px !important;
  font-weight: 300 !important;
}

/* TECH STACK */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 7px !important;
  padding: 7px 13px !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  background: var(--surface);
  transition: all 0.18s ease !important;
  cursor: default;
}

.tech-item:hover {
  border-color: var(--copper) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(184, 92, 44, 0.12) !important;
}

.tech-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tech-name {
  font-family: var(--font-mono) !important;
  font-size: 11.5px !important;
  color: var(--text-secondary);
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
}

/* LOGO LOOP */
.logoloop-section {
  margin-top: 56px;
}

.logoloop-wrap {
  margin-top: 20px;
  overflow: hidden;
  position: relative;
}

.logoloop-wrap::before,
.logoloop-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.logoloop-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.logoloop-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.ll-track {
  display: flex;
  gap: 40px;
  align-items: center;
  will-change: transform;
}

.ll-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 64px;
}

.ll-item svg {
  width: 32px;
  height: 32px;
}

.ll-label {
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 0.02em !important;
}

/* GITHUB */
.github-section {
  margin-top: 56px;
}

.github-handle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.github-handle a {
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  color: var(--copper) !important;
  text-decoration: none;
  border-bottom: 1px solid var(--copper) !important;
  opacity: 0.85 !important;
  transition: opacity 0.18s ease !important;
}

.github-handle a:hover {
  opacity: 1 !important;
}

.contrib-card {
  margin-top: 20px;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--surface) !important;
  padding: 20px 20px 16px;
  overflow-x: auto;
  transition: background var(--transition), border-color var(--transition);
}

.contrib-note {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 300;
  letter-spacing: 0.02em !important;
}

.contrib-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.contrib-count {
  font-size: 11px;
  color: var(--text-muted);
}

.legend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  color: var(--text-muted);
}

.legend-cell {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

/* POW */
.pow-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.pow-card {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--surface);
  padding: 20px 22px;
  text-decoration: none;
  display: block;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.25s ease !important;
  position: relative;
  overflow: hidden;
}

.pow-card::after {
  content: '↗';
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 16px !important;
  color: var(--text-muted) !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

.pow-card:hover {
  border-color: var(--copper) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 28px rgba(184, 92, 44, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.pow-card:hover::after {
  color: var(--copper) !important;
  transform: translate(3px, -3px) !important;
}

.pow-tag {
  display: inline-flex;
  padding: 2px 10px;
  background: transparent !important;
  border: 1px solid var(--border) !important;
  border-radius: 100px;
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  color: var(--text-muted) !important;
  margin-bottom: 10px;
  font-weight: 400;
  letter-spacing: 0.04em !important;
}

.pow-title {
  font-family: var(--font-serif);
  font-size: 17px !important;
  color: var(--text-primary);
  line-height: 1.35 !important;
  margin-bottom: 6px;
  letter-spacing: -0.01em !important;
}

.pow-desc {
  font-size: 13.5px !important;
  color: var(--text-secondary);
  line-height: 1.7 !important;
  font-weight: 300;
}

.pow-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.pow-stack span {
  font-family: var(--font-mono) !important;
  font-size: 10.5px !important;
  padding: 2px 9px !important;
  border: 1px solid var(--border);
  border-radius: 5px !important;
  color: var(--text-muted);
  background: var(--bg);
  letter-spacing: 0.01em !important;
}

/* BLOG */
.blog-list {
  display: grid;
  gap: 1px;
  margin-top: 20px;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  background: var(--border);
}

.blog-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--surface);
  text-decoration: none;
  transition: background 0.15s ease !important;
  gap: 16px;
}

.blog-item:hover {
  background: var(--bg) !important;
}

.blog-item-left {
  flex: 1;
  min-width: 0;
}

.blog-item-title {
  font-size: 13.5px !important;
  color: var(--text-primary);
  font-weight: 400 !important;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em !important;
}

.blog-item-date {
  font-family: var(--font-mono) !important;
  font-size: 10.5px !important;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 300;
  letter-spacing: 0.02em !important;
}

.blog-item-arrow {
  font-size: 14px;
  color: var(--text-muted) !important;
  flex-shrink: 0;
  transition: transform 0.18s ease, color 0.18s ease !important;
}

.blog-item:hover .blog-item-arrow {
  transform: translateX(4px) !important;
  color: var(--copper) !important;
}

/* CTA */
.cta-section {
  margin-top: 72px;
  text-align: center;
}

.cta-line {
  font-family: var(--font-sans) !important;
  font-style: italic !important;
  font-size: 14px !important;
  color: var(--text-muted) !important;
  margin-bottom: 20px;
  font-weight: 300 !important;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--copper) !important;
  color: #fff !important;
  border: none;
  border-radius: 100px !important;
  padding: 11px 22px 11px 10px !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 4px 14px rgba(184, 92, 44, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
}

.cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: -200% center;
  transition: background-position 0s;
  pointer-events: none;
  border-radius: inherit;
}

.cta-btn:hover {
  background: var(--copper-hi) !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 22px rgba(184, 92, 44, 0.38) !important;
  opacity: 1 !important;
}

.cta-btn:hover::after {
  background-position: 200% center;
  transition: background-position 0.55s ease;
}

.cta-btn:active {
  background: var(--copper-lo) !important;
  transform: translateY(1px) scale(0.99) !important;
  box-shadow: 0 2px 8px rgba(184, 92, 44, 0.25) !important;
}

/* FOOTER */
footer {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.footer-connect-label {
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  color: var(--copper) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em !important;
  font-weight: 500;
  opacity: 0.85 !important;
}

.footer-connect-sub {
  font-size: 13px !important;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 300 !important;
  margin-bottom: 16px;
}

.footer-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}

.footer-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border) !important;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, color 0.2s ease !important;
}

.footer-icon-btn svg {
  width: 15px;
  height: 15px;
}

.footer-icon-btn:hover {
  border-color: var(--copper) !important;
  color: var(--copper) !important;
  transform: translateY(-2px) !important;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}

.footer-copy {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.02em !important;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes curtainUp {
  from {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
  }

  to {
    clip-path: inset(0% 0 0 0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero-wrap {
  opacity: 0;
  animation: scaleIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.load-name {
  opacity: 0;
  animation: curtainUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.38s forwards;
  display: inline-block;
}

.load-subtitle {
  opacity: 0;
  animation: fadeIn 0.45s ease 0.72s forwards;
}

.load-social {
  opacity: 0;
  animation: fadeUp 0.45s ease 0.88s forwards;
}

.load-about {
  opacity: 0;
  animation: fadeUp 0.45s ease 1.0s forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-scale {
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.stagger-children>* {
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-children.visible>* {
  opacity: 1;
  transform: none;
}

.stagger-children.visible>*:nth-child(1) {
  transition-delay: 0.02s;
}

.stagger-children.visible>*:nth-child(2) {
  transition-delay: 0.06s;
}

.stagger-children.visible>*:nth-child(3) {
  transition-delay: 0.10s;
}

.stagger-children.visible>*:nth-child(4) {
  transition-delay: 0.14s;
}

.stagger-children.visible>*:nth-child(5) {
  transition-delay: 0.18s;
}

.stagger-children.visible>*:nth-child(6) {
  transition-delay: 0.22s;
}

.stagger-children.visible>*:nth-child(7) {
  transition-delay: 0.26s;
}

.stagger-children.visible>*:nth-child(8) {
  transition-delay: 0.30s;
}

.stagger-children.visible>*:nth-child(9) {
  transition-delay: 0.34s;
}

.stagger-children.visible>*:nth-child(10) {
  transition-delay: 0.38s;
}

/* DARK MODE OVERRIDES */
[data-theme="dark"] .section-header {
  border-left-color: var(--copper) !important;
}

[data-theme="dark"] .cta-btn {
  background: var(--copper) !important;
  box-shadow: 0 4px 18px rgba(212, 132, 90, 0.35) !important;
}

[data-theme="dark"] .cta-btn:hover {
  background: var(--copper-hi) !important;
  box-shadow: 0 8px 26px rgba(212, 132, 90, 0.45) !important;
}

[data-theme="dark"] .pow-card:hover {
  box-shadow: 0 8px 28px rgba(212, 132, 90, 0.12), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .tech-item:hover {
  box-shadow: 0 4px 14px rgba(212, 132, 90, 0.15) !important;
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {

  .hero-wrap,
  .load-name,
  .load-subtitle,
  .load-social,
  .load-about,
  .reveal,
  .reveal-scale,
  .stagger-children>* {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    clip-path: none !important;
  }

  .section-header::before {
    transform: scaleY(1) !important;
  }

  .cta-btn::after {
    display: none !important;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  nav.scrolled {
    top: 10px;
    left: 12px;
    right: 12px;
    border-radius: 14px;
  }

  nav.scrolled .nav-inner {
    height: 44px;
    padding: 0 16px;
  }

  .hero-banner {
    height: 180px;
  }

  .hero-overlay-text {
    font-size: 14px;
  }

  .profile-name {
    font-size: 24px !important;
  }
}