/* The service homepage extends the existing Reading Room identity. */
.service-home { --hp-gap: clamp(32px, 5vw, 80px); }
.service-home ::selection { background: #dcc5cb; color: var(--ink); }
.service-home :is(input, textarea) { caret-color: var(--accent); }
.service-home :is(a, button, summary, video):focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.service-home .rr-hero-bleed { min-height: 760px; height: 100svh; max-height: none; padding: 164px 0 70px; display: flex; align-items: center; }
.service-home .rr-hero-bleed > .shell { width: min(100% - 64px, 1320px); }
.service-home .rr-hero-copy { max-width: 740px; }
.service-home .rr-hero-bleed .rr-hero-copy h1 { font-size: clamp(58px, 6.1vw, 88px); line-height: .99; letter-spacing: -.035em; max-width: 12ch; margin: 0 0 26px; }
.service-home .rr-hero-bleed h1 > span { color: var(--accent); }
.service-home .rr-hero-bleed .hero-intro { max-width: 35ch; font-size: 19px; line-height: 1.65; margin: 0; }
.service-home .hp-kicker { margin: 0 0 24px; font: 500 13px/1.4 var(--sans); letter-spacing: .025em; color: var(--accent); }
.service-home .rr-hero-bleed .rr-hero-image { inset: 0 0 0 12%; }
.service-home .rr-hero-bleed .hero-university-caption { inset: auto 0 0 auto; padding: 16px 0; }
.service-home .hero-university-identity { padding: 12px 18px; background: var(--ivory); border: 1px solid var(--line); border-radius: 4px; }
.service-home .hero-university-identities { min-width: 236px; }
.service-home .hero-university-identity img { width: 32px; height: 40px; object-fit: contain; }
.service-home .hp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.service-home .hp-actions .button { min-height: 50px; padding-inline: 24px; gap: 24px; font-size: 15px; }
.service-home .hp-watch-link { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--ink); text-decoration: none; font-size: 14px; }
.service-home .rr-hero-copy .hp-watch-link > .ui-icon { width: 36px; flex: 0 0 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; padding: 10px; }
.service-home .hp-watch-link:hover span { text-decoration: underline; text-underline-offset: 5px; }
.service-home .hp-tutor-entry { display: inline-flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; margin-top: 28px; min-height: 44px; text-decoration: none; }
.service-home .hp-tutor-entry:hover { color: var(--accent); }
.service-home .university-switch-notice { position: absolute; }
.service-home .hp-search-strip { background: var(--ivory); border-bottom: 1px solid var(--line); padding: 28px 0; }
.service-home .hp-search-strip > .shell { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.service-home #home-tutor-search { flex: 1; max-width: 800px; margin: 0; }
.service-home #home-tutor-search label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.service-home #home-tutor-search > div { display: flex; gap: 12px; align-items: center; }
.service-home #home-tutor-search > div > .ui-icon { flex: 0 0 20px; }
.service-home #home-query { width: 100%; min-width: 0; min-height: 50px; background: transparent; border: none; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 10px 0; font-size: 16px; }
.service-home #home-tutor-search button { flex: 0 0 auto; min-height: 50px; }
.service-home .hp-search-strip > .shell > a { margin-bottom: 12px; white-space: nowrap; }
.service-home .hp-section { padding: clamp(72px, 8vw, 128px) 0; margin: 0; }
.service-home .hp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--hp-gap); align-items: start; }
.service-home .hp-section h2, .service-home .hp-tutor-section h1 { font: 400 clamp(42px, 4.3vw, 64px)/1.04 var(--display); letter-spacing: -.03em; margin: 0 0 24px; }
.service-home .hp-section h3 { font: 400 28px/1.2 var(--display); letter-spacing: -.02em; }
.service-home .hp-section-copy > p:not(.hp-kicker), .service-home .hp-section-heading > div > p:not(.hp-kicker), .service-home .hp-tutor-next p, .service-home .hp-questions .hp-split > div > p:not(.hp-kicker) { max-width: 43ch; font-size: 17px; line-height: 1.7; color: var(--muted); }
.service-home em { font-weight: 400; }
.service-home .hp-section h2 em, .service-home .hp-tutor-section h1 em { color: var(--accent); }
.service-home .hp-prompt { margin: 30px 0; padding: 20px 24px; background: #ece6dc; border-radius: 3px 18px 18px 18px; max-width: 390px; }
.service-home .hp-prompt > span { font-size: 13px; color: var(--muted); }
.service-home .hp-prompt p { font: 400 21px/1.45 var(--display); margin: 8px 0 0; }
.service-home .hp-provider-links { display: flex; gap: 28px; flex-wrap: wrap; }
.service-home .hp-provider-links a { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; }
.service-home .hp-setup-note { font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 43ch; margin: 10px 0; }
.service-home .hp-existing-link { display: inline-block; color: var(--muted); font-size: 14px; text-underline-offset: 5px; margin-top: 18px; min-height: 44px; }
.service-home .hp-film { min-width: 0; padding: 16px; background: #e9e2d7; border-radius: 14px; }
.service-home .hp-film-heading { display: flex; justify-content: space-between; gap: 12px; padding: 4px 4px 14px; font-size: 13px; line-height: 1.5; }
.service-home .hp-film-duration { color: #59534c; white-space: nowrap; }
.service-home .hp-film-stage { position: relative; }
.service-home .hp-film-play { position: absolute; inset: auto 20px 20px auto; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 14px 20px; border: 0; border-radius: 4px; background: var(--accent); color: var(--ivory); font: 500 14px/1.3 var(--sans); cursor: pointer; }
.service-home .hp-film-play[hidden] { display: none; }
.service-home .hp-film-play .ui-icon { width: 18px; height: 18px; }
.service-home .hp-film-play:hover { background: var(--accent-hover); }
.service-home .hp-film-play:disabled { opacity: .7; cursor: wait; }
.service-home .hp-film video { display: block; width: 100%; aspect-ratio: 16 / 15; object-fit: contain; background: #fff; border-radius: 6px; }
.service-home .hp-film video::cue { font: 16px/1.5 var(--sans); background: #211f1ce6; color: #fff; }
.service-home .hp-transcript { margin: 12px 4px 0; font-size: 13px; }
.service-home .hp-transcript summary { min-height: 44px; display: flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.service-home .hp-transcript p { font-size: 14px; line-height: 1.7; margin: 8px 0 4px; }
.service-home .hp-people { background: var(--ivory); }
.service-home .hp-section-heading { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--hp-gap); align-items: end; margin-bottom: 48px; }
.service-home .hp-section-heading h2 { margin-bottom: 0; }
.service-home .hp-section-heading > div:last-child { padding-bottom: 3px; }
.service-home .hp-live-tutors { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.service-home .hp-live-tutors .tutor-card { min-width: 0; content-visibility: visible; contain-intrinsic-block-size: none; }
.service-home .hp-directory-end { margin-top: 40px; text-align: center; }
.service-home .hp-conversation { background: #eee7df; }
.service-home .hp-conversation-story { padding: 28px 32px; background: var(--ivory); border-radius: 14px; }
.service-home .hp-conversation-story ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 28px; }
.service-home .hp-example-label { margin: 0 0 24px; font-size: 13px; font-weight: 500; color: var(--muted); }
.service-home .hp-channel { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.service-home .hp-channel .ui-icon { width: 16px; height: 16px; }
.service-home .hp-message { display: flex; align-items: start; gap: 12px; padding: 16px; background: #efeae1; border-radius: 2px 14px 14px 14px; }
.service-home .hp-message p { margin: 0; font-size: 16px; line-height: 1.6; }
.service-home .hp-message-parent { background: #f0e5e8; }
.service-home .hp-message-received { background: #eceee7; }
.service-home .hp-initials { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; font-size: 13px; color: var(--accent); background: var(--ivory); border: 1px solid var(--line); border-radius: 50%; }
.service-home .hp-reply-label { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; }
.service-home .hp-example-note { font-size: 13px; color: var(--muted); margin: 24px 0 0; }
.service-home .hp-tutor-section { background: #f3eee5; }
.service-home .hp-benefits { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 18px; }
.service-home .hp-benefits li { display: flex; gap: 14px; align-items: start; font-size: 15px; line-height: 1.6; }
.service-home .hp-benefits .ui-icon { width: 20px; height: 20px; flex: 0 0 20px; color: var(--accent); margin-top: 2px; }
.service-home .hp-tutor-proof > .hp-provider-links { margin: 16px 0 0; }
.service-home .hp-questions { background: var(--paper); }
.service-home .hp-questions .hp-split { align-items: start; }
.service-home .hp-faq-list { margin: 0; }
.service-home .hp-faq-list > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.service-home .hp-faq-list > div:first-child { padding-top: 0; }
.service-home .hp-faq-list dt { font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.service-home .hp-faq-list dd { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.service-home.tutor-landing .hp-tutor-section { padding-top: 100px; }
.service-home .hp-tutor-next .hp-split { align-items: start; }
.service-home .hp-tutor-next h3 { margin: 36px 0 12px; }
.service-home .hp-tutor-next h3:first-child { margin-top: 0; }
.service-home .hp-public-requests { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding: 0; margin: 0; list-style: none; }
.service-home .hp-public-requests li { border-top: 1px solid var(--line-strong); }
.service-home .hp-public-requests a { display: block; color: var(--ink); text-decoration: none; padding: 24px 0; }
.service-home .hp-public-requests h3 { font-size: 28px; margin: 18px 0; }
.service-home .hp-public-requests span { font-size: 14px; color: var(--accent); }
@media (min-width: 1700px) {
  .service-home .rr-hero-bleed .rr-hero-image { inset-inline-start: 22%; }
}
@media (max-width: 1050px) {
  .service-home .hp-split { grid-template-columns: minmax(0, 1fr); }
  .service-home .hp-section-copy { max-width: 620px; }
  .service-home .hp-section-copy > p:not(.hp-kicker) { max-width: 52ch; }
  .service-home .hp-film { max-width: 760px; width: 100%; }
  .service-home .hp-film video { aspect-ratio: 16 / 15; }
  .service-home .hp-search-strip > .shell { align-items: start; flex-direction: column; gap: 14px; }
  .service-home #home-tutor-search { width: 100%; max-width: none; }
  .service-home .hp-search-strip > .shell > a { margin: 0; }
  .service-home .hp-section-heading { gap: 32px; }
  .service-home .rr-hero-bleed .rr-hero-copy h1 { font-size: 76px; }
  .service-home .rr-hero-bleed .rr-hero-image { inset-inline-start: 0; opacity: .7; }
  .service-home .hero-university-caption { transform: none; }
}
@media (max-width: 640px) {
  .service-home .rr-hero-bleed { min-height: 844px; height: 100svh; max-height: none; padding: 112px 0 42px; align-items: start; }
  .service-home .rr-hero-bleed > .shell { width: calc(100% - 40px); position: static; }
  .service-home .rr-hero-bleed .rr-hero-copy h1 { font-size: clamp(42px, 11.5vw, 60px); max-width: 12ch; line-height: 1.04; margin-bottom: 22px; }
  .service-home .rr-hero-bleed .hero-intro { font-size: 17px; max-width: 28ch; }
  .service-home .rr-hero-bleed .rr-hero-image { inset: auto 0 0; height: 300px; opacity: 1; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 88%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 88%, transparent 100%); }
  .service-home .rr-hero-bleed .rr-hero-image img { object-position: 55% 35%; }
  .service-home .hp-kicker { margin-bottom: 18px; font-size: 13px; }
  .service-home .hp-actions { gap: 14px; margin-top: 26px; }
  .service-home .rr-hero-copy .hp-actions { align-items: start; flex-direction: column; gap: 6px; }
  .service-home .rr-hero-copy .hp-actions .button { min-width: 190px; }
  .service-home .hp-tutor-entry { margin-top: 12px; background: var(--paper); padding-right: 12px; }
  .service-home .rr-hero-bleed .hero-university-caption { top: auto; bottom: 26px; right: 20px; padding: 0; }
  .service-home .hero-university-identity { padding: 8px 12px; }
  .service-home .hero-university-identities { min-width: 212px; }
  .service-home .hero-university-identity strong { font-size: 24px; }
  .service-home .hero-university-identity .hero-university-prefix { font-size: 12px; }
  .service-home .hp-search-strip { padding: 24px 0; }
  .service-home #home-tutor-search > div { flex-wrap: wrap; gap: 8px; }
  .service-home #home-query { width: calc(100% - 32px); flex: 1; }
  .service-home #home-tutor-search button { margin-top: 8px; width: 100%; }
  .service-home .hp-section { padding: 64px 0; }
  .service-home .hp-section h2, .service-home .hp-tutor-section h1 { font-size: clamp(38px, 10.2vw, 48px); }
  .service-home .hp-section-copy > p:not(.hp-kicker), .service-home .hp-section-heading > div > p:not(.hp-kicker) { font-size: 16px; }
  .service-home .hp-section-heading { grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; gap: 8px; }
  .service-home .hp-film { padding: 10px; border-radius: 10px; }
  .service-home .hp-film-heading { font-size: 13px; padding: 4px 2px 12px; }
  .service-home .hp-film-play { right: 12px; bottom: 12px; }
  .service-home .hp-film video { aspect-ratio: 3 / 4; object-fit: contain; }
  .service-home .hp-prompt { margin: 24px 0; padding: 18px; }
  .service-home .hp-prompt p { font-size: 20px; }
  .service-home .hp-provider-links { gap: 22px; }
  .service-home .hp-live-tutors { gap: 24px; }
  .service-home .hp-conversation-story { padding: 24px 18px; }
  .service-home .hp-message { padding: 14px 12px; gap: 10px; }
  .service-home .hp-message p { font-size: 15px; }
  .service-home .hp-initials { flex-basis: 26px; width: 26px; height: 26px; }
  .service-home .hp-faq-list dt { font-size: 16px; }
  .service-home .hp-benefits { margin: 24px 0; }
  .service-home .hp-public-requests { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .service-home .hp-existing-link { font-size: 13px; }
  .service-home.tutor-landing .hp-tutor-section { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-home *, .service-home *::before, .service-home *::after { scroll-behavior: auto !important; }
}
