/* Site-wide additions on top of each page's own styles. */

/* Phones and tablets: vertical layout only, no layout switch. */
@media (max-width: 1024px), (hover: none) {
  .toggle { display: none !important; }
}

/* One-time "scroll sideways" hint on the horizontal home page. */
.rail-hint {
  position: fixed;
  right: 32px;
  bottom: 104px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 20px;
  border: none;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.9);
  color: #FFFFFF;
  font: 500 14px/1.2 'Inter', system-ui, sans-serif;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.rail-hint.show { opacity: 1; transform: none; }
.rail-hint.hide { opacity: 0; transform: translateX(16px); pointer-events: none; }
.rail-hint .rh-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0C0C0C;
  animation: rh-nudge 1.4s ease-in-out infinite;
}
.rail-hint .rh-x { color: rgba(255,255,255,0.6); font-size: 12px; margin-left: 2px; }
@keyframes rh-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) {
  .rail-hint, .rail-hint .rh-arrow { transition: none; animation: none; }
}
