.section {
  --forest: #183b2f;
  --lime: #b7d948;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: clamp(34px, 5vw, 68px) 24px clamp(24px, 3vw, 38px);
  color: #f8f6e9;
  background-color: #1e4938;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(5, 28, 22, 0.13) 0,
    rgba(5, 28, 22, 0.13) 92px,
    rgba(139, 174, 97, 0.055) 92px,
    rgba(139, 174, 97, 0.055) 184px
  );
}

.section::before,
.section::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(205, 226, 146, 0.14);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.section::before {
  top: -215px;
  left: -105px;
  width: 390px;
  height: 390px;
}

.section::after {
  right: -145px;
  bottom: -260px;
  width: 480px;
  height: 480px;
}

.inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.branding {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(960px, 100%);
  margin: 0 auto clamp(34px, 5vw, 58px);
}

.logo {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
  padding: 5px;
  border: 1px solid rgba(242, 239, 202, 0.58);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
}

.schoolIdentity { text-align: center; }

.schoolName {
  margin: 0;
  color: #fff9e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.045em;
}

.schoolTagline {
  margin: 5px 0 0;
  color: rgba(244, 241, 219, 0.82);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.schoolTagline span { padding: 0 5px; color: #d7e99b; }

.brandNote {
  margin: 0;
  color: #d5e29a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.45;
  text-align: right;
}

.cardWrap {
  position: relative;
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 9px;
  border: 2px dashed rgba(194, 222, 81, 0.9);
  border-radius: 34px;
}

.card {
  position: relative;
  display: flex;
  min-height: 450px;
  flex-direction: column;
  align-items: center;
  padding: 112px clamp(24px, 8vw, 108px) 42px;
  border-radius: 26px;
  background: #fffefa;
  color: #294739;
  text-align: center;
  box-shadow: 0 26px 60px rgba(3, 24, 17, 0.2);
}

.familyPhotoPlaceholder {
  position: absolute;
  top: -60px;
  left: 50%;
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  transform: translateX(-50%);
  border: 5px solid var(--lime);
  border-radius: 50%;
  background: #e9f0d7;
  box-shadow: 0 8px 20px rgba(25, 55, 40, 0.18);
}

.familyPhotoPlaceholder svg {
  width: 76px;
  height: 76px;
  fill: rgba(65, 105, 75, 0.12);
  stroke: #557552;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.eyebrow {
  margin: 0 0 12px;
  color: #71804d;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.card h2 {
  max-width: 700px;
  margin: 0;
  color: #254737;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.08;
  text-transform: uppercase;
  text-wrap: balance;
}

.headingRule {
  width: 74px;
  height: 3px;
  margin: 22px auto 24px;
  border-radius: 99px;
  background: #a9c83f;
}

.reviewContent {
  width: 100%;
  animation: reviewFade 520ms ease both;
}

.quote {
  display: flex;
  min-height: 5.4em;
  align-items: center;
  justify-content: center;
  max-width: 690px;
  margin: 0;
  color: #405d49;
  font-size: clamp(1rem, 1.8vw, 1.19rem);
  line-height: 1.8;
  text-wrap: pretty;
}

.attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
}

.signature {
  color: #314e3b;
  font-family: "Segoe Script", "Bradley Hand", "Brush Script MT", cursive;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-style: italic;
  line-height: 1.2;
}

.attributionNote {
  color: #758071;
  font-size: 0.76rem;
  letter-spacing: 0.035em;
}

.sampleNotice {
  color: #879078;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stars {
  display: flex;
  gap: 10px;
  margin-top: 19px;
  color: #e9b82d;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
}

.bottomBrand {
  margin: 28px 0 0;
  color: rgba(242, 241, 221, 0.75);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

.bottomBrand span { padding: 0 6px; color: #c9df70; }

@keyframes reviewFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 680px) {
  .section { padding: 28px 15px 22px; }

  .branding {
    grid-template-columns: 58px 1fr;
    gap: 12px;
    margin-bottom: 46px;
  }

  .logo { width: 58px; height: 58px; }
  .schoolIdentity { text-align: left; }
  .schoolName { font-size: clamp(1rem, 4.2vw, 1.35rem); }
  .schoolTagline { font-size: 0.6rem; letter-spacing: 0.1em; }
  .brandNote { display: none; }

  .cardWrap { padding: 6px; border-radius: 27px; }
  .card { min-height: 0; padding: 88px 22px 30px; border-radius: 21px; }
  .familyPhotoPlaceholder { top: -48px; width: 100px; height: 100px; border-width: 4px; }
  .familyPhotoPlaceholder svg { width: 62px; height: 62px; }
  .eyebrow { margin-bottom: 10px; font-size: 0.62rem; letter-spacing: 0.15em; }
  .card h2 { font-size: clamp(1.45rem, 7vw, 2rem); }
  .headingRule { margin: 17px auto 18px; }
  .quote { min-height: 6.8em; font-size: 0.98rem; line-height: 1.7; }
  .attribution { margin-top: 18px; }
  .attributionNote { max-width: 230px; line-height: 1.5; }
  .stars { gap: 7px; margin-top: 16px; }
  .bottomBrand { margin-top: 22px; font-size: 0.57rem; letter-spacing: 0.13em; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  .reviewContent { animation: none; }
}
