/* ==========================================================================
   SONNER GROUP - Chromatic Intersection / Wormhole Design
   Inspired by Herbert Bayer's Chromatic Intersection series
   With Euclidean wormhole structures
   ========================================================================== */

:root {
  --color-band-1: #D4572A;
  --color-band-2: #E8863B;
  --color-band-3: #F2A93B;
  --color-band-4: #E6C359;
  --color-band-5: #C44D2A;
  --color-cream: #FAF6F0;
  --color-warm-white: #FFFCF7;
  --color-warm-gray: #8B7B6B;
  --color-charcoal: #3A3330;
  --color-text: var(--color-charcoal);
  --color-text-muted: #7A6B5B;
  --color-bg: var(--color-warm-white);
  --font-heading: 'Inter', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --transition: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ==========================================================================
   BAUHAUS TYPOGRAPHY - lowercase headings
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  text-transform: lowercase;
}

/* ==========================================================================
   WORMHOLE STRUCTURE - Two connected regions with color band throat
   ========================================================================== */

/* First wormhole - top right area */
.wormhole-1 {
  position: fixed;
  top: -10%;
  right: -15%;
  width: 800px;
  height: 800px;
  pointer-events: none;
  z-index: 0;
}

.wormhole-1::before,
.wormhole-1::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

/* Entry region */
.wormhole-1::before {
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse at center,
    transparent 30%,
    var(--color-band-4) 32%,
    var(--color-band-4) 35%,
    transparent 37%,
    transparent 45%,
    var(--color-band-3) 47%,
    var(--color-band-3) 50%,
    transparent 52%,
    transparent 60%,
    var(--color-band-2) 62%,
    var(--color-band-2) 65%,
    transparent 67%);
  opacity: 0.2;
}

/* Exit region - offset and connected */
.wormhole-1::after {
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse at center,
    transparent 25%,
    var(--color-band-2) 28%,
    var(--color-band-2) 32%,
    transparent 35%,
    transparent 50%,
    var(--color-band-1) 53%,
    var(--color-band-1) 57%,
    transparent 60%);
  opacity: 0.25;
}

/* Second wormhole - bottom left */
.wormhole-2 {
  position: fixed;
  bottom: -20%;
  left: -10%;
  width: 700px;
  height: 700px;
  pointer-events: none;
  z-index: 0;
}

.wormhole-2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 100% 60% at 30% 70%,
      transparent 20%,
      var(--color-band-3) 22%,
      var(--color-band-3) 25%,
      transparent 27%,
      transparent 40%,
      var(--color-band-2) 42%,
      var(--color-band-2) 45%,
      transparent 47%),
    radial-gradient(ellipse 60% 100% at 70% 30%,
      transparent 25%,
      var(--color-band-4) 27%,
      var(--color-band-4) 30%,
      transparent 32%,
      transparent 50%,
      var(--color-band-3) 52%,
      var(--color-band-3) 55%,
      transparent 57%);
  opacity: 0.15;
}

/* Throat connection - diagonal band connecting the regions */
.wormhole-throat {
  position: fixed;
  top: 20%;
  right: 10%;
  width: 400px;
  height: 150px;
  background: linear-gradient(135deg,
    transparent 0%,
    var(--color-band-4) 20%,
    var(--color-band-3) 35%,
    var(--color-band-2) 50%,
    var(--color-band-1) 65%,
    transparent 85%);
  transform: rotate(-25deg);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  border-radius: 100px;
}

/* ==========================================================================
   PAGE-SPECIFIC WORMHOLE VARIATIONS
   Each section has its own chromatic identity based on position in homepage
   ========================================================================== */

/* Hide default wormholes - each page has its own central structure */
.wormhole-1,
.wormhole-2,
.wormhole-throat { display: none; }

/*
 * Wormhole color schemes - two versions:
 * ORIGINAL: purple center → yellow outer (base), yellow center in wormhole
 * INVERTED: yellow center → purple outer (base), purple center in wormhole
 */

/* RESEARCH - Original (purple center) */
.is-research {
  --page-bg: #C1AE8F;
  --page-accent: #6B5CA5;
  --page-title-color: #6B5CA5;
  --wormhole-c1: #4B4B8B;
  --wormhole-c2: #5B5B9B;
  --wormhole-c3: #7B5B9B;
  --wormhole-c4: #9B5B8B;
  --wormhole-c5: #D4572A;
  --wormhole-c6: #E8863B;
  --wormhole-c7: #F2A93B;
  --wormhole-c8: #E6C359;
}

/* NEWS - Inverted (yellow center) */
.is-news {
  --page-bg: #C1AE8F;
  --page-accent: #E6C359;
  --page-title-color: #D4572A;
  --wormhole-c1: #E6C359;
  --wormhole-c2: #F2A93B;
  --wormhole-c3: #E8863B;
  --wormhole-c4: #D4572A;
  --wormhole-c5: #9B5B8B;
  --wormhole-c6: #7B5B9B;
  --wormhole-c7: #5B5B9B;
  --wormhole-c8: #4B4B8B;
}

/* GROUP - Original (purple center) */
.is-group {
  --page-bg: #C1AE8F;
  --page-accent: #6B5CA5;
  --page-title-color: #6B5CA5;
  --wormhole-c1: #4B4B8B;
  --wormhole-c2: #5B5B9B;
  --wormhole-c3: #7B5B9B;
  --wormhole-c4: #9B5B8B;
  --wormhole-c5: #D4572A;
  --wormhole-c6: #E8863B;
  --wormhole-c7: #F2A93B;
  --wormhole-c8: #E6C359;
}

/* LECTURES - Inverted (yellow center) */
.is-lectures {
  --page-bg: #C1AE8F;
  --page-accent: #E6C359;
  --page-title-color: #D4572A;
  --wormhole-c1: #E6C359;
  --wormhole-c2: #F2A93B;
  --wormhole-c3: #E8863B;
  --wormhole-c4: #D4572A;
  --wormhole-c5: #9B5B8B;
  --wormhole-c6: #7B5B9B;
  --wormhole-c7: #5B5B9B;
  --wormhole-c8: #4B4B8B;
}

/* PUBLICATIONS - Original (purple center) */
.is-publications {
  --page-bg: #C1AE8F;
  --page-accent: #6B5CA5;
  --page-title-color: #6B5CA5;
  --wormhole-c1: #4B4B8B;
  --wormhole-c2: #5B5B9B;
  --wormhole-c3: #7B5B9B;
  --wormhole-c4: #9B5B8B;
  --wormhole-c5: #D4572A;
  --wormhole-c6: #E8863B;
  --wormhole-c7: #F2A93B;
  --wormhole-c8: #E6C359;
}

/* POSITIONS - Inverted (yellow center) */
.is-positions {
  --page-bg: #C1AE8F;
  --page-accent: #E6C359;
  --page-title-color: #D4572A;
  --wormhole-c1: #E6C359;
  --wormhole-c2: #F2A93B;
  --wormhole-c3: #E8863B;
  --wormhole-c4: #D4572A;
  --wormhole-c5: #9B5B8B;
  --wormhole-c6: #7B5B9B;
  --wormhole-c7: #5B5B9B;
  --wormhole-c8: #4B4B8B;
}

/* TEACHING - Original (purple center) */
.is-teaching {
  --page-bg: #C1AE8F;
  --page-accent: #6B5CA5;
  --page-title-color: #6B5CA5;
  --wormhole-c1: #4B4B8B;
  --wormhole-c2: #5B5B9B;
  --wormhole-c3: #7B5B9B;
  --wormhole-c4: #9B5B8B;
  --wormhole-c5: #D4572A;
  --wormhole-c6: #E8863B;
  --wormhole-c7: #F2A93B;
  --wormhole-c8: #E6C359;
}

/* TALKS - Orange/amber center */
.is-talks {
  --page-bg: #C1AE8F;
  --page-accent: #E8863B;
  --page-title-color: #D4572A;
  --wormhole-c1: #F2A93B;
  --wormhole-c2: #E8863B;
  --wormhole-c3: #D4572A;
  --wormhole-c4: #9B5B8B;
  --wormhole-c5: #7B5B9B;
  --wormhole-c6: #5B5B9B;
  --wormhole-c7: #4B4B8B;
  --wormhole-c8: #E6C359;
}

/* CONTACT - Inverted (yellow center) */
.is-contact {
  --page-bg: #C1AE8F;
  --page-accent: #E6C359;
  --page-title-color: #D4572A;
  --wormhole-c1: #E6C359;
  --wormhole-c2: #F2A93B;
  --wormhole-c3: #E8863B;
  --wormhole-c4: #D4572A;
  --wormhole-c5: #9B5B8B;
  --wormhole-c6: #7B5B9B;
  --wormhole-c7: #5B5B9B;
  --wormhole-c8: #4B4B8B;
}

/* Apply accent colors to UI elements */
[class^="is-"]:not(.is-home) .breadcrumb { color: var(--page-accent); }
[class^="is-"]:not(.is-home) .geometric-line {
  background: linear-gradient(90deg, var(--page-accent), var(--page-accent-2));
}
[class^="is-"]:not(.is-home) .btn:hover {
  background: linear-gradient(90deg, var(--page-accent), var(--page-accent-2));
  border-color: var(--page-accent);
}

/* ==========================================================================
   HEADER - Two modes: radial (home) and bar (subpages)
   ========================================================================== */

/* --- HOME PAGE: Radial navigation around wormhole --- */
.header-home {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  pointer-events: none;
  display: block;
  padding: 0;
  background: transparent;
}

.header-home .logo {
  position: absolute;
  top: 2rem;
  left: 3rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-warm-white);
  transition: var(--transition);
  pointer-events: auto;
}

.header-home .logo:hover { color: var(--color-band-4); }

/* Corner contact link - mirrors logo position */
.corner-contact {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-warm-white);
  transition: var(--transition);
  pointer-events: auto;
  z-index: 1001;
}

.corner-contact:hover { color: var(--color-band-4); }

/* Radial menu - positioned around wormhole */
/* Orbital animation keyframes */
@keyframes orbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes counter-orbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Double rotation to co-rotate with wormhole (compensates for parent's CCW rotation) */
@keyframes orbit-with-wormhole {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(720deg); }
}

/* Rotation only - for center link which uses inset centering instead of transform */
@keyframes rotate-with-wormhole {
  from { transform: rotate(0deg); }
  to { transform: rotate(720deg); }
}

/* Single rotation for header wormhole - 60s like a seconds hand */
@keyframes rotate-once {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.menu-radial {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(85vh, 700px);
  height: min(85vh, 700px);
  pointer-events: none;
  z-index: 100;
  display: block;
  animation: counter-orbit 240s linear infinite;  /* Links orbit counter-clockwise */
}

.menu-radial a {
  position: absolute;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  pointer-events: auto;
  white-space: nowrap;
  transition: opacity 0.3s, text-shadow 0.3s, font-size 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: orbit 240s linear infinite;  /* Counter-rotate to keep text upright */
}

/* Color coding for radial nav items - antipodal pairs share similar hues */
.menu-radial a:nth-child(1) { color: #5B5B9B; } /* Research - violet (center) */
.menu-radial a:nth-child(2) { color: #6B5CA5; } /* News - purple */
.menu-radial a:nth-child(3) { color: #E6C359; } /* Group - golden */
.menu-radial a:nth-child(4) { color: #D4572A; } /* Lectures - deep orange */
.menu-radial a:nth-child(5) { color: #9B6BA5; } /* Publications - purple-pink (antipode of News) */
.menu-radial a:nth-child(6) { color: #E8863B; } /* Positions - orange (antipode of Group) */
.menu-radial a:nth-child(7) { color: #F2A93B; } /* Teaching - golden (antipode of Lectures) */

/* Text outline for warm-colored links (better contrast on ochre background) */
.menu-radial a:nth-child(3),
.menu-radial a:nth-child(4),
.menu-radial a:nth-child(6),
.menu-radial a:nth-child(7) {
  text-shadow:
    -1px -1px 0 rgba(58, 51, 48, 0.4),
     1px -1px 0 rgba(58, 51, 48, 0.4),
    -1px  1px 0 rgba(58, 51, 48, 0.4),
     1px  1px 0 rgba(58, 51, 48, 0.4);
}

.menu-radial a:hover {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  text-shadow: 0 0 30px currentColor;
}

/* Keep outline on hover for warm-colored links */
.menu-radial a:nth-child(3):hover,
.menu-radial a:nth-child(4):hover,
.menu-radial a:nth-child(6):hover,
.menu-radial a:nth-child(7):hover {
  text-shadow:
    -1px -1px 0 rgba(58, 51, 48, 0.4),
     1px -1px 0 rgba(58, 51, 48, 0.4),
    -1px  1px 0 rgba(58, 51, 48, 0.4),
     1px  1px 0 rgba(58, 51, 48, 0.4),
    0 0 30px currentColor;
}

/* Position radial nav items around the wormhole */
/* Links positioned at 52% radius - centers exactly on outer edge of yellow ring */
/* Half of each word extends into the ochre background */

.menu-radial a:nth-child(1) { /* Research - CENTER - co-rotates with wormhole */
  /* Center using inset + auto margins (no transform needed for positioning) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  text-align: center;
  /* Rotation-only animation - centering handled by inset/margin above */
  animation: rotate-with-wormhole 240s linear infinite;
}

.menu-radial a:nth-child(1):hover {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

/* 6 links at 60° intervals - antipodal pairs are 180° apart */
/* news <-> publications, group <-> positions, lectures <-> teaching */
.menu-radial a:nth-child(2) { /* News - 0° (top) */
  top: -2%;
  left: 50%;
}

.menu-radial a:nth-child(3) { /* Group - 60° (top-right) */
  top: 24%;
  left: 95%;
}

.menu-radial a:nth-child(4) { /* Lectures - 120° (bottom-right) */
  top: 76%;
  left: 95%;
}

.menu-radial a:nth-child(5) { /* Publications - 180° (bottom) - antipode of News */
  top: 102%;
  left: 50%;
}

.menu-radial a:nth-child(6) { /* Positions - 240° (bottom-left) - antipode of Group */
  top: 76%;
  left: 5%;
}

.menu-radial a:nth-child(7) { /* Teaching - 300° (top-left) - antipode of Lectures */
  top: 24%;
  left: 5%;
}

/* Pause orbit on hover for easy clicking */
.menu-radial:hover {
  animation-play-state: paused;
}
/* Pause all links including center (stays in sync with wormhole) */
.menu-radial:hover a {
  animation-play-state: paused;
}

/* ==========================================================================
   HOVER EFFECT - Luminous halo with wormhole connection
   ========================================================================== */

/* Dim siblings when any link is hovered */
.menu-radial:has(a:hover) a:not(:hover) {
  opacity: 0.3;
  filter: blur(1px);
  transition: opacity 0.8s ease, filter 0.8s ease;
}

/* The hovered link */
.menu-radial a:hover {
  opacity: 1;
  filter: none;
}

/* Halo effect - glowing aura behind the text */
.menu-radial a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle,
    currentColor 0%,
    transparent 70%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0.6s ease-out;
  pointer-events: none;
  z-index: -1;
}

.menu-radial a:hover::before {
  width: 200px;
  height: 200px;
  opacity: 0.25;
}


/* Pulse animation on the halo */
@keyframes halo-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.25; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.15; }
}

.menu-radial a:hover::before {
  animation: halo-pulse 2s ease-in-out infinite;
  animation-delay: 0.6s;
}

/* Enhanced text glow on hover */
.menu-radial a:hover {
  text-shadow:
    0 0 10px currentColor,
    0 0 30px currentColor,
    0 0 60px currentColor;
}

/* Keep outline + glow for warm-colored links */
.menu-radial a:nth-child(3):hover,
.menu-radial a:nth-child(4):hover,
.menu-radial a:nth-child(6):hover,
.menu-radial a:nth-child(7):hover {
  text-shadow:
    -1px -1px 0 rgba(58, 51, 48, 0.4),
     1px -1px 0 rgba(58, 51, 48, 0.4),
    -1px  1px 0 rgba(58, 51, 48, 0.4),
     1px  1px 0 rgba(58, 51, 48, 0.4),
    0 0 10px currentColor,
    0 0 30px currentColor,
    0 0 60px currentColor;
}

/* Center link (Research) reacts when outer links hovered */
.menu-radial:has(a:nth-child(n+2):hover) a:nth-child(1) {
  text-shadow: 0 0 40px currentColor;
  opacity: 0.7;
}

/* --- SUBPAGES: Horizontal navigation bar --- */
.header-bar {
  position: relative;
  z-index: 1000;
  background: #C1AE8F;  /* Same ochre as landing page */
}

.header-bar .header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-bar .logo {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  transition: var(--transition);
}

.header-bar .logo:hover { color: var(--color-band-1); }

/* Horizontal menu */
.menu-horizontal {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.menu-horizontal a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(58, 51, 48, 0.7);  /* Charcoal with opacity */
  transition: var(--transition);
  white-space: nowrap;
}

.menu-horizontal a:hover {
  color: var(--color-charcoal);
}

/* Current page indicator with color */
.menu-horizontal a[aria-current="page"] {
  color: var(--page-accent, var(--color-band-4));
}

.menu-toggle { display: none; background: none; border: none; cursor: pointer; pointer-events: auto; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--color-charcoal); margin: 5px 0; transition: var(--transition); }
.header-home .menu-toggle span { background: var(--color-warm-white); } /* White on home page */

/* Mobile responsive */
@media (max-width: 800px) {
  /* Home page mobile */
  .header-home .logo {
    top: 1.5rem;
    left: 1.5rem;
  }

  .header-home .menu-toggle {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1001;
  }

  .menu-radial {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: #C1AE8F;
    transform: translateY(-100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform var(--transition);
  }

  .menu-radial.is-open {
    transform: translateY(0);
  }

  .menu-radial a {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    padding: 0.75rem;
    font-size: 1.25rem;
    color: var(--color-warm-white);
  }

  /* Subpages mobile */
  .header-bar .menu-toggle {
    display: block;
  }

  .menu-horizontal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #C1AE8F;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    transform: translateY(-100%);
    transition: transform var(--transition);
  }

  .menu-horizontal.is-open {
    transform: translateY(0);
  }

  .menu-horizontal a {
    font-size: 1.25rem;
    padding: 0.75rem;
    color: var(--color-charcoal);
  }
}

/* ==========================================================================
   HERO - Central wormhole navigation structure (Landing page only)
   ========================================================================== */

/* Landing page: exactly viewport height, no scroll */
.is-home {
  overflow: hidden;
}

.is-home .footer {
  display: none;
}

.hero {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #C1AE8F; /* Warm brownish background like Bayer */
}

.hero-content {
  display: none; /* Logo is in header */
}

.hero-headline,
.hero-subheadline {
  display: none;
}

/* ==========================================================================
   HERO VISUAL - Wormhole / Chromatic Intersection
   Concentric rings
   ========================================================================== */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Pseudo-elements not used - SVG wormhole handles all graphics */
.hero-visual::before,
.hero-visual::after {
  content: none;
}

/* Bayer Wormhole SVG - overlapping semicircular arcs */
.bayer-wormhole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(85vh, 700px);
  height: min(85vh, 700px);
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: orbit 240s linear infinite;  /* Wormhole rotates clockwise (opposite to links) */
}

/* Pause wormhole rotation when menu is hovered */
body:has(.menu-radial:hover) .bayer-wormhole {
  animation-play-state: paused;
}

.mountain-silhouette, .geometric-accent { display: none; }

/* ==========================================================================
   INTRO - Offset position
   ========================================================================== */
.intro-section {
  padding: 10rem 0 8rem;
  position: relative;
}

.intro-section .container {
  max-width: none;
  padding: 0;
}

.intro-text {
  max-width: 500px;
  margin-left: auto;
  margin-right: 15%;
  font-size: 1.2rem;
  line-height: 1.9;
  position: relative;
}

/* Color band accent - placed freely */
.intro-text::before {
  content: '';
  position: absolute;
  top: -3rem;
  left: -8rem;
  width: 200px;
  height: 8px;
  background: linear-gradient(90deg, var(--color-band-1), var(--color-band-3), var(--color-band-4));
  transform: rotate(-5deg);
}

/* ==========================================================================
   INNER PAGES - Bauhaus geometric header
   ========================================================================== */

/* Page header with Bauhaus color bands */
.page-header {
  position: relative;
  padding: 6rem 0 4rem;
  overflow: hidden;
  background: #C1AE8F;  /* Same ochre as landing page */
}

/* Bauhaus-style horizontal color bands */
.bauhaus-bands {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

/* Band sliding animations with wrap-around */
@keyframes slide-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes slide-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.bauhaus-bands .band {
  position: absolute;
  height: 12px;
  /* Double width for seamless wrap-around */
  width: 200%;
  left: 0;
}

/* Staggered bands with section-specific colors and alternating motion */
.bauhaus-bands .band-1 {
  top: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--wormhole-c1, #5B5B9B) 0%,
    var(--wormhole-c1, #5B5B9B) 50%
  );
  animation: slide-left 74s linear infinite;
}

.bauhaus-bands .band-2 {
  top: 12px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0%,
    transparent 10%,
    var(--wormhole-c3, #9B5B8B) 10%,
    var(--wormhole-c3, #9B5B8B) 50%,
    transparent 50%,
    transparent 60%,
    var(--wormhole-c3, #9B5B8B) 60%,
    var(--wormhole-c3, #9B5B8B) 100%
  );
  animation: slide-right 178s linear infinite;
}

.bauhaus-bands .band-3 {
  top: 24px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0%,
    transparent 15%,
    var(--wormhole-c5, #D4572A) 15%,
    var(--wormhole-c5, #D4572A) 50%,
    transparent 50%,
    transparent 65%,
    var(--wormhole-c5, #D4572A) 65%,
    var(--wormhole-c5, #D4572A) 100%
  );
  animation: slide-left 106s linear infinite;
}

.bauhaus-bands .band-4 {
  top: 36px;
  background: repeating-linear-gradient(
    90deg,
    var(--wormhole-c6, #E8863B) 0%,
    var(--wormhole-c6, #E8863B) 20%,
    transparent 20%,
    transparent 50%,
    var(--wormhole-c6, #E8863B) 50%,
    var(--wormhole-c6, #E8863B) 70%,
    transparent 70%,
    transparent 100%
  );
  animation: slide-right 142s linear infinite;
}

.bauhaus-bands .band-5 {
  top: 48px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0%,
    transparent 30%,
    var(--wormhole-c8, #E6C359) 30%,
    var(--wormhole-c8, #E6C359) 50%,
    transparent 50%,
    transparent 80%,
    var(--wormhole-c8, #E6C359) 80%,
    var(--wormhole-c8, #E6C359) 100%
  );
  animation: slide-right 86s linear infinite;
}

/* Minimal bands for sub-pages (3 bands instead of 5) */
.bauhaus-bands--minimal .band {
  height: 10px;
}

.bauhaus-bands--minimal .band-2 {
  top: 0;
}

.bauhaus-bands--minimal .band-3 {
  top: 10px;
}

.bauhaus-bands--minimal .band-5 {
  top: 20px;
}

/* Sub-page header - slightly smaller padding */
.page-header--sub {
  padding: 4rem 0 3rem;
}

/* Static Bayer wormhole in page header */
.header-wormhole {
  position: absolute;
  bottom: -100px;
  right: 10%;
  width: 280px;
  height: 280px;
  opacity: 0.85;
  pointer-events: none;
  z-index: 5;
}

.header-wormhole .bayer-wormhole {
  width: 100%;
  height: 100%;
  position: static;
  transform: none;
  animation: rotate-once 60s linear infinite;
  animation-delay: var(--wormhole-sync-offset, 0s);
}

.page-header .container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 0;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--color-charcoal);
  margin-bottom: 1rem;
}

.page-intro {
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(58, 51, 48, 0.7);
}

.breadcrumb {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--page-accent, var(--color-band-4));
  margin-bottom: 0.75rem;
}

/* Geometric line accent under title */
.page-header h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg,
    var(--wormhole-c5, #D4572A),
    var(--wormhole-c6, #E8863B),
    var(--wormhole-c8, #E6C359));
}

/* ==========================================================================
   RESEARCH - Scattered cards, not in grid
   ========================================================================== */
.research-preview {
  padding: 8rem 0 12rem;
  position: relative;
}

.research-preview .container {
  max-width: none;
  padding: 0 5%;
}

.research-preview > .container > h2 {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  margin-bottom: 5rem;
  margin-left: 10%;
}

.research-cards {
  display: block;
  position: relative;
  min-height: 700px;
}

.research-card {
  position: absolute;
  width: 340px;
  background: var(--color-bg);
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  transition: all var(--transition);
}

/* Position each card freely */
.research-card:nth-child(1) {
  top: 0;
  left: 5%;
  transform: rotate(-2deg);
}

.research-card:nth-child(2) {
  top: 15%;
  left: 38%;
  transform: rotate(1deg);
}

.research-card:nth-child(3) {
  top: 35%;
  right: 8%;
  transform: rotate(-1deg);
}

.research-card:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  z-index: 10;
}

/* Chromatic edge */
.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-band-1), var(--color-band-3));
}

.research-card:nth-child(2)::before {
  background: linear-gradient(to bottom, var(--color-band-2), var(--color-band-4));
}

.research-card:nth-child(3)::before {
  background: linear-gradient(to bottom, var(--color-band-3), var(--color-band-1));
}

.research-card .card-accent { display: none; }

.research-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.research-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.research-preview .btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 1100px) {
  .research-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: auto;
  }
  .research-card,
  .research-card:nth-child(1),
  .research-card:nth-child(2),
  .research-card:nth-child(3) {
    position: relative;
    top: auto; left: auto; right: auto;
    width: 100%;
    max-width: 500px;
    transform: none;
  }
  .research-preview .btn {
    position: relative;
    bottom: auto; left: auto;
    transform: none;
    margin-top: 2rem;
  }
}

/* ==========================================================================
   CONTENT SECTIONS - Clean functional layout with Bauhaus accents
   ========================================================================== */
.research-areas,
.group-members,
.publications-list,
.lectures-list,
.teaching-content,
.news-list-full,
.positions-list,
.contact-content {
  background: var(--color-warm-white);
  color: var(--color-text);
  padding: 4rem 0 6rem;
  position: relative;
}

/* Bauhaus accent - colored top border */
.research-areas::before,
.group-members::before,
.publications-list::before,
.lectures-list::before,
.teaching-content::before,
.news-list-full::before,
.positions-list::before,
.contact-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--wormhole-c5, #D4572A),
    var(--wormhole-c6, #E8863B),
    var(--wormhole-c8, #E6C359));
}

/* Container styling for content sections */
.research-areas .container,
.group-members .container,
.publications-list .container,
.lectures-list .container,
.teaching-content .container,
.news-list-full .container,
.positions-list .container,
.contact-content .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section headings */
.research-areas h2,
.group-members h2,
.member-section h2,
.courses-section h2,
.publication-category h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--wormhole-c6, #E8863B);
  display: inline-block;
}

/* Links in content */
.research-areas a,
.publications-list a,
.news-list-full a {
  color: var(--color-band-1);
}

.research-areas a:hover,
.publications-list a:hover,
.news-list-full a:hover {
  color: var(--color-band-2);
}

/* Cards and content blocks */
.member-card,
.course-card,
.position-card,
.news-item,
.lecture-item {
  background: var(--color-cream);
  padding: 1.5rem;
  border-radius: 0;
  border-left: 4px solid var(--wormhole-c6, #E8863B);
  transition: all var(--transition);
}

.member-card:hover,
.course-card:hover,
.position-card:hover,
.news-item:hover,
.lecture-item:hover {
  border-left-color: var(--wormhole-c5, #D4572A);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ==========================================================================
   RESEARCH AREAS - 2x2 Grid Panels
   ========================================================================== */
.research-areas .container {
  max-width: 1400px;
}

.research-areas {
  padding-bottom: 4rem;
}

/* 2x2 Grid layout */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 0 1rem;
}

/* Panel card */
.research-panel {
  display: flex;
  flex-direction: column;
  background: var(--color-cream);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 320px;
}

.research-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* Panel figure - prominent */
.panel-figure {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--color-offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.research-panel:hover .panel-figure img {
  opacity: 1;
  transform: scale(1.03);
}

/* Holography panel - show bottom of figure */
.research-panel--holography .panel-figure img {
  object-position: center bottom;
}

/* Simulation panel - show top of figure */
.research-panel--simulation .panel-figure img {
  object-position: center top;
}

/* Panel content */
.panel-content {
  padding: 1.5rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.panel-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--color-charcoal);
}

.panel-content .geometric-line {
  width: 60px;
  height: 4px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--color-band-1), var(--color-band-2), var(--color-band-3));
}

/* Color variations for each panel */
.research-panel:nth-child(2) .geometric-line {
  background: linear-gradient(90deg, var(--color-band-2), var(--color-band-3), var(--color-band-4));
}

.research-panel:nth-child(3) .geometric-line {
  background: linear-gradient(90deg, var(--color-band-3), var(--color-band-4), var(--color-band-1));
}

.research-panel:nth-child(4) .geometric-line {
  background: linear-gradient(90deg, var(--color-band-4), var(--color-band-1), var(--color-band-2));
}

.panel-teaser {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .research-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .research-panel {
    min-height: auto;
  }

  .panel-figure {
    height: 160px;
  }
}

/* Research area detail page - two column layout */
.research-area-detail {
  padding: 4rem 0 6rem;
  position: relative;
}

.research-area-detail .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3rem;
  align-items: start;
}

.area-figure-side {
  position: sticky;
  top: 2rem;
  margin: 0;
}

.area-figure-side img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.area-content-full {
  max-width: 700px;
}

.papers-section {
  margin-top: 4rem;
  grid-column: 2;
  max-width: 700px;
}

.papers-section h2 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-band-1);
  margin-bottom: 2rem;
}

.papers-list-full {
  list-style: none;
}

.papers-list-full .paper {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-cream);
}

.papers-list-full .paper:last-child {
  border-bottom: none;
}

.papers-list-full .paper-title {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-charcoal);
}

.papers-list-full .paper-authors {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.papers-list-full .paper-meta {
  font-size: 0.8rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.papers-list-full .paper-link {
  color: var(--color-band-1);
}

.papers-list-full .paper-journal {
  color: var(--color-text-muted);
}

.papers-list-full .paper-year {
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .research-area-detail .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .area-figure-side {
    position: relative;
    top: 0;
    max-width: 400px;
  }
  .papers-section {
    grid-column: 1;
  }
}

/* ==========================================================================
   GROUP - Scattered member cards
   ========================================================================== */
.group-members {
  padding: 8rem 0;
  position: relative;
}

.group-members .container {
  max-width: 1400px;
}

.member-section {
  margin-bottom: 8rem;
  position: relative;
}

.member-section h2 {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-band-1);
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-band-2);
  display: inline-block;
}

/* Scattered grid with varying positions */
.members-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
}

.member-card {
  flex: 0 0 240px;
  transition: all var(--transition);
}

/* Offset cards for scattered effect */
.member-card:nth-child(2) { margin-top: 4rem; }
.member-card:nth-child(3) { margin-top: -2rem; }
.member-card:nth-child(4) { margin-top: 6rem; }
.member-card:nth-child(5) { margin-top: 1rem; }
.member-card:nth-child(6) { margin-top: 5rem; }

.member-card:hover {
  transform: translateY(-8px) rotate(1deg);
}

.member-photo {
  aspect-ratio: 1;
  background: var(--color-cream);
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.member-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-band-1), var(--color-band-3));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.member-card:hover .member-photo::after {
  transform: scaleX(1);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-warm-gray);
}

.member-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-charcoal);
}

.member-card h3 a:hover { color: var(--color-band-1); }

.member-role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.member-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.member-interests span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  background: var(--color-band-4);
  color: var(--color-charcoal);
}

.members-grid-pi {
  max-width: 350px;
}

.members-grid-pi .member-card {
  flex: 0 0 100%;
}

.members-grid-pi .member-card:nth-child(n) {
  margin-top: 0;
}

/* Senior members: PI + Postdocs in same row */
.members-grid-senior {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}

.members-grid-senior .member-card {
  flex: 0 0 240px;
}

/* Playful offset for senior members */
.members-grid-senior .member-card:nth-child(1) { margin-top: 0; }
.members-grid-senior .member-card:nth-child(2) { margin-top: 3rem; }
.members-grid-senior .member-card:nth-child(3) { margin-top: -1rem; }
.members-grid-senior .member-card:nth-child(4) { margin-top: 4rem; }

@media (max-width: 800px) {
  .member-card:nth-child(n) { margin-top: 0; }
  .members-grid { gap: 2rem; }
}

/* ==========================================================================
   NEWS - Scattered timeline
   ========================================================================== */
.news-preview {
  padding: 8rem 0;
  background: var(--color-cream);
  position: relative;
}

.news-preview .container {
  max-width: 900px;
  margin-left: 20%;
}

.news-preview h2 {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
}

.news-list {
  position: relative;
}

.news-item-preview {
  padding: 1.5rem 0 1.5rem 2.5rem;
  border-left: 2px solid var(--color-band-3);
  position: relative;
  margin-left: 1rem;
}

/* Chromatic dots */
.news-item-preview::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 1.75rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-band-1);
}

.news-item-preview:nth-child(2)::before { background: var(--color-band-2); }
.news-item-preview:nth-child(3)::before { background: var(--color-band-3); }
.news-item-preview:nth-child(4)::before { background: var(--color-band-4); }

/* Varying indentation for playfulness */
.news-item-preview:nth-child(2) { margin-left: 3rem; }
.news-item-preview:nth-child(3) { margin-left: 0.5rem; }
.news-item-preview:nth-child(4) { margin-left: 4rem; }

.news-item-preview time {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-warm-gray);
}

.news-item-preview h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 0.4rem;
}

.news-item-preview h3 a:hover { color: var(--color-band-1); }

@media (max-width: 800px) {
  .news-preview .container { margin-left: auto; }
  .news-item-preview:nth-child(n) { margin-left: 1rem; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: var(--color-charcoal);
  color: var(--color-warm-white);
  border: 2px solid var(--color-charcoal);
  transition: all var(--transition);
  cursor: pointer;
}

.btn:hover {
  background: linear-gradient(90deg, var(--color-band-1), var(--color-band-2));
  border-color: var(--color-band-1);
  color: var(--color-warm-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-charcoal);
}

.btn-secondary:hover {
  background: var(--color-charcoal);
  color: var(--color-warm-white);
}

.btn-light {
  background: transparent;
  border-color: var(--color-warm-white);
  color: var(--color-warm-white);
  margin-top: 1.5rem;
}

.btn-light:hover {
  background: var(--color-warm-white);
  color: var(--color-charcoal);
}

.btn-small {
  padding: 0.7rem 1.4rem;
  font-size: 0.7rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #C1AE8F;  /* Same ochre as landing page */
  color: var(--color-charcoal);
  padding: 6rem 8%;
  position: relative;
  overflow: hidden;
}

/* Chromatic band */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--color-band-4),
    var(--color-band-3),
    var(--color-band-2),
    var(--color-band-1));
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.footer-info { flex: 0 0 40%; }

.footer-brand {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.footer-tagline {
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-pages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

.footer-links h4 {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  color: var(--color-charcoal);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--color-band-3); }

.footer-bottom {
  max-width: 1200px;
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(58,51,48,0.2);
  font-size: 0.8rem;
  color: var(--color-charcoal);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .footer-content { flex-direction: column; gap: 3rem; }
  .footer-links { gap: 2rem; }
}

/* ==========================================================================
   REMAINING SECTIONS (teaching, positions, contact, etc.)
   Keep functional but with asymmetric touches
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6%;
}

.main { position: relative; z-index: 1; }

/* Papers */
.papers-list { list-style: none; }
.paper {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-cream);
}
.paper-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.4rem;
  display: block;
}
.paper-authors {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.paper-meta {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.paper-meta a {
  color: var(--color-band-1);
  font-weight: 500;
}

/* Lectures */
.lectures-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}
.lecture-item {
  flex: 0 0 calc(50% - 2rem);
  max-width: 500px;
}
.lecture-item:nth-child(even) { margin-top: 5rem; }
.lecture-video { margin-bottom: 1.5rem; }
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  background: var(--color-charcoal);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lecture-info h2 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.lecture-event { color: var(--color-band-2); font-size: 0.85rem; }
.lecture-info time { font-size: 0.8rem; color: var(--color-text-muted); }
.lecture-links { margin-top: 1.25rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Lecture series - thumbnail grid */
.lecture-series {
  flex: 0 0 calc(100% - 2rem);
  max-width: 800px;
}
.series-videos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.series-video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-charcoal);
}
.series-video-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
}
.series-video-thumb:hover img {
  transform: scale(1.05);
  opacity: 1;
}
.series-num {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: var(--color-band-1);
  color: white;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .lecture-item { flex: 0 0 100%; }
  .lecture-item:nth-child(even) { margin-top: 0; }
  .lecture-series { max-width: 100%; }
  .series-videos { grid-template-columns: repeat(2, 1fr); }
}

/* Teaching */
.teaching-content { padding: 5rem 0; }
.courses-section { margin-bottom: 5rem; }
.courses-section h2 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}
.courses-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.course-card {
  flex: 0 0 calc(50% - 1rem);
  max-width: 400px;
  background: var(--color-cream);
  padding: 2rem;
  position: relative;
}
.course-card:nth-child(even) { margin-top: 3rem; }
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--color-band-2), var(--color-band-3));
}
.course-header { display: flex; justify-content: space-between; margin-bottom: 1rem; }
.course-code { font-size: 0.75rem; font-weight: 500; color: var(--color-band-1); }
.course-level {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  background: var(--color-charcoal);
  color: var(--color-warm-white);
}
.course-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.course-semester, .course-description { font-size: 0.85rem; color: var(--color-text-muted); }

@media (max-width: 800px) {
  .course-card { flex: 0 0 100%; }
  .course-card:nth-child(even) { margin-top: 0; }
}

.past-courses-list { list-style: none; columns: 2; column-gap: 3rem; }
.past-courses-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--color-cream); break-inside: avoid; }
.past-course-title { font-weight: 500; }
.past-course-meta { font-size: 0.8rem; color: var(--color-text-muted); }

@media (max-width: 600px) { .past-courses-list { columns: 1; } }

/* Positions */
.positions-list { padding: 5rem 0; }
.position-card {
  background: var(--color-bg);
  padding: 3rem;
  margin-bottom: 2.5rem;
  border-left: 6px solid var(--color-band-1);
  max-width: 800px;
}
.position-card:nth-child(even) { margin-left: auto; }
.position-header { display: flex; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.position-type {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  background: linear-gradient(90deg, var(--color-band-1), var(--color-band-2));
  color: var(--color-warm-white);
}
.position-deadline { font-size: 0.8rem; color: var(--color-text-muted); }
.position-card h2 { font-size: 1.4rem; margin-bottom: 1.5rem; }
.position-description, .position-requirements, .position-apply { margin-bottom: 1.5rem; line-height: 1.8; }
.position-requirements h3, .position-apply h3 {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-band-2);
  margin-bottom: 0.6rem;
}
.no-positions { text-align: center; padding: 4rem; background: var(--color-cream); color: var(--color-text-muted); }

/* Contact */
.contact-content { padding: 5rem 0; }
.contact-grid { display: flex; gap: 6rem; }
.contact-block { flex: 1; }
.contact-block:first-child { max-width: 450px; }
.contact-block h2 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}
.contact-address { line-height: 2; margin-bottom: 2rem; }
.admin-contacts { margin-top: 3rem; }
.admin-contact { padding: 1.25rem 0; border-bottom: 1px solid var(--color-cream); }
.admin-contact:last-child { border-bottom: none; }
.admin-contact h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.admin-role { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0.4rem; }
.contact-map { background: var(--color-cream); min-height: 350px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 350px; border: 0; }

@media (max-width: 800px) { .contact-grid { flex-direction: column; gap: 3rem; } }

/* News pages */
.news-list-full { padding: 5rem 0; }
.news-item { padding: 2.5rem 0; border-bottom: 1px solid var(--color-cream); }
.news-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.75rem; }
.news-meta time { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); }
.news-category {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  background: var(--color-band-2);
  color: var(--color-warm-white);
}
.news-item h2 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.news-item h2 a:hover { color: var(--color-band-1); }
.news-excerpt { color: var(--color-text-muted); line-height: 1.7; }

.news-article { padding: 10rem 0 5rem; }
.news-article .container { max-width: 750px; }
.news-header { margin-bottom: 3rem; }
.news-header h1 { font-size: 2.25rem; margin-top: 1rem; line-height: 1.15; }
.news-image { margin-bottom: 2.5rem; }
.news-content { font-size: 1.05rem; line-height: 1.9; }

/* Member profile */
.member-profile { padding: 5rem 0; }
.member-profile .container { margin-left: 6%; margin-right: auto; }
.member-content { display: flex; gap: 4rem; }
.member-photo-large { flex: 0 0 400px; background: var(--color-cream); }
.member-photo-large img { width: 100%; height: auto; }
.member-info-full { flex: 1; }
.member-bio { font-size: 1.05rem; line-height: 1.9; margin-bottom: 2rem; }
.member-role-header { color: var(--color-band-1); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0; }
.interests-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.interests-list li {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.9rem;
  background: linear-gradient(90deg, var(--color-band-1), var(--color-band-2));
  color: var(--color-warm-white);
}
.member-contact { padding-top: 2rem; border-top: 1px solid var(--color-cream); }

@media (max-width: 768px) { .member-content { flex-direction: column; } }

/* Publications */
.publications-list { padding: 5rem 0; }
.publication-category { margin-bottom: 4rem; }
.publication-category h2 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.publication-category h2::before {
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-band-1), var(--color-band-2));
}
.publication-category:nth-child(2) h2::before { background: linear-gradient(135deg, var(--color-band-2), var(--color-band-3)); }
.publication-category:nth-child(3) h2::before { background: linear-gradient(135deg, var(--color-band-3), var(--color-band-4)); }

/* Text & utilities */
.text p, .text ul, .text ol { margin-bottom: 1rem; }
.text ul { list-style: disc; margin-left: 1.5rem; }
.text ol { list-style: decimal; margin-left: 1.5rem; }
.text a { color: var(--color-band-1); text-decoration: underline; }

.key-questions { background: var(--color-cream); padding: 2rem; margin-top: 2rem; }
.key-questions h3 { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--color-band-2); margin-bottom: 1rem; }

.alumni-list { display: flex; flex-wrap: wrap; gap: 1rem; }
.alumni-item { flex: 0 0 calc(33% - 0.7rem); padding: 1rem; background: var(--color-cream); }
.alumni-name { font-weight: 600; display: block; }
.alumni-position { font-size: 0.85rem; color: var(--color-text-muted); }

@media (max-width: 700px) { .alumni-item { flex: 0 0 100%; } }

/* ==========================================================================
   TALKS & SEMINARS
   ========================================================================== */
.talks-list { padding: 5rem 0; }
.talks-year { margin-bottom: 3rem; }
.talks-year h2 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.talks-year h2::before {
  content: '';
  width: 12px; height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-band-1), var(--color-band-2));
}

.talks-items { list-style: none; }
.talk-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-cream);
}
.talk-item:last-child { border-bottom: none; }

.talk-date {
  flex: 0 0 60px;
  text-align: center;
  background: var(--color-cream);
  padding: 0.75rem 0.5rem;
  border-radius: 4px;
  height: fit-content;
}
.talk-day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-charcoal);
}
.talk-month {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.talk-content { flex: 1; }
.talk-type {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
  background: var(--color-cream);
  color: var(--color-text-muted);
}
.talk-type-conference { background: var(--color-band-1); color: var(--color-warm-white); }
.talk-type-seminar { background: var(--color-band-2); color: var(--color-warm-white); }
.talk-type-colloquium { background: var(--color-band-3); color: var(--color-charcoal); }
.talk-type-workshop { background: var(--color-band-4); color: var(--color-charcoal); }
.talk-type-public { background: #5B5B9B; color: var(--color-warm-white); }
.talk-type-defense { background: #4B4B8B; color: var(--color-warm-white); }

.talk-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  text-transform: none;
}
.talk-speaker {
  font-weight: 500;
  color: var(--color-charcoal);
  margin-bottom: 0.2rem;
}
.talk-event {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.talk-location { margin-left: 0.5rem; }
.talk-location::before { content: '— '; }

.talk-links {
  margin-top: 0.75rem;
  display: flex;
  gap: 1rem;
}
.talk-link {
  font-size: 0.8rem;
  color: var(--color-band-1);
  text-decoration: underline;
  transition: color 0.2s;
}
.talk-link:hover { color: var(--color-band-2); }

@media (max-width: 600px) {
  .talk-item { flex-direction: column; gap: 1rem; }
  .talk-date { flex: 0 0 auto; width: 60px; }
}

/* ==========================================================================
   MEMBER PROFILE - Publications & Talks sections
   ========================================================================== */
.member-publications,
.member-talks {
  padding: 3rem 0;
  border-top: 1px solid var(--color-cream);
}
.member-publications h2,
.member-talks h2 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.member-publications h2::before,
.member-talks h2::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-band-1), var(--color-band-2));
}
.member-talks .talk-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.member-talks .talk-title a:hover {
  color: var(--color-band-1);
}
.see-more {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}
.see-more a {
  color: var(--color-band-1);
  text-decoration: underline;
}
