/* ============================================================
   LLUCOP THEME — Mario Lluco Pons Neyra
   Vibrant · Energetic · Playful · Modern
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&family=Space+Mono:wght@400;700&display=swap');

/* ── Variables ── */
:root {
  --coral:    #FF5C5C;
  --teal:     #00C9B1;
  --indigo:   #4F46E5;
  --amber:    #FFB703;
  --lime:     #8BC34A;
  --navy:     #0D0F1C;
  --offwhite: #F5F4EF;
  --mid:      #E8E6DE;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--offwhite);
  color: var(--navy);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Noise texture overlay ── */
body::before {
  content: '';
  position: fixed;
  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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--offwhite); }
::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 99px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 239, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--navy);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-transform: uppercase;
}
.nav-links a:hover {
  background: var(--navy);
  color: var(--offwhite);
}
.nav-links a.active {
  background: var(--coral);
  color: white;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  border: 2px solid var(--navy);
  border-radius: 99px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}
.lang-toggle button {
  background: none;
  border: none;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  transition: var(--transition);
  text-transform: uppercase;
}
.lang-toggle button.active {
  background: var(--navy);
  color: var(--offwhite);
}
.lang-toggle button:hover:not(.active) {
  background: var(--mid);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO — Homepage
   ============================================================ */
.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-left {
  padding: 6rem 4rem 4rem 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.5rem;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--coral);
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.hero-name .accent { color: var(--coral); }
.hero-name .accent-2 { color: var(--teal); }
.hero-tagline {
  font-size: 1.15rem;
  color: #444;
  max-width: 460px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--navy);
  color: white;
}
.btn-primary:hover {
  background: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,92,92,0.3);
}
.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--mid);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--indigo) 100%);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-photo-wrap {
  position: relative;
  z-index: 2;
  padding: 2rem;
}
.hero-photo {
  width: 320px;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid white;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  position: relative;
  z-index: 2;
}
.hero-photo-placeholder {
  width: 320px;
  height: 380px;
  border-radius: 20px;
  border: 4px solid white;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  position: relative;
  z-index: 2;
}
.hero-badge {
  position: absolute;
  bottom: 2.5rem;
  left: 0.5rem;
  background: var(--amber);
  color: var(--navy);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 4px 4px 0 var(--navy);
  z-index: 3;
}
.hero-floating-tag {
  position: absolute;
  background: white;
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--navy);
  animation: float 3s ease-in-out infinite;
  z-index: 3;
}
.hero-floating-tag:nth-child(1) { top: 15%; right: 8%; animation-delay: 0s; }
.hero-floating-tag:nth-child(2) { top: 35%; left: 2%; animation-delay: 1s; }
.hero-floating-tag:nth-child(3) { bottom: 25%; right: 5%; animation-delay: 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.section {
  padding: 6rem 5%;
  max-width: 1280px;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--coral);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-title .line-accent {
  display: inline-block;
  position: relative;
}
.section-title .line-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--amber);
  z-index: -1;
  transform: skewX(-3deg);
}
.section-subtitle {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #555;
  max-width: 560px;
}

/* Divider band */
.color-band {
  height: 6px;
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--teal), var(--indigo), var(--lime));
  width: 100%;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.about-skills-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  margin-top: 2rem;
}
.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.skill-pill {
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid var(--navy);
  transition: var(--transition);
}
.skill-pill:hover {
  background: var(--navy);
  color: white;
}
.skill-pill.c1 { border-color: var(--coral); }
.skill-pill.c1:hover { background: var(--coral); }
.skill-pill.c2 { border-color: var(--teal); }
.skill-pill.c2:hover { background: var(--teal); }
.skill-pill.c3 { border-color: var(--indigo); color: var(--indigo); }
.skill-pill.c3:hover { background: var(--indigo); color: white; }
.skill-pill.c4 { border-color: var(--amber); }
.skill-pill.c4:hover { background: var(--amber); }

.about-card {
  background: white;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 6px 6px 0 var(--navy);
}
.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1.5rem;
}

/* Location badge */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ============================================================
   EXPERIENCE TIMELINE
   ============================================================ */
.timeline-section {
  background: var(--navy);
  color: var(--offwhite);
  padding: 6rem 5%;
}
.timeline-section .section-tag { color: var(--teal); }
.timeline-section .section-title { color: var(--offwhite); }
.timeline-section .section-title .line-accent::after { background: var(--coral); }

.timeline {
  position: relative;
  margin-top: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 180px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.15);
}
.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 171px;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--coral);
  border: 3px solid var(--navy);
  box-shadow: 0 0 0 3px var(--coral);
}
.timeline-date {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal);
  padding-top: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.timeline-content {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  transition: var(--transition);
}
.timeline-content:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--teal);
  transform: translateX(4px);
}
.timeline-role {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.timeline-org {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.timeline-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}
.timeline-desc li {
  margin-bottom: 0.4rem;
  padding-left: 1rem;
  position: relative;
}
.timeline-desc li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* ============================================================
   EDUCATION & LANGUAGES
   ============================================================ */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.edu-card {
  background: white;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.edu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}
.edu-card.c1::before { background: var(--coral); }
.edu-card.c2::before { background: var(--teal); }
.edu-card.c3::before { background: var(--indigo); }
.edu-card:hover {
  box-shadow: 6px 6px 0 var(--navy);
  transform: translate(-3px, -3px);
}
.edu-degree {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.edu-school {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}
.edu-year {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #999;
}

/* Languages display */
.lang-cards {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.lang-card {
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.2rem 1.8rem;
  text-align: center;
  min-width: 120px;
  transition: var(--transition);
}
.lang-card:hover {
  background: var(--navy);
  color: var(--offwhite);
}
.lang-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.lang-level {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral);
}

/* ============================================================
   INTERESTS / HOBBIES
   ============================================================ */
.interests-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--indigo) 100%);
  color: white;
  padding: 6rem 5%;
}
.interests-section .section-tag { color: var(--amber); }
.interests-section .section-title { color: white; }

.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.interest-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  cursor: default;
}
.interest-card:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.interest-icon {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.interest-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   BLOG / POSTS GRID
   ============================================================ */
.posts-section {
  padding: 6rem 5%;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.post-card {
  background: white;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  box-shadow: 8px 8px 0 var(--navy);
  transform: translate(-4px, -4px);
}
.post-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mid) 0%, #ddd 100%);
  position: relative;
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.post-card:hover .post-card-img img {
  transform: scale(1.05);
}
.post-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #aaa;
}
.post-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: var(--amber);
  color: var(--navy);
}
.post-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  flex: 1;
}
.post-excerpt {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #999;
  padding-top: 1rem;
  border-top: 1px solid var(--mid);
}
.post-read-time {
  color: var(--coral);
  font-weight: 700;
}

/* Featured post */
.post-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.post-card.featured .post-card-img {
  aspect-ratio: auto;
}
.post-card.featured .post-title {
  font-size: 1.6rem;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-full {
  max-width: 720px;
  margin: 4rem auto;
  padding: 0 2rem;
}
.post-full-header {
  margin-bottom: 3rem;
}
.post-full-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--coral);
  color: white;
  margin-bottom: 1.5rem;
}
.post-full-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.post-full-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #888;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--navy);
}
.post-full-feature-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 3rem;
  border: 2px solid var(--navy);
}
.post-full-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #222;
}
.post-full-content h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  margin: 2.5rem 0 1rem;
  color: var(--navy);
}
.post-full-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
}
.post-full-content p { margin-bottom: 1.5rem; }
.post-full-content a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-full-content blockquote {
  border-left: 4px solid var(--teal);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #555;
}
.post-full-content code {
  font-family: var(--font-mono);
  background: var(--mid);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.88em;
}
.post-full-content pre {
  background: var(--navy);
  color: var(--teal);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}
.post-full-content ul, .post-full-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.post-full-content li { margin-bottom: 0.5rem; }
.post-full-content img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin: 2rem 0;
}

/* ============================================================
   CONTACT BAND
   ============================================================ */
.contact-band {
  background: var(--coral);
  padding: 5rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-band::before {
  content: 'HELLO!';
  position: absolute;
  font-family: var(--font-display);
  font-size: 12rem;
  font-weight: 800;
  color: rgba(255,255,255,0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  letter-spacing: -0.05em;
}
.contact-band .section-title { color: white; font-size: clamp(2rem, 4vw, 3.5rem); }
.contact-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--navy);
  padding: 0.8rem 1.75rem;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.contact-link:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 2.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-links a:hover { color: var(--teal); }
.footer-copy { text-align: right; }

/* ============================================================
   UTILITY
   ============================================================ */
.highlight-coral { color: var(--coral); }
.highlight-teal { color: var(--teal); }
.highlight-amber { color: var(--amber); }

/* ============================================================
   LANG SWITCHER — content visibility
   ============================================================ */
[data-lang="es"] { display: none !important; }
[data-lang="en"] { display: inherit; }
html.lang-es [data-lang="es"] { display: inherit !important; }
html.lang-es [data-lang="en"] { display: none !important; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}
.pagination a:hover, .pagination .current {
  background: var(--navy);
  color: white;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--coral); }
.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  font-family: var(--font-display);
}
.mobile-lang {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.mobile-lang button {
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  transition: var(--transition);
}
.mobile-lang button.active {
  background: var(--coral);
  border-color: var(--coral);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 4rem 5% 4rem; text-align: center; }
  .hero-tag { justify-content: center; }
  .hero-tagline { margin: 0 auto 2rem; }
  .hero-cta-group { justify-content: center; }
  .hero-stats { justify-content: center; }

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

  .timeline::before { left: 0; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 2rem; }
  .timeline-item::before { left: -9px; }
  .timeline-date { text-align: left; padding-top: 0; }

  .nav-links { display: none; }
  .lang-toggle { display: none; }
  .nav-hamburger { display: flex; }

  .post-card.featured { grid-template-columns: 1fr; }
  .post-card.featured .post-card-img { aspect-ratio: 16/9; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 1.25rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .interest-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { flex-direction: column; text-align: center; }
  .footer-copy { text-align: center; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }

/* ============================================================
   GHOST CARD ASSETS — Required by GScan
   Handles kg-width-wide and kg-width-full card layouts
   ============================================================ */
.gh-content .kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin: 2rem auto;
  transform: translateX(calc(50% - 50vw + (85vw - 100%) / 2));
}
.gh-content .kg-width-full {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.gh-content figure {
  margin: 1.5rem 0;
}
.gh-content figure figcaption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #888;
  text-align: center;
  margin-top: 0.6rem;
}
.gh-content .kg-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}
.gh-content .kg-image-card img {
  width: 100%;
  border-radius: var(--radius-sm);
}
.gh-content .kg-gallery-container {
  display: flex;
  flex-direction: column;
  max-width: 1040px;
  width: 85vw;
}
.gh-content .kg-gallery-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.gh-content .kg-gallery-image img {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.gh-content .kg-video-card video {
  width: 100%;
  border-radius: var(--radius-sm);
}
.gh-content .kg-embed-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 1.5rem 0;
}
.gh-content .kg-embed-card iframe {
  max-width: 100%;
}
.gh-content .kg-hr-card hr {
  border: none;
  border-top: 2px solid var(--mid);
  margin: 2rem 0;
}
.gh-content .kg-bookmark-card {
  width: 100%;
  margin: 1.5rem 0;
}
.gh-content .kg-bookmark-container {
  display: flex;
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
  color: var(--navy);
  transition: var(--transition);
}
.gh-content .kg-bookmark-container:hover {
  box-shadow: 4px 4px 0 var(--navy);
  transform: translate(-2px, -2px);
}
.gh-content .kg-bookmark-content {
  flex: 1;
  padding: 1.25rem;
}
.gh-content .kg-bookmark-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.gh-content .kg-bookmark-description {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.5;
}
.gh-content .kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #999;
}
.gh-content .kg-bookmark-icon {
  width: 16px;
  height: 16px;
}
.gh-content .kg-bookmark-thumbnail {
  min-width: 160px;
  max-width: 200px;
}
.gh-content .kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gh-content .kg-callout-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--mid);
  margin: 1.5rem 0;
}
.gh-content .kg-callout-emoji {
  font-size: 1.4rem;
  line-height: 1.4;
}
.gh-content .kg-toggle-card {
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
}
.gh-content .kg-toggle-heading-text {
  font-family: var(--font-display);
  font-weight: 700;
}
.gh-content .kg-audio-card {
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 1.5rem 0;
}
.gh-content .kg-audio-card audio {
  width: 100%;
}

/* ── NFT / Product cards (passthrough) ── */
.gh-content .kg-product-card,
.gh-content .kg-nft-card {
  border: 2px solid var(--mid);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

/* ============================================================
   GHOST PAGE FEATURES — members, subscription forms etc.
   ============================================================ */
.gh-subscribe-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.gh-subscribe-input {
  flex: 1;
  min-width: 220px;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--navy);
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}
.gh-subscribe-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 201, 177, 0.15);
}
.gh-subscribe-btn {
  padding: 0.75rem 1.75rem;
  background: var(--navy);
  color: white;
  border: 2px solid var(--navy);
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
}
.gh-subscribe-btn:hover {
  background: var(--coral);
  border-color: var(--coral);
}

/* Members-only content lock */
.gh-post-upgrade-cta {
  background: linear-gradient(135deg, var(--teal), var(--indigo));
  color: white;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 3rem 0;
}
.gh-post-upgrade-cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
}
.gh-post-upgrade-cta a {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background: white;
  color: var(--navy);
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  transition: var(--transition);
}
.gh-post-upgrade-cta a:hover {
  background: var(--amber);
}

/* ============================================================
   HEADSHOT IN ABOUT CARD
   ============================================================ */
.about-card-inner {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.75rem;
  align-items: start;
}
.about-headshot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.about-headshot {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--navy);
  box-shadow: 4px 4px 0 var(--coral);
  display: block;
}
.about-headshot-placeholder {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--mid);
  border: 3px solid var(--navy);
  box-shadow: 4px 4px 0 var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--navy);
  letter-spacing: -0.04em;
}
.about-headshot-name {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral);
  text-align: center;
}
@media (max-width: 600px) {
  .about-card-inner {
    grid-template-columns: 1fr;
  }
  .about-headshot-wrap {
    flex-direction: row;
    align-items: center;
  }
  .about-headshot, .about-headshot-placeholder {
    width: 80px;
    height: 80px;
    font-size: 1.4rem;
  }
}

/* ============================================================
   HOBBY PHOTO CAROUSEL
   ============================================================ */
.carousel-section {
  padding: 5rem 0;
  background: var(--offwhite);
  overflow: hidden;
}
.carousel-header {
  padding: 0 5%;
  max-width: 1280px;
  margin: 0 auto 3rem;
}
.carousel-track-wrap {
  position: relative;
}
.carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  padding: 0 5%;
  cursor: grab;
  user-select: none;
}
.carousel-track:active { cursor: grabbing; }
.carousel-slide {
  flex: 0 0 calc(33.333% - 0.85rem);
  min-width: 280px;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--navy);
  box-shadow: 4px 4px 0 var(--navy);
  position: relative;
  background: var(--mid);
}
.carousel-slide img,
.carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.carousel-slide:hover img,
.carousel-slide:hover video {
  transform: scale(1.04);
}
.carousel-slide-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(13,15,28,0.85) 0%, transparent 100%);
  padding: 1.5rem 1rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: white;
}
.carousel-slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--mid);
  color: #aaa;
}
.carousel-slide-placeholder span {
  font-size: 2.5rem;
}
.carousel-slide-placeholder p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 0 5%;
}
.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.carousel-btn:hover {
  background: var(--navy);
  color: white;
}
.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.carousel-dots {
  display: flex;
  gap: 0.5rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mid);
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dot.active {
  background: var(--coral);
  border-color: var(--coral);
  transform: scale(1.25);
}
@media (max-width: 900px) {
  .carousel-slide {
    flex: 0 0 calc(50% - 0.625rem);
    min-width: 240px;
  }
}
@media (max-width: 600px) {
  .carousel-slide {
    flex: 0 0 calc(85%);
    min-width: 220px;
  }
}

/* ── About section header with headshot aligned right ── */
.about-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
}
.about-header-text {
  flex: 1;
}
.about-section-header .about-headshot-wrap {
  flex-shrink: 0;
  align-items: center;
}
.about-section-header .about-headshot,
.about-section-header .about-headshot-placeholder {
  width: 160px;
  height: 160px;
  font-size: 2.2rem;
}
@media (max-width: 600px) {
  .about-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-section-header .about-headshot,
  .about-section-header .about-headshot-placeholder {
    width: 100px;
    height: 100px;
  }
}
