:root {
  --ink: #111111;
  --paper: #f5f1ea;
  --accent: #b5651d;
  --muted: #5d5a55;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { height: 100%; }

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.55;
  background: var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(50rem 32rem at 50% 12%, #fffaf0 0%, rgba(255, 250, 240, 0) 65%),
    radial-gradient(40rem 24rem at 90% 100%, rgba(181, 101, 29, 0.10) 0%, rgba(181, 101, 29, 0) 70%);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem 2rem;
  gap: 1.5rem;
}

.logo {
  width: min(420px, 72vw);
  height: auto;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(181, 101, 29, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 5.5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 22ch;
}

.lead {
  max-width: 46ch;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--muted);
}

.areas {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0.8rem;
}

.areas li {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.cta {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.85rem 1.6rem;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  text-decoration: none;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  background: transparent;
  color: var(--ink);
}

.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.en {
  max-width: 46ch;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
}

footer {
  padding: 1.25rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

/* Ingresso graduale */
main > * {
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.8s ease forwards;
}
main > :nth-child(1) { animation-delay: 0.05s; }
main > :nth-child(2) { animation-delay: 0.20s; }
main > :nth-child(3) { animation-delay: 0.35s; }
main > :nth-child(4) { animation-delay: 0.50s; }
main > :nth-child(5) { animation-delay: 0.65s; }
main > :nth-child(6) { animation-delay: 0.80s; }
main > :nth-child(7) { animation-delay: 0.95s; }

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

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(181, 101, 29, 0.5); }
  70%  { box-shadow: 0 0 0 0.7rem rgba(181, 101, 29, 0); }
  100% { box-shadow: 0 0 0 0 rgba(181, 101, 29, 0); }
}

@media (prefers-reduced-motion: reduce) {
  main > * { opacity: 1; transform: none; animation: none; }
  .dot { animation: none; }
  .cta { transition: none; }
}
