/* Home-page layout. Shared components are in styles.css. */
.home-hero { position: relative; isolation: isolate; min-height: 560px; overflow: hidden; background: #f5f8f7; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; z-index: -1; }
.hero-inner { min-height: 560px; display: flex; align-items: center; }
.hero-copy { width: 48%; padding: 26px 0 30px; text-align: center; }
.hero-location { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; font-size: 13px; color: var(--ink); }
.hero-copy h1 { margin: 5px 0 0; }
.hero-logo { width: 205px; height: 205px; object-fit: contain; margin: 0 auto; }
.hero-catch { margin: 10px 0 14px; font-family: var(--rounded); font-size: 33px; font-weight: 700; line-height: 1.55; }
.hero-catch > span { display: inline-block; }
.hero-service { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 17px; font-weight: 700; }
.hero-service b { color: var(--green); font-size: 20px; }
.hero-service span { border-bottom: 3px solid var(--mint); }
.hero-service span:last-child { border-color: var(--sky); }
.hero-audience { margin: 11px 0 17px; font-size: 13px; }
.hero-audience span { display: inline-block; font-size: 11px; }
.hero-action { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero-action .text-link { font-size: 12px; }
.photo-note { position: absolute; bottom: 10px; right: 16px; padding: 2px 7px; background: #ffffffed; color: var(--muted); font-size: 10px; }
.news-strip { background: var(--mint-soft); border-bottom: 1px solid var(--line); }
.news-inner { display: flex; align-items: center; gap: 32px; padding-top: 23px; padding-bottom: 23px; }
.news-inner h2 { margin: 0; color: var(--green); font-size: 16px; white-space: nowrap; }
.news-inner p { display: flex; gap: 23px; align-items: baseline; margin: 0; font-size: 14px; }
.news-inner time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.practice-section { background: var(--sky-soft); }
.practice-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 48px; }
.practice-intro h2 { margin: 10px 0 22px; font-size: 34px; line-height: 1.65; }
.practice-intro p:not(.eyebrow) { margin: 0; font-size: 15px; line-height: 2; }
.practice-intro figure { margin: 0; position: relative; }
.practice-intro figure > img { width: 100%; aspect-ratio: 1.8; object-fit: cover; border-radius: 45% 45% 8px 8px / 12% 12% 8px 8px; }
.practice-intro figcaption { position: absolute; bottom: 7px; right: 8px; color: var(--muted); background: #ffffffeb; padding: 1px 5px; font-size: 9px; }
.admission-section { background: var(--mint-soft); }
.support-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; padding: 0; margin: 36px 0 25px; }
.support-grid li { padding: 6px 20px 0; border-left: 1px solid var(--line); text-align: center; }
.support-grid li:first-child { border-left: 0; padding-left: 0; }
.support-grid li:last-child { padding-right: 0; }
.support-grid img { margin: 0 auto 18px; }
.support-grid h3 { margin: 0 0 12px; font-size: 16px; }
.support-grid p { font-size: 13px; text-align: left; color: var(--muted); margin: 0; }
.admission-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; padding: 0; margin: 38px 0 0; list-style: none; }
.admission-steps li { border-top: 2px solid #a2d5bf; padding: 18px 0 0; }
.admission-steps h3 { margin: 10px 0 8px; font-size: 17px; }
.admission-steps p { font-size: 14px; color: var(--muted); margin: 0; }
.access-layout { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: 56px; align-items: center; max-width: 960px; margin: 36px auto 0; }
.map-embed { aspect-ratio: 4/3; background: var(--sky-soft); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.access-info { margin: 0; }
.access-info > div { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.access-info dt { font-weight: 700; }
.access-info dd { margin: 0; }
.access-info address { font-style: normal; }
.access-info a { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1500px) {
  .hero-photo { object-position: center 43%; }
  .hero-inner, .home-hero { min-height: 590px; }
}
@media (max-width: 1050px) {
  .hero-copy { width: 49%; }
  .hero-catch { font-size: 28px; }
  .hero-service { font-size: 14px; }
  .practice-intro { gap: 36px; }
  .support-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 0; }
  .support-grid li:nth-child(4) { border-left: 0; }
  .support-grid li, .support-grid li:first-child, .support-grid li:last-child { padding: 0 20px; }
  .access-layout { gap: 30px; grid-template-columns: minmax(0, 360px) 1fr; }
}
@media (max-width: 700px) {
  .home-hero, .hero-inner { min-height: 610px; }
  .hero-photo { object-position: center 44%; height: 190px; top: auto; bottom: 0; }
  .hero-inner { align-items: flex-start; }
  .hero-copy { width: 100%; padding: 16px 0 190px; }
  .hero-location { font-size: 11px; }
  .hero-logo { width: 110px; height: 110px; }
  .hero-copy h1 { margin-top: 0; }
  .hero-catch { font-size: 27px; margin: 2px 0 10px; }
  .hero-service { font-size: 14px; }
  .hero-service b { font-size: 18px; }
  .hero-audience { font-size: 11px; margin: 6px 0 10px; }
  .hero-action { gap: 0; }
  .hero-action .button { min-height: 44px; font-size: 14px; padding: 10px 20px; }
  .hero-action .text-link { min-height: 32px; }
  .photo-note { font-size: 9px; right: 8px; bottom: 5px; }
  .news-inner { align-items: flex-start; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
  .news-inner h2 { font-size: 13px; padding-top: 1px; }
  .news-inner p { display: grid; gap: 3px; font-size: 12px; }
  .news-inner time { font-size: 11px; }
  .practice-intro { grid-template-columns: 1fr; gap: 25px; margin-bottom: 34px; }
  .practice-intro h2 { font-size: 28px; }
  .practice-intro p:not(.eyebrow) { font-size: 14px; }
  .practice-intro br { display: none; }
  .practice-intro h2 br { display: block; }
  .support-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 0; }
  .support-grid li, .support-grid li:first-child, .support-grid li:last-child { padding: 0 15px; }
  .support-grid li:nth-child(4) { border-left: 1px solid var(--line); }
  .support-grid li:nth-child(odd) { border-left: 0; }
  .support-grid h3 { font-size: 15px; }
  .support-grid li:last-child { grid-column: 1/-1; max-width: 250px; justify-self: center; }
  .admission-steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .admission-steps h3 { font-size: 15px; }
  .admission-steps p { font-size: 13px; }
  .access-layout { grid-template-columns: 1fr; gap: 20px; }
  .map-embed { width: 100%; max-width: 400px; justify-self: center; }
  .access-info > div { grid-template-columns: 100px minmax(0,1fr); gap: 10px; font-size: 13px; }
}
@media (max-width: 370px) {
  .hero-catch { font-size: 23px; }
  .hero-service { font-size: 12px; }
  .hero-audience span { font-size: 10px; }
}
@media (max-width: 700px) and (max-height: 740px) {
  .home-hero, .hero-inner { min-height: 0; }
  .hero-logo { width: 80px; height: 80px; }
  .hero-photo { height: 150px; }
  .hero-copy { padding-bottom: 150px; }
}
