/* ═══════════════════════════════════════════
   raul.in4matics.cat — Design System
   Palette: 🔥 #f97316 · 💚 #22c55e · ⚫ #0a0a0f
   ═══════════════════════════════════════════ */

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

/* ── Variables ── */
:root {
  /* Fox palette */
  --orange: #f97316;
  --orange-dim: #ea580c;
  --orange-glow: rgba(249, 115, 22, 0.25);
  --green: #22c55e;
  --green-dim: #16a34a;
  --green-glow: rgba(34, 197, 94, 0.2);

  /* Dark theme (default) */
  --bg: #0a0a0f;
  --bg-alt: #111118;
  --bg-card: #181820;
  --bg-card-hover: #1e1e2a;
  --text: #f1f5f9;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --border: #1e1e2e;
  --nav-bg: rgba(10, 10, 15, 0.85);
  --shadow: 0 4px 20px rgba(0,0,0,0.4);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1100px;

  /* Section numbering accent color */
  --accent: var(--orange);
}

/* ── Light theme ── */
[data-theme="light"] {
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --text: #0f172a;
  --text-dim: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --nav-bg: rgba(248, 250, 252, 0.88);
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

::selection {
  background: var(--orange);
  color: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-dim); }
strong { color: var(--orange); font-weight: 600; }
.hidden { display: none !important; }

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

/* ── Section Base ── */
.section {
  padding: 100px 0;
  position: relative;
}

.section--alt {
  background: var(--bg-alt);
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section__number {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
}

.section__subtitle {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

.section__subtitle a {
  color: var(--orange);
  border-bottom: 1px dashed var(--orange);
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ═══════════════════════════════════════════
   EXPERIENCE
   ═══════════════════════════════════════════ */
.exp__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.exp__list::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.exp__item {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 40px;
}
.exp__item:last-child {
  padding-bottom: 0;
}
.exp__dot {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  margin-top: 2px;
  font-size: 0.7rem;
  color: var(--orange);
}
.exp__body {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.exp__item:hover .exp__body {
  border-color: var(--orange);
  box-shadow: 0 0 20px var(--orange-glow);
}
.exp__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.exp__role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.exp__company {
  color: var(--orange);
  font-weight: 500;
}
.exp__date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.exp__desc {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 8px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .exp__item {
    gap: 16px;
  }
  .exp__body {
    padding: 16px;
  }
  .exp__header {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text) !important;
  letter-spacing: -0.5px;
}

.nav__logo-dot {
  color: var(--orange);
}

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

.nav__links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

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

/* ── Theme toggle ── */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-dim);
  transition: all 0.25s;
}

.theme-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 0 12px var(--orange-glow);
}

[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="dark"] .theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }

/* ── Hamburger ── */
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px; height: 20px;
  position: relative;
}

.nav__hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
  position: absolute;
  left: 0;
}

.nav__hamburger span:nth-child(1) { top: 0; }
.nav__hamburger span:nth-child(2) { top: 9px; }
.nav__hamburger span:nth-child(3) { top: 18px; }

.nav__hamburger.open span:nth-child(1) {
  top: 9px; transform: rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) {
  top: 9px; transform: rotate(-45deg);
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(249, 115, 22, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(34, 197, 94, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(249, 115, 22, 0.03) 0%, transparent 70%);
  animation: heroPulse 8s ease-in-out infinite;
}

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

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
}

.hero__greeting {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--orange);
  margin-bottom: 8px;
}

.hero__name {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__tagline {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__tagline-item {
  font-weight: 500;
}

.hero__tagline-sep {
  color: var(--orange);
  opacity: 0.5;
}

.hero__socials {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.hero__socials a {
  color: var(--text-dim);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.25s;
}

.hero__socials a:hover {
  color: var(--orange);
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--orange-glow);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--orange);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s;
}

.hero__cta:hover {
  background: var(--orange-dim);
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--orange-glow);
}

/* ── Hero photo ── */
.hero__photo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__photo-frame {
  width: 320px; height: 320px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__photo-frame::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(var(--orange), var(--green), var(--orange));
  animation: spin 6s linear infinite;
}

.hero__photo-frame::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--bg);
}

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

.hero__photo-placeholder,
.hero__photo {
  position: relative;
  z-index: 1;
  border-radius: 50%;
  width: 300px; height: 300px;
  object-fit: cover;
}

.hero__photo-placeholder {
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.hero__photo {
  /* For when the real photo is loaded */
}

/* ── Hero Now Playing ── */
.hero__now {
  margin-top: 24px;
  display: flex;
  justify-content: flex-start;
}
.hero__now-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  width: 100%;
  max-width: 340px;
  transition: all 0.3s;
}
.hero__now-card:hover {
  border-color: var(--green);
  box-shadow: 0 0 20px var(--green-glow);
}
.hero__now-indicator {
  display: flex;
  align-items: center;
  gap: 3px;
}
.hero__now-indicator span {
  width: 3px; height: 12px;
  background: var(--green);
  border-radius: 2px;
  animation: hEqBounce 0.8s ease-in-out infinite alternate;
}
.hero__now-indicator span:nth-child(2) {
  animation-delay: 0.2s;
  height: 18px;
}
.hero__now-indicator span:nth-child(3) {
  animation-delay: 0.4s;
  height: 9px;
}
@keyframes hEqBounce {
  from { transform: scaleY(0.5); }
  to { transform: scaleY(1); }
}
.hero__now-info { flex: 1; min-width: 0; }
.hero__now-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 2px;
}
.hero__now-track {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero__now-artist {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero__now-album {
  width: 44px; height: 44px;
  border-radius: 6px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  overflow: hidden;
}
.hero__now-album img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__now-link {
  color: inherit;
  text-decoration: none;
}
.hero__now-link:hover {
  color: var(--green);
}

@media (max-width: 640px) {
  .hero__now-card {
    padding: 10px 14px;
  }
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
  opacity: 0.5;
}

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

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about__content {
  max-width: 720px;
}

.about__content p {
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.about__content p:first-of-type {
  font-size: 1.15rem;
  color: var(--text);
}

/* ═══════════════════════════════════════════
   SKILLS
   ═══════════════════════════════════════════ */
.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: all 0.3s;
}

.skill-category:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.skill-category__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.skill-category__icon {
  font-size: 1.6rem;
  line-height: 1;
}

.skill-category__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

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

.skill-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.2s;
}

.skill-tag:hover {
  border-color: var(--orange);
  background: color-mix(in srgb, var(--orange) 10%, var(--bg));
  color: var(--orange);
}

/* ═══════════════════════════════════════════
   MUSIC
   ═══════════════════════════════════════════ */
.music__now-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 500px;
  transition: all 0.3s;
}

.music__now-card:hover {
  border-color: var(--green);
  box-shadow: 0 0 30px var(--green-glow);
}

.music__now-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
}

.music__now-indicator span {
  width: 4px; height: 16px;
  background: var(--green);
  border-radius: 2px;
  animation: eqBounce 0.8s ease-in-out infinite alternate;
}

.music__now-indicator span:nth-child(2) {
  animation-delay: 0.2s;
  height: 24px;
}

.music__now-indicator span:nth-child(3) {
  animation-delay: 0.4s;
  height: 12px;
}

@keyframes eqBounce {
  from { transform: scaleY(0.5); }
  to { transform: scaleY(1); }
}

.music__now-info { flex: 1; }

.music__now-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 4px;
}

.music__now-track {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.music__now-artist {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.music__now-album {
  width: 56px; height: 56px;
  border-radius: 8px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  overflow: hidden;
}

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

.music__subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 48px 0 20px;
  color: var(--text);
}

.music__artists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.music__artist {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: all 0.25s;
}

.music__artist:hover {
  border-color: var(--orange);
  transform: translateX(4px);
}

.music__artist-rank {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 20px;
  text-align: right;
}

.music__artist-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.music__artist-scrobbles {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
}

.music__link {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.music__link:hover {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ═══════════════════════════════════════════
   OBSESSIONS
   ═══════════════════════════════════════════ */
.music__obsessions {
  margin-top: 48px;
}

.music__obsessions-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.music__obsessions-track {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--bg-card), color-mix(in srgb, var(--orange) 8%, var(--bg-card)));
  border: 1px solid color-mix(in srgb, var(--orange) 30%, var(--border));
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.music__obsessions-track:hover {
  border-color: var(--orange);
  transform: translateX(4px);
}

.music__obsessions-track-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.music__obsessions-track-info {
  flex: 1;
}

.music__obsessions-track-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.music__obsessions-track-artist {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.music__obsessions-track-note {
  font-size: 0.8rem;
  color: var(--orange);
  font-style: italic;
  margin-top: 4px;
  padding-left: 2px;
  border-left: 2px solid var(--orange);
  padding-left: 8px;
}

.music__obsessions-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.music__obsessions-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: all 0.25s;
  font-size: 0.85rem;
}

.music__obsessions-item:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.music__obsessions-item-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  width: 18px;
  text-align: right;
  flex-shrink: 0;
}

.music__obsessions-item-name {
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music__obsessions-item-artist {
  color: var(--text-muted);
  margin-left: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

/* ═══════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════ */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}

.blog-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--orange-glow);
}

.blog-card__date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blog-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card__title a {
  color: var(--text);
  transition: color 0.2s;
}

.blog-card__title a:hover {
  color: var(--orange);
}

.blog-card__desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 12px;
  color: var(--orange);
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.section--contact {
  background: var(--bg-alt);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  color: var(--text) !important;
  transition: all 0.3s;
}

.contact__card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--orange-glow);
  color: var(--orange) !important;
}

.contact__card svg {
  color: var(--text-dim);
  transition: color 0.3s;
}

.contact__card:hover svg {
  color: var(--orange);
}

.contact__card-name {
  font-size: 1.05rem;
  font-weight: 600;
}

.contact__card-handle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__text {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer__credit {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 6px;
  opacity: 0.7;
}

.footer__credit a {
  color: var(--orange);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    font-size: 1.1rem;
  }

  .nav__hamburger { display: block; }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 100px;
  }

  .hero__tagline {
    justify-content: center;
  }

  .hero__socials {
    justify-content: center;
  }

  .hero__photo-frame {
    width: 240px; height: 240px;
  }

  .hero__photo-placeholder,
  .hero__photo {
    width: 224px; height: 224px;
  }

  .hero__name {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .section {
    padding: 60px 0;
  }

  .section__title {
    font-size: 1.6rem;
  }

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

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

  .music__now-card {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero__photo-frame {
    width: 200px; height: 200px;
  }

  .hero__photo-placeholder,
  .hero__photo {
    width: 186px; height: 186px;
  }

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

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

/* ── Loading / Error states ── */
.loading-dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
}

.error-state {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}
