/* =======================
   QUOTE HERO
   ======================= */
.quote-hero{
  /* image */
  --bg: url('../img/quote.webp');
  --bg-pos: center center;

  position: relative;
  width: 100%;
  min-height: clamp(500px, 58vh, 680px);

  background-image: var(--bg);
  background-size: cover;
  background-position: var(--bg-pos);
  background-repeat: no-repeat;

  /* bottom alignment */
  display: grid;
  grid-template-rows: 1fr auto;  /* push content to the bottom */
}

/* subtle dark-to-bottom overlay for readability */
.quote-hero::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.05) 0%,
    rgba(0,0,0,.45) 55%,
    rgba(0,0,0,.70) 100%
  );
}

/* bottom area */
.quote-hero__content{
  grid-row: 2;
  position: relative;           /* sit above overlay */
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: clamp(24px, 6vw, 48px) clamp(16px, 4vw, 24px);
  margin: 0 auto;
  max-width: min(1200px, 92vw);
}

/* main quote line (italic serif to match the comp) */
.quote-hero__text{
  margin: 0 0 12px 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3.5vw, 44px);
  line-height: 1.28;
  display: inline-block;
  position: relative;
  padding-inline: clamp(36px, 4.5vw, 88px);  /* room for big quotes */
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* big curly quotes on both sides */
.quote-hero__text::before,
.quote-hero__text::after{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(56px, 6vw, 100px);
  line-height: .6;
  color: #ffffff;
  text-shadow: 0 2px 3px rgba(0,0,0,.25);
  opacity: .95;
}
.quote-hero__text::before{ content: "“"; left: 0; transform: translate(-40%, -50%); }
.quote-hero__text::after { content: "”"; right: 0; transform: translate(40%, -50%); }

/* name + school */
.quote-hero__cite{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cite__name{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 18px);
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.cite__title{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(13px, 1.2vw, 16px);
  opacity: .95;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* very small screens: keep quotes tidy */
@media (max-width: 380px){
  .quote-hero__text{
    padding-inline: 28px;
  }
  .quote-hero__text::before{ transform: translate(-30%, -50%); }
  .quote-hero__text::after { transform: translate(30%, -50%); }
}
