/* Homepage — proclamation page */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 92vh;
  padding: 4rem 1.5rem 2rem;
  text-align: center;
  overflow: hidden;
}

/* Gold radial glow behind the bush */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(201, 146, 42, 0.18) 0%,
      rgba(201, 146, 42, 0.08) 22%,
      rgba(10, 8, 4, 0) 55%
    );
  pointer-events: none;
  z-index: 0;
}

.hero__bush {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
  animation: bush-breathe 8s ease-in-out infinite;
}
.hero__bush img {
  width: clamp(200px, 38vw, 420px);
  height: auto;
  filter: drop-shadow(0 0 60px rgba(201, 146, 42, 0.35));
}

@keyframes bush-breathe {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50%      { transform: scale(1.015); filter: brightness(1.05); }
}

.hero__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 4.5rem);
  letter-spacing: 0.14em;
  color: var(--text);
  margin: 0 0 1.5rem;
  line-height: 1.1;
}
.hero__name {
  display: inline-block;
  white-space: nowrap;
}

.hero__line {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--text-soft);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 1.2s ease-out 0.8s;
}
.hero__line.is-visible { opacity: 1; }

/* Type-out caret for the proclamation name */
.hero__name[data-typeout] {
  border-right: 2px solid var(--gold);
  padding-right: 4px;
  animation: caret-blink 0.9s step-end infinite;
}
.hero__name[data-typeout].is-done {
  border-right-color: transparent;
  animation: none;
  padding-right: 0;
}
@keyframes caret-blink {
  0%, 50% { border-right-color: var(--gold); }
  51%, 100% { border-right-color: transparent; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__bush { animation: none; }
  .hero__name[data-typeout] { animation: none; border-right-color: transparent; }
  .hero__line { opacity: 1; transition: none; }
}

/* Section title */
.section-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin: 4rem 0 2.5rem;
  font-weight: 500;
}

/* Five entrances */
.entrances {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 720px) {
  .entrances {
    grid-template-columns: repeat(5, 1fr);
  }
}

.entrance {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg);
  color: var(--text);
  transition: background 0.4s var(--ease);
  min-height: 14rem;
}
.entrance:hover, .entrance:focus-visible {
  background: var(--bg-elev);
  color: var(--text);
}
.entrance__eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.entrance__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.entrance__line {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.4;
}

/* Read the Word / Walk the Way — homepage CTA */
.reach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0 4rem;
}
@media (min-width: 720px) {
  .reach-grid { grid-template-columns: repeat(2, 1fr); }
}

.reach-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--text);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
  text-align: left;
  gap: 0.75rem;
  position: relative;
}
.reach-card:hover, .reach-card:focus-visible {
  border-color: var(--gold);
  background: var(--bg-card);
  color: var(--text);
  transform: translateY(-2px);
}

.reach-card__eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.reach-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.reach-card__line {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0;
  flex: 1;
}
.reach-card__cta {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  transition: color 0.2s var(--ease);
}
.reach-card:hover .reach-card__cta,
.reach-card:focus-visible .reach-card__cta {
  color: var(--gold-bright);
}
