/* ============================================
   gadeta.dev — Indie toy catalog aesthetic
   White base, punchy type, playful details
   ============================================ */

:root {
  --c-ink: #1a1a1a;
  --c-body: #444;
  --c-dim: #999;
  --c-border: #e4e4e4;
  --c-bg: #fdfdfd;
  --c-card: #fafafa;
  --c-accent: #e03e2d;
  --ff-display: 'Outfit', sans-serif;
  --ff-body: 'Zen Kaku Gothic New', sans-serif;
  --ff-logo: 'Shippori Antique B1', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-ink); }
img { max-width: 100%; display: block; }

main {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}

/* ---- Hero ---- */
.hero {
  padding: 3rem 0 2rem;
  position: relative;
}

.logo {
  margin-bottom: 0.6rem;
}
.logo__img {
  width: 160px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* bg color matched to GIF background (#fdfdfd) */
}
.logo__img:hover {
  transform: rotate(-2deg) scale(1.06);
}
.logo__img:active {
  transform: scale(0.94);
}

.tagline {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--c-dim);
}

/* ---- Section Title ---- */
.section-title {
  font-family: var(--ff-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--c-ink);
  display: inline-block;
}

/* ---- Lineup (Services) ---- */
.lineup {
  margin-bottom: 3rem;
}

.lineup__grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  color: var(--c-ink);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-bg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service:hover {
  border-color: var(--c-accent);
  box-shadow: 0 2px 12px rgba(224, 62, 45, 0.08);
  transform: translateY(-1px);
}
.service:active {
  transform: scale(0.985);
}

.service__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--c-card);
  padding: 4px;
}

.service__info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.service__name {
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.3;
}

.service__desc {
  font-size: 0.75rem;
  color: var(--c-dim);
  line-height: 1.4;
}

.service__arrow {
  margin-left: auto;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--c-dim);
  transition: color 0.2s ease, transform 0.2s ease;
}
.service:hover .service__arrow {
  color: var(--c-accent);
  transform: translate(2px, -2px);
}

/* ---- About ---- */
.about {
  margin-bottom: 3rem;
}
.about__text {
  font-size: 0.88rem;
  line-height: 2;
  color: var(--c-body);
}
.about__text strong {
  font-weight: 700;
  color: var(--c-ink);
}

/* ---- Articles ---- */
.articles {
  margin-bottom: 3rem;
}
.articles ul {
  list-style: none;
  padding: 0;
}
.articles li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--c-border);
}
.articles li:last-child {
  border-bottom: none;
}
.articles li a {
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--c-ink);
  transition: color 0.2s ease;
}
.articles li a:hover {
  color: var(--c-accent);
}

.muted {
  color: var(--c-dim);
  font-size: 0.82rem;
  font-style: italic;
}

/* ---- Footer ---- */
footer {
  max-width: 520px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--c-border);
  font-family: var(--ff-display);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--c-dim);
}

/* ---- Stagger fade-in on load ---- */
.hero, .lineup, .about, .articles, footer {
  animation: fadeUp 0.6s ease both;
}
.lineup   { animation-delay: 0.08s; }
.about    { animation-delay: 0.16s; }
.articles { animation-delay: 0.24s; }
footer    { animation-delay: 0.32s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Desktop ---- */
@media (min-width: 640px) {
  main { padding-top: 1rem; }
  .hero { padding: 4rem 0 2.5rem; }
  .logo__img { width: 180px; }
  .service { padding: 0.85rem 1rem; }
  .service__icon { width: 64px; height: 64px; }
  .service__name { font-size: 0.95rem; }
}
