/* ==========================================================================
   PHONE STYLES (<600px)
   Overrides for mobile phones - loaded via media query
   ========================================================================== */

/* --- DISABLE ALL ANIMATIONS --- */
.bayer-wormhole,
.menu-radial,
.menu-radial a,
.bauhaus-bands .band {
  animation: none !important;
}

/* --- HAMBURGER MENU TOGGLE --- */
.menu-toggle {
  display: block !important;
  position: absolute !important;
  top: 1.5rem !important;
  right: 1.5rem !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 2001 !important;
  background: none;
  border: none;
  cursor: pointer;
  pointer-events: auto !important;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  transform: none !important;
  animation: none !important;
  -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-warm-white);
  margin: 6px 0;
  transition: 0.3s;
}

/* Dark hamburger on subpages */
.header-bar .menu-toggle span {
  background: var(--color-charcoal);
}

/* --- HOME PAGE HEADER --- */
.header-home {
  pointer-events: none;
  z-index: 1000 !important;
}

.header-home .logo {
  pointer-events: auto !important;
  position: absolute !important;
  z-index: 2001 !important;
}

.header-home .menu-toggle {
  pointer-events: auto !important;
  position: absolute !important;
  top: 1.5rem !important;
  right: 1.5rem !important;
  z-index: 2001 !important;
}

.header-home .corner-contact {
  pointer-events: auto !important;
  z-index: 2001 !important;
}

.header-home .logo {
  top: 1.5rem;
  left: 1.5rem;
  font-size: 0.9rem;
}

.header-home .corner-contact {
  display: none; /* Hide corner contact on phone, it's in menu */
}

/* --- RADIAL MENU → FULLSCREEN OVERLAY --- */
.menu-radial {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(58, 51, 48, 0.97) !important;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.5rem;
  pointer-events: none;
  z-index: 2000 !important;
}

.menu-radial.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.menu-radial a {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  padding: 1rem 2rem;
  font-size: 1.5rem !important;
  color: var(--color-warm-white) !important;
  text-align: center;
  width: 100%;
  max-width: 280px;
}

.menu-radial a:hover {
  font-size: 1.5rem !important; /* No size change on mobile */
  background: rgba(255, 255, 255, 0.1);
}

/* --- SUBPAGE HEADER BAR --- */
.header-bar .header-inner {
  padding: 1rem 1.5rem;
}

.header-bar .logo {
  font-size: 0.9rem;
}

/* --- HORIZONTAL MENU → FULLSCREEN OVERLAY --- */
.menu-horizontal {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(58, 51, 48, 0.97);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  z-index: 2000;
}

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

.menu-horizontal a {
  padding: 1rem 2rem;
  font-size: 1.5rem;
  color: var(--color-warm-white);
  text-align: center;
  width: 100%;
  max-width: 280px;
}

/* --- HERO / WORMHOLE --- */
.hero {
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for mobile browsers */
  pointer-events: none;
}

.hero-visual {
  pointer-events: none !important;
}

.bayer-wormhole {
  width: 280px !important;
  height: 280px !important;
  pointer-events: none !important;
}

/* --- BAUHAUS BANDS --- */
.bauhaus-bands .band {
  height: 6px; /* Thinner bands on mobile */
}

/* --- PAGE HEADERS --- */
.page-header {
  padding: 4rem 0 2rem;
}

.page-header h1 {
  font-size: 2rem;
}

/* --- CONTAINER --- */
.container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- RESEARCH CARDS --- */
.research-cards {
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 0;
}

.research-panel {
  flex: none;
  width: 100%;
}

/* --- RESEARCH AREA DETAIL --- */
.research-area-detail .container {
  grid-template-columns: 1fr !important;
  gap: 2rem;
}

.area-figure-side {
  max-width: 100%;
  order: -1; /* Image first on mobile */
}

/* --- MEMBERS GRID --- */
.members-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.member-card {
  margin-top: 0 !important;
}

/* --- FOOTER --- */
.footer-content {
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 1.5rem;
}

.footer-pages-grid {
  flex-direction: column;
}

.footer-bottom {
  padding: 1.5rem;
  text-align: center;
}
