/* index.css */

.hero {
  padding-top: 2.8rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: var(--accent-soft);
  margin-bottom: 0.9rem;
}

.hero__title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.05;
  margin-bottom: 0.7rem;
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.hero__stats {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.hero__stat-key {
  color: var(--accent-soft);
  margin-right: 0.25rem;
}

.hero__photo-wrap {
  position: relative;
}

.hero__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) * 1.15);
  box-shadow: var(--shadow-soft);
}

/* orange ring behind hero photo */
.hero__halo {
  position: absolute;
  inset: 10% -8% -16%;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.1), transparent 62%),
    radial-gradient(circle at 70% 100%, rgba(255, 122, 26, 0.45), transparent 70%);
  opacity: 0.9;
  filter: blur(10px);
  z-index: -1;
}

/* "sections" from your sketch */

.section--about .split__content p + p {
  margin-top: 0.6rem;
}

.section--mission blockquote {
  margin-top: 1rem;
  padding-left: 1.1rem;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-style: italic;
}

.section--book .split__content > p + p {
  margin-top: 0.65rem;
}

.section--links ul {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.section--links a {
  color: var(--accent-soft);
  text-decoration: none;
  position: relative;
}

.section--links a::after {
  content: "↗";
  margin-left: 0.35rem;
  font-size: 0.8em;
  opacity: 0.8;
}

/* small number tags to mirror your sketch (1–6) */
.section-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.4rem;
}

/* responsive */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__photo-wrap {
    order: -1;
  }
}

.transition-center {
  text-align: center;
}

.transition-center .section__intro {
  margin-left: auto;
  margin-right: auto;
}

/* Section 05 panel sizing + spacing */
.links-panel {
  max-width: 860px;          /* smaller box */
  margin: 0 auto;            /* centered */
  padding: 2.2rem 2.5rem;    /* inner spacing like your other panels */
}

/* Make sure the label/title don't hug the edges on small screens */
@media (max-width: 600px) {
  .links-panel {
    padding: 1.7rem 1.4rem;
  }
}


/* ---------- FREEBIE MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.modal--open {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.modal__panel {
  position: relative;
  width: min(620px, calc(100% - 2rem));
  margin: 9vh auto 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top left, #2f1a10 0, #050505 55%);
  box-shadow: var(--shadow-soft);
  padding: 1.8rem 1.8rem 1.6rem;
}

.modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  font-size: 1.3rem;
  line-height: 1;
}

.modal__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-main);
  box-shadow: none;
}
.btn--ghost:hover {
  transform: translateY(-1px);
}

