body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

/* ── hero wrapper ── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

/* ── animations ── */
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadein-sub {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0);   }
}

@keyframes line-expand {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(0, 168, 70, 0.4); }
  50%       { box-shadow: 0 0 0 7px rgba(0, 168, 70, 0);   }
}

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

@media (prefers-reduced-motion: reduce) {
  .wordmark, .tagline, .cta, .divider, .timeline {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ── brackets ── */
.bracket {
  color: #00a846;
  font-weight: 400;
  display: inline-block;
  font-size: 0.8em;
  position: relative;
  top: -0.18em;
}

/* ── title ── */
.wordmark {
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-wrap: balance;
  line-height: 1;
  color: var(--fg);
  opacity: 0;
  animation: fadein var(--fade-dur) var(--fade-ease) forwards;
}

/* ── divider ── */
.divider {
  display: block;
  align-self: stretch;
  height: 2px;
  background-color: #00a846;
  border: none;
  outline: none;
  margin: 0 2.5rem;
  padding: 0;
  transform: scaleX(0);
  transform-origin: center;
  animation: line-expand 0.7s var(--fade-ease) calc(var(--fade-dur) + 0.1s) forwards;
}

/* ── tagline ── */
.tagline {
  font-size: clamp(0.82rem, 2vw, 1.05rem);
  font-weight: 400;
  color: var(--fg);
  opacity: 0;
  max-width: 58ch;
  line-height: 1.6;
  filter: opacity(0.62);
  animation: fadein-sub 0.9s ease calc(var(--fade-dur) + 0.3s) forwards;
}

/* ── cta button ── */
.cta {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.55em 1.6em;
  border: 2.5px solid #00a846;
  border-radius: 2px;
  color: #00a846;
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: clamp(0.75rem, 1.6vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  opacity: 0;
  animation:
    fadein-sub 0.9s ease calc(var(--fade-dur) + 0.6s) forwards,
    cta-pulse  2.6s ease-in-out calc(var(--fade-dur) + 1.5s) infinite;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  background-color: #00a846;
  color: #ffffff;
  outline: none;
  opacity: 1;
  animation: none;
}

/* ── timeline horizontal ── */
.timeline {
  align-self: stretch;
  margin: 3rem 2.5rem 0;
  opacity: 0;
  animation: timeline-in 0.9s ease calc(var(--fade-dur) + 0.9s) forwards;
}

.timeline-track {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 3.5rem;
}

/* línea horizontal */
.timeline-track::before {
  content: '';
  position: absolute;
  top: 4px; /* centra con el dot de 9px */
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, #00a846 65%, transparent 100%);
}

.timeline-point,
.timeline-future {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.timeline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #00a846;
  flex-shrink: 0;
  margin-bottom: 0.3rem;
}

.timeline-dot--open {
  background-color: transparent;
  border: 1.5px solid #00a846;
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  text-align: left;
}

.timeline-date {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00a846;
  white-space: nowrap;
}

.timeline-label {
  font-size: 0.82rem;
  color: var(--fg);
  filter: opacity(0.72);
  white-space: nowrap;
}

.timeline-growing {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--fg);
  filter: opacity(0.78);
  white-space: nowrap;
  padding-top: 0.1rem;
}
