/* ================================================================
   ACADEMIA / CLASSICAL DESIGN SYSTEM
   Portfolio — Javier Boix Campos
   ================================================================ */

/* ===== CSS VARIABLES (Design Tokens) ===== */
:root {
  /* Foundation */
  --background: #1C1714;
  --background-alt: #251E19;
  --foreground: #E8DFD4;
  --muted: #3D332B;
  --muted-foreground: #9C8B7A;
  --border: #4A3F35;

  /* Accent */
  --accent: #C9A962;
  --accent-hover: #D4B872;
  --accent-secondary: #8B2635;
  --accent-foreground: #1C1714;

  /* Brass gradient */
  --brass-gradient: linear-gradient(180deg, #D4B872 0%, #C9A962 50%, #B8953F 100%);

  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Crimson Pro', serif;
  --font-display: 'Cinzel', serif;

  /* Radius */
  --radius: 4px;
  --arch: 40% 40% 0 0 / 20% 20% 0 0;

  /* Transitions */
  --fast: 150ms ease-out;
  --base: 300ms ease-out;
  --slow: 500ms ease-out;
  --dramatic: 700ms ease-out;

  /* Shadows */
  --engraved: 1px 1px 1px rgba(0,0,0,0.4), -1px -1px 1px rgba(255,255,255,0.1);
  --card-shadow: 0 8px 24px rgba(0,0,0,0.3);
  --brass-glow: 0 4px 12px rgba(201,169,98,0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  line-height: 1.625;
  color: var(--foreground);
  background: var(--background);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== TEXTURE OVERLAYS ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(28,23,20,0.4) 100%);
}

/* ===== LINKS ===== */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--base), letter-spacing var(--base);
}

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

a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 4px var(--background);
  border-radius: 2px;
}

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

/* ===== CONTAINER ===== */
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 3.5rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--foreground);
  position: relative;
}

.section-title::after {
  display: none;
}

/* ===== VOLUME LABEL (Overline) ===== */
.volume-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  text-align: center;
}

/* ===== ORNATE DIVIDER ===== */
.ornate-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--accent) 50%, var(--border) 80%, transparent 100%);
  margin: 2.5rem auto;
  max-width: 400px;
}

.ornate-divider::before {
  content: "✶";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  font-size: 12px;
  background: var(--background);
  padding: 0 12px;
}

.ornate-divider.on-alt::before {
  background: var(--background-alt);
}

.ornate-divider.on-section::before {
  background: #221C18;
}

/* ===== DROP CAP ===== */
.drop-cap::first-letter {
  font-family: var(--font-display);
  font-size: 4.5rem;
  float: left;
  line-height: 0.8;
  margin-right: 0.75rem;
  margin-top: 0.1em;
  color: var(--accent);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* ===== CORNER FLOURISHES (Large — hero, major frames) ===== */
.ornate-frame {
  position: relative;
}

.ornate-frame::before,
.ornate-frame::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent);
  opacity: 0.5;
  transition: opacity var(--base);
  pointer-events: none;
  z-index: 2;
}

.ornate-frame::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.ornate-frame::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.ornate-frame:hover::before,
.ornate-frame:hover::after {
  opacity: 1;
}

/* Small corner flourishes for cards */
.corner-flourish {
  position: relative;
}

.corner-flourish::before,
.corner-flourish::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--accent);
  opacity: 0.35;
  transition: opacity var(--base);
  pointer-events: none;
  z-index: 2;
}

.corner-flourish::before {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
}

.corner-flourish::after {
  bottom: 8px;
  right: 8px;
  border-left: none;
  border-top: none;
}

.corner-flourish:hover::before,
.corner-flourish:hover::after {
  opacity: 0.9;
}

/* ===== WAX SEAL BADGE ===== */
.wax-seal {
  position: absolute;
  top: -12px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: radial-gradient(circle at 40% 40%, #a83244, var(--accent-secondary), #6B1A24);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.2),
    inset 0 -2px 4px rgba(0,0,0,0.3),
    0 4px 8px rgba(0,0,0,0.4);
  z-index: 3;
}

.wax-seal i {
  color: var(--foreground);
  font-size: 0.85rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2rem;
  height: 48px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--base);
  text-shadow: var(--engraved);
  white-space: nowrap;
}

.btn i {
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--brass-gradient);
  color: var(--accent-foreground);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 2px 8px rgba(0,0,0,0.3);
}

.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    var(--brass-glow);
  color: var(--accent-foreground);
  letter-spacing: 0.15em;
}

.btn-primary:active {
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
  text-shadow: none;
}

.btn-secondary:hover {
  background: var(--accent-secondary);
  border-color: var(--accent-secondary);
  color: var(--foreground);
  letter-spacing: 0.15em;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(28, 23, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background var(--base), box-shadow var(--base);
}

.nav-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent) !important;
  text-decoration: none;
  transition: transform var(--base);
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
}

.nav-brand:hover {
  transform: scale(1.03);
  color: var(--accent-hover) !important;
  letter-spacing: normal;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--muted-foreground);
  font-family: var(--font-display);
  font-size: 0.575rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: color var(--base), letter-spacing var(--base);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--base);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
  letter-spacing: 0.25em;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--accent);
  transition: all var(--base);
  border-radius: 1px;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
  border-bottom: 1px solid var(--border);
  background-image: url('assets/Hero-bg.png');
  background-size: 90%;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Background canvas & visual elements — hidden */
.hero-visual-bg,
#hero-canvas,
#background-animation,
.glass-reflection {
  display: none !important;
}

/* Dark overlay for better text readability over background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28, 23, 20, 0.92) 0%, rgba(28, 23, 20, 0.88) 50%, rgba(28, 23, 20, 0.92) 100%);
  z-index: 0;
}

.hero-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding: 3rem;
  background: rgba(37, 30, 25, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  backdrop-filter: none;
  box-shadow: none;
}

.hero-content:hover {
  transform: none;
  background: rgba(37, 30, 25, 0.5);
  box-shadow: none;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--foreground);
}

/* Override gradient-text with brass for hero */
.hero-title .gradient-text {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  color: var(--accent) !important;
  text-shadow: none;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
  font-weight: 400;
  font-style: italic;
  min-height: 1.8em;
}

.typing-text {
  border-right: 2px solid var(--accent);
  padding-right: 4px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Floating discipline cards */
.hero-floating-elements {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.floating-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--base), box-shadow var(--base);
}

.floating-card:hover {
  border-color: rgba(201, 169, 98, 0.5);
  box-shadow: var(--card-shadow);
}

.floating-card i {
  color: var(--accent);
  font-size: 1.15rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: 50%;
  background: var(--background);
  flex-shrink: 0;
}

.floating-card span {
  font-family: var(--font-display);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--foreground);
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-content {
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: border-color var(--base), box-shadow var(--slow);
  backdrop-filter: none;
  box-shadow: none;
}

.about-content:hover {
  border-color: rgba(201, 169, 98, 0.4);
  box-shadow: var(--card-shadow);
  transform: none;
  background: var(--background-alt);
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  color: var(--foreground);
}

.about-content p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Stats */
.stats-container {
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  backdrop-filter: none;
  box-shadow: none;
}

.stats-container:hover {
  transform: none;
  background: var(--background-alt);
  box-shadow: none;
}

.stat-item {
  text-align: center;
  padding: 1.25rem;
  border-radius: var(--radius);
  transition: background var(--base);
}

.stat-item:hover {
  background: rgba(61, 51, 43, 0.5);
}

.stat-item:hover .stat-number {
  transform: scale(1.1);
  color: var(--accent);
}

.stat-item:hover .stat-label {
  color: var(--accent);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 300;
  color: var(--foreground);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: transform var(--base), color var(--base);
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.575rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  transition: color var(--base);
}

/* ===== PROJECTS SECTION ===== */
.projects {
  padding: 6rem 0;
  background: rgba(37, 30, 25, 0.3);
  border-bottom: 1px solid var(--border);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  position: relative;
  transition: border-color var(--base), box-shadow var(--slow);
  backdrop-filter: none;
  box-shadow: none;
}

.project-card:hover {
  border-color: rgba(201, 169, 98, 0.5);
  box-shadow: var(--card-shadow);
  transform: none;
  background: var(--background-alt);
}

/* Arch-top images */
.project-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--arch);
  margin: 0.75rem 0.75rem 0;
  aspect-ratio: 4/3;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.6) contrast(0.95) brightness(0.9);
  transition: filter var(--dramatic), transform var(--dramatic);
}

.project-card:hover .project-image img {
  filter: sepia(0) contrast(1) brightness(1);
  transform: scale(1.05);
}

.image-overlay {
  display: none;
}

.project-content {
  padding: 1.5rem 2rem 2rem;
}

.project-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--foreground);
  line-height: 1.2;
}

.project-content p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* Tech tags */
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tech-tag {
  font-family: var(--font-display);
  font-size: 0.525rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-foreground);
  background: var(--background);
  transition: border-color var(--base), color var(--base);
}

.tech-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Skill levels */
.tech-tag.advanced {
  border-color: var(--accent);
  color: var(--accent);
}

.tech-tag.intermediate {
  border-color: var(--muted-foreground);
  color: var(--muted-foreground);
}

.tech-tag.beginner {
  border-color: var(--muted);
  color: #6B5D52;
}

/* Project links */
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.575rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--base), border-color var(--base);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}

.project-link:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
  letter-spacing: 0.15em;
}

/* ===== RESEARCH & DEVELOPER PORTFOLIO (Tabs) ===== */
.experience {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.tabs-container {
  max-width: 960px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.tab-button {
  font-family: var(--font-display);
  font-size: 0.575rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.6rem 1.2rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all var(--base);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-button i {
  font-size: 0.7rem;
}

.tab-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tab-button.active {
  background: var(--brass-gradient);
  color: var(--accent-foreground);
  border-color: transparent;
  text-shadow: var(--engraved);
}

.tab-content-container {
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  backdrop-filter: none;
  box-shadow: none;
}

.tab-content-container:hover {
  transform: none;
  background: var(--background-alt);
  box-shadow: none;
}

.tab {
  display: none;
}

.tab.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tab h3 i {
  color: var(--accent);
  font-size: 1rem;
}

/* Project list inside tabs */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.project-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  transition: border-color var(--base), box-shadow var(--base);
}

.project-item:hover {
  border-color: rgba(201, 169, 98, 0.4);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.project-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: 50%;
  background: var(--background-alt);
  flex-shrink: 0;
}

.project-icon i {
  color: var(--accent);
  font-size: 1rem;
}

.project-details h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  color: var(--foreground);
}

.project-details p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.project-details .tech-stack {
  font-family: var(--font-display);
  font-size: 0.525rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.project-details .project-link {
  font-size: 0.55rem;
}

/* ===== SKILLS SECTION ===== */
.skills-charts-section {
  padding: 6rem 0;
  background: rgba(37, 30, 25, 0.3);
  border-bottom: 1px solid var(--border);
}

.tech-categories {
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  backdrop-filter: none;
  box-shadow: none;
}

.tech-categories:hover {
  transform: none;
  background: var(--background-alt);
  box-shadow: none;
}

.tech-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.tech-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tech-header h3 i {
  color: var(--accent);
}

.skills-legend {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.525rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid;
}

.legend-color.advanced {
  background: var(--accent);
  border-color: var(--accent);
}

.legend-color.intermediate {
  background: transparent;
  border-color: var(--muted-foreground);
}

.legend-color.beginner {
  background: transparent;
  border-color: var(--muted);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.tech-category h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-category h4 i {
  color: var(--accent);
  font-size: 0.85rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-subtitle {
  text-align: center;
  max-width: 720px;
  margin: -2rem auto 3rem;
  color: var(--muted-foreground);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.contact-info {
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  backdrop-filter: none;
  box-shadow: none;
}

.contact-info:hover {
  transform: none;
  background: var(--background-alt);
  box-shadow: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: 50%;
  background: var(--background);
  flex-shrink: 0;
}

.contact-icon i {
  color: var(--accent);
  font-size: 1rem;
}

.contact-details h4 {
  font-family: var(--font-display);
  font-size: 0.575rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.contact-details a,
.contact-details span {
  color: var(--foreground);
  font-size: 0.95rem;
}

/* Social links */
.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-family: var(--font-display);
  font-size: 0.575rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all var(--base);
}

.social-link i {
  font-size: 0.9rem;
  color: var(--accent);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  letter-spacing: 0.15em;
}

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

.footer p {
  font-family: var(--font-display);
  font-size: 0.575rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

/* ===== SCROLL REVEAL ===== */
/* Removed - will be reimplemented */

/* ===== FALLAS PAGE SPECIFICS ===== */
.section-block {
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: border-color var(--base);
}

.section-block:hover {
  border-color: rgba(201, 169, 98, 0.3);
}

.section-block h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-block h2 i {
  color: var(--accent);
}

.section-block p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.responsive-image {
  border-radius: var(--arch);
  filter: sepia(0.6) contrast(0.95) brightness(0.9);
  transition: filter var(--dramatic);
  width: 100%;
}

.responsive-image:hover {
  filter: sepia(0) contrast(1) brightness(1);
}

.highlight-box {
  background: var(--background);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
}

.highlight-box h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-box p {
  color: var(--foreground);
  margin-bottom: 0;
}

.highlight-box strong {
  color: var(--accent);
}

/* Approach grid */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.approach-item {
  padding: 1.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color var(--base);
}

.approach-item:hover {
  border-color: rgba(201, 169, 98, 0.4);
}

.approach-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: 50%;
  background: var(--background-alt);
}

.approach-icon i {
  color: var(--accent);
  font-size: 1.25rem;
}

.approach-item h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.approach-item p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Route cards */
.route-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: border-color var(--base);
}

.route-card:hover {
  border-color: rgba(201, 169, 98, 0.4);
}

.route-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.route-details {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.route-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.route-detail i {
  color: var(--accent);
}

.route-detail span {
  font-family: var(--font-display);
  font-size: 0.575rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

.route-map {
  margin-top: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.route-map iframe {
  display: block;
  border: none;
}

/* Media grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.media-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--base);
}

.media-item:hover {
  border-color: rgba(201, 169, 98, 0.4);
}

.media-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: 50%;
  background: var(--background-alt);
  flex-shrink: 0;
}

.media-icon i {
  color: var(--accent);
  font-size: 0.85rem;
}

.media-content h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.media-content p {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.media-link {
  font-family: var(--font-display);
  font-size: 0.525rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.media-link:hover {
  color: var(--accent-hover);
}

/* Tech details on fallas page */
.tech-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.tech-details .tech-category h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-details .tech-category h3 i {
  color: var(--accent);
  font-size: 0.85rem;
}

/* ===== GRADIENT-TEXT OVERRIDE (kill green gradient everywhere) ===== */
.gradient-text {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  color: var(--accent) !important;
  text-shadow: none !important;
}

/* ===== GLASS-CARD NEUTRALIZER (remove old glassmorphism) ===== */
.glass-card {
  backdrop-filter: none;
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  transition: border-color var(--base), box-shadow var(--slow);
}

.glass-card:hover {
  transform: none;
  background: var(--background-alt);
  box-shadow: var(--card-shadow);
  border-color: rgba(201, 169, 98, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    padding: 2.5rem;
  }

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

  .hero-floating-elements {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

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

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

@media (max-width: 768px) {
  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--background);
    border-left: 1px solid var(--border);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--base);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  /* Hero */
  .hero {
    padding-top: 5rem;
    min-height: 100vh;
    background-size: cover;
    background-attachment: scroll;
    background-position: center center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-floating-elements {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  /* Sections */
  .about,
  .projects,
  .experience,
  .skills-charts-section,
  .contact {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 1.85rem;
    margin-bottom: 2.5rem;
  }

  /* Stats */
  .stats-container {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  /* Tabs */
  .tab-buttons {
    gap: 0.35rem;
  }

  .tab-button {
    font-size: 0.5rem;
    padding: 0.5rem 0.75rem;
  }

  .tab-content-container {
    padding: 1.5rem;
  }

  .project-item {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Contact */
  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .social-links {
    gap: 0.5rem;
  }

  /* Fallas detail grids */
  .approach-grid {
    grid-template-columns: 1fr;
  }

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

  /* Corner flourishes */
  .ornate-frame::before,
  .ornate-frame::after {
    width: 28px;
    height: 28px;
  }

  .section-block {
    padding: 1.5rem;
  }

  .drop-cap::first-letter {
    font-size: 3rem;
    margin-right: 0.5rem;
  }

  .ornate-divider {
    max-width: 260px;
    margin: 1.75rem auto;
  }
}

/* ===== CV PAGE SPECIFIC STYLES ===== */
.cv-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: calc(80px + 3rem) 2rem 3rem;
}

.cv-header {
  margin-bottom: 3rem;
}

.header-card {
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.header-card::before,
.header-card::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent);
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}

.header-card::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.header-card::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.header-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
  padding: 3rem;
}

.personal-info h1 {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: var(--accent);
}

.cv-subtitle {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--foreground);
  margin-bottom: 1.25rem;
  font-weight: 400;
  font-style: italic;
}

.cv-summary {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 600px;
}

.cv-section {
  margin-bottom: 2.5rem;
}

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), var(--border), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--base), box-shadow var(--slow);
}

.timeline-item:hover {
  border-color: rgba(201, 169, 98, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.item-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.item-company {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 0.35rem;
  font-style: italic;
}

.item-details {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.item-detail {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted-foreground);
  font-size: 0.85rem;
}

.item-detail i {
  color: var(--accent);
  font-size: 0.75rem;
}

.item-description {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 1.02rem;
}

.job-highlights {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.job-highlights li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 1rem;
}

.job-highlights li::before {
  content: '❧';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  top: 0.25rem;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.experience-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.startup-badge {
  background: rgba(201, 169, 98, 0.15);
  color: var(--accent);
  border: 1px solid rgba(201, 169, 98, 0.3);
}

.industry-badge {
  background: rgba(139, 92, 246, 0.1);
  color: #b8a0d8;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.research-badge {
  background: rgba(201, 169, 98, 0.08);
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

.mentor-badge {
  background: rgba(201, 169, 98, 0.08);
  color: var(--accent);
  border: 1px solid rgba(201, 169, 98, 0.2);
}

.academic-badge {
  background: rgba(139, 38, 53, 0.15);
  color: #c47a85;
  border: 1px solid rgba(139, 38, 53, 0.3);
}

.intern-badge {
  background: rgba(201, 169, 98, 0.08);
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

.tech-stack-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.tech-label {
  font-family: var(--font-display);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--foreground);
}

.item-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.item-tech-tags .tech-tag {
  padding: 0.3rem 0.7rem;
  font-size: 0.55rem;
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.language-item {
  text-align: center;
  padding: 2rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--base);
}

.language-item:hover {
  border-color: rgba(201, 169, 98, 0.4);
}

.language-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.language-level {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.5;
}

.certifications-category {
  margin-bottom: 2rem;
}

.category-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.category-title i {
  color: var(--accent);
  font-size: 1rem;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.75rem;
}

.certification-item {
  color: var(--muted-foreground);
  padding: 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  transition: border-color var(--base);
  line-height: 1.5;
}

.certification-item:hover {
  border-color: rgba(201, 169, 98, 0.3);
  color: var(--foreground);
}

/* CV-specific responsive overrides */
@media (max-width: 1024px) {
  .header-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .cv-container {
    padding: calc(80px + 2rem) 1rem 2rem;
  }

  .header-content,
  .section-card {
    padding: 1.5rem;
  }

  .personal-info h1 {
    font-size: 2.25rem;
  }

  .timeline {
    padding-left: 1.75rem;
  }

  .item-details {
    flex-direction: column;
    gap: 0.5rem;
  }

  .languages-grid,
  .certifications-grid {
    grid-template-columns: 1fr;
  }

  .skills-legend {
    gap: 1rem;
    padding: 0.5rem 1rem;
  }

  .header-card::before,
  .header-card::after {
    width: 28px;
    height: 28px;
  }
}

/* Print styles for CV */
@media print {
  body {
    background: white !important;
    color: #2d3748 !important;
  }

  body::before,
  body::after {
    display: none;
  }

  .navbar {
    display: none !important;
  }

  .cv-container {
    padding: 0;
    max-width: none;
  }

  .header-card,
  .section-card {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
  }

  .header-card::before,
  .header-card::after {
    display: none;
  }

  .personal-info h1,
  .section-title i,
  .category-title i {
    color: #1a365d !important;
  }

  .item-company,
  .language-name {
    color: #2b6cb0 !important;
  }

  .timeline::before {
    background: #cbd5e0 !important;
  }
}

/* ===== PUBLICATIONS SECTION ===== */
.publications {
  padding: 6rem 0;
  background: var(--background);
  position: relative;
}

.publications-container {
  display: grid;
  gap: 3rem;
}

.publication-category {
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  position: relative;
}

.publication-category h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.publication-category h3 i {
  color: var(--accent);
  font-size: 1.25rem;
}

.publication-list {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.publication-item {
  position: relative;
  padding: 2rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--base), box-shadow var(--slow);
}

.publication-item:hover {
  border-color: rgba(201, 169, 98, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.publication-year {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  background: rgba(201, 169, 98, 0.1);
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: var(--radius);
}

.publication-details {
  padding-right: 5rem;
}

.publication-details h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.authors {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.authors strong {
  color: var(--accent);
  font-weight: 500;
}

.journal,
.conference {
  font-style: italic;
  color: var(--foreground);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.publication-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.publication-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--accent);
  transition: color var(--base);
}

.publication-link:hover {
  color: var(--accent-hover);
}

.publication-link i {
  font-size: 0.75rem;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
