:root {
  --bg: #f5f5f5;
  --bg-soft: #e8e8e8;
  --panel: rgba(255,255,255,0.95);
  --panel-strong: rgba(255,255,255,0.98);
  --text: #111;
  --muted: rgba(17,17,17,0.72);
  --line: rgba(17,17,17,0.14);
  --accent: #005fcc;
  --accent-2: #c7a46b;
  --accent-3: #89f0d7;
  --shadow: 0 20px 50px rgba(0,0,0,0.15);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --font-scale: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: calc(100% * var(--font-scale));
}

body.a11y-large-font { --font-scale: 1.25; }
body.a11y-high-contrast {
  --bg: #000;
  --bg-soft: #050506;
  --panel: rgba(255,255,255,0.15);
  --panel-strong: rgba(255,255,255,0.2);
  --text: #f2f7ff;
  --muted: rgba(242,247,255,0.72);
  --line: rgba(255,255,255,0.14);
  --accent: #74b7ff;
  --accent-2: #c7a46b;
  --accent-3: #89f0d7;
  --shadow: 0 20px 50px rgba(0,0,0,0.35);
}
body.a11y-high-contrast .site-header {
  background: rgba(7, 16, 27, 0.7);
  border-bottom-color: rgba(255,255,255,0.07);
}
body.a11y-high-contrast .card,
body.a11y-high-contrast .modal-card,
body.a11y-high-contrast .hero-visual,
body.a11y-high-contrast .team-carousel-frame,
body.a11y-high-contrast .carousel-frame {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
body.a11y-high-contrast .modal-card {
  background: #1a1a1a;
}
body.a11y-high-contrast .eyebrow {
  background: rgba(116,183,255,0.08);
  border-color: rgba(116,183,255,0.16);
  color: #cfe4ff;
}
body.a11y-high-contrast .brand-text span,
body.a11y-high-contrast .role,
body.a11y-high-contrast .pub-item .venue,
body.a11y-high-contrast .footer a {
  color: #f2f7ff;
}
body.a11y-high-contrast .site-nav a {
  color: rgba(242,247,255,0.72);
}
body.a11y-high-contrast .site-nav a:hover,
body.a11y-high-contrast .site-nav a.active {
  color: #f2f7ff;
  background: rgba(255,255,255,0.06);
}
body.a11y-high-contrast .site-search {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
}
body.a11y-high-contrast .site-search:focus-within {
  border-color: rgba(116,183,255,0.4);
  box-shadow: 0 0 0 3px rgba(116,183,255,0.16);
}
body.a11y-high-contrast .site-search-btn {
  background: rgba(116,183,255,0.18);
  color: #cfe4ff;
}
body.a11y-high-contrast .site-search-toggle {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #cfe4ff;
}
body.a11y-high-contrast .site-search-results {
  background: rgba(10,18,28,0.96);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
}
body.a11y-high-contrast .site-search-results-meta,
body.a11y-high-contrast .site-search-results-empty,
body.a11y-high-contrast .site-search-result-page {
  color: rgba(242,247,255,0.72);
}
body.a11y-high-contrast .site-search-result {
  border-top-color: rgba(255,255,255,0.08);
}
body.a11y-high-contrast .site-search-result:hover,
body.a11y-high-contrast .site-search-result:focus-visible {
  background: rgba(116,183,255,0.12);
}
body.a11y-high-contrast .site-search-result-title {
  color: #f2f7ff;
}
body.a11y-high-contrast .site-search-result-snippet {
  color: rgba(242,247,255,0.78);
}
body.a11y-high-contrast .hero-slideshow-button,
body.a11y-high-contrast .carousel-button {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: #ffffff;
}
body.a11y-high-contrast .hero-slideshow-button:hover,
body.a11y-high-contrast .carousel-button:hover {
  background: rgba(255,255,255,0.2);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.section { padding: 5rem 0; position: relative; }
.section.compact { padding: 3.5rem 0; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; margin: 0 0 0.75rem; }
.section-lead { max-width: 760px; color: var(--muted); margin: 0 0 2.25rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.34rem 0.82rem; border-radius: 999px;
  background: rgba(0,95,204,0.14); border: 1px solid rgba(0,95,204,0.28);
  color: #0c2f5f; font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.grid { display: grid; gap: 1.3rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.25);
}
.card[data-topic-id] {
  cursor: pointer;
}
.card[data-news-id] {
  cursor: pointer;
}
.card h3, .card h4 { margin-top: 0; margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17,17,17,0.07);
}
.header-inner {
  display: flex; align-items: center; justify-content: flex-start;
  min-height: 76px; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.9rem; font-weight: 700; letter-spacing: 0.01em;
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(116,183,255,0.35), rgba(199,164,107,0.16)),
    rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
.brand-mark::before,
.brand-mark::after {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 8px;
}
.brand-mark::after { inset: 15px; }
.brand-text { font-size: 1.05rem; font-weight: 800; }
.brand-text span { display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); }

@media (max-width: 880px) {
  .brand-text { display: none; }
}

.technion-logo {
  width: 72px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

body.a11y-high-contrast .technion-logo {
  color: #ffffff;
}

.a11y-settings {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 20;
}
.a11y-settings--collapsed .a11y-settings-panel {
  display: none;
}
.a11y-settings-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(17,17,17,0.2);
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}
.a11y-settings-btn:hover,
.a11y-settings-btn:focus-visible {
  background: rgba(116,183,255,0.18);
  border-color: rgba(116,183,255,0.35);
}

.a11y-settings-handle {
  display: none;
}

.a11y-settings-panel {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  min-width: 260px;
  max-width: min(320px, calc(100vw - 2rem));
  background: var(--panel);
  border: 1px solid rgba(17,17,17,0.25);
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.3);
  padding: 0.75rem;
  z-index: 120;
  display: none;
}
.a11y-settings-panel.open {
  display: block;
}
.a11y-settings-hide {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.85;
}
.a11y-settings-hide:hover,
.a11y-settings-hide:focus-visible {
  opacity: 1;
}
.a11y-settings-panel .a11y-setting-group {
  margin-bottom: 0.8rem;
}
.a11y-settings-panel .a11y-setting-group {
  margin-bottom: 0.8rem;
}
.a11y-settings-panel .a11y-setting-group:last-child {
  margin-bottom: 0;
}
.a11y-settings-panel .a11y-setting-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.a11y-settings-panel button {
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(17,17,17,0.18);
  background: rgba(17,17,17,0.08);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
}
.a11y-settings-panel button[aria-pressed="true"] {
  background: rgba(0,95,204,0.25);
  border-color: rgba(0,95,204,0.35);
}

.a11y-controls {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.a11y-controls--fixed {
  position: fixed;
  top: 1rem;
  right: 1rem;
  flex-direction: column;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  z-index: 100;
}
body.a11y-high-contrast .a11y-controls--fixed {
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.14);
}
@media (max-width: 760px) {
  .a11y-controls--fixed {
    right: auto;
    left: 1rem;
    top: auto;
    bottom: 1rem;
    z-index: 30;
  }
}
.a11y-controls .a11y-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(17,17,17,0.18);
  background: rgba(17,17,17,0.08);
  color: #111;
  font-size: 0.95rem;
  cursor: pointer;
}
.a11y-controls .a11y-btn[aria-pressed="true"] {
  background: rgba(0,95,204,0.18);
  border-color: rgba(0,95,204,0.35);
}
body.a11y-high-contrast .a11y-controls .a11y-btn {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #f2f7ff;
}
body.a11y-high-contrast .a11y-controls .a11y-btn[aria-pressed="true"] {
  background: rgba(116,183,255,0.18);
  border-color: rgba(116,183,255,0.35);
}

.nav-toggle { display: none; }
.site-nav { margin-left: auto; }
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 1rem;
  position: relative;
}
.site-search-desktop {
  position: relative;
}
.site-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  padding: 0.35rem 0.4rem 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,0.14);
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 24px rgba(17,17,17,0.06);
}
.site-search[hidden] {
  display: none !important;
}
.site-search--desktop {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: min(18rem, 28vw);
  z-index: 30;
}
.site-search--mobile {
  display: none;
  min-width: min(20rem, 30vw);
}
.site-search:focus-within {
  border-color: rgba(0,95,204,0.4);
  box-shadow: 0 0 0 3px rgba(0,95,204,0.12);
}
.site-search-input {
  width: 100%;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: none;
}
.site-search-input::placeholder {
  color: var(--muted);
}
.site-search-results {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  right: 0;
  max-height: min(26rem, 70vh);
  overflow-y: auto;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(17,17,17,0.12);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(17,17,17,0.14);
  padding: 0.4rem 0;
  z-index: 50;
}
.site-search-results[hidden] {
  display: none !important;
}
.site-search-results-meta,
.site-search-results-empty {
  padding: 0.45rem 0.95rem 0.6rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.site-search-result {
  display: block;
  padding: 0.7rem 0.95rem;
  border-top: 1px solid rgba(17,17,17,0.06);
}
.site-search-result:first-of-type {
  border-top: none;
}
.site-search-result:hover,
.site-search-result:focus-visible {
  background: rgba(0,95,204,0.08);
}
.site-search-result-page {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-search-result-title {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0.18rem;
}
.site-search-result-snippet {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  margin-top: 0.28rem;
}
.site-search-toggle,
.site-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: rgba(0,95,204,0.12);
  color: #004dd4;
  cursor: pointer;
  font-size: 1rem;
}
.site-search-toggle {
  border: 1px solid rgba(17,17,17,0.18);
  background: rgba(255,255,255,0.9);
}
.site-search-toggle[aria-expanded="true"] {
  background: rgba(0,95,204,0.14);
  border-color: rgba(0,95,204,0.3);
}
.site-search-toggle:hover,
.site-search-toggle:focus-visible,
.site-search-btn:hover,
.site-search-btn:focus-visible {
  background: rgba(0,95,204,0.18);
}
.site-nav ul {
  display: flex; list-style: none; gap: 0.3rem; padding: 0; margin: 0;
}
.site-nav a {
  display: inline-flex; padding: 0.72rem 0.95rem; color: var(--muted); border-radius: 10px; transition: 180ms ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--text); background: rgba(0,0,0,0.06); }

.hero { padding: 6.5rem 0 4rem; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  line-height: 0.96; letter-spacing: -0.04em; margin: 0 0 1rem;
}
.hero p { font-size: 1.08rem; color: var(--muted); max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }
.publication-nav { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.4rem; }
.publication-nav--center {
  justify-content: center;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.92rem 1.18rem; border-radius: 12px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12); transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, rgba(116,183,255,0.22), rgba(116,183,255,0.08)); border-color: rgba(116,183,255,0.25); }
.btn-secondary { background: linear-gradient(135deg, rgba(116,183,255,0.22), rgba(116,183,255,0.08)); border-color: rgba(116,183,255,0.25); }

.hero-visual {
  position: relative; min-height: 420px; border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: var(--shadow);
}
.chip-gallery-slideshow {
  min-height: 340px;
  margin-top: 1rem;
}
.slideshow-caption {
  padding: 0.9rem 1rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.hero-slides,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-slides {
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
}
.hero-slide--contain {
  background-size: contain;
  background-color: transparent;
}
.hero-overlay {
  z-index: 1;
  pointer-events: none;
}
.hero-slideshow-controls {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.hero-slideshow-button,
.hero-slideshow-dot {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(7,16,27,0.7);
  color: #ffffff;
}
.hero-slideshow-button {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.hero-slideshow-button:hover {
  transform: translateY(-2px);
  background: rgba(116,183,255,0.18);
  border-color: rgba(116,183,255,0.3);
}
.hero-slideshow-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.hero-slideshow-dot.is-active {
  transform: scale(1.15);
  background: var(--accent);
  border-color: rgba(116,183,255,0.4);
}
.hero-chip {
  position: absolute; inset: auto 11% 13% 11%; min-height: 240px;
  border-radius: 26px; transform: perspective(1200px) rotateX(58deg) rotateZ(-23deg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05)),
    radial-gradient(circle at center, rgba(116,183,255,0.13), transparent 60%),
    #0b1626;
  border: 1px solid rgba(255,255,255,0.14);
  overflow: hidden;
}
.hero-chip::before {
  content: ""; position: absolute; inset: 12px;
  background-image:
    linear-gradient(rgba(116,183,255,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116,183,255,0.14) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.7;
  border-radius: 20px;
}
.hero-chip::after {
  content: ""; position: absolute; left: 10%; right: 10%; top: 48%; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(137,240,215,0.95), transparent);
  box-shadow: 0 0 20px rgba(137,240,215,0.55);
  animation: pulseLine 3.8s ease-in-out infinite;
}
.hero-orbit, .hero-node { position: absolute; border-radius: 50%; }
.hero-orbit {
  inset: 10% 12%; border: 1px solid rgba(255,255,255,0.08); animation: spin 36s linear infinite;
}
.hero-node {
  width: 14px; height: 14px; background: rgba(116,183,255,0.95); box-shadow: 0 0 18px rgba(116,183,255,0.75);
}
.node-a { top: 15%; left: 16%; animation: floatY 6s ease-in-out infinite; }
.node-b { top: 24%; right: 18%; background: rgba(199,164,107,0.95); box-shadow: 0 0 18px rgba(199,164,107,0.65); animation: floatY 7s ease-in-out infinite reverse; }
.node-c { bottom: 18%; right: 24%; animation: floatY 5.6s ease-in-out infinite; }
.hero-tag {
  position: absolute; padding: 0.55rem 0.8rem; border-radius: 999px; font-size: 0.84rem;
  background: rgba(7,16,27,0.76); border: 1px solid rgba(255,255,255,0.12); color: #d6e8ff;
}
.tag-1 { top: 18%; left: 10%; animation: drift 7s ease-in-out infinite; }
.tag-2 { top: 26%; right: 8%; animation: drift 8s ease-in-out infinite reverse; }
.tag-3 { bottom: 14%; left: 14%; animation: drift 6.5s ease-in-out infinite; }

.kpis {
  margin-top: 2rem;
  grid-template-columns: 1fr 1fr 1.15fr;
}
.kpi { padding: 1.15rem 1.25rem; }
.kpi strong { display: block; font-size: 1.8rem; line-height: 1; margin-bottom: 0.35rem; }
.kpi span { color: var(--muted); font-size: 0.96rem; }

.timeline { position: relative; display: grid; gap: 1rem; }
.timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 14px; width: 1px; background: rgba(17,17,17,0.16);
}
.timeline-item { position: relative; padding-left: 2.4rem; }
.timeline-item::before {
  content: ""; position: absolute; top: 0.9rem; left: 8px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(116,183,255,0.12);
}
.meta { color: var(--muted); font-size: 0.95rem; }

.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.list-clean li:last-child { border-bottom: 0; }
.project-card { cursor: pointer; }
.project-card h3 { margin-bottom: 0.65rem; }
.project-status {
  margin-bottom: 0.85rem;
}
.project-status::before {
  box-shadow: none;
}
.project-status--open {
  background: rgba(0, 122, 58, 0.18);
  border-color: rgba(0, 122, 58, 0.35);
  color: #0d4f2f;
}
.project-status--open::before {
  background: #008b4d;
}
.project-status--taken {
  background: rgba(160, 120, 55, 0.22);
  border-color: rgba(160, 120, 55, 0.38);
  color: #6a420e;
}
.project-status--taken::before {
  background: #a06f3f;
}
.project-status--closed {
  background: rgba(90, 90, 90, 0.1);
  border-color: rgba(90, 90, 90, 0.25);
  color: #2e2e2e;
}
.project-status--closed::before {
  background: rgba(50, 50, 50, 0.85);
}

.people-card { padding-top: 1.1rem; }

.home-section {
  position: relative;
}
.home-section .container {
  position: relative;
  z-index: 1;
}
.home-section--vision {
  background:
    linear-gradient(180deg, rgba(0,95,204,0.05), rgba(0,95,204,0.02)),
    rgba(255,255,255,0.2);
}
.home-section--highlights {
  background:
    linear-gradient(180deg, rgba(137,240,215,0.08), rgba(116,183,255,0.03)),
    rgba(255,255,255,0.1);
}
.home-section--news {
  background:
    linear-gradient(180deg, rgba(199,164,107,0.08), rgba(199,164,107,0.03)),
    rgba(255,255,255,0.14);
}
.home-section--publications {
  background:
    linear-gradient(180deg, rgba(17,17,17,0.05), rgba(17,17,17,0.015)),
    rgba(255,255,255,0.08);
}
.home-section--cta {
  background:
    linear-gradient(180deg, rgba(116,183,255,0.07), rgba(199,164,107,0.03)),
    rgba(255,255,255,0.12);
}

body.a11y-high-contrast .home-section--vision {
  background:
    linear-gradient(180deg, rgba(116,183,255,0.14), rgba(116,183,255,0.06)),
    rgba(255,255,255,0.03);
}
body.a11y-high-contrast .home-section--highlights {
  background:
    linear-gradient(180deg, rgba(137,240,215,0.12), rgba(116,183,255,0.06)),
    rgba(255,255,255,0.025);
}
body.a11y-high-contrast .home-section--news {
  background:
    linear-gradient(180deg, rgba(199,164,107,0.16), rgba(199,164,107,0.07)),
    rgba(255,255,255,0.025);
}
body.a11y-high-contrast .home-section--publications {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.015);
}
body.a11y-high-contrast .home-section--cta {
  background:
    linear-gradient(180deg, rgba(116,183,255,0.11), rgba(199,164,107,0.06)),
    rgba(255,255,255,0.02);
}

.people-section {
  position: relative;
}
.people-section .container {
  position: relative;
  z-index: 1;
}
.people-section--pi {
  background:
    linear-gradient(180deg, rgba(0,95,204,0.05), rgba(0,95,204,0.02)),
    rgba(255,255,255,0.22);
}
.people-section--staff {
  background:
    linear-gradient(180deg, rgba(199,164,107,0.08), rgba(199,164,107,0.03)),
    rgba(255,255,255,0.1);
}
.people-section--students {
  background:
    linear-gradient(180deg, rgba(116,183,255,0.07), rgba(137,240,215,0.03)),
    rgba(255,255,255,0.16);
}
.people-section--alumni {
  background:
    linear-gradient(180deg, rgba(17,17,17,0.05), rgba(17,17,17,0.02)),
    rgba(255,255,255,0.06);
}

body.a11y-high-contrast .people-section--pi {
  background:
    linear-gradient(180deg, rgba(116,183,255,0.14), rgba(116,183,255,0.06)),
    rgba(255,255,255,0.03);
}
body.a11y-high-contrast .people-section--staff {
  background:
    linear-gradient(180deg, rgba(199,164,107,0.16), rgba(199,164,107,0.07)),
    rgba(255,255,255,0.025);
}
body.a11y-high-contrast .people-section--students {
  background:
    linear-gradient(180deg, rgba(137,240,215,0.12), rgba(116,183,255,0.06)),
    rgba(255,255,255,0.03);
}
body.a11y-high-contrast .people-section--alumni {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.015);
}

.people-card[data-person-id] { cursor: pointer; }
.avatar {
  width: 72px; height: 72px; border-radius: 18px;
  background: linear-gradient(145deg, rgba(116,183,255,0.22), rgba(199,164,107,0.16));
  border: 1px solid rgba(255,255,255,0.14);
  display: grid; place-items: center; font-weight: 700; margin-bottom: 0.9rem;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.role { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.person-meta { color: var(--muted); font-size: 0.94rem; }

.pub-item { display: grid; gap: 0.3rem; }
.pub-item .venue { color: var(--muted); font-size: 0.95rem; }
.pub-item .authors { color: var(--muted); font-size: 0.95rem; }
.pub-item .year { color: #002f6c; font-weight: 700; font-size: 0.94rem; }

body.a11y-high-contrast .pub-item .year { color: #a8d7ff; }

.rtl-page {
  direction: rtl;
  text-align: right;
}
.rtl-page p,
.rtl-page li,
.rtl-page h1,
.rtl-page h2,
.rtl-page h3 {
  text-align: right;
}
.rtl-page ul {
  padding-right: 1.3rem;
  padding-left: 0;
}
.rtl-page .section-lead {
  max-width: none;
}

.cta {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 30%, rgba(116,183,255,0.17), transparent 24%),
    radial-gradient(circle at 88% 70%, rgba(199,164,107,0.14), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}

.footer {
  padding: 2rem 0 3rem; color: var(--muted); border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer a { color: var(--muted); }

.reveal {
  --reveal-y: 20px;
  opacity: 0;
  transform: translateY(var(--reveal-y));
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
  --reveal-y: 0px;
  opacity: 1;
}
.card.reveal.is-visible:hover {
  transform: translateY(-4px);
}
.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 220ms; }
.delay-3 { transition-delay: 320ms; }

.table-like { width: 100%; border-collapse: collapse; }
.table-like tr + tr td { border-top: 1px solid rgba(255,255,255,0.08); }
.table-like td { padding: 0.95rem 0.2rem; vertical-align: top; }
.table-like td:first-child { width: 32%; color: #dbe9fb; font-weight: 600; padding-right: 1rem; }
.team-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.15rem;
}
.team-carousel-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.team-carousel-frame {
  position: relative;
  min-height: 260px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}
.team-carousel-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.team-carousel-button {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(0,0,0,0.08);
  color: var(--text);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.team-carousel-button:hover {
  transform: translateY(-2px);
  background: rgba(116,183,255,0.18);
  border-color: rgba(116,183,255,0.3);
}
.team-carousel-caption {
  padding: 0.9rem 1rem 1rem;
}
.team-carousel-name {
  display: -webkit-box;
  overflow: hidden;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
  color: var(--text);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.team-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
  justify-content: center;
}
.team-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  padding: 0;
  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.team-carousel-dot.is-active {
  transform: scale(1.15);
  background: var(--accent);
  border-color: rgba(116,183,255,0.35);
}
.team-carousel-actions {
  margin-top: 1.1rem;
}

.page-hero { padding: 4.2rem 0 2.2rem; }
.page-hero p { max-width: 760px; color: var(--muted); }

.notice {
  padding: 0.9rem 1rem; border-radius: 12px;
  background: rgba(116,183,255,0.08); border: 1px solid rgba(116,183,255,0.16); color: #d8e7ff;
}

@keyframes pulseLine {
  0%, 100% { opacity: 0.35; transform: translateY(-15px); }
  50% { opacity: 1; transform: translateY(18px); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes drift {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-8px) translateX(4px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .hero-grid, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .header-inner {
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .brand {
    gap: 0.65rem;
  }
  .brand-logo {
    width: 46px;
    height: 46px;
  }
  .technion-logo {
    width: 62px;
    height: 34px;
  }

  .site-nav {
    position: fixed; inset: 76px 1rem auto 1rem; background: rgba(255,255,255,0.96); border: 1px solid rgba(17,17,17,0.15);
    border-radius: 18px; padding: 4.55rem 0.7rem 0.7rem; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: 180ms ease;
    z-index: 105;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; }
  .header-tools {
    position: fixed;
    inset: 88px 1.75rem auto 1.75rem;
    margin-left: 0;
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    z-index: 106;
  }
  .site-nav.open ~ .header-tools {
    opacity: 1;
    pointer-events: auto;
  }
  .site-search-desktop {
    display: block;
    flex: 0 0 auto;
  }
  .site-search--mobile {
    min-width: 0;
    flex: 1 1 auto;
    background: rgba(255,255,255,0.98);
  }
  .site-search--mobile:not([hidden]) {
    display: flex;
  }
  .site-search-results {
    max-height: min(22rem, 55vh);
  }
  .a11y-settings {
    flex: 0 0 auto;
  }
  .a11y-settings-panel {
    position: fixed;
    top: 8.4rem;
    left: 1rem;
    right: 1rem;
    min-width: 0;
    max-width: none;
  }

  .site-nav a {
    color: #111;
  }
  .site-nav a:hover,
  .site-nav a.active {
    color: #004dd4;
    background: rgba(0,77,204,0.1);
  }
  .nav-toggle {
    margin-left: auto;
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--text); border-radius: 12px;
  }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 4.8rem; }
  .hero-visual { min-height: 320px; }
  .hero-slideshow-controls {
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .section { padding: 4rem 0; }
  .team-carousel {
    grid-template-columns: 1fr;
  }
  .team-carousel-track {
    grid-template-columns: 1fr;
  }
  .team-carousel-button {
    display: none;
  }
}

/* Modal (pop-up) */
.modal {
  display: none;
  position: fixed; inset: 0;
  z-index: 80;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,0.7);
  padding: 2.5rem 1.2rem;
}
.modal.active { display: flex; }
.modal-card {
  width: min(760px, 95vw);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17,17,17,0.15);
  border-radius: 24px;
  box-shadow: 0 24px 52px rgba(0,0,0,0.24);
  padding: 1.6rem;
  position: relative;
}
.modal-body {
  min-height: 140px;
  color: var(--text);
}
.modal-close {
  position: absolute; top: 0.85rem; right: 0.85rem;
  width: 42px; height: 42px; border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.16);
  background: rgba(0,0,0,0.08);
  color: var(--text); font-size: 1.2rem;
  display: grid; place-items: center; cursor: pointer;
}
.modal-header { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.modal-avatar { width: 60px; height: 60px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.modal-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-name { margin: 0; font-size: 1.4rem; }
.modal-role { color: var(--muted); margin-top: 0.2rem; }
.modal-body { color: var(--text); }
.modal-body p { margin: 0 0 1rem; }
  .modal-contact { margin: 1rem 0 0.5rem; }
  .modal-contact h3 { margin: 0 0 0.3rem; font-size: 0.95rem; color: var(--muted); letter-spacing: 0.02em; text-transform: uppercase; }
  .modal-contact-list { margin: 0; padding-left: 0; color: var(--muted); list-style: none; }
  .modal-contact-list li { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.45rem; }
  .modal-contact-list svg { width: 16px; height: 16px; flex-shrink: 0; fill: var(--muted); }
  .modal-body ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
  .modal-body li { margin-bottom: 0.6rem; }
  .modal-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1rem; }
  .modal-actions .btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    border-radius: 12px;
  }
  .modal-source-note {
    margin-top: 1rem;
    background: rgba(25, 65, 110, 0.1);
    border: 1px solid rgba(25,65,110,0.24);
    color: #042445;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    font-size: 0.9rem;
  }
  body.a11y-high-contrast .modal-source-note {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    color: #f8fbff;
  }

/* News modal carousel */
.modal-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1.2rem;
}
.modal-carousel[hidden] {
  display: none;
}
.carousel-frame {
  position: relative;
  width: 100%;
  max-height: 260px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  display: grid;
  place-items: center;
}
.carousel-image {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  display: block;
}
.carousel-button {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.2);
  background: rgba(0,0,0,0.15);
  color: #ffffff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}
.carousel-button:hover {
  transform: translateY(-2px);
  background: rgba(0,0,0,0.25);
}
.carousel-button:disabled {
  opacity: 0.45;
  cursor: default;
}
