/* =============================================
   RESULTS.CSS — results.html Specific Styles
   Inherits root scale & globals from base.css
   ============================================= */

/* =============================================
   RESULTS HERO
   ============================================= */
.results-hero {
  background-color: var(--brand-navy);
  background-image:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(201, 166, 70, 0.05) 0%,
      transparent 50%
    ),
    linear-gradient(to right, rgba(15, 34, 64, 0.9), rgba(15, 34, 64, 0.6));
  color: #ffffff;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s ease;
}

[data-theme="dark"] .results-hero {
  background-color: var(--brand-navy);
}

.results-hero .section-overline-master {
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  font-family: var(--body-font);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: none;
}

.results-hero .section-overline-master::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background-color: var(--accent-gold);
}

.results-hero h1 {
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.results-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.3rem;
  max-width: 40rem;
  line-height: 1.8;
}

.results-hero .container {
  position: relative;
  z-index: 2;
}

.results-hero .results-hero-watermark {
  position: absolute;
  right: -12%;
  top: 50%;
  transform: translateY(-50%);
  width: 53.125rem; /* 850px at 16px */
  pointer-events: none;
  z-index: 1;
}

.results-hero .results-hero-watermark img {
  width: 100%;
  height: auto;
  opacity: 0.05;
  filter: brightness(0) invert(1);
  transition: opacity 0.4s ease;
}

/* =============================================
   TESTIMONIALS SECTION (Logbook)
   ============================================= */
.outcomes-section {
  background-color: var(--bg-color);
  transition: background-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.logbook-list {
  display: flex;
  flex-direction: column;
  gap: 6rem; /* Breathing space between logbook entries */
  max-width: 55rem;
  margin: 0 auto;
}

.logbook-entry {
  position: relative;
  background-color: transparent;
  padding: 3rem 0;
  text-align: center;
}

/* Large Gold Quote Mark */
.logbook-entry::before {
  content: "“";
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--heading-font);
  font-size: 8rem;
  line-height: 1;
  color: var(--accent-gold);
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.review-text {
  position: relative;
  z-index: 1;
  font-family: var(--body-font);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--heading-color);
  margin-bottom: 2rem;
}

.reviewer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.student-name {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.student-cohort {
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: #888888;
  letter-spacing: 1px;
}

/* Gold Diamond Divider (Used between entries) */
.logbook-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 15rem;
  margin: 0 auto;
  opacity: 0.6;
}

.logbook-divider-line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--accent-gold);
}

.logbook-divider-diamond {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--accent-gold);
  transform: rotate(45deg);
  margin: 0 1rem;
}

/* =============================================
   CTA SECTION
   ============================================= */
.results-cta-section {
  background-color: var(--brand-navy);
  background-image: radial-gradient(
    circle at center,
    rgba(201, 166, 70, 0.05) 0%,
    transparent 70%
  );
  text-align: center;
  color: var(--brand-ivory);
  padding-bottom: 5.263rem;
  margin-bottom: 0;
  transition: background-color 0.4s ease;
}

.results-cta-section h2 {
  font-family: var(--heading-font);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--brand-ivory);
  max-width: none;
  margin: 0 auto 3rem;
  line-height: 1.4;
}

.results-cta-section .cta-voice {
  color: var(--accent-gold);
  font-style: italic;
}

/* =============================================
   MOBILE OVERRIDES (≤768px)
   ============================================= */
@media (max-width: 768px) {
  .results-hero {
    min-height: 65vh;
    padding: 4.211rem 5%;
  }

  .results-hero h1 {
    font-size: 2.5rem;
  }

  .results-hero-watermark {
    right: -25%;
    width: 80%;
  }

  .logbook-list {
    gap: 4rem;
  }

  .review-text {
    font-size: 1.25rem;
  }

  .logbook-entry::before {
    font-size: 6rem;
    top: -1rem;
  }

  .results-cta-section h2 {
    font-size: 2rem;
  }
}
