/* ══════════════════════════════════════════════════════
   THYIMPALER — Web3 Community Architect Portfolio
   Dark · Amber/Gold · Battle-Tested
   Inspired by batman02.xyz & frontman-plays.xyz
   ══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Design Tokens ──────────────────────────────────── */
:root {
  --bg:           #050505;
  --bg-card:      #0A0A0A;
  --bg-card-2:    #0D0D0D;
  --heading:      #FFFFFF;
  --body:         #888888;
  --body-light:   #AAAAAA;
  --border:       #1C1C1C;
  --border-hover: #2E2E2E;

  /* Discord-matched gradient: Gold → Orange → Deep Red-Orange
     Mirrors the "Thy Impaler" username gradient & banner tones */
  --accent-1:     #FFD000;   /* bright gold (Discord username top) */
  --accent-2:     #E85D04;   /* deep orange-red (banner warmth)    */
  --accent-3:     #FF8C00;   /* mid orange bridge                  */
  --accent-4:     #8B5CF6;   /* purple for dev card accent         */

  /* 3-stop gradient matching DC profile colour run */
  --gradient-hero:   linear-gradient(135deg, #FFD000 0%, #FF8C00 55%, #E85D04 100%);
  --gradient-subtle: linear-gradient(135deg, #FFD000 0%, #FF8C00 40%, #E85D04 70%, #8B5CF6 100%);
  --gradient-glow:   linear-gradient(135deg, rgba(255,208,0,0.12) 0%, rgba(232,93,4,0.10) 100%);
  --gradient-gold:   linear-gradient(135deg, #FFD000, #FF8C00, #E85D04);

  --radius:       12px;
  --radius-lg:    18px;
  --radius-pill:  999px;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width:    1100px;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Prevent any element from blowing out the viewport width */
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--body);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  /* Clip anything that still sneaks past */
  width: 100%;
}

::selection {
  background: rgba(245, 158, 11, 0.3);
  color: var(--heading);
}

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

/* ── Layout Container ───────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  /* Hard cap — nothing escapes horizontally */
  overflow: clip;
  overflow-clip-margin: 0;
}

/* ── Edge Glows (like batman's side borders) ─────────── */
.edge-glow {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 3px;
  z-index: 50;
  pointer-events: none;
  /* Must NOT contribute to overflow */
  max-width: none;
}

.edge-left {
  left: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,208,0,0.5) 30%,
    rgba(255,208,0,0.85) 50%,
    rgba(255,208,0,0.5) 70%,
    transparent 100%
  );
  box-shadow: 0 0 20px rgba(255,208,0,0.35), 0 0 40px rgba(255,208,0,0.15);
}

.edge-right {
  right: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(232,93,4,0.5) 30%,
    rgba(232,93,4,0.8) 50%,
    rgba(232,93,4,0.5) 70%,
    transparent 100%
  );
  box-shadow: 0 0 20px rgba(232,93,4,0.3), 0 0 40px rgba(232,93,4,0.12);
}

/* ── Background Orbs ────────────────────────────────── */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.07;
  animation: float 22s ease-in-out infinite;
}

.orb-1 {
  width: 700px; height: 700px;
  background: var(--accent-1);
  top: -15%; left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 550px; height: 550px;
  background: var(--accent-2);
  bottom: -10%; right: -10%;
  animation-delay: -8s;
}

.orb-3 {
  width: 450px; height: 450px;
  background: var(--accent-4);
  top: 40%; left: 50%;
  animation-delay: -16s;
  opacity: 0.05;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%       { transform: translate(40px, -30px) scale(1.06); }
  50%       { transform: translate(-20px, 50px) scale(0.94); }
  75%       { transform: translate(30px, 20px) scale(1.03); }
}

/* ── Section Base ───────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
  padding: 110px 0;
}

.section-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ── Navigation ──────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(5,5,5,0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(5,5,5,0.85);
  border-bottom-color: rgba(245,158,11,0.15);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(245,158,11,0.5);
}

/* logo-text wraps both words in one flex item — no gap between "thy" & "impaler" */
.logo-text {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  color: var(--heading);
}

.logo-accent {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--body);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gradient-hero);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--heading); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--gradient-hero);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,158,11,0.35);
}

/* ── Hero Section ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  min-height: 100dvh; /* modern mobile: excludes browser chrome */
  display: flex;
  align-items: center;
  padding-top: 80px;
  /* Prevent hero from contributing to horizontal overflow */
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 80px;
}

.hero-content {
  max-width: 680px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(255,208,0,0.3);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-1);
  margin-bottom: 28px;
  background: rgba(255,208,0,0.06);
  animation: fadeInUp 0.7s ease-out both;
  /* Ensure it doesn't overflow its parent */
  max-width: fit-content;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%       { opacity: 0.7; transform: scale(0.85); box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* H1 */
.hero h1 {
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-weight: 900;
  color: var(--heading);
  line-height: 1.0;
  letter-spacing: -0.045em;
  margin-bottom: 12px;
  animation: fadeInUp 0.7s ease-out 0.1s both;
}

.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-sub {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 500;
  color: var(--body-light);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease-out 0.2s both;
}

.hero-bio {
  font-size: 1.05rem;
  color: var(--body);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 40px;
  animation: fadeInUp 0.7s ease-out 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease-out 0.4s both;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gradient {
  background: var(--gradient-hero);
  color: #000;
  border: none;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255,208,0,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--heading);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-outline:hover {
  background: rgba(255,208,0,0.07);
  border-color: var(--accent-1);
  color: var(--accent-1);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(245,158,11,0.15);
}

/* ── Hero Avatar ─────────────────────────────────────── */
.hero-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  animation: fadeInUp 0.7s ease-out 0.2s both;
}

.hero-avatar-ring {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: var(--radius-lg);
  padding: 3px;
  background: var(--gradient-hero);
  box-shadow:
    0 0 40px rgba(255,208,0,0.35),
    0 0 80px rgba(232,93,4,0.15),
    inset 0 0 30px rgba(255,208,0,0.05);
  animation: glow-pulse 4s ease-in-out infinite;
  /* Never overflow parent on any screen */
  max-width: 100%;
  flex-shrink: 0;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(255,208,0,0.3), 0 0 80px rgba(232,93,4,0.12); }
  50%       { box-shadow: 0 0 60px rgba(255,208,0,0.5), 0 0 120px rgba(232,93,4,0.2); }
}

.hero-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 3px);
  display: block;
}

.avatar-pulse {
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-lg) + 8px);
  border: 1px solid rgba(245,158,11,0.15);
  animation: ring-expand 3s ease-out infinite;
}

@keyframes ring-expand {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* ── Ticker / Marquee ────────────────────────────────── */
.ticker-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,208,0,0.03);
  /* Absolutely must not contribute to horizontal overflow */
  max-width: 100vw;
}

/* Fade masks on the edges */
.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-track span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-sep {
  color: var(--accent-1) !important;
  opacity: 0.7;
  font-size: 0.7rem !important;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Section Headers ─────────────────────────────────── */
.section-header {
  margin-bottom: 64px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--heading);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

/* ── Experience / Timeline ───────────────────────────── */
.experience { padding: 120px 0; }

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Vertical connector line */
.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: -28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg,
    var(--accent-1) 0%,
    rgba(245,158,11,0.3) 60%,
    transparent 100%
  );
}

.exp-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  margin-bottom: 20px;
  background: var(--bg-card);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

/* Top highlight bar on hover */
.exp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity var(--transition);
}

.exp-card:hover {
  border-color: rgba(245,158,11,0.2);
  transform: translateY(-5px);
  box-shadow: 0 12px 50px rgba(255,208,0,0.08);
}

.exp-card:hover::before { opacity: 1; }

/* Timeline dot */
.timeline-dot {
  position: absolute;
  left: -36px;
  top: 36px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-hero);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.15), 0 0 12px rgba(245,158,11,0.4);
}

.timeline-dot--dev {
  background: linear-gradient(135deg, var(--accent-4), var(--accent-1));
  box-shadow: 0 0 0 4px rgba(139,92,246,0.15), 0 0 12px rgba(139,92,246,0.4);
}

/* Dev card variant */
.exp-card--dev {
  background: linear-gradient(145deg, #090910 0%, #0C0A14 100%);
}

.exp-card--dev::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(139,92,246,0.5), rgba(245,158,11,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.exp-card--dev:hover::after { opacity: 1; }

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.exp-role {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
}


.exp-project {
  font-size: 1rem;
  font-weight: 500;
  color: var(--body-light);
  margin-top: 4px;
}

.exp-project .token {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.exp-timeline {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--body);
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.exp-timeline.current {
  border-color: rgba(255,208,0,0.2);
  color: var(--accent-1);
  background: rgba(255,208,0,0.06);
}

/* Achievement highlight */
.exp-achievement {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  background: rgba(255,208,0,0.1);
  border: 1px solid rgba(255,208,0,0.15);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-1);
  margin-bottom: 20px;
}

.achievement-icon { font-size: 1rem; }

.exp-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.exp-items li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bullet {
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient-hero);
  margin-top: 10px;
}

.item-label {
  font-weight: 700;
  color: var(--heading);
  margin-right: 4px;
}

/* ── Stats Strip ─────────────────────────────────────── */
.stats-strip { padding: 80px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 40px 32px;
  text-align: center;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--body);
  margin-top: 10px;
  font-weight: 500;
}

/* ── Toolkit — Bento Grid ────────────────────────────── */
.toolkit { padding: 120px 0; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.bento-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--bg-card);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.bento-card:hover {
  border-color: rgba(255,208,0,0.2);
  transform: translateY(-5px);
  box-shadow: 0 12px 50px rgba(255,208,0,0.07);
}

.bento-card:hover::after { opacity: 1; }

.bento-card > * { position: relative; z-index: 1; }

.bento-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,208,0,0.1);
  margin-bottom: 20px;
  font-size: 1.4rem;
  border: 1px solid rgba(255,208,0,0.15);
}

.bento-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--body-light);
  transition: all var(--transition);
}

.pill:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  background: rgba(255,208,0,0.07);
  transform: translateY(-2px);
}

/* Dev bento card */
.bento-card--dev {
  display: block;
  background: linear-gradient(145deg, #090910 0%, #0e0916 100%);
  border-color: transparent;
  cursor: pointer;
}

.bento-card--dev::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-subtle);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity var(--transition);
  z-index: 0;
}

.bento-card--dev:hover::before { opacity: 1; }

.bento-card--dev:hover {
  box-shadow: 0 12px 60px rgba(255,208,0,0.18), 0 0 0 1px rgba(255,208,0,0.15);
  transform: translateY(-6px);
}

.bento-card--dev .bento-icon {
  background: linear-gradient(135deg, rgba(255,208,0,0.2), rgba(139,92,246,0.2));
  border-color: rgba(255,208,0,0.25);
  box-shadow: 0 0 20px rgba(255,208,0,0.15);
}

.bento-card--dev h3 {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dev-link-hint {
  display: inline-block;
  font-size: 0.85em;
  opacity: 0.6;
  margin-left: 4px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity var(--transition), transform var(--transition);
}

.bento-card--dev:hover .dev-link-hint {
  opacity: 1;
  transform: translate(3px, -3px);
}

.pill--dev {
  border-color: rgba(255,208,0,0.3);
  color: rgba(255,208,0,0.8);
  background: rgba(255,208,0,0.05);
}

.pill--dev:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  background: rgba(245,158,11,0.1);
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
  padding: 120px 0 60px;
  position: relative;
  z-index: 1;
}

.footer-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.footer-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.footer h2 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: var(--heading);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 12px;
}

.footer-sub {
  color: var(--body);
  margin-bottom: 52px;
  font-size: 1.05rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--body-light);
  transition: all var(--transition);
  background: var(--bg-card);
}

.contact-link svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}

.contact-link:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  background: rgba(255,208,0,0.07);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(255,208,0,0.15);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: #444;
}

/* ── Animations ──────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}

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

/* ── Responsive ──────────────────────────────────────── */
/* ── Responsive — Tablet (≤900px) ───────────────────── */
@media (max-width: 900px) {
  /* Hero: stack vertically, pfp centered top like a profile card */
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  /* Avatar goes ABOVE the text */
  .hero-avatar-wrap {
    order: -1;
    display: flex;
    justify-content: center;
  }

  .hero-avatar-ring {
    width: 200px;
    height: 200px;
    border-radius: 50%;        /* Circle on mobile, like DC profile */
  }

  .hero-avatar {
    border-radius: 50%;
  }

  .avatar-pulse {
    border-radius: 50%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-bio {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .timeline::before { display: none; }
  .timeline-dot     { display: none; }

  .exp-card { padding: 28px 24px; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item::before { display: none !important; }

  .stat-item:nth-child(2) { border-left: 1px solid var(--border); }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-left: 1px solid var(--border); }

  .bento-grid { grid-template-columns: 1fr; }
}

/* ── Responsive — Mobile (≤768px) ───────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }

  section { padding: 80px 0; }

  .experience, .toolkit, .footer { padding: 80px 0; }

  .hero-avatar-ring {
    width: 160px;
    height: 160px;
  }

  /* Edge glows thinner on mobile */
  .edge-glow { width: 2px; }

  .section-header { margin-bottom: 48px; }

  .contact-links { flex-direction: column; align-items: center; }

  .contact-link { width: 100%; max-width: 320px; justify-content: center; }
}

/* ── Responsive — Small phones (≤480px) ──────────────── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero {
    padding-top: 90px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-avatar-ring {
    width: 140px;
    height: 140px;
  }

  .hero h1 { font-size: 2.6rem; }

  .hero-title-sub { font-size: 0.95rem; }

  .hero-actions { flex-direction: column; }

  .btn { justify-content: center; width: 100%; }

  /* Stats: single column on tiny phones */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat-item {
    border: none !important;
    border-top: 1px solid var(--border) !important;
  }

  .stat-item:first-child {
    border-top: none !important;
  }

  .exp-card { padding: 22px 18px; }

  .exp-role { font-size: 1.1rem; }

  .bento-card { padding: 24px 20px; }

  .nav-cta { display: none; }

  .footer h2 { font-size: 2.4rem; }
}
