/* ═══════════════════════════════════════════
   TEMPUS TUUM — REVIEWS PAGE STYLESHEET
   Supplements style.css.
   Do not replace it — load both.
   <link rel="stylesheet" href="style.css" />
   <link rel="stylesheet" href="reviews.css" />
═══════════════════════════════════════════ */


/* ─────────────────────────────────────────
   NAV ACTIVE LINK
   Highlights "Reviews" in nav
   when on this page.
───────────────────────────────────────── */
.nav__link--active {
  color: var(--white) !important;
  position: relative;
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100% !important;
  height: 1.5px;
  background: var(--gold);
}


/* ─────────────────────────────────────────
   PAGE HERO
───────────────────────────────────────── */
.rv-hero {
  background: var(--dark-2);
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle glow — matches index hero */
.rv-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 520px;
  max-height: 520px;
  background: radial-gradient(
    circle,
    rgba(3, 51, 242, 0.18) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.rv-hero__content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.rv-hero__content h1 {
  color: var(--white);
  margin-top: 0.5rem;
}

.rv-hero__content h1 em {
  color: var(--gold);
  font-style: italic;
}

.rv-hero__sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  max-width: 520px;
  margin-top: 1.25rem;
  line-height: 1.78;
}


/* ─────────────────────────────────────────
   PULL QUOTE BANNER
   Full-width dark band.
   Single most powerful line
   from all reviews.
───────────────────────────────────────── */
.rv-banner {
  background: var(--blue);
  padding: 3rem 0;
}

.rv-banner__quote {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  line-height: 1.45;
  max-width: 820px;
  border: none;
  padding: 0;
  margin: 0;
}

.rv-banner__cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1.1rem;
}


/* ─────────────────────────────────────────
   REVIEWS SECTION — WRAPPER
───────────────────────────────────────── */
.rv-reviews {
  padding: 5rem 0 4rem;
  background: var(--white);
}

@media (min-width: 768px) {
  .rv-reviews {
    padding: 6rem 0 5rem;
  }
}


/* ─────────────────────────────────────────
   INDIVIDUAL REVIEW BLOCK
───────────────────────────────────────── */
.rv-review {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--grey-mid);
  position: relative;
}

.rv-review:first-child {
  padding-top: 0;
}

.rv-review:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .rv-review {
    grid-template-columns: 72px 1fr;
    gap: 2.5rem;
    padding: 3.5rem 0;
  }
}


/* ─────────────────────────────────────────
   REVIEW NUMBER
───────────────────────────────────────── */
.rv-review__number {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 700;
  color: rgba(3, 51, 242, 0.08);
  line-height: 1;
  letter-spacing: -0.02em;
  user-select: none;

  /* On mobile — sits above content */
  display: block;
}

@media (min-width: 768px) {
  .rv-review__number {
    /* On desktop — sits left of content,
       aligned to top of pull quote */
    padding-top: 0.35rem;
    text-align: right;
  }
}


/* ─────────────────────────────────────────
   REVIEW BODY
───────────────────────────────────────── */
.rv-review__body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}


/* ─────────────────────────────────────────
   PULL QUOTE — large italic line
───────────────────────────────────────── */
.rv-review__pull {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  font-weight: 600;
  color: var(--dark-2);
  line-height: 1.4;
  border: none;
  padding: 0;
  margin: 0;
  position: relative;
}

/* Opening quote mark */
.rv-review__pull::before {
  content: '\201C';
  font-size: 4.5rem;
  color: var(--blue);
  opacity: 0.15;
  position: absolute;
  top: -1.2rem;
  left: -0.5rem;
  font-style: normal;
  line-height: 1;
  pointer-events: none;
}

@media (min-width: 768px) {
  .rv-review__pull::before {
    left: -1rem;
  }
}


/* ─────────────────────────────────────────
   FULL REVIEW TEXT
───────────────────────────────────────── */
.rv-review__full {
  font-size: clamp(0.93rem, 2vw, 1.02rem);
  color: var(--grey);
  line-height: 1.85;
  max-width: 680px;

  /* Preserve paragraph breaks
     if the review has them */
  white-space: pre-line;
}


/* ─────────────────────────────────────────
   ATTRIBUTION
───────────────────────────────────────── */
.rv-review__attr {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(3, 51, 242, 0.1);
  max-width: 680px;
}

.rv-review__name {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark-2);
  letter-spacing: 0.01em;
}

.rv-review__role {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


/* ─────────────────────────────────────────
   CLOSING CTA SECTION
───────────────────────────────────────── */
.rv-cta {
  background: var(--dark-2);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

/* Glow accent */
.rv-cta::before {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  max-width: 480px;
  max-height: 480px;
  background: radial-gradient(
    circle,
    rgba(3, 51, 242, 0.15) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.rv-cta__inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.rv-cta__inner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
}

.rv-cta__inner p {
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  margin-top: 1rem;
  line-height: 1.75;
}


/* ─────────────────────────────────────────
   RESPONSIVE — TABLET
───────────────────────────────────────── */
@media (min-width: 640px) {
  .rv-hero {
    padding: 10rem 0 6rem;
  }

  .rv-banner {
    padding: 3.5rem 0;
  }

  .rv-cta {
    padding: 6rem 0;
  }
}


/* ─────────────────────────────────────────
   RESPONSIVE — DESKTOP
───────────────────────────────────────── */
@media (min-width: 1024px) {
  .rv-hero {
    padding: 11rem 0 7rem;
  }

  .rv-reviews {
    padding: 7rem 0 6rem;
  }

  .rv-review {
    padding: 4rem 0;
  }
}


/* ─────────────────────────────────────────
   PRINT
───────────────────────────────────────── */
@media print {
  .rv-hero,
  .rv-banner,
  .rv-cta,
  .nav,
  .footer {
    background: none !important;
  }

  .rv-hero__content h1,
  .rv-banner__quote,
  .rv-review__pull {
    color: #000 !important;
  }

  .rv-review {
    page-break-inside: avoid;
    break-inside: avoid;
  }
}
