/*
Theme Name:  Fernando Armendáriz Mateo
Theme URI:   https://fernandoarmendarizmateo.com
Description: Tema custom — portfolio diseñador de moda
Author:      Fernando Armendáriz Mateo
Version:     2.0.0
Text Domain: fernando-armendariz
*/

/* ═══════════════════════════════════════════════════════════════
   Design Tokens — Dark Luxury + Corkboard
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Core palette */
  --red:          #e8000d;
  --red-dark:     #b00009;
  --red-glow:     rgba(232, 0, 13, .35);
  --red-subtle:   rgba(232, 0, 13, .12);
  --bg:           #060606;
  --surface:      #111111;
  --surface2:     #1a1a1a;
  --surface3:     #222222;
  --border:       rgba(232, 0, 13, .25);
  --border-muted: rgba(255, 255, 255, .06);
  --text:         #f5f5f5;
  --text-muted:   #a0a0a0;
  --text-dim:     rgba(255, 255, 255, .4);
  --white:        #ffffff;
  --black:        #060606;

  /* Paper / corkboard effect */
  --paper:        #1c1c1c;
  --paper-edge:   rgba(255, 255, 255, .04);
  --pin:          #e8000d;
  --pin-shadow:   rgba(0, 0, 0, .6);
  --tape:         rgba(255, 255, 255, .06);

  /* Typography */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --nav-h:  72px;
  --radius: 4px;
  --tr:     .3s cubic-bezier(.4, 0, .2, 1);
  --max-w:  1200px;

  /* Corkboard rotations */
  --rot-1:  -1.2deg;
  --rot-2:   0.8deg;
  --rot-3:  -0.5deg;
  --rot-4:   1.5deg;
  --rot-5:  -2deg;
  --rot-6:   0.3deg;
}

/* ═══════════════════════════════════════════════════════════════
   Reset & Base
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* Selection */
::selection { background: var(--red); color: var(--white); }

/* ═══════════════════════════════════════════════════════════════
   Utilities
   ═══════════════════════════════════════════════════════════════ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ═══════════════════════════════════════════════════════════════
   Navigation — Fixed Dark Glass
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(6, 6, 6, .88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border-muted);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; z-index: 1000;
  transition: box-shadow var(--tr), border-color var(--tr);
}
.nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, .5);
  border-bottom-color: var(--border);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--text);
}
.nav-links {
  display: flex; align-items: center; gap: 2.5rem; list-style: none;
}
.nav-links a,
.nav-link {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--tr);
  position: relative;
}
.nav-links a::after,
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width var(--tr);
}
.nav-links a:hover,
.nav-link:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-link:hover::after { width: 100%; }
.nav-links .nav-cta {
  background: var(--red);
  color: var(--white);
  padding: .45rem 1.2rem;
  border-radius: 2px;
  letter-spacing: .1em;
  border: 1px solid var(--red);
  transition: background var(--tr), box-shadow var(--tr);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover {
  background: var(--red-dark);
  box-shadow: 0 0 20px var(--red-glow);
}
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .3rem;
}
.nav-burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--text); transition: var(--tr);
}

/* ═══════════════════════════════════════════════════════════════
   Hero — Full Height Dark Radial
   ═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; padding-top: var(--nav-h);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
  max-width: var(--max-w); margin: 0 auto;
  padding-left: 2.5rem; padding-right: 2.5rem;
  position: relative;
}
.hero::before {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, var(--red-glow), transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(232, 0, 13, .08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero-inner { padding: 4rem 0; }
.hero-label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px var(--red-glow);
}
.hero-name {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.hero-name em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
}
.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: 2px;
  transition: background var(--tr), box-shadow var(--tr), transform var(--tr);
  border: 1px solid var(--red);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 0 30px var(--red-glow), 0 4px 15px rgba(0, 0, 0, .4);
  transform: translateY(-1px);
}
.btn-primary.btn-full { width: 100%; text-align: center; }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: 2px;
  border: 1px solid var(--border);
  transition: border-color var(--tr), background var(--tr), color var(--tr), box-shadow var(--tr);
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--red);
  background: rgba(232, 0, 13, .08);
  color: var(--white);
  box-shadow: 0 0 15px rgba(232, 0, 13, .15);
}

/* Hero image */
.hero-image-wrap {
  position: relative;
  height: 70vh; max-height: 720px;
}
.hero-img,
.hero-img-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--border-muted);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.hero-img-placeholder {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 2.5rem;
  font-size: 1.2rem; color: var(--text-muted);
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* ═══════════════════════════════════════════════════════════════
   Sections — Generic
   ═══════════════════════════════════════════════════════════════ */
.section { padding: 7rem 0; position: relative; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--bg); color: var(--white); }
.section-label {
  display: block;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 1rem;
  text-shadow: 0 0 12px var(--red-glow);
}
.section-label.light { color: var(--red); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 3rem;
}
.section-title.light { color: var(--white); }
.section-sub {
  color: var(--text-muted);
  font-size: .95rem;
  max-width: 600px;
  margin-bottom: 3rem;
  margin-top: -2rem;
}

/* ═══════════════════════════════════════════════════════════════
   Bio
   ═══════════════════════════════════════════════════════════════ */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem; align-items: start;
}
.bio-text { font-size: 1.05rem; color: var(--text-muted); line-height: 1.85; white-space: pre-line; }
.bio-body { font-size: 1.05rem; color: var(--text-muted); line-height: 1.85; white-space: pre-line; }
.bio-aside { position: relative; }
.bio-img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--border-muted);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, .5),
    inset 0 0 0 1px rgba(255, 255, 255, .03);
  /* Slight pin rotation */
  transform: rotate(0.8deg);
}
.bio-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 1.5rem;
}
.bio-stat {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.bio-stat-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--red);
  line-height: 1;
}
.bio-stat-label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .3rem;
}

/* ═══════════════════════════════════════════════════════════════
   Timeline
   ═══════════════════════════════════════════════════════════════ */
.timeline { position: relative; max-width: 800px; }
.timeline::before {
  content: '';
  position: absolute; left: 100px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--red), var(--border), transparent);
}
.tl-item {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 3rem; padding: 2rem 0; position: relative;
  border-bottom: 1px solid var(--border-muted);
}
.tl-item:last-child { border-bottom: none; }
.tl-year {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--red);
  padding-top: .15rem;
  text-align: right;
  padding-right: 2rem;
}
.tl-dot {
  position: absolute; left: 96px; top: 2.4rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--bg);
  box-shadow: 0 0 8px var(--red-glow);
}
.tl-body {}
.tl-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: .5rem;
}
.tl-institution {
  font-size: .82rem;
  color: var(--red);
  margin-bottom: .35rem;
  letter-spacing: .05em;
}
.tl-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   Portfolio — Corkboard Cards
   ═══════════════════════════════════════════════════════════════ */
.portfolio-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.pf-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .45rem 1.1rem;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--tr);
}
.pf-btn:hover,
.pf-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 0 15px var(--red-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* Portfolio card — pinned paper effect */
.portfolio-card {
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper);
  border: 1px solid var(--border-muted);
  position: relative;
  transition: transform var(--tr), box-shadow var(--tr);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, .4),
    0 1px 3px rgba(0, 0, 0, .3);
}
/* Pin effect */
.portfolio-card::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff4444, var(--red-dark));
  box-shadow:
    0 2px 4px var(--pin-shadow),
    inset 0 -1px 2px rgba(0, 0, 0, .3);
  z-index: 10;
  opacity: .9;
}
/* Corkboard rotations */
.portfolio-card:nth-child(6n+1) { transform: rotate(var(--rot-1)); }
.portfolio-card:nth-child(6n+2) { transform: rotate(var(--rot-2)); }
.portfolio-card:nth-child(6n+3) { transform: rotate(var(--rot-3)); }
.portfolio-card:nth-child(6n+4) { transform: rotate(var(--rot-4)); }
.portfolio-card:nth-child(6n+5) { transform: rotate(var(--rot-5)); }
.portfolio-card:nth-child(6n+6) { transform: rotate(var(--rot-6)); }

.portfolio-card:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, .6),
    0 0 20px var(--red-glow);
  z-index: 5;
}

.portfolio-card-img-wrap {
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--surface);
}
.portfolio-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.portfolio-card:hover .portfolio-card-img { transform: scale(1.06); }
.portfolio-card-body { padding: 1.25rem 1rem; }
.portfolio-card-cat {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .4rem;
}
.portfolio-card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: .25rem;
}
.portfolio-card-year { font-size: .8rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════
   Lightbox
   ═══════════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(6, 6, 6, .95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.lb-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff; font-size: 1rem;
  width: 40px; height: 40px;
  border-radius: 50%; cursor: pointer;
  transition: background var(--tr), border-color var(--tr);
}
.lb-close:hover { background: rgba(232, 0, 13, .2); border-color: var(--red); }
.lb-content {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 3rem; max-width: 1000px; width: 100%; max-height: 80vh;
}
.lb-img { width: 100%; max-height: 75vh; object-fit: contain; border-radius: 2px; }
.lb-info { display: flex; flex-direction: column; justify-content: center; color: #fff; }
.lb-category {
  font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 1rem;
}
.lb-title {
  font-family: var(--serif);
  font-size: 2rem; font-weight: 300;
  margin-bottom: .5rem; line-height: 1.2;
}
.lb-year { color: var(--text-dim); font-size: .85rem; margin-bottom: 1rem; }
.lb-desc { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff; font-size: 1.8rem;
  width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer;
  transition: background var(--tr), border-color var(--tr);
  display: flex; align-items: center; justify-content: center;
}
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-prev:hover, .lb-next:hover {
  background: rgba(232, 0, 13, .15);
  border-color: var(--red);
}

/* ═══════════════════════════════════════════════════════════════
   Press / Hemeroteca Cards — Taped Clippings
   ═══════════════════════════════════════════════════════════════ */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}
.press-card {
  background: var(--paper);
  border: 1px solid var(--border-muted);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  transition: box-shadow var(--tr), transform var(--tr);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, .4),
    0 1px 3px rgba(0, 0, 0, .2);
}
/* Tape effect on press cards */
.press-card::before {
  content: '';
  position: absolute;
  top: -2px; left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  width: 50px; height: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, .08) 0%,
    rgba(255, 255, 255, .04) 50%,
    rgba(255, 255, 255, .06) 100%
  );
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 1px;
  z-index: 10;
}
/* Rotation for press cards */
.press-card:nth-child(6n+1) { transform: rotate(0.6deg); }
.press-card:nth-child(6n+2) { transform: rotate(-0.8deg); }
.press-card:nth-child(6n+3) { transform: rotate(1.1deg); }
.press-card:nth-child(6n+4) { transform: rotate(-0.4deg); }
.press-card:nth-child(6n+5) { transform: rotate(1.3deg); }
.press-card:nth-child(6n+6) { transform: rotate(-1deg); }

.press-card:hover {
  box-shadow:
    0 15px 40px rgba(0, 0, 0, .6),
    0 0 15px var(--red-glow);
  transform: rotate(0deg) translateY(-4px);
  z-index: 5;
}
.press-card-img-wrap {
  aspect-ratio: 4/3; overflow: hidden; background: var(--surface);
}
.press-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.press-card:hover .press-card-img { transform: scale(1.04); }
.press-card-body { padding: 1.25rem; }
.press-card-pub {
  font-size: .68rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: .4rem; font-weight: 500;
}
.press-card-title {
  font-family: var(--serif);
  font-size: 1.1rem; font-weight: 400;
  color: var(--white); line-height: 1.4;
  margin-bottom: .5rem;
}
.press-card-date { font-size: .78rem; color: var(--text-muted); }
.press-card-link {
  display: inline-block; margin-top: .75rem;
  font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--red);
  border-bottom: 1px solid transparent;
  transition: border-color var(--tr);
}
.press-card-link:hover { border-color: var(--red); }
.press-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--surface), var(--surface2));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--text-dim);
}

/* ═══════════════════════════════════════════════════════════════
   Services — Pinned Cards
   ═══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}
.service-card {
  padding: 2.5rem;
  border: 1px solid var(--border-muted);
  border-radius: 2px;
  background: var(--paper);
  position: relative;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}
/* Pin on service cards */
.service-card::before {
  content: '';
  position: absolute;
  top: 12px; right: 16px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff4444, var(--red-dark));
  box-shadow: 0 2px 4px var(--pin-shadow);
  z-index: 5;
}
.service-card:nth-child(3n+1) { transform: rotate(var(--rot-1)); }
.service-card:nth-child(3n+2) { transform: rotate(var(--rot-2)); }
.service-card:nth-child(3n+3) { transform: rotate(var(--rot-3)); }

.service-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .5), 0 0 15px var(--red-glow);
  transform: rotate(0deg) translateY(-3px);
}
.service-icon { font-size: 2rem; margin-bottom: 1.25rem; color: var(--red); }
.service-title {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 400;
  color: var(--white); margin-bottom: .75rem;
}
.service-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   Contact
   ═══════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}
.contact-sub {
  color: var(--text-muted);
  margin-top: -2rem; margin-bottom: 2.5rem;
  font-size: .95rem; line-height: 1.7;
}
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-item {
  display: flex; align-items: center; gap: .75rem;
  font-size: .9rem; color: var(--text-muted);
}
.contact-info-icon { font-size: 1rem; color: var(--red); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-muted);
  color: var(--white);
  font-family: var(--sans);
  font-size: .9rem; font-weight: 300;
  padding: .8rem 1rem; border-radius: 2px;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 10px rgba(232, 0, 13, .15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group textarea { resize: vertical; }
.form-status {
  font-size: .85rem; padding: .75rem 1rem;
  border-radius: 2px; text-align: center;
}
.form-status.ok  { background: rgba(34, 197, 94, .1); color: #86efac; }
.form-status.err { background: rgba(239, 68, 68, .1); color: #fca5a5; }

/* ═══════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg);
  padding: 2rem 0;
  border-top: 1px solid var(--border-muted);
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1rem; color: var(--text-muted);
  font-style: italic;
}
.footer-copy {
  font-size: .78rem; color: var(--text-dim);
  letter-spacing: .05em;
}

/* ═══════════════════════════════════════════════════════════════
   Empty States
   ═══════════════════════════════════════════════════════════════ */
.empty-msg {
  text-align: center; padding: 4rem 2rem;
  color: var(--text-muted); font-size: .95rem;
  grid-column: 1 / -1;
}

/* ═══════════════════════════════════════════════════════════════
   Scroll Animations
   ═══════════════════════════════════════════════════════════════ */
.fa-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.4, 0, .2, 1);
}
.fa-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered animation for child elements */
.fa-animate:nth-child(2) { transition-delay: .08s; }
.fa-animate:nth-child(3) { transition-delay: .16s; }
.fa-animate:nth-child(4) { transition-delay: .24s; }
.fa-animate:nth-child(5) { transition-delay: .32s; }
.fa-animate:nth-child(6) { transition-delay: .4s; }

/* ═══════════════════════════════════════════════════════════════
   Corkboard Background Pattern
   ═══════════════════════════════════════════════════════════════ */
.section-alt::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(232, 0, 13, .03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(232, 0, 13, .02) 0%, transparent 40%);
  pointer-events: none;
}

/* Subtle noise texture overlay for corkboard feel */
.section::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.section > * { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════════════════
   Responsive — Mobile First Breakpoints
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; min-height: auto; padding: 7rem 2rem 4rem; }
  .hero-image-wrap { height: 50vw; max-height: 400px; }
  .hero-scroll { display: none; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-aside { max-width: 400px; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .lb-content { grid-template-columns: 1fr; }
  .lb-info { max-height: 30vh; overflow-y: auto; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(6, 6, 6, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-muted);
    flex-direction: column;
    padding: 1.5rem 2rem; gap: 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .hero-name { font-size: clamp(2.5rem, 10vw, 4rem); }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .press-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .timeline::before { left: 0; }
  .tl-item { grid-template-columns: 1fr; gap: .75rem; padding-left: 1.5rem; }
  .tl-year { text-align: left; padding-right: 0; font-size: 1.1rem; }
  .tl-dot { left: -4px; }
  /* Reduce rotation on smaller screens */
  .portfolio-card,
  .press-card,
  .service-card { transform: none !important; }
  .portfolio-card:hover,
  .press-card:hover,
  .service-card:hover { transform: translateY(-3px) !important; }
}

@media (max-width: 480px) {
  .portfolio-grid, .press-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }
  .bio-stats { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .nav { padding: 0 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════════
   Hemeroteca — Masonry Grid (Corkboard Edition)
   ═══════════════════════════════════════════════════════════════ */
.hm-masonry {
  columns: 3;
  column-gap: var(--hm-gap, 20px);
}
.hm-cols-2 { columns: 2; }
.hm-cols-3 { columns: 3; }
.hm-cols-4 { columns: 4; }

.hm-card {
  break-inside: avoid;
  margin-bottom: var(--hm-gap, 20px);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  background: var(--paper);
  border: 1px solid var(--border-muted);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, .4),
    0 1px 3px rgba(0, 0, 0, .3);
  transition: transform var(--tr), box-shadow var(--tr);
}
/* Pin on masonry cards */
.hm-card::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff4444, var(--red-dark));
  box-shadow: 0 2px 4px var(--pin-shadow);
  z-index: 10;
}
/* Rotations for masonry cards */
.hm-card:nth-child(7n+1) { transform: rotate(-0.8deg); }
.hm-card:nth-child(7n+2) { transform: rotate(1deg); }
.hm-card:nth-child(7n+3) { transform: rotate(-1.3deg); }
.hm-card:nth-child(7n+4) { transform: rotate(0.5deg); }
.hm-card:nth-child(7n+5) { transform: rotate(-0.3deg); }
.hm-card:nth-child(7n+6) { transform: rotate(1.5deg); }
.hm-card:nth-child(7n+7) { transform: rotate(-0.6deg); }

.hm-card:hover,
.hm-card:focus-visible {
  transform: rotate(0deg) translateY(-4px) scale(1.02);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, .6),
    0 0 15px var(--red-glow);
  z-index: 5;
}

.hm-card-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s ease;
}
.hm-card:hover .hm-card-img {
  transform: scale(1.04);
}

.hm-card-placeholder {
  width: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  font-size: 3rem;
  color: var(--text-dim);
}

/* Overlay on hover */
.hm-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 6, 6, .9) 0%,
    rgba(6, 6, 6, .4) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity .3s ease;
}
.hm-card:hover .hm-card-overlay,
.hm-card:focus-visible .hm-card-overlay {
  opacity: 1;
}

.hm-card-pub {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red);
  margin-bottom: .25rem;
}
.hm-card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: .25rem;
}
.hm-card-date {
  font-size: .75rem;
  color: var(--text-muted);
}
.hm-card-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.4rem;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .6));
  color: var(--white);
  opacity: 0;
  transition: opacity .3s ease;
}
.hm-card:hover .hm-card-zoom-icon { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   Hemeroteca — Lightbox with Zoom
   ═══════════════════════════════════════════════════════════════ */
.hm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hm-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, .95);
  backdrop-filter: blur(8px);
}

/* Viewport */
.hm-lb-viewport {
  position: relative;
  z-index: 1;
  width: 85vw;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}
.hm-lb-viewport.grabbing {
  cursor: grabbing;
}
.hm-lb-img {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .2s ease;
  user-select: none;
  pointer-events: none;
}

/* Navigation controls */
.hm-lb-close,
.hm-lb-prev,
.hm-lb-next {
  position: absolute;
  z-index: 3;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  padding: .5rem;
  opacity: .7;
  transition: opacity .2s, transform .2s, color .2s;
  line-height: 1;
}
.hm-lb-close:hover,
.hm-lb-prev:hover,
.hm-lb-next:hover {
  opacity: 1;
  color: var(--red);
  transform: scale(1.1);
}
.hm-lb-close { top: 1.5rem; right: 1.5rem; font-size: 2.8rem; }
.hm-lb-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 3.5rem; }
.hm-lb-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 3.5rem; }
.hm-lb-prev:hover { transform: translateY(-50%) scale(1.1); }
.hm-lb-next:hover { transform: translateY(-50%) scale(1.1); }

/* Info panel */
.hm-lb-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 1.25rem 2rem;
  background: linear-gradient(transparent, rgba(6, 6, 6, .9));
  text-align: center;
}
.hm-lb-pub {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  margin-bottom: .25rem;
}
.hm-lb-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: .2rem;
}
.hm-lb-date {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.hm-lb-link {
  font-size: .8rem;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--tr);
}
.hm-lb-link:hover { color: var(--white); }

/* Zoom controls */
.hm-lb-zoom-controls {
  position: absolute;
  bottom: 5.5rem; right: 1.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.hm-lb-zoom-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(6, 6, 6, .7);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}
.hm-lb-zoom-btn:hover {
  background: rgba(232, 0, 13, .2);
  border-color: var(--red);
}

/* Counter */
.hm-lb-counter {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  z-index: 3;
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   Hemeroteca Responsive
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hm-cols-4 { columns: 3; }
}
@media (max-width: 768px) {
  .hm-cols-3,
  .hm-cols-4 { columns: 2; }
  .hm-lb-viewport { width: 95vw; height: 65vh; }
  .hm-lb-prev, .hm-lb-next { font-size: 2.5rem; }
  .hm-lb-close { top: .75rem; right: .75rem; }
  /* Remove rotations on masonry cards for mobile */
  .hm-card { transform: none !important; }
  .hm-card:hover,
  .hm-card:focus-visible { transform: translateY(-3px) !important; }
}
@media (max-width: 480px) {
  .hm-masonry,
  .hm-cols-2,
  .hm-cols-3,
  .hm-cols-4 { columns: 1; }
  .hm-lb-viewport { width: 100vw; height: 60vh; }
  .hm-lb-zoom-controls { bottom: 7rem; right: .75rem; }
}

/* ═══════════════════════════════════════════════════════════════
   Extra Corkboard Decorations & Utility Classes
   ═══════════════════════════════════════════════════════════════ */

/* Red glow separator between sections */
.section + .section { border-top: 1px solid var(--border-muted); }
.section-alt + .section-dark,
.section-dark + .section-alt {
  border-top: 1px solid var(--border);
}

/* Glowing red accent line */
.section-title::after {
  content: '';
  display: block;
  width: 60px; height: 2px;
  background: var(--red);
  margin-top: 1rem;
  box-shadow: 0 0 8px var(--red-glow);
}

/* Link hover with red underline */
a:not(.btn-primary):not(.btn-outline):not(.nav-cta):not(.press-card-link):not(.hm-lb-link) {
  transition: color var(--tr);
}

/* Smooth page load animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Red pulse for interactive elements */
@keyframes redPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); }
  50% { box-shadow: 0 0 15px 3px var(--red-glow); }
}

/* Subtle float animation for hero image */
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-image-wrap {
  animation: gentleFloat 6s ease-in-out infinite;
}

/* Ensure dark backgrounds on section variants */
.section-dark .section-title { color: var(--white); }
.section-dark .section-title::after { background: var(--red); }
.section-alt .section-title { color: var(--white); }

/* ═══════════════════════════════════════════════════════════════
   MUSEUM-STYLE GRID — Inspired by Museu Picasso Barcelona
   2-column flexbox grid with fixed-height images, rounded cards,
   hover scale, and staggered reveal animations
   ═══════════════════════════════════════════════════════════════ */

/* Nav hide/show animation (Picasso sticky pattern) */
.nav {
  transition: box-shadow var(--tr), border-color var(--tr), transform .3s ease;
}
.nav--hidden {
  transform: translateY(-100%);
}

/* Body lock when nav is open */
body.nav-open { overflow: hidden; }

/* ── Museum Grid Container ── */
.museum-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -20px;
  margin-right: -20px;
  margin-top: 3rem;
}

.museum-grid > .museum-card-wrap {
  flex: 0 0 50%;
  padding: 0 20px;
}

/* ── Museum Card ── */
.museum-card {
  margin-bottom: 50px;
  position: relative;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), box-shadow .35s ease;
}

.museum-card > a {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10;
  opacity: 0.001;
}

.museum-card .museum-card-img-wrap {
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}

.museum-card .museum-card-img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  height: 370px;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.museum-card:hover .museum-card-img {
  transform: scale(1.04);
}

.museum-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 20px var(--red-glow);
}

/* Museum card info */
.museum-card-info {
  margin-top: 12px;
}

.museum-card-date {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  transition: color .3s ease;
}

.museum-card:hover .museum-card-date {
  color: var(--red);
}

.museum-card-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);
  padding-top: 0;
  margin-bottom: 0;
  transition: color .3s ease;
}

.museum-card:hover .museum-card-title {
  color: var(--red);
}

.museum-card-subtitle {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: .25rem;
  line-height: 1.5;
}

/* ── Museum Grid Responsive ── */
@media (max-width: 992px) {
  .museum-grid {
    margin-left: -10px;
    margin-right: -10px;
  }
  .museum-grid > .museum-card-wrap {
    padding: 0 10px;
  }
  .museum-card .museum-card-img {
    height: 257px;
  }
  .museum-card-date {
    font-size: .9rem;
    line-height: 1.5;
  }
  .museum-card-title {
    font-size: 1.35rem;
    line-height: 1.25;
  }
}

@media (max-width: 768px) {
  .museum-grid {
    margin-top: 2rem;
  }
  .museum-card .museum-card-img {
    height: 218px;
  }
}

@media (max-width: 468px) {
  .museum-grid > .museum-card-wrap {
    flex: 0 0 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   STAGGERED CARD REVEAL ANIMATIONS
   Cards start hidden, reveal on scroll with stagger delay
   ═══════════════════════════════════════════════════════════════ */
.card--hidden {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity .7s cubic-bezier(.4, 0, .2, 1),
    transform .7s cubic-bezier(.4, 0, .2, 1);
}

.card--revealed {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* Keep corkboard rotations after reveal */
.portfolio-card.card--revealed:nth-child(6n+1) { transform: rotate(var(--rot-1)); }
.portfolio-card.card--revealed:nth-child(6n+2) { transform: rotate(var(--rot-2)); }
.portfolio-card.card--revealed:nth-child(6n+3) { transform: rotate(var(--rot-3)); }
.portfolio-card.card--revealed:nth-child(6n+4) { transform: rotate(var(--rot-4)); }
.portfolio-card.card--revealed:nth-child(6n+5) { transform: rotate(var(--rot-5)); }
.portfolio-card.card--revealed:nth-child(6n+6) { transform: rotate(var(--rot-6)); }

.hm-card.card--revealed:nth-child(7n+1) { transform: rotate(-0.8deg); }
.hm-card.card--revealed:nth-child(7n+2) { transform: rotate(1deg); }
.hm-card.card--revealed:nth-child(7n+3) { transform: rotate(-1.3deg); }
.hm-card.card--revealed:nth-child(7n+4) { transform: rotate(0.5deg); }
.hm-card.card--revealed:nth-child(7n+5) { transform: rotate(-0.3deg); }
.hm-card.card--revealed:nth-child(7n+6) { transform: rotate(1.5deg); }
.hm-card.card--revealed:nth-child(7n+7) { transform: rotate(-0.6deg); }

/* ═══════════════════════════════════════════════════════════════
   IMAGE LOAD FADE — Smooth appearance on lazy load
   ═══════════════════════════════════════════════════════════════ */
.img--loading {
  opacity: 0;
  transition: opacity .5s ease;
}
.img--loaded {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   AOS CUSTOM OVERRIDES — Enhanced animations for dark theme
   ═══════════════════════════════════════════════════════════════ */
[data-aos="fade-up"] {
  transform: translateY(40px);
}
[data-aos="fade-in"] {
  opacity: 0;
}
[data-aos="zoom-in-up"] {
  transform: translateY(30px) scale(0.95);
  opacity: 0;
}

/* Custom AOS animation: slide from left with red glow */
[data-aos="slide-red"] {
  transform: translateX(-30px);
  opacity: 0;
  transition-property: transform, opacity;
}
[data-aos="slide-red"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

/* Custom AOS animation: scale up from center */
[data-aos="scale-reveal"] {
  transform: scale(0.9);
  opacity: 0;
  transition-property: transform, opacity;
}
[data-aos="scale-reveal"].aos-animate {
  transform: scale(1);
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   ENHANCED SECTION TRANSITIONS — Picasso-style smooth scrolling
   ═══════════════════════════════════════════════════════════════ */
.section {
  will-change: transform;
}

/* Section title with animated underline on scroll */
.section-title {
  overflow: hidden;
}

.section-title::after {
  transition: width .8s cubic-bezier(.4, 0, .2, 1) .3s;
}

/* Active nav link highlighting */
.nav-links a.active {
  color: var(--white);
}
.nav-links a.active::after {
  width: 100%;
  background: var(--red);
}

/* ═══════════════════════════════════════════════════════════════
   ENHANCED HOVER STATES — Museu Picasso card interaction depth
   ═══════════════════════════════════════════════════════════════ */

/* Image overlay gradient on hover (museum pattern) */
.museum-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(
    to top,
    rgba(6, 6, 6, .4) 0%,
    transparent 40%
  );
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.museum-card-img-wrap {
  position: relative;
}
.museum-card:hover .museum-card-img-wrap::after {
  opacity: 1;
}

/* Red accent line appears on hover (museum detail) */
.museum-card-info::before {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--red);
  margin-bottom: 8px;
  transition: width .4s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 0 6px var(--red-glow);
}
.museum-card:hover .museum-card-info::before {
  width: 40px;
}

/* ═══════════════════════════════════════════════════════════════
   BURGER ANIMATION — Transforms to X
   ═══════════════════════════════════════════════════════════════ */
.nav-burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 4px);
}
.nav-burger.active span:nth-child(2) {
  opacity: 0;
}
.nav-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -4px);
}

/* ═══════════════════════════════════════════════════════════════
   LOADING SCREEN — Page entrance (Picasso-style)
   ═══════════════════════════════════════════════════════════════ */
@keyframes pageEntrance {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body {
  animation: pageEntrance .6s ease-out;
}

/* ═══════════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════════ */
@media print {
  .nav, .footer, .hero::before, .section::after { display: none; }
  body { background: #fff; color: #000; }
  .section-title, .museum-card-title, .portfolio-card-title { color: #000; }
  .museum-card .museum-card-img { height: auto; }
}

/* ═══════════════════════════════════════════════════════════════
   PRESS QUOTES — Editorial Fashion Section
   ═══════════════════════════════════════════════════════════════ */
.fa-press-section {
    background: #060606;
    padding: 100px 0;
    position: relative;
}
.fa-press-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(232, 0, 13, .03), transparent 70%);
    pointer-events: none;
}
.fa-press-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}
.fa-press-header h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 12px;
}
.fa-press-header p {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.95rem;
    color: #a0a0a0;
    font-weight: 300;
}

/* Tabs */
.fa-press-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    position: relative;
    z-index: 1;
}
.fa-press-tab {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a0a0a0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}
.fa-press-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 2px;
    background: #e8000d;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.fa-press-tab:hover { color: #ffffff; }
.fa-press-tab.active { color: #ffffff; }
.fa-press-tab.active::after { transform: scaleX(1); }

/* Tab content */
.fa-press-content {
    display: none;
    position: relative;
    z-index: 1;
}
.fa-press-content.active {
    display: block;
}

/* Quote grid */
.fa-press-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 50px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Individual quote */
.fa-press-quote {
    border-left: 2px solid #e8000d;
    padding: 1.5rem 0 1.5rem 1.5rem;
    position: relative;
}
.fa-press-quote::before {
    content: '\201C';
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.5rem;
    color: rgba(232, 0, 13, 0.15);
    position: absolute;
    top: -0.3rem;
    left: 1.5rem;
    line-height: 1;
    pointer-events: none;
}
.fa-press-quote__text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    color: #f5f5f5;
    margin-bottom: 0.75rem;
}
.fa-press-quote__source {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e8000d;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .fa-press-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .fa-press-tab {
        padding: 0.75rem 1.25rem;
        font-size: 0.7rem;
    }
}

/* Hide page title on hemeroteca page */
.page-id-208 .entry-title,
.page-id-208 .page-title,
.page-id-208 .ast-archive-description,
.page-id-208 header.entry-header {
    display: none !important;
}
