/* Minimal styles for a buildless, single-column photo timeline */

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0 auto;
  max-width: 100%;
  background: #000;
  color: rgb(255, 255, 0);
  font-family: "Roboto Condensed", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Header */
.site-header {
  position: fixed;
  height: 112px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  background-image: linear-gradient(180deg, #000 12%, rgba(0, 0, 0, 0) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgb(76, 76, 12);
  transform: translateZ(0);
}

.header-inner {
  width: 100%;
  height: 80px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 80px;
  aspect-ratio: 233 / 80;
  display: block;

  -webkit-mask-image: url('/assets/logo.svg');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  -webkit-mask-size: contain;
  mask-image: url('/assets/logo.svg');
  mask-repeat: no-repeat;
  mask-position: left center;
  mask-size: contain;

  --rainbow: linear-gradient(90deg,
    #ff004c 0%,
    #ff7a00 14%,
    #ffee00 28%,
    #00e05b 42%,
    #00c6ff 57%,
    #7a5cff 71%,
    #ff2dfd 85%,
    #ff004c 100%
  );
  background-image: var(--rainbow);
  background-size: 200% 200%;
  background-position: 0% 50%;
  animation: logo-rainbow-pan 4s linear infinite;
}

@keyframes logo-rainbow-pan {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .logo { animation: none; }
}

.cta-mail {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgb(255, 255, 0);
}

.cta-mail img {
  display: block;
  width: 20px;
  height: 20px;
}

main {
  max-width: 672px;
  margin: 0 auto;
  padding: 144px 16px 0px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 72px;
}

.meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
}
.title { font-size: 16px; text-transform: uppercase; }
.date { font-size: 16px; text-transform: uppercase; }

.thumb {
  width: 100%;
  aspect-ratio: 1 / 1; 
  object-fit: cover;
  background: #000;
}

.skeleton-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.skeleton-text {
  height: 19px;
  background: #222;
}

.skeleton-title { width: 124px; }
.skeleton-date { width: 104px; }

.skeleton-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #222;
}

.skeleton-item .skeleton-text,
.skeleton-item .skeleton-thumb {
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    background-color: #222;
  }
  50% {
    background-color: #2a2a2a;
  }
}

.empty-state,
.no-more {
  text-align: center;
  padding: 12px 0;
  text-transform: uppercase;
}

.actions {
  display: flex;
  justify-content: center;
  padding: 16px 0;
}
.actions #load-more {
  appearance: none;
  background: transparent;
  color: rgb(255, 255, 0);
  border: 2px solid rgb(255, 255, 0);
  border-radius: 9999px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 44px;
  font: inherit;
  text-transform: uppercase;
}

.actions #load-more:disabled {
  background: transparent;
  border: none;
  color: rgb(255, 255, 0);
  width: auto;
  height: auto;
  border-radius: 0;
  cursor: default;
  opacity: 1;
  font-size: 16px;
}
