:root {
  --bg: #f2f2ed;
  --ink: #5d5c43;
  --line: rgba(93,92,67,.55);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100svh;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding:
    max(24px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
}

.hero {
  width: min(100%, 1180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 3vw, 38px);
}

.art {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 760px);
  max-height: min(78svh, 820px);
  object-fit: contain;
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp .6s ease-out .08s forwards;
}

.links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  opacity: 0;
  animation: fadeUp .6s ease-out .26s forwards;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: clamp(.72rem, 1vw, .9rem);
  line-height: 1;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: opacity .2s ease, transform .2s ease;
}

.links a:hover {
  opacity: .7;
  transform: translateY(-1px);
}

.links svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.divider {
  width: 1px;
  height: 24px;
  background: var(--line);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 680px) {
  .hero {
    gap: 22px;
  }

  .art {
    max-width: 94vw;
    max-height: 69svh;
  }

  .links {
    flex-direction: column;
    gap: 15px;
  }

  .divider {
    width: 38px;
    height: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .art, .links {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
