  :root {
  /* Paleta extraída del logo */
  --paper: #f8f5f0;
  --paper-deep: #ede7dd;
  --ink: #14100c;
  --ink-soft: #2e2722;
  --stone: #6e6660;
  --stone-light: #b2a89e;

  /* Granate REAL del logo */
  --red: #b40b0a;
  --red-deep: #8a0807;
  --red-darkest: #5c0405;
  --red-glow: rgba(180, 11, 10, 0.08);

  --gold: #d4a849;

  /* Tipografía mixta: serif para títulos editorial fuerte, sans contemporáneo para body */
  --font-display: 'Fraunces', 'Frank Ruhl Libre', serif;
  --font-body: 'Inter', 'Heebo', -apple-system, sans-serif;
  --font-display-he: 'Frank Ruhl Libre', 'Fraunces', serif;
  --font-body-he: 'Heebo', 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html[dir="rtl"] body { font-family: var(--font-body-he); }

/* Grain overlay sutil */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========== NAV con LOGO ========== */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(248, 245, 240, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, padding 0.3s ease;
}
nav.top.scrolled {
  border-bottom-color: rgba(20, 16, 12, 0.1);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(180, 11, 10, 0.2);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.brand:hover .brand-logo { transform: scale(1.05); }
.brand-logo img {
  width: 100%; height: 100%; object-fit: cover;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  color: var(--ink);
}
html[dir="rtl"] .brand-name { font-family: var(--font-display-he); font-weight: 700; }
.brand-role {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-top: 1px;
}

.lang-switch {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}
.lang-switch button {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { color: var(--red); }
.lang-switch button.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}
.lang-switch .divider { color: var(--stone-light); font-size: 0.65rem; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  padding: 8.5rem 3rem 5rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero-text { position: relative; z-index: 2; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.hero-eyebrow .line {
  width: 2.5rem;
  height: 1px;
  background: var(--red);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.8vw, 5.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
html[dir="rtl"] .hero-title {
  font-family: var(--font-display-he);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--red);
  font-weight: 500;
}
html[dir="rtl"] .hero-title em {
  font-style: normal;
  font-weight: 800;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 500;
  color: var(--stone);
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
  font-style: italic;
}
html[dir="rtl"] .hero-name {
  font-family: var(--font-display-he);
  font-style: normal;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 38rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
}
html[dir="rtl"] .hero-sub {
  font-family: var(--font-body-he);
  font-size: 1.1rem;
  line-height: 1.85;
}

.hero-ctas {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
}
.btn-primary {
  background: var(--red);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(180, 11, 10, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn .arrow { transition: transform 0.3s; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

.hero-image {
  justify-self: end;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hero-image-frame {
  position: relative;
  aspect-ratio: 1067/1600;
  max-height: 75vh;
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(12%) contrast(1.05);
}
.hero-image-frame::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid var(--red);
  z-index: -1;
}

.hero-meta {
  display: flex;
  gap: 2.2rem;
  margin-top: 1.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  flex-wrap: wrap;
}
.hero-meta span strong {
  display: block;
  font-family: var(--font-display);
  text-transform: none;
  font-size: 1.05rem;
  letter-spacing: 0;
  color: var(--ink);
  font-weight: 600;
  margin-top: 0.25rem;
}
html[dir="rtl"] .hero-meta span strong { font-family: var(--font-display-he); font-weight: 700; }

/* ========== SECTIONS ========== */
section {
  padding: 8rem 3rem;
  position: relative;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  margin-bottom: 5rem;
  border-bottom: 1px solid rgba(20, 16, 12, 0.1);
  padding-bottom: 1.4rem;
}

.section-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--red);
  font-weight: 500;
}
html[dir="rtl"] .section-number { font-style: normal; font-family: var(--font-display-he); }
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 600;
}
.section-title {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 60%;
  text-align: right;
}
html[dir="rtl"] .section-title {
  font-family: var(--font-display-he);
  font-weight: 700;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  text-align: right;
}
.section-title em {
  font-style: italic;
  color: var(--red);
  font-weight: 500;
}
html[dir="rtl"] .section-title em {
  font-style: normal;
  font-weight: 800;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 5rem;
  align-items: start;
}
.about-image {
  position: sticky;
  top: 7.5rem;
  aspect-ratio: 1067/1600;
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(18%) contrast(1.05);
}
.about-prose p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
html[dir="rtl"] .about-prose p {
  font-family: var(--font-body-he);
  font-size: 1.1rem;
  line-height: 1.85;
  font-weight: 400;
}
.about-prose p:first-child::first-letter {
  font-size: clamp(3rem, 5.5vw, 4rem);
  float: left;
  line-height: 0.9;
  padding: 0.3rem 0.7rem 0 0;
  font-weight: 600;
  color: var(--red);
  font-family: var(--font-display);
}
html[dir="rtl"] .about-prose p:first-child::first-letter {
  float: right;
  padding: 0.3rem 0 0 0.7rem;
  font-family: var(--font-display-he);
  font-weight: 800;
}
.about-prose em {
  font-style: italic;
  color: var(--red);
}
html[dir="rtl"] .about-prose em {
  font-style: normal;
  font-weight: 700;
}

.about-pull {
  margin: 2.5rem 0;
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 3px solid var(--red);
  font-family: var(--font-body) !important;
  font-style: normal;
  font-size: 1.3rem !important;
  color: var(--ink) !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
}
html[dir="rtl"] .about-pull {
  padding: 1.5rem 2rem 1.5rem 0;
  border-left: none;
  border-right: 3px solid var(--red);
  font-family: var(--font-body-he) !important;
  font-style: normal;
  font-weight: 600 !important;
}

/* ========== AREAS ========== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(20, 16, 12, 0.1);
  border-left: 1px solid rgba(20, 16, 12, 0.1);
}
html[dir="rtl"] .areas-grid {
  border-left: none;
  border-right: 1px solid rgba(20, 16, 12, 0.1);
}
.area {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(20, 16, 12, 0.1);
  border-bottom: 1px solid rgba(20, 16, 12, 0.1);
  background: transparent;
  transition: background 0.4s ease;
  position: relative;
}
html[dir="rtl"] .area {
  border-right: none;
  border-left: 1px solid rgba(20, 16, 12, 0.1);
}
.area:hover { background: var(--red-glow); }
.area-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--red);
  margin-bottom: 1rem;
  display: block;
  font-weight: 500;
}
html[dir="rtl"] .area-num {
  font-style: normal;
  font-family: var(--font-display-he);
}
.area-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}
html[dir="rtl"] .area-title {
  font-family: var(--font-display-he);
  font-weight: 700;
}
.area-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.area-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.25rem 0.7rem;
  background: var(--red);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ========== TIMELINE ========== */
.timeline { position: relative; max-width: 62rem; }
.timeline-item {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 3rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(20, 16, 12, 0.07);
  transition: padding 0.3s ease;
}
.timeline-item:hover { padding-left: 1rem; }
html[dir="rtl"] .timeline-item:hover { padding-left: 0; padding-right: 1rem; }
.timeline-year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--red);
  font-weight: 600;
  padding-top: 0.15rem;
}
html[dir="rtl"] .timeline-year { font-style: normal; font-family: var(--font-display-he); }
.timeline-content {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink);
}
.timeline-content strong {
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}
.timeline-content span {
  color: var(--stone);
  font-size: 0.88rem;
}

/* ========== PUBLICATIONS ========== */
.pub-block {
  margin-bottom: 3rem;
  padding-left: 2rem;
  border-left: 2px solid var(--red);
}
html[dir="rtl"] .pub-block {
  padding-left: 0;
  padding-right: 2rem;
  border-left: none;
  border-right: 2px solid var(--red);
}
.pub-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.pub-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
html[dir="rtl"] .pub-title {
  font-family: var(--font-display-he);
  font-weight: 700;
}
.pub-meta {
  font-size: 0.88rem;
  color: var(--stone);
  margin-bottom: 0.75rem;
  font-style: italic;
}
html[dir="rtl"] .pub-meta { font-style: normal; }
.pub-desc {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.pub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  transition: gap 0.3s;
}
.pub-link:hover { gap: 0.9rem; }

/* ========== EDUCATION ========== */
.education-list { columns: 2; column-gap: 4rem; }
.edu-item {
  break-inside: avoid;
  margin-bottom: 1.8rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(20, 16, 12, 0.07);
}
.edu-degree {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
  letter-spacing: -0.005em;
}
html[dir="rtl"] .edu-degree { font-family: var(--font-display-he); font-weight: 700; }
.edu-where { font-size: 0.88rem; color: var(--stone); }
.edu-year {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--red);
  font-weight: 600;
}
html[dir="rtl"] .edu-year { font-style: normal; font-family: var(--font-display-he); }

/* ========== CONTACT ========== */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding: 8rem 3rem;
  margin-top: 4rem;
}
.contact .section-header { border-color: rgba(248, 245, 240, 0.15); }
.contact .section-label { color: var(--stone-light); }
.contact .section-title { color: var(--paper); }
.contact .section-title em { color: var(--gold); }
.contact .section-number { color: var(--gold); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  align-items: end;
}
.contact-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--paper);
  max-width: 38rem;
}
html[dir="rtl"] .contact-text {
  font-family: var(--font-display-he);
  font-size: 1.35rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-light);
  font-weight: 600;
}
.contact-value {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--paper);
  text-decoration: none;
  transition: color 0.2s;
}
html[dir="rtl"] .contact-value { font-family: var(--font-display-he); }
.contact-value:hover { color: var(--gold); }

.contact-socials {
  margin-top: 1.8rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.contact-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--paper);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  font-weight: 500;
  transition: color 0.2s, gap 0.2s;
}
.contact-socials a:hover { color: var(--gold); gap: 0.8rem; }

footer.foot {
  background: var(--ink);
  color: var(--stone-light);
  padding: 2rem 3rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid rgba(248, 245, 240, 0.08);
  text-align: center;
}

/* ========== GEFEN PROGRAMS ========== */
.gefen {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(248, 245, 240, 0.15);
}
.gefen-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.gefen-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--paper);
  padding: 0.35rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.gefen-badge::before {
  content: '★';
  font-size: 0.85rem;
  color: var(--gold);
}
.gefen-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--paper);
  font-weight: 500;
  letter-spacing: -0.005em;
}
html[dir="rtl"] .gefen-title {
  font-family: var(--font-display-he);
  font-weight: 700;
}
.gefen-intro {
  color: var(--stone-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 50rem;
}
.gefen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gefen-program {
  background: rgba(248, 245, 240, 0.04);
  border: 1px solid rgba(248, 245, 240, 0.1);
  padding: 1.7rem 1.4rem;
  transition: all 0.3s ease;
  position: relative;
}
.gefen-program:hover {
  background: rgba(180, 11, 10, 0.12);
  border-color: var(--red);
  transform: translateY(-3px);
}
.gefen-code {
  display: inline-block;
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(212, 168, 73, 0.1);
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(212, 168, 73, 0.3);
  margin-bottom: 1rem;
}
.gefen-program-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--paper);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
html[dir="rtl"] .gefen-program-title {
  font-family: var(--font-display-he);
  font-weight: 600;
  font-size: 1.1rem;
}
@media (max-width: 900px) {
  .gefen-grid { grid-template-columns: 1fr; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.reveal-1 { animation-delay: 0.1s; }
.reveal-2 { animation-delay: 0.25s; }
.reveal-3 { animation-delay: 0.4s; }
.reveal-4 { animation-delay: 0.55s; }
.reveal-5 { animation-delay: 0.7s; }

.scroll-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.in { opacity: 1; transform: translateY(0); }

/* ========== LANG VISIBILITY ========== */
[data-lang] { display: none; }
[data-lang].active { display: block; }
span[data-lang].active { display: inline; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  nav.top { padding: 0.9rem 1.2rem; }
  .brand-text { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding: 6.5rem 1.5rem 4rem;
    gap: 3rem;
  }
  .hero-image { max-width: 80%; justify-self: center; }
  .hero-image-frame { max-height: 60vh; }
  .hero-meta { gap: 1.4rem; margin-top: 1.5rem; }
  section { padding: 5rem 1.5rem; }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .section-title {
    max-width: 100%;
    margin-left: 0;
    text-align: left;
  }
  html[dir="rtl"] .section-title {
    margin-right: 0;
    text-align: right;
  }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { position: static; max-width: 70%; margin: 0 auto; }
  .areas-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.3rem; }
  .education-list { columns: 1; }
  .contact { padding: 5rem 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  nav.top { padding: 0.7rem 1rem; }
  .brand-logo { width: 36px; height: 36px; }
  .lang-switch button { padding: 0.4rem 0.5rem; font-size: 0.7rem; }
  .hero {
    padding: 5.5rem 1.2rem 3rem;
    gap: 2.5rem;
  }
  .hero-image { max-width: 90%; }
  .hero-sub { font-size: 1rem; line-height: 1.7; }
  html[dir="rtl"] .hero-sub { font-size: 1rem; line-height: 1.85; }
  .hero-meta {
    gap: 1.1rem;
    font-size: 0.65rem;
  }
  section { padding: 4rem 1.2rem; }
  .about-prose p { font-size: 1rem; line-height: 1.7; }
  html[dir="rtl"] .about-prose p { font-size: 1rem; line-height: 1.85; }
  .about-pull { font-size: 1.1rem !important; padding: 1rem 0 1rem 1.2rem; line-height: 1.6 !important; }
  html[dir="rtl"] .about-pull { padding: 1rem 1.2rem 1rem 0; }
  .area { padding: 2rem 1.5rem; }
  .area-title { font-size: 1.25rem; }
  .pub-block { padding-left: 1.2rem; }
  html[dir="rtl"] .pub-block { padding-left: 0; padding-right: 1.2rem; }
  .pub-title { font-size: 1.2rem; }
  .timeline-item { padding: 1.3rem 0; }
  .gefen-grid { gap: 1rem; }
  .gefen-program { padding: 1.3rem 1.1rem; }
  .contact { padding: 4rem 1.2rem; }
  .contact-text { font-size: 1.25rem; }
  html[dir="rtl"] .contact-text { font-size: 1.15rem; }
  footer.foot { padding: 1.5rem 1.2rem; font-size: 0.65rem; }
}

/* ========== NAV LINKS (added) ========== */
nav.top .nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
html[dir="rtl"] .nav-links a { letter-spacing: 0.04em; font-size: 0.86rem; }
.nav-links a:hover, .nav-links a.current { color: var(--red); border-bottom-color: var(--red); }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(20, 16, 12, 0.2);
  width: 40px; height: 40px;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
}
.skip-link {
  position: absolute; top: -200px; left: 1rem;
  background: var(--red); color: var(--paper);
  padding: 0.5rem 1rem; z-index: 200; text-decoration: none;
}
.skip-link:focus { top: 0.5rem; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ========== PROGRAMS (added) ========== */
.programs-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-bottom: 4.5rem;
  align-items: start;
}
.programs-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
}
html[dir="rtl"] .programs-kicker { font-family: var(--font-display-he); font-weight: 700; }
.programs-kicker em { color: var(--red); font-style: italic; }
html[dir="rtl"] .programs-kicker em { font-style: normal; }
.programs-text p { font-size: 1.02rem; line-height: 1.8; color: var(--ink-soft); margin-bottom: 1rem; }
.programs-text .since {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
html[dir="rtl"] .programs-text .since { font-family: var(--font-display-he); font-style: normal; }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(20, 16, 12, 0.1);
  border-left: 1px solid rgba(20, 16, 12, 0.1);
}
html[dir="rtl"] .programs-grid { border-left: none; border-right: 1px solid rgba(20, 16, 12, 0.1); }
.program {
  padding: 2.6rem 2.4rem;
  border-right: 1px solid rgba(20, 16, 12, 0.1);
  border-bottom: 1px solid rgba(20, 16, 12, 0.1);
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
}
html[dir="rtl"] .program { border-right: none; border-left: 1px solid rgba(20, 16, 12, 0.1); }
.program:hover { background: var(--red-glow); }
.program-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; gap: 1rem; }
.program-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--red);
  font-size: 1rem;
}
html[dir="rtl"] .program-num { font-family: var(--font-display-he); font-style: normal; }
.program-code {
  font-family: 'Inter', monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red-deep);
  border: 1px solid rgba(180, 11, 10, 0.35);
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
}
.program-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}
html[dir="rtl"] .program-title { font-family: var(--font-display-he); font-weight: 700; }
.program-desc { font-size: 0.97rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 1.6rem; flex: 1; }
.program-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  transition: gap 0.3s;
}
.text-link:hover { gap: 0.9rem; }
.text-link .arrow { display: inline-block; }
html[dir="rtl"] .text-link .arrow { transform: scaleX(-1); }
.text-link.muted { color: var(--stone); border-bottom-color: var(--stone-light); }

/* ========== ARTICLES LIST (added) ========== */
.articles-note { color: var(--stone); font-size: 0.92rem; margin: -3rem 0 3rem; max-width: 48rem; }
.articles-list { list-style: none; max-width: 64rem; }
.articles-list li { border-bottom: 1px solid rgba(20, 16, 12, 0.08); }
.articles-list a {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 2rem;
  align-items: baseline;
  padding: 1.5rem 0;
  text-decoration: none;
  color: var(--ink);
  transition: padding 0.3s ease;
}
.articles-list a:hover { padding-left: 1rem; }
html[dir="rtl"] .articles-list a:hover { padding-left: 0; padding-right: 1rem; }
.art-year {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--red);
  font-weight: 600;
}
html[dir="rtl"] .art-year { font-family: var(--font-display-he); font-style: normal; }
.art-title {
  font-family: var(--font-display-he);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.35;
  display: block;
}
.art-sub { display: block; color: var(--stone); font-size: 0.9rem; margin-top: 0.3rem; font-family: var(--font-body); }
html[dir="rtl"] .art-sub { font-family: var(--font-body-he); }
.art-tag {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 600;
  white-space: nowrap;
}
.articles-list a:hover .art-title { color: var(--red); }

/* ========== ARTICLE PAGE (added) ========== */
.article-head { padding: 10rem 3rem 3.5rem; max-width: 60rem; margin: 0 auto; }
.crumbs { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-bottom: 2rem; font-weight: 600; }
html[dir="rtl"] .crumbs { letter-spacing: 0.05em; font-size: 0.82rem; }
.crumbs a { color: var(--stone); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { margin: 0 0.6rem; color: var(--stone-light); }
.article-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); font-weight: 600; margin-bottom: 1.4rem;
}
.article-eyebrow .line { width: 2.5rem; height: 1px; background: var(--red); }
.article-title {
  font-family: var(--font-display-he);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
}
.article-meta { display: flex; gap: 2rem; flex-wrap: wrap; color: var(--stone); font-size: 0.86rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(20, 16, 12, 0.1); }
.article-meta strong { color: var(--ink); font-weight: 600; }
.he-note {
  margin-top: 1.6rem;
  padding: 1rem 1.3rem;
  background: var(--paper-deep);
  border-left: 2px solid var(--red);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
html[dir="rtl"] .he-note { border-left: none; border-right: 2px solid var(--red); }
html[lang="he"] .he-note { display: none !important; }

.prose { max-width: 46rem; margin: 0 auto; padding: 1rem 3rem 6rem; font-family: var(--font-body-he); font-size: 1.08rem; line-height: 1.95; color: var(--ink-soft); }
.prose p { margin-bottom: 1.3rem; }
.prose h2, .prose h3, .prose h4 {
  font-family: var(--font-display-he);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  margin: 2.6rem 0 1rem;
}
.prose h2 { font-size: 1.7rem; }
.prose h3 { font-size: 1.35rem; }
.prose h4 { font-size: 1.15rem; }
.prose > h3:first-child, .prose > h2:first-child { margin-top: 0; }
.prose .lead { font-family: var(--font-display-he); font-size: 1.4rem; line-height: 1.6; color: var(--ink); margin-bottom: 2rem; font-weight: 500; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 1.4rem 1.6rem 0; padding-right: 1rem; }
.prose li { margin-bottom: 0.6rem; }
.prose blockquote { border-right: 2px solid var(--red); padding-right: 1.4rem; margin: 2rem 0; font-family: var(--font-display-he); font-size: 1.25rem; color: var(--ink); }
.prose .box { background: var(--paper-deep); padding: 1.6rem 1.8rem; margin: 2.4rem 0; }
.prose .box h3 { margin-top: 0; }
.prose .goals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 2rem; }
.prose .goals li strong { color: var(--red); }

.related { background: var(--paper-deep); padding: 5rem 3rem; }
.related-inner { max-width: 64rem; margin: 0 auto; }
.related h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; margin-bottom: 2rem; }
html[dir="rtl"] .related h2 { font-family: var(--font-display-he); font-weight: 700; }
.related .articles-list a { grid-template-columns: 4rem 1fr; }

.cta-band { background: var(--ink); color: var(--paper); padding: 4.5rem 3rem; }
.cta-inner { max-width: 64rem; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band p { font-family: var(--font-display); font-size: 1.5rem; max-width: 36rem; line-height: 1.4; }
html[dir="rtl"] .cta-band p { font-family: var(--font-display-he); font-size: 1.35rem; }

@media (max-width: 1100px) {
  .nav-links { gap: 1.1rem; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  nav.top .nav-right { gap: 0.6rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid rgba(20, 16, 12, 0.12);
    box-shadow: 0 18px 30px -20px rgba(20, 16, 12, 0.35);
  }
  nav.top.open .nav-links { display: flex; }
  .nav-links a { display: block; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(20, 16, 12, 0.06); font-size: 0.8rem; }
  html[dir="rtl"] .nav-links a { font-size: 0.95rem; }
  .programs-intro { grid-template-columns: 1fr; gap: 1.6rem; margin-bottom: 3rem; }
  .programs-grid { grid-template-columns: 1fr; }
  .program { padding: 2rem 1.5rem; }
  .articles-note { margin: -2rem 0 2rem; }
  .articles-list a { grid-template-columns: 1fr; gap: 0.3rem; }
  .art-tag { display: none; }
  .article-head { padding: 7.5rem 1.5rem 2.5rem; }
  .prose { padding: 0.5rem 1.5rem 4rem; font-size: 1.02rem; }
  .prose .goals { grid-template-columns: 1fr; }
  .related { padding: 3.5rem 1.5rem; }
  .cta-band { padding: 3.5rem 1.5rem; }
}
@media (max-width: 480px) {
  .article-head { padding: 6.5rem 1.2rem 2rem; }
  .prose { padding: 0.5rem 1.2rem 3.5rem; }
  .program-title { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .scroll-reveal { animation: none; opacity: 1; transform: none; transition: none; }
}
.art-sub[data-lang] { display: none; }
.art-sub[data-lang].active { display: block; }
html[dir="ltr"] .art-title, html[dir="ltr"] .article-title { text-align: left; }
/* ========== IMAGES (added) ========== */
.article-cover { max-width: 60rem; margin: 0 auto 3.5rem; padding: 0 3rem; }
.article-cover img { width: 100%; height: auto; max-height: 34rem; object-fit: cover; display: block; filter: grayscale(8%) contrast(1.03); }
.inline-fig { margin: 2.2rem 0; }
.inline-fig img { width: 100%; height: auto; display: block; border: 1px solid rgba(20, 16, 12, 0.08); }
.program-img { display: block; margin: -2.6rem -2.4rem 2rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-deep); }
.program-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; filter: grayscale(10%); }
.program:hover .program-img img { transform: scale(1.03); }
@media (max-width: 900px) {
  .article-cover { padding: 0 1.5rem; margin-bottom: 2.5rem; }
  .program-img { margin: -2rem -1.5rem 1.6rem; }
}
/* ========== TRILINGUAL ARTICLES (added) ========== */
.art-title[data-lang] { display: none; }
.art-title[data-lang].active { display: block; }
.art-title[lang="en"], .art-title[lang="es"] { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.005em; }
.article-title .tt[lang="en"], .article-title .tt[lang="es"] { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; }
.prose[dir="ltr"] { font-family: var(--font-body); font-size: 1.06rem; line-height: 1.8; }
.prose[dir="ltr"] h2, .prose[dir="ltr"] h3, .prose[dir="ltr"] h4, .prose[dir="ltr"] .lead, .prose[dir="ltr"] blockquote { font-family: var(--font-display); font-weight: 600; }
.prose[dir="ltr"] .lead { font-weight: 400; font-size: 1.32rem; }
.prose[dir="ltr"] ul, .prose[dir="ltr"] ol { margin: 0 0 1.6rem 1.4rem; padding-right: 0; padding-left: 1rem; }
.prose[dir="ltr"] blockquote { border-right: none; padding-right: 0; border-left: 2px solid var(--red); padding-left: 1.4rem; }

