/* Custom additions on top of Tailwind for layout specifics & animations */

:root{
  --serif: ui-serif, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html,body{
  height:100%;
}

/* Masonry columns for a lightweight masonry layout */
.gallery-columns{
  column-width: 420px;
  column-gap: 1rem;
}

/* prevent breaks inside items */
.break-inside-avoid{
  break-inside: avoid;
}

/* subtle reveal animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up{
  animation: fadeUp 600ms ease forwards;
}

/* ensure hero font choices */
h1,h2,h3,h4{ font-family: var(--serif); }
body{ font-family: var(--sans); }

/* Responsive tweaks */
@media (max-width: 640px){
  .gallery-columns{ column-width: 240px; }
}