/*
 * goose-updates.com styles.
 * Author: John Sorenson and Cursor
 * Created: 2026-07-15
 */

:root {
  --cream: #f7efe6;
  --peach: #f0d5c4;
  --blush: #e8b9a4;
  --ink: #3a2f2a;
  --muted: #7a655c;
  --line: rgba(58, 47, 42, 0.14);
  --hero-top: #f6dccf;
  --hero-bottom: #f7efe6;
}

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

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(255, 255, 255, 0.55), transparent 60%),
    linear-gradient(180deg, var(--hero-bottom), #f3e8de 40%, #efe4d8);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 8vw, 4.5rem) 1.5rem clamp(1.75rem, 4vw, 2.5rem);
  background:
    radial-gradient(ellipse 80% 70% at 70% 20%, rgba(255, 255, 255, 0.45), transparent 55%),
    linear-gradient(165deg, var(--hero-top), var(--peach) 45%, var(--hero-bottom));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.hero-inner {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 2rem);
}

.plush {
  width: clamp(7.5rem, 22vw, 11rem);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 18px rgba(90, 60, 40, 0.18));
  animation: float-in 900ms ease-out both;
}

.hero-text {
  animation: rise-in 900ms ease-out 120ms both;
}

.brand {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
  font-size: clamp(1.85rem, 5.5vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.tagline {
  margin: 0.65rem 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 500;
  color: var(--muted);
}

.feed {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0.5rem 1.5rem 4rem;
}

.status {
  margin: 2rem 0;
  color: var(--muted);
  font-style: italic;
}

.post {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  animation: rise-in 500ms ease-out both;
}

.post:first-of-type {
  border-top: 1px solid var(--line);
}

.post-text {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  font-weight: 400;
}

.post-time {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .post {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .post-time {
    white-space: normal;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .plush,
  .hero-text,
  .post {
    animation: none;
  }
}
