/* ============================================================
   D2S2C Hamburg — main.css  v1.0
   Farben: UHH Blau #0271BB (Nav, Footer) · UHH Rot #E2021A (Akzente, DE/EN-Buttons)
   Sections: variables · reset · layout · header/nav · mobile menu
             hero · vorgehen · usecases · news · team · partners
             contact · footer · use-case-single · reveals · a11y
   ============================================================ */

/* ── Variablen ───────────────────────────────────────────── */
:root {
  --primary:    #0271BB;   /* UHH Blau — Nav, Footer, Buttons (Customizer: Farbwelt) */
  --highlight:  color-mix(in srgb, var(--primary) 80%, #000); /* Hover auto-abgeleitet */
  --accent:     #E2021A;   /* UHH Rot — DE/EN-Buttons, Highlights (Customizer: Farbwelt) */
  --accent-h:   color-mix(in srgb, var(--accent)  80%, #000); /* Hover auto-abgeleitet */
  --dark:       #0b1a2e;   /* Dunkel (Edge-Tabs etc.) */
  --light:      #f6f7fb;   /* Hellgrau-Hintergrund (Sektionsalternanz) */
  --maxw:       1180px;
  --radius:     12px;
  --focus-color:#0a84ff;
  --focus-bg:   #ffffff;
  --focus-ring: 2px;
  --focus-gap:  2px;
  --text-muted: #6b7280;
  --border:     #e6e8eb;
  --input-border:#d1d5db;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  color: #222;
  line-height: 1.75;
  background: #fff;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); }
a:hover { color: var(--highlight); }

/* Ambient background (via JS — auf body, damit es nicht durch body#fff verdeckt wird) */
html.ambient-bg body {
  background:
    radial-gradient(900px 600px at -10% -10%, rgba(2,113,187,.07) 0%, transparent 55%),
    radial-gradient(700px 500px at 110% -5%,  rgba(1,92,153,.07)  0%, transparent 55%),
    #fff;
  background-attachment: fixed;
}

/* ── Layout ──────────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section    { padding: 80px 0; }
@media (max-width: 640px) { .section { padding: 52px 0; } }
.section.alt { background: var(--light); }
.section h2 {
  margin: 0 0 40px;
  font-size: clamp(1.6rem, 2.5vw + .8rem, 2.4rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--dark);
}
/* Fließtext-Inhalt (WP-Seiten-Content): begrenzte Breite, linksbündig */
.section .content {
  max-width: 720px;
  margin: 0 auto;
}
.section .content h2,
.section .content h3 { text-align: left; }
.section .content a  { text-underline-offset: 3px; }
h1, h2 { text-align: center; }
.small { font-size: 1.05rem; color: var(--text-muted); }

/* ── Grid ────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .grid.cols-5 { grid-template-columns: 1fr; }
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); transform: translateY(-2px); }
.card h3 { margin: 10px 0 6px; font-size: 1.15rem; text-align: left; }
.card p { margin: 0; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn.primary   { background: var(--primary); color: #fff; }
.btn.secondary { background: transparent; border-color: rgba(255,255,255,.65); color: #fff; }
.btn.primary:hover  { background: var(--highlight); transform: translateY(-2px); }
.btn.secondary:hover { border-color: #fff; }

/* ── Skip link ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -1000em;
  left: 0;
  padding: .5rem .75rem;
  background: var(--focus-color);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
}
.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  top: .5rem;
  left: .5rem;
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
}

/* ── Focus styles ────────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: var(--focus-ring) solid var(--focus-color);
  outline-offset: var(--focus-gap);
  box-shadow: 0 0 0 calc(var(--focus-ring) + var(--focus-gap)) var(--focus-bg);
}
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* ── Header & Navigation — Blauer Hintergrund ───────────── */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary);
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100px;
  transition: height .3s ease;
}

/* ── Drei Logos — Kreise mit Verbindungslinie ───────────── */
.brand-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  position: relative;
}
/* Verbindungslinie von Kreismitte zu Kreismitte */
.brand-logos::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 36px; right: 36px; /* je halbe Kreisbreite (72px / 2) */
  transition: left .3s ease, right .3s ease;
  height: 1px;
  background: rgba(255,255,255,.28);
  transform: translateY(-50%);
  pointer-events: none;
}
.brand-logo-wrap {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  border: 1.5px solid rgba(255,255,255,.35);
  text-decoration: none;
  flex-shrink: 0;
  transition: background .3s ease, border-color .3s ease, width .3s ease, height .3s ease;
}
.brand-logo-wrap:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.75);
}
.brand-logo {
  display: block;
  max-height: 42px;
  max-width: 54px;
  width: auto; height: auto;
  object-fit: contain;
  transition: max-height .3s ease, max-width .3s ease;
}
/* Transparente schwarze Logos (UHH, HCDS) auf blauem Nav → weiß invertieren */
.brand-logo--invert {
  filter: brightness(0) invert(1);
}
@media (max-width: 860px) {
  .brand-logos { gap: 16px; }
  .brand-logos::before { left: 28px; right: 28px; } /* 56px / 2 */
  .brand-logo-wrap { width: 56px; height: 56px; }
  .brand-logo { max-height: 30px; max-width: 40px; }
}

/* ── Header shrink on scroll ────────────────────────── */
header.site-header.is-scrolled .nav { height: 60px; }
header.site-header.is-scrolled .brand-logo-wrap { width: 48px; height: 48px; }
header.site-header.is-scrolled .brand-logo { max-height: 26px; max-width: 36px; }
header.site-header.is-scrolled .brand-logos::before { left: 24px; right: 24px; } /* 48px / 2 */
@media (max-width: 860px) {
  header.site-header.is-scrolled .brand-logo-wrap { width: 42px; height: 42px; }
  header.site-header.is-scrolled .brand-logo { max-height: 22px; max-width: 28px; }
  header.site-header.is-scrolled .brand-logos::before { left: 21px; right: 21px; }
}

/* ── Nav-Links (weiß auf blau) ──────────────────────────── */
.nav a { text-decoration: none; color: #fff; }
.nav a:hover { color: rgba(255,255,255,.8); }
#site-menu ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; align-items: center; }
#site-menu ul li a {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .88rem;
  font-weight: 700;
  padding: 8px 2px;
  color: #fff;
  white-space: nowrap;
}
#site-menu ul li a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -4px;
  width: 0; height: 2px;
  background: #fff;
  transition: all .25s ease;
}
#site-menu ul li a:hover::after,
#site-menu ul li a.active::after { left: 0; width: 100%; }
#site-menu ul li a.active { opacity: 1; }

/* ── Sprachumschalter — Rot für DE/EN-Buttons ───────────── */
.lang-switch { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang-switch ul { display: contents; list-style: none; margin: 0; padding: 0; }
.lang-switch .lang-item { display: contents; }
.lang-switch .current-lang a { background: var(--accent); border-color: var(--accent); color: #fff; }
.lang-switch a {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.6);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .08em;
  text-decoration: none;
  color: #fff;
  transition: background .2s ease, border-color .2s ease;
}
.lang-switch a:hover         { background: rgba(255,255,255,.15); }
.lang-switch a.active        { background: var(--accent); border-color: var(--accent); }
@media (max-width: 860px) { .lang-switch { margin-left: auto; } }

/* ── Mobile Nav Toggle ──────────────────────────────────── */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  padding: 8px;
  cursor: pointer;
}
@media (max-width: 860px) { .nav-toggle { display: block; } }

/* ── Mobile Menü-Overlay ─────────────────────────────────── */
#menu-overlay {
  position: fixed; inset: 0;
  display: none; opacity: 0;
  transition: opacity .2s ease;
  z-index: 999;
  background: rgba(0,0,0,.4);
}
body.menu-open #menu-overlay { display: block; opacity: 1; }
body.menu-open { overflow: hidden; }

@media (min-width: 861px) {
  #site-menu { position: static; display: block; }
}
@media (max-width: 860px) {
  #site-menu {
    position: fixed; inset: 0; z-index: 9999;
    display: none !important;
    flex-direction: column;
    align-items: flex-start; justify-content: flex-start;
    padding: 80px 20px 32px;
    background: var(--primary) !important;
    overflow-y: auto;
  }
  #site-menu[data-open],
  body.menu-open #site-menu,
  #site-menu[aria-hidden="false"] { display: flex !important; }
  #site-menu > ul {
    list-style: none; margin: 0 auto; padding: 0;
    width: 100%; max-width: 560px;
    display: flex; flex-direction: column; gap: 16px; text-align: center;
  }
  #site-menu a { font-size: 18px; letter-spacing: .06em; display: inline-block; padding: 10px 8px; }
  #site-menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
}
@media (min-width: 861px) { #site-menu { position: relative; z-index: 1000; } }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, #013f69 0%, #0271BB 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(1,30,52,.55), rgba(1,30,52,.55));
}
.hero .container { position: relative; z-index: 2; padding: 90px 20px; }
@media (max-width: 640px) { .hero .container { padding: 56px 20px; } }
.hero h1 {
  font-size: clamp(2.2rem, 5vw + 1rem, 5.2rem);
  line-height: 1.05; margin: 0 0 .75rem;
}
.hero .small { font-size: clamp(1rem, 1.2vw + .6rem, 1.5rem); opacity: .95; color: #fff; font-weight: 500; }
.hero .cta   { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero .hero-media { position: absolute; inset: 0; z-index: 0; display: block; }
.hero .hero-media img, .hero .hero-media-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0; display: block;
}
@media (max-width: 640px) { .hero { min-height: 60vh; } }

/* ── Edge tabs ───────────────────────────────────────────── */
.edge-tabs {
  position: fixed; right: 0; top: 35%; z-index: 60;
  display: flex; flex-direction: column; gap: 10px;
}
.edge-tabs a {
  background: var(--dark); color: #fff;
  text-decoration: none;
  padding: 10px 0;
  border-radius: 14px 0 0 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  height: 44px;
  transform: translateX(calc(100% - 56px));
  transition: transform .25s ease, background .2s ease;
  overflow: hidden; width: max-content;
}
.edge-tabs a:hover { transform: translateX(0); background: var(--primary); }
.edge-tabs .icon  { width: 56px; display: inline-flex; justify-content: center; align-items: center; font-size: 20px; }
.edge-tabs .label { padding-right: 18px; white-space: nowrap; font-size: 14px; font-weight: 700; }
@media (max-width: 860px) { .edge-tabs { display: none; } }

/* ── Vorgehen — Text links, Bild rechts (wenn Bild gesetzt) ─── */
.vorgehen-img { margin-top: 32px; }
.vorgehen-img img { width: 100%; border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0,0,0,.10); }
@media (min-width: 768px) {
  #vorgehen .container:has(.vorgehen-img) {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 0 52px;
    align-items: start;
  }
  #vorgehen .container:has(.vorgehen-img) > h2 { grid-column: 1 / -1; }
  #vorgehen .vorgehen-img { margin-top: 0; align-self: center; }
}

/* ── Use-Case Übersicht ─────────────────────────────────── */
.usecase-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .usecase-grid { grid-template-columns: 1fr; } }

.usecase-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* Bild-Container mit Logo-Overlay */
.usecase-img-wrap {
  position: relative;
  overflow: hidden;
}
.usecase-img-wrap img {
  width: 100%; height: 200px;
  object-fit: cover; display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}
.usecase-logo-overlay {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(255,255,255,.92);
  border-radius: 6px;
  padding: 4px 10px;
  display: flex; align-items: center; justify-content: center;
  max-width: 200px;
  box-shadow: 0 2px 8px rgba(0,0,0,.14);
  z-index: 2;
}
.usecase-logo-overlay img {
  max-height: 44px; max-width: 178px;
  width: auto; height: auto; display: block;
  object-fit: contain;
}

.usecase-card .usecase-body { padding: 16px; flex: 1; }
.usecase-card h3 { margin: 0 0 6px; font-size: 1.05rem; text-align: left; color: var(--primary); }
.usecase-card .usecase-partner-name { font-size: .85rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.usecase-card .usecase-desc { font-size: .9rem; margin: 0 0 10px; color: #444; }
.usecase-card .usecase-dates { font-size: .82rem; color: var(--text-muted); }
/* Stretched link covers whole card */
.usecase-card .stretched-link {
  position: absolute; inset: 0; z-index: 1;
  text-indent: -9999px; overflow: hidden;
}
.usecase-card:hover h3 { text-decoration: underline; }

/* ── News Slider ─────────────────────────────────────────── */
.news-slider { position: relative; overflow: hidden; }
.news-track  { display: flex; transition: transform .5s ease; }
.news-slide  {
  min-width: 100%; position: relative;
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: 24px; align-items: center; padding: 10px;
}
.news-slide .media img { width: 100%; height: auto; border-radius: var(--radius); }
.news-slide h3 { margin: 0 0 8px; text-align: left; }
.news-slide .stretched-link {
  position: absolute; inset: 0; z-index: 1;
  text-indent: -9999px; overflow: hidden; white-space: nowrap;
}
.news-slide:focus-within { outline: 2px solid rgba(0,0,0,.2); outline-offset: 3px; }
.news-slide:hover .copy h3 { text-decoration: underline; }
@media (max-width: 860px) { .news-slide { grid-template-columns: 1fr; } }

.slider-nav { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.slider-dot  {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid #ccc; background: #e0e2e6; cursor: pointer; padding: 0;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.slider-dot.active { background: var(--primary); border-color: var(--primary); transform: scale(1.2); }
.slider-dot:hover:not(.active) { background: #c8cdd5; border-color: #aaa; }

/* ── Team ────────────────────────────────────────────────── */
.team .member { text-align: center; }
.team .member h3 { text-align: center; font-size: 1.05rem; }
.team .member .avatar img {
  width: 140px; height: 140px;
  object-fit: cover; border-radius: 50%;
  border: 4px solid var(--primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  margin: 0 auto 12px;
}
.team .role { color: var(--text-muted); font-size: .92rem; }
.member-links {
  display: flex; justify-content: center; gap: 10px;
  margin-top: 10px;
}
.member-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: background .2s ease;
}
.member-links a:hover { background: var(--highlight); }

/* ── Partners ────────────────────────────────────────────── */
.partners { align-items: center; justify-items: center; gap: 28px; }
#partners .partners img,
#partners .partners .wp-post-image {
  max-height: 100px; max-width: 100%; width: auto; height: auto;
}
@media (max-width: 860px) { #partners .partners img { max-height: 80px; } }

/* ── Kontaktformular ─────────────────────────────────────── */
.contact form { display: grid; gap: 12px; max-width: 660px; margin: 0 auto; }
input, textarea, select {
  width: 100%; padding: 12px 14px;
  border-radius: 10px; border: 1px solid var(--input-border);
  font-size: 1rem; font-family: inherit;
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
label { font-weight: 600; display: block; margin-bottom: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; }
.consent label { font-weight: 400; }
.consent input { width: auto; }

/* ── Alerts ──────────────────────────────────────────────── */
.alert {
  margin-top: 16px; padding: 14px 16px;
  border-radius: var(--radius); border: 2px solid transparent;
  font-weight: 600;
}
.alert.success { background: rgba(2,113,187,.08); border-color: var(--primary); }
.alert.error   { background: rgba(226,2,26,.08);  border-color: var(--accent); }

/* ── Footer — UHH Blau ───────────────────────────────────── */
footer.site-footer {
  padding: 32px 0;
  background: var(--primary);
  color: rgba(255,255,255,.95);
}
footer.site-footer a { color: #fff; }
footer.site-footer a:hover { opacity: .8; }
footer .footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 20px; }

/* ── Use-Case Einzelseite ────────────────────────────────── */
.uc-back {
  display: inline-block; margin-bottom: 24px;
  color: var(--primary); font-weight: 600; text-decoration: none; font-size: .95rem;
}
.uc-back:hover { text-decoration: underline; }
.uc-header { background: var(--light); }
.uc-header h1 { font-size: clamp(1.8rem, 3vw + 1rem, 3rem); }
.uc-partner-header { margin: 16px 0; }
.uc-partner-name {
  font-size: 1rem; font-weight: 700; color: var(--primary);
  text-decoration: none;
}
a.uc-partner-name:hover { text-decoration: underline; }
.uc-dates { font-size: .9rem; color: var(--text-muted); margin-top: 8px; }
.uc-dates-label { font-weight: 700; margin-right: 6px; }

/* Hauptbild mit Logo-Overlay (single) */
.uc-hero-img { padding: 40px 0; }
.uc-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}
.uc-main-img {
  width: 100%; max-height: 480px;
  object-fit: cover; display: block;
}
.uc-logo-overlay {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(255,255,255,.92);
  border-radius: 8px;
  padding: 8px 14px;
  display: flex; align-items: center; justify-content: center;
  max-width: 260px;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  z-index: 2;
}
.uc-logo-overlay img { max-height: 60px; max-width: 230px; width: auto; height: auto; display: block; object-fit: contain; }
.uc-logo-overlay a { display: flex; }

.uc-content-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .uc-content-inner { grid-template-columns: 1fr; } }

/* Personen-Sidebar */
.uc-persons { background: var(--light); border-radius: var(--radius); padding: 24px; }
.uc-persons-group { margin-bottom: 20px; }
.uc-persons-group:last-child { margin-bottom: 0; }
.uc-persons-group h3 {
  font-size: .85rem; margin: 0 0 10px;
  text-align: left; text-transform: uppercase;
  letter-spacing: .07em; color: var(--primary);
}

/* Person-Grid (Foto + Name + Link) */
.uc-person-grid { display: flex; flex-direction: column; gap: 10px; }
.uc-person-item { display: flex; align-items: center; gap: 12px; }
.uc-person-photo {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  background: #e9eaf0;
  border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.uc-person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-person-photo svg { width: 100%; height: 100%; }
.uc-person-info { flex: 1; min-width: 0; }
.uc-person-name {
  font-size: .9rem; font-weight: 600;
  color: #222; text-decoration: none;
  display: block; overflow: hidden;
  white-space: nowrap; text-overflow: ellipsis;
}
a.uc-person-name { color: var(--primary); }
a.uc-person-name:hover { text-decoration: underline; }
.uc-students-anon { font-size: .88rem; color: var(--text-muted); margin: 10px 0 0; font-style: italic; }

/* ── Scroll Reveals ──────────────────────────────────────── */
.reveal,
.reveal-up   { opacity: 0; transform: translateY(32px); transition: opacity .6s ease, transform .6s ease; }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity .6s ease, transform .6s ease; }
.reveal-right{ opacity: 0; transform: translateX( 32px); transition: opacity .6s ease, transform .6s ease; }
.fade-in     { opacity: 0; transition: opacity .8s ease; }
.reveal.in-view, .reveal-up.in-view,
.reveal-left.in-view, .reveal-right.in-view,
.fade-in.in-view { opacity: 1; transform: none; }
