/* ==========================================================================
   TABLET STYLES (600px - 1024px)
   Overrides for tablets - loaded via media query
   Keeps animations, adjusts layout
   ========================================================================== */

/* --- KEEP ANIMATIONS but slower for battery --- */
.bayer-wormhole {
  animation-duration: 120s !important; /* Slower rotation */
}

.bauhaus-bands .band {
  animation-duration: 150s !important; /* Slower bands */
}

/* --- HAMBURGER MENU TOGGLE --- */
.menu-toggle {
  display: block !important;
  position: absolute !important;
  top: 1.5rem !important;
  right: 2rem !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 2001;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  transform: none !important;
  animation: none !important;
}

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

.header-bar .menu-toggle span {
  background: var(--color-charcoal);
}

/* --- HOME PAGE ADJUSTMENTS --- */
.header-home {
  pointer-events: none;
}

.header-home .logo {
  pointer-events: auto !important;
  top: 2rem;
  left: 2rem;
}

.header-home .menu-toggle {
  pointer-events: auto !important;
}

.header-home .corner-contact {
  pointer-events: auto !important;
  bottom: 2rem;
  right: 2rem;
}

/* Make sure hero doesn't block clicks */
.hero,
.hero-visual,
.bayer-wormhole {
  pointer-events: none !important;
}

/* --- RADIAL MENU → SIDE PANEL --- */
.menu-radial {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  bottom: 0 !important;
  width: 320px !important;
  height: 100% !important;
  background: rgba(58, 51, 48, 0.97) !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s ease !important;
  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;
  animation: none !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;
  animation: none !important;
  padding: 1rem 2rem;
  font-size: 1.25rem !important;
  color: var(--color-warm-white) !important;
  text-align: center;
  width: 100%;
}

.menu-radial a:hover {
  font-size: 1.25rem !important;
  background: rgba(255, 255, 255, 0.1);
}

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

/* --- HORIZONTAL MENU → SIDE PANEL --- */
.menu-horizontal {
  position: fixed !important;
  top: 0;
  right: 0;
  left: auto;
  bottom: 0;
  width: 320px;
  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.25rem;
  color: var(--color-warm-white);
  text-align: center;
  width: 100%;
}

/* --- HERO / WORMHOLE --- */
.bayer-wormhole {
  width: min(70vh, 500px) !important;
  height: min(70vh, 500px) !important;
}

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

.research-panel {
  flex: none;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

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

.area-figure-side {
  max-width: 500px;
  margin: 0 auto;
}

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

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

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

/* --- FOOTER --- */
.footer-content {
  flex-wrap: wrap;
  gap: 2rem;
}
