/* Homepage only. The folder is an image; all preview text remains real HTML. */
.home-hero { padding-top: 64px; background: var(--paper); }
.season-label { color: var(--forest); font-size: 14px; text-align: center; margin: 0 auto 26px; }
.season-label > span[aria-hidden] { padding: 0 12px; color: var(--muted); }
.home-hero h1 { font-family: "Newsreader", Georgia, serif; font-size: clamp(2.5rem, 5.4vw, 4.75rem); font-weight: 500; font-style: normal; color: var(--ink); line-height: 1.08; text-align: center; max-width: 22ch; margin: 0 auto 24px; letter-spacing: -.035em; }
.home-hero h1 span { color: inherit; font-style: normal; }
.hero-intro { font-size: 18px; text-align: center; max-width: 55ch; margin: 0 auto 26px; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-actions .btn { padding: 14px 24px; font-size: 16px; }
.text-link { font-size: 15px; }
.hero-reassurance { text-align: center; font-size: 14px; color: var(--slate); margin: 18px auto 0; }
.folder-preview { position: relative; width: min(100%, 1040px); margin: 36px auto -34px; z-index: 1; transition: transform 240ms ease; }
.folder-preview img { display: block; width: 100%; height: auto; border-radius: 12px; }
.plan-preview { position: absolute; top: 36%; left: 25%; width: 52%; color: white; }
.preview-label { display: block; font-size: 14px; margin-bottom: 10px; color: #e3eddf; }
.plan-preview h2 { font-size: clamp(1.75rem, 3.2vw, 2.65rem); line-height: 1.12; margin-bottom: 20px; }
.plan-preview ol { list-style: none; padding: 0; margin: 0 0 18px; }
.plan-preview li { border-top: 1px solid #91a68e; padding: 9px 0; font-size: 16px; }
.plan-preview li span { color: #d0dfca; margin-right: 18px; font-size: 13px; font-variant-numeric: tabular-nums; }
.plan-preview a { color: white; font-size: 14px; }
.plan-preview a:hover { color: #e3eddf; }
.student-routes { padding-top: 112px; padding-bottom: 72px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.eyebrow { font-size: 14px; color: var(--forest); margin-bottom: 18px; }
.section-intro h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); margin-bottom: 20px; }
.section-intro p:last-child { color: var(--slate); max-width: 30ch; }
.route-list a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.route-list a:last-child { border-bottom: 1px solid var(--line); }
.route-list a:hover strong { text-decoration: underline; text-underline-offset: 4px; color: var(--forest); }
.route-list strong { display: block; font-size: 17px; font-weight: 500; }
.route-list small { display: block; font-size: 14px; margin-top: 5px; color: var(--slate); }
.route-list a > span:last-child { color: var(--forest); font-size: 21px; }
.home-trust { padding-top: 40px; padding-bottom: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.home-trust > div { border-top: 1px solid var(--line); padding-top: 26px; }
.home-trust h2 { font-size: 24px; margin-bottom: 14px; }
.home-trust p { color: var(--slate); font-size: 16px; }
.home-trust a { font-size: 14px; }
.home-closing { padding-bottom: 80px; }
.closing-panel { border-radius: 28px; background: #174a36; color: white; text-align: center; padding: 64px 28px; }
.closing-panel .eyebrow { color: #c0d9c9; }
.closing-panel h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); margin-bottom: 20px; }
.closing-panel p:not(.eyebrow) { margin: 0 auto 26px; max-width: 46ch; color: #e0ece5; }
.closing-panel .btn { background: var(--paper); color: #174a36; border-color: var(--paper); padding: 13px 26px; }
.closing-panel .btn:hover { background: #e0ece5; }
.closing-note { display: block; margin-top: 22px; font-size: 14px; color: #c0d9c9; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .folder-preview:hover { transform: translateY(-5px); }
}
@media (max-width: 900px) {
  .home-hero { padding-top: 40px; }
  .student-routes { gap: 36px; padding-top: 90px; }
  .home-trust { gap: 36px; }
  .plan-preview { left: 23%; width: 55%; }
  .plan-preview h2 { margin-bottom: 12px; }
  .plan-preview li { padding: 6px 0; font-size: 14px; }
}
@media (max-width: 640px) {
  .season-label { font-size: 13px; max-width: 26ch; }
    .home-hero h1 { max-width: 17ch; }
  .hero-intro { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 16px; }
  .hero-reassurance { max-width: 29ch; }
  .folder-preview { margin-top: 24px; margin-bottom: 0; }
  .plan-preview { position: static; width: auto; color: var(--ink); margin: 0 8px; padding-top: 18px; }
  .preview-label { color: var(--forest); }
  .plan-preview h2 { font-size: 28px; }
  .plan-preview h2 br { display: none; }
  .plan-preview li { border-color: var(--line); font-size: 16px; padding: 12px 0; }
  .plan-preview li span { color: var(--forest); }
  .plan-preview a, .plan-preview a:hover { color: var(--forest); }
  .student-routes, .home-trust { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 56px; padding-bottom: 0; }
  .section-intro h2 br { display: none; }
  .section-intro p:last-child { max-width: none; }
  .home-closing { padding-top: 56px; padding-bottom: 48px; }
  .closing-panel { padding: 42px 22px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .folder-preview { transition: none; transform: none; }
}

/* A single, restrained entrance. Text remains visible without animation. */
.home-hero h1 .hero-line { display: block; }
@keyframes hero-text-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .home-hero h1 .hero-line {
    animation: hero-text-enter 650ms cubic-bezier(.22, 1, .36, 1) both;
  }
  .home-hero h1 .hero-line + .hero-line { animation-delay: 160ms; }
}
