/*
 * Site-wide readable type floor.
 * Editorial labels, counters, captions and decorative English text retain
 * their compact display sizes; prose and interactive text do not.
 */
:root {
  --lyl-readable-floor: 14px;
}

body :where(main, header, footer) :where(
  p,
  li,
  dt,
  dd,
  summary,
  blockquote,
  td,
  th,
  label,
  button,
  input,
  select,
  textarea
):not(
  .lyl-num,
  [class*="eyebrow"],
  [class*="kicker"],
  [class*="label"],
  [class*="count"],
  [class*="meta"]
) {
  font-size: max(var(--lyl-readable-floor), 1em) !important;
}

body :where(main, header, footer) a {
  font-size: max(var(--lyl-readable-floor), 1em) !important;
}

body :where(main, header, footer) a > :where(span, strong, small):not(
  .lyl-num,
  [class*="eyebrow"],
  [class*="kicker"],
  [class*="label"],
  [class*="count"],
  [class*="meta"]
) {
  font-size: max(var(--lyl-readable-floor), 1em) !important;
}

@media (max-width: 767px) {
  :root {
    --lyl-readable-floor: 13px;
  }

  body.home main .hm-questions__grid > a > strong.hm-question-title {
    font-size: 18px !important;
  }
}

@media (min-width: 768px) {
  body.home main .hm-questions__grid > a > strong.hm-question-title {
    font-size: 21px !important;
  }
}

/* Shared heading scale: keep every second-level heading consistent. */
body h2 {
  font-size: 30px !important;
}

/* Short-study family message: keep the human promise distinct from body copy. */
body:not(.home) .lyl-summer-family-note blockquote {
  font-size: clamp(18px, 1.8vw, 22px) !important;
  line-height: 1.85;
}

/* Homepage type roles. Explicit sizes avoid the legacy inherited 1em floor. */
body.home {
  --hm-type-heading: 26px;
  --hm-type-body: 15px;
  --hm-type-card: 16px;
  --hm-type-note: 13px;
  --hm-type-action: 14px;
}
@media (min-width: 768px) {
  body.home {
    --hm-type-heading: 32px;
    --hm-type-body: 16px;
    --hm-type-card: 18px;
    --hm-type-note: 14px;
    --hm-type-action: 15px;
  }
}
body.home main.hm .hm-h2,
body.home main.hm .hm-belief__statement {
  font-size: var(--hm-type-heading) !important;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: .01em;
  word-break: normal;
  text-wrap: pretty;
}
body.home main.hm :is(.hm-lead, .hm-belief__body, .hm-aya__text, .hm-network__note, .hm-contact__lead, .hm-connections__message) {
  font-size: var(--hm-type-body) !important;
  line-height: 1.95;
}
body.home main.hm :is(.hm-connections__story h3, .hm-library__list h3, .hm-popular__list strong, .hm-belief__list strong, .hm-concerns__list strong, .hm-journey__steps strong) {
  font-size: var(--hm-type-card) !important;
  line-height: 1.65;
}
body.home main.hm .hm-options h3 {
  font-size: 23px !important;
  line-height: 1.45;
}
@media (min-width: 768px) {
  body.home main.hm .hm-options h3 { font-size: 28px !important; }
}
body.home main.hm :is(.hm-options p, .hm-proof__grid span, .hm-proof__note, .hm-belief__list span, .hm-journey__steps p, .hm-aya__role, .hm-aya__creds span, .hm-connections__more p, .hm-feature__note, .hm-contact__note, .hm-network__diagram > p, .hm-concerns__list small) {
  font-size: var(--hm-type-note) !important;
  line-height: 1.85;
}
body.home main.hm :is(.hm-btn, .hm-link, .hm-options__undecided strong, .hm-connections__story span, .hm-popular__list a > div > span) {
  font-size: var(--hm-type-action) !important;
  line-height: 1.65;
}
body.home main.hm .hm-proof__note .hm-link { font-size: inherit !important; }
body.home main.hm .hm-aya__name { font-size: 24px !important; line-height: 1.5; }
body.home main.hm .hm-eyebrow { font-size: 10px !important; line-height: 1.5; }
body.home main.hm .hm-connections__story small { font-size: 10px !important; line-height: 1.6; }
body.home main.hm .hm-feature__note { color: rgba(255,255,255,.74); }
body.home main.hm .hm-contact__note { color: rgba(255,255,255,.74); }

/* Inner-page HERO system: shared typography, quiet colors and reading-first actions. */
body:not(.home) { --lyl-inner-hero-title: 30px; --lyl-inner-hero-body: 15px; }
@media (min-width: 768px) {
  body:not(.home) { --lyl-inner-hero-title: 40px; --lyl-inner-hero-body: 16px; }
}
body:not(.home) main :is(.lyl-simple-hero, .lyl-detail-hero, .lyl-search-hero, .lyl-hs-hero, .lyl-bs-hero, .lyl-family-hero, .lyl-summer-hero, .lyl-year-hero, .lyl-cost-hero, .lyl-grad-hero, .lyl-aya-hero, .lyl-structure-hero, .lyl-global-photo-hero, .lyl-sr-hero, .lyl-experiences-hero, .lyl-sitemap-hero, .lyl-support-hero) { color: #173d32; background-color: #f7f4ed; }
body:not(.home) main :is(.lyl-simple-hero, .lyl-detail-hero, .lyl-search-hero, .lyl-hs-hero, .lyl-bs-hero, .lyl-family-hero, .lyl-summer-hero, .lyl-year-hero, .lyl-cost-hero, .lyl-grad-hero, .lyl-aya-hero, .lyl-structure-hero, .lyl-global-photo-hero, .lyl-sr-hero, .lyl-experiences-hero, .lyl-sitemap-hero, .lyl-support-hero) h1 { font-family: "Shippori Mincho", "Yu Mincho", serif !important; font-size: var(--lyl-inner-hero-title) !important; font-weight: 500 !important; line-height: 1.55 !important; letter-spacing: .01em !important; margin: 16px 0 24px !important; color: #173d32 !important; white-space: normal; word-break: normal; text-wrap: pretty; overflow-wrap: anywhere; }
body:not(.home) main :is(.lyl-simple-hero, .lyl-detail-hero, .lyl-search-hero, .lyl-hs-hero, .lyl-bs-hero, .lyl-family-hero, .lyl-summer-hero, .lyl-year-hero, .lyl-cost-hero, .lyl-grad-hero, .lyl-aya-hero, .lyl-structure-hero, .lyl-global-photo-hero, .lyl-sr-hero, .lyl-experiences-hero, .lyl-sitemap-hero, .lyl-support-hero) :is(.lyl-lead, [class$="hero__lead"], [class$="hero__copy"] > p:not(.lyl-num), .lyl-inner > p:not(.lyl-num)) { font-size: var(--lyl-inner-hero-body) !important; line-height: 1.9 !important; color: #4d5a53; }
body:not(.home) main :is(.lyl-simple-hero, .lyl-detail-hero, .lyl-search-hero, .lyl-hs-hero, .lyl-bs-hero, .lyl-family-hero, .lyl-summer-hero, .lyl-year-hero, .lyl-cost-hero, .lyl-grad-hero, .lyl-aya-hero, .lyl-structure-hero, .lyl-global-photo-hero, .lyl-sr-hero, .lyl-experiences-hero, .lyl-sitemap-hero, .lyl-support-hero) .lyl-num { font-size: 12px !important; line-height: 1.6; letter-spacing: .1em; color: #87682e; }
body:not(.home) main :is(.lyl-simple-hero, .lyl-detail-hero, .lyl-search-hero, .lyl-hs-hero, .lyl-bs-hero, .lyl-family-hero, .lyl-summer-hero, .lyl-year-hero, .lyl-cost-hero, .lyl-grad-hero, .lyl-aya-hero, .lyl-structure-hero, .lyl-global-photo-hero, .lyl-sr-hero, .lyl-experiences-hero, .lyl-sitemap-hero, .lyl-support-hero) a:is([href*="contact-minorstudent"], [href^="mailto:"], [href^="tel:"]) { display: none !important; }
body:not(.home) main :is(.lyl-simple-hero, .lyl-detail-hero, .lyl-search-hero, .lyl-hs-hero, .lyl-bs-hero, .lyl-family-hero, .lyl-summer-hero, .lyl-year-hero, .lyl-cost-hero, .lyl-grad-hero, .lyl-aya-hero, .lyl-structure-hero, .lyl-global-photo-hero, .lyl-sr-hero, .lyl-experiences-hero, .lyl-sitemap-hero, .lyl-support-hero) :is(.lyl-structure-actions, [class$="-actions"]):not(:has(a:not([href*="contact-minorstudent"]):not([href^="mailto:"]):not([href^="tel:"]))) { display: none !important; }

body:not(.home) main :is(.lyl-global-photo-hero__copy, .lyl-structure-hero__copy, .lyl-sr-hero__copy) {
  padding-block: 48px 40px !important;
}
body:not(.home) main .lyl-sr-hero__grid { min-height: 0; }
body:not(.home) main .lyl-sr-hero { background: #f7f4ed; }
@media (min-width: 768px) {
  body:not(.home) main :is(.lyl-global-photo-hero__copy, .lyl-structure-hero__copy, .lyl-sr-hero__copy) {
    padding-block: 64px 56px !important;
    min-height: 400px;
    height: auto;
    justify-content: center;
  }
}

/* Static-image layouts keep their composition, with the same outer rhythm. */
body:not(.home) main :is(.lyl-hero--static, .lyl-support-hero, .lyl-experiences-hero, .lyl-sitemap-hero) {
  padding-block: 48px 40px;
}
body:not(.home) main :is(.lyl-hero--static, .lyl-support-hero) [class$="hero__copy"] { padding-block: 0 !important; }
@media (min-width: 768px) {
  body:not(.home) main :is(.lyl-hero--static, .lyl-support-hero, .lyl-experiences-hero, .lyl-sitemap-hero) { padding-block: 64px 56px; }
}
/* Keep the long school-refusal headline in meaningful phrases at both sizes. */
body:not(.home) main .lyl-sr-hero h1 .lyl-sr-sp { display: block; }

/* Aya profile: portrait first, followed by square photos of real relationships. */
body:not(.home) main .lyl-aya-hero__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 10px;
  align-self: center;
}
body:not(.home) main .lyl-aya-hero__photos .lyl-aya-hero__photo--main {
  grid-column: 1 / -1;
  grid-row: 1;
}
body:not(.home) main .lyl-aya-hero__photos .lyl-aya-hero__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}
body:not(.home) main .lyl-aya-hero__photos .lyl-aya-hero__photo--main img {
  aspect-ratio: 4 / 3;
  object-position: center 30%;
}

/* Use the existing compact portrait-and-name lockup, never a full-width portrait. */
body:not(.home) main .lyl-aya-hero .lyl-aya-hero__profile {
  display: grid;
  grid-template-columns: minmax(0, 300px) max-content;
  align-items: end;
  gap: 18px;
  width: 100%;
  max-width: 520px;
  margin: 28px 0 !important;
}
body:not(.home) main .lyl-aya-hero .lyl-aya-hero__profile > img {
  width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
}
body:not(.home) main .lyl-aya-hero .lyl-aya-hero__profile figcaption { margin: 0 0 4px; }
body:not(.home) main .lyl-aya-hero__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body:not(.home) main .lyl-aya-hero__photos .lyl-aya-hero__photo:first-child { grid-column: 1 / -1; }
body:not(.home) main .lyl-aya-hero__photos .lyl-aya-hero__photo:first-child img { aspect-ratio: 2 / 1; object-position: center 65%; }
@media (max-width: 359px) {
  body:not(.home) main .lyl-aya-hero .lyl-aya-hero__profile { grid-template-columns: minmax(0, 1fr) max-content; gap: 12px; }
}

body:not(.home) main .lyl-aya-hero .lyl-aya-hero__profile figcaption { white-space: nowrap; }

/* Mobile inner HERO photography: landscape scenes, not oversized portraits.
   The company portrait lockup and its family-photo tiles keep their own sizes. */
@media (max-width: 767px) {
  body:not(.home) main :is(.lyl-structure-hero, .lyl-global-photo-hero, .lyl-hs-hero, .lyl-bs-hero, .lyl-summer-hero, .lyl-year-hero, .lyl-support-hero, .lyl-grad-hero) :is(.lyl-structure-hero__featured, [class$="hero__photo"], [class$="hero__media"], .lyl-year-hero__grid > figure) img {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover;
    object-position: center 40%;
  }
  body:not(.home) main .lyl-cost-page { --lyl-cost-photo-position: center 65%; }
  body:not(.home) main.lyl-cost-page .lyl-structure-hero__featured img { object-position: center 65%; }
  body:not(.home) main .lyl-sr-hero__scene { min-height: 0; height: auto; aspect-ratio: 16 / 9; background-position: center 35%; }
}
@media (max-width: 767px) {
  body:not(.home) main :is(.lyl-structure-hero, .lyl-global-photo-hero) .lyl-structure-hero__featured {
    height: auto !important;
    min-height: 0 !important;
    align-self: start;
  }
}

/* Article completion: related hub first, then a personal consultation. */
body.single .lyl-article-hub-cta{padding:40px 0;background:#f1ede3;color:#173d32}
body.single .lyl-article-hub-cta .lyl-content{min-height:0;padding-top:0;padding-bottom:0}
body.single .lyl-article-hub-cta .lyl-article-hub-cta__eyebrow{margin:0 0 14px;font-size:13px!important;font-weight:700;color:#765b24;line-height:1.7}
body.single .lyl-article-hub-cta h2{margin:0 0 14px;font-size:24px!important;line-height:1.65;letter-spacing:.03em}
body.single .lyl-article-hub-cta p{margin:0;font-size:15px!important;line-height:1.9}
body.single .lyl-article-hub-cta__actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px 28px;margin:24px 0 18px}
body.single .lyl-article-hub-cta__actions a{font-size:14px!important;line-height:1.7}
body.single .lyl-article-hub-cta__actions .lyl-button{white-space:normal;text-align:center}
body.single .lyl-article-hub-cta .lyl-article-hub-cta__note{font-size:13px!important;color:#59665f}
@media(min-width:768px){body.single .lyl-article-hub-cta{padding:48px 0}body.single .lyl-article-hub-cta h2{font-size:28px!important}}
@media(max-width:767px){body.single .lyl-article-hub-cta__actions{flex-direction:column;align-items:stretch;gap:16px}body.single .lyl-article-hub-cta__actions .lyl-text-link{text-align:center}}

/* Separate the author role from the name in the article profile. */
body .lyl-about-mini .lyl-about-mini__name{display:block;font-size:20px;line-height:1.6}
body .lyl-about-mini .lyl-about-mini__name>span{display:block;margin-bottom:4px;font-size:13px;font-weight:500;line-height:1.7}

/* Student meetups are an editorial section, independent of story filters. */
.lyl-meetup-reports{padding:64px 0;background:#f1ede3;color:#173d32}
.lyl-meetup-reports__intro{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;margin-bottom:32px}
body .lyl-meetup-reports h2{font-size:30px!important;line-height:1.65;margin:12px 0}
.lyl-meetup-reports__intro>p{font-size:15px;line-height:2}
.lyl-meetup-reports__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.lyl-meetup-reports__grid a{display:block;color:inherit;text-decoration:none}
.lyl-meetup-reports__grid img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;margin-bottom:16px}
.lyl-meetup-reports__grid time{font-size:12px;color:#65716a}
body .lyl-meetup-reports h3{font-size:17px!important;line-height:1.75;margin:8px 0 14px}
.lyl-meetup-reports__grid a>span{font-size:13px;font-weight:700;color:#765b24;text-decoration:underline;text-underline-offset:5px}
.lyl-meetup-reports__more{margin:32px 0 0;text-align:right}
@media(max-width:767px){.lyl-meetup-reports{padding:40px 0}.lyl-meetup-reports__intro{grid-template-columns:1fr;gap:4px;margin-bottom:24px}body .lyl-meetup-reports h2{font-size:25px!important}.lyl-meetup-reports__grid{grid-template-columns:1fr;gap:32px}.lyl-meetup-reports__grid img{aspect-ratio:16/9}.lyl-meetup-reports__more{text-align:left}}

/* Compact meetup report rows: thumbnail left, title and link right. */
.lyl-meetup-reports__grid{grid-template-columns:1fr;gap:0}
.lyl-meetup-reports__grid article{border-top:1px solid #d7d0c2}
.lyl-meetup-reports__grid article:last-child{border-bottom:1px solid #d7d0c2}
.lyl-meetup-reports__grid article>a{display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px;align-items:center;padding:20px 0}
.lyl-meetup-reports__grid img{width:100%;aspect-ratio:4/3;margin:0;object-fit:cover}
body .lyl-meetup-reports__grid h3{margin:4px 0 8px;font-size:17px!important;line-height:1.65}
.lyl-meetup-reports__copy>span{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;font-weight:700;color:#765b24}
.lyl-meetup-reports__copy i{font-style:normal;font-size:20px}
.lyl-meetup-reports__grid article>a:hover h3{text-decoration:underline;text-underline-offset:4px}
@media(max-width:767px){.lyl-meetup-reports__grid article>a{grid-template-columns:100px minmax(0,1fr);gap:16px;padding:16px 0}.lyl-meetup-reports__grid img{aspect-ratio:1/1}body .lyl-meetup-reports__grid h3{font-size:15px!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.lyl-meetup-reports__copy>span{font-size:12px}}
@media(max-width:374px){.lyl-meetup-reports__grid article>a{grid-template-columns:80px minmax(0,1fr);gap:12px}}

/* Mobile editorial lists: compact thumbnail and title rows. Featured stories
   and existing swipe rails intentionally retain their individual layouts. */
@media(max-width:782px){
 body .lyl-story-grid,body .lyl-story-row,body .lyl-grad-story-grid{grid-template-columns:minmax(0,1fr);gap:0}
 body :is(.lyl-story-grid,.lyl-story-row)>.lyl-story-card,
 body .lyl-content-card,body .lyl-summer-article,body .lyl-year-story,
 body .lyl-grad-story__card{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;align-items:center;padding:16px 0;min-height:0;border:0;border-bottom:1px solid #d7d0c2;background:transparent;box-shadow:none}
 body :is(.lyl-story-card__media,.lyl-content-card__image,.lyl-summer-article__image,.lyl-year-story__media,.lyl-grad-story__image){width:100px;height:100px;min-height:0;aspect-ratio:1;align-self:center}
 body :is(.lyl-story-card__media,.lyl-content-card__image,.lyl-summer-article__image,.lyl-grad-story__image) img{width:100%;height:100%;object-fit:cover}
 body :is(.lyl-story-card__body,.lyl-content-card__body,.lyl-summer-article__body,.lyl-year-story__body,.lyl-grad-story__body){padding:0;min-width:0;min-height:0;height:auto}
 body :is(.lyl-story-card,.lyl-content-card,.lyl-summer-article,.lyl-year-story) h3,
 body .lyl-grad-story__body>strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:15px!important;line-height:1.65;min-height:0;max-height:none;margin:5px 0 8px}
 body :is(.lyl-story-card__body,.lyl-grad-story__body)>small{font-size:11px!important;line-height:1.6}
 body :is(.lyl-story-card__link,.lyl-grad-story__more,.lyl-year-story__body>a){display:flex;justify-content:space-between;width:100%;font-size:12px!important;line-height:1.6;padding:0;margin:4px 0 0;border:0}
 body .lyl-grad-story{margin:0;grid-column:auto}
 body .lyl-story-card[hidden]{display:none}
 body .hm-library__list{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
 body .hm-library__list>a{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;padding:16px 0;border-bottom:1px solid #d7d0c2}
 body .hm-library__list figure{width:100px;height:100px;margin:0;aspect-ratio:1}
 body .hm-library__list figure img{width:100%;height:100%;object-fit:cover}
 body .hm-library__list h3{font-size:15px!important;line-height:1.65}
 body .hm-library__list>a>div:after{content:'記事を読む →';display:block;margin-top:8px;font-size:12px;color:#765b24}
}

/* Mobile featured story rails; general article indexes stay in compact rows. */
@media(max-width:782px){
 body :is(.lyl-grad-story-grid,.lyl-year-story-grid){display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:0;padding-bottom:16px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#aa925c #e7e1d5;align-items:stretch}
 body :is(.lyl-grad-story-grid,.lyl-year-story-grid)>*{flex:0 0 72%;min-width:0;scroll-snap-align:start}
 body :is(.lyl-grad-story-grid,.lyl-year-story-grid)>:last-child{margin-right:28%}
 body .lyl-year-story,body .lyl-grad-story__card{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:0;background:#fff;height:100%}
 body .lyl-year-story__media,body .lyl-grad-story__image{width:100%;height:auto;min-height:0;aspect-ratio:16/10;align-self:stretch}
 body .lyl-grad-story__image img{width:100%;height:100%;object-fit:cover}
 body .lyl-year-story__body,body .lyl-grad-story__body{display:flex;flex:1;flex-direction:column;width:auto;min-height:0;height:auto;padding:20px}
 body .lyl-year-story__body h3,body .lyl-grad-story__body>strong{font-size:17px!important;line-height:1.65;margin:8px 0 16px}
 body .lyl-year-story__body>a,body .lyl-grad-story__more{margin-top:auto;padding-top:12px;font-size:13px!important}
 body .lyl-grad-story__card:not(:has(.lyl-grad-story__image)) .lyl-grad-story__body{width:auto}
}

/* High-school page: featured stories swipe, practical guides remain a list. */
@media(max-width:782px){
 body .lyl-hs-more-stories .lyl-content-grid{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:20px;scrollbar-width:thin;align-items:stretch}
 body .lyl-hs-more-stories .lyl-content-card{flex:0 0 72%;min-width:0;display:flex;flex-direction:column;align-items:stretch;padding:0;gap:0;scroll-snap-align:start;border:0!important;background:#fff;box-shadow:none}
 body .lyl-hs-more-stories .lyl-content-card:last-child{margin-right:28%}
 body .lyl-hs-more-stories .lyl-content-card__image{width:100%;height:auto;aspect-ratio:16/10;align-self:stretch}
 body .lyl-hs-more-stories .lyl-content-card__body{padding:18px;flex:1}
 body .lyl-hs-more-stories .lyl-content-card h3{font-size:17px!important;margin-top:8px}
 body .lyl-hs-guide-list .lyl-content-grid{gap:0;border:0;box-shadow:none}
 body .lyl-hs-guide-list .lyl-content-card{border:0!important;border-bottom:1px solid #d7d0c2!important;padding:20px 8px;box-shadow:none;background:transparent;gap:16px}
 body .lyl-hs-guide-list .lyl-content-card__image{border:0;box-shadow:none}
 body .lyl-hs-guide-list .lyl-content-grid+.lyl-text-link{display:inline-block;margin-top:20px}
}

/* Meetup feature: mobile photo tiles with nearly half the next tile visible. */
@media(max-width:782px){
 body .lyl-meetup-reports__grid{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:16px;align-items:stretch;scrollbar-width:thin;scrollbar-color:#aa925c #e7e1d5}
 body .lyl-meetup-reports__grid>article{flex:0 0 66%;min-width:0;border:0;scroll-snap-align:start;background:transparent}
 body .lyl-meetup-reports__grid>article:last-child{border:0;margin-right:34%}
 body .lyl-meetup-reports__grid article>a{display:flex;flex-direction:column;align-items:stretch;gap:0;height:100%;padding:0}
 body .lyl-meetup-reports__grid img{width:100%;height:auto;aspect-ratio:16/10;margin:0 0 14px;object-fit:cover}
 body .lyl-meetup-reports__copy{display:flex;flex:1;flex-direction:column;min-width:0}
 body .lyl-meetup-reports__grid h3{font-size:15px!important;line-height:1.7;margin:6px 0 14px}
 body .lyl-meetup-reports__copy>span{margin-top:auto}
}

/* Student meeting features share the mobile swipe treatment across pages. */
@media(max-width:782px){
 body.home .hm-connections__stories{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;align-items:stretch;padding-bottom:16px;scrollbar-width:thin}
 body.home .hm-connections__stories .hm-connections__story{display:flex;flex:0 0 66%;min-width:0;flex-direction:column;grid-column:auto;grid-row:auto;margin:0;scroll-snap-align:start}
 body.home .hm-connections__stories .hm-connections__story:last-child{margin-right:34%}
 body.home .hm-connections__stories .hm-connections__story figure{width:100%;margin:0;aspect-ratio:16/10}
 body.home .hm-connections__stories .hm-connections__story img{width:100%;height:100%;aspect-ratio:16/10;object-fit:cover}
 body.home .hm-connections__stories .hm-connections__story>div{padding:16px;display:flex;flex-direction:column;flex:1}
 body.home .hm-connections__stories .hm-connections__story h3{font-size:15px!important;line-height:1.7;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
 body.home .hm-connections__stories .hm-connections__story span{margin-top:auto;padding-top:14px}
}

/* Mobile school directory: compact comparison rows. */
@media(max-width:782px){
 body .lyl-school-grid{grid-template-columns:minmax(0,1fr);gap:0}
 body .lyl-school-grid .lyl-school-card{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;align-items:start;padding:18px 0;border:0;border-bottom:1px solid #d7d0c2;background:transparent}
 body .lyl-school-grid .lyl-school-card[hidden]{display:none}
 body .lyl-school-card .lyl-placeholder{width:90px;height:90px;min-height:0;border:0;align-self:start;padding:8px}
 body .lyl-school-card__image{width:90px;height:90px;border:0;align-self:start}
 body .lyl-school-card__image img{width:90px;height:90px;object-fit:cover}
 body .lyl-school-card .lyl-placeholder strong{font-size:10px;line-height:1.5;text-align:center;letter-spacing:.04em}
 body .lyl-school-card__body{padding:0;min-width:0}
 body .lyl-school-card .lyl-school-meta{gap:5px;margin-bottom:6px}
 body .lyl-school-card .lyl-school-meta span{padding:3px 6px;font-size:10px!important}
 body .lyl-school-card h3{font-size:16px!important;line-height:1.6;margin:0 0 4px}
 body .lyl-school-card__body>p{font-size:12px!important;line-height:1.5;margin:0 0 8px;overflow-wrap:anywhere}
 body .lyl-school-card .lyl-coverage{font-size:11px;line-height:1.6}
 body .lyl-school-card__foot{margin-top:8px;padding-top:0;border:0;flex-wrap:wrap;gap:6px}
 body .lyl-school-card__foot>span{display:none}
 body .lyl-school-card__foot a{font-size:12px!important;line-height:1.6}
}

/* Shared mobile editorial carousel design, matching the home meeting cards. */
@media(max-width:782px){
 body :is(.hm-connections__stories,.lyl-meetup-reports__grid,.lyl-year-story-grid,.lyl-grad-story-grid,.lyl-hs-more-stories .lyl-content-grid){--rail-paper:#faf8f2;--rail-line:#ded5c3;gap:16px;padding-bottom:16px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#aa925c #e7e1d5}
 body :is(.hm-connections__stories,.lyl-meetup-reports__grid,.lyl-year-story-grid,.lyl-grad-story-grid,.lyl-hs-more-stories .lyl-content-grid)>*{flex-basis:66%!important;box-sizing:border-box;min-width:0}
 body :is(.hm-connections__stories,.lyl-meetup-reports__grid,.lyl-year-story-grid,.lyl-grad-story-grid,.lyl-hs-more-stories .lyl-content-grid)>:last-child{margin-right:34%!important}
 body.home .hm-connections__stories .hm-connections__story,
 body .lyl-meetup-reports__grid>article,
 body .lyl-year-story-grid>.lyl-year-story,
 body .lyl-grad-story__card,
 body .lyl-hs-more-stories .lyl-content-card{border:1px solid var(--rail-line)!important;background:var(--rail-paper)!important;border-radius:0;box-shadow:none;overflow:hidden}
 body.home .hm-connections__stories .hm-connections__story figure,
 body .lyl-meetup-reports__grid img,
 body .lyl-year-story__media,
 body .lyl-grad-story__image,
 body .lyl-hs-more-stories .lyl-content-card__image{width:100%;height:auto;aspect-ratio:16/10;margin:0;flex-shrink:0}
 body.home .hm-connections__stories .hm-connections__story>div,
 body .lyl-meetup-reports__copy,
 body .lyl-year-story__body,
 body .lyl-grad-story__body,
 body .lyl-hs-more-stories .lyl-content-card__body{padding:16px;display:flex;flex:1;flex-direction:column;box-sizing:border-box}
 body :is(.hm-connections__stories,.lyl-meetup-reports__grid,.lyl-year-story-grid,.lyl-grad-story-grid,.lyl-hs-more-stories) h3,
 body .lyl-grad-story__body>strong{font-size:15px!important;font-weight:700;line-height:1.75;letter-spacing:0;margin:10px 0 16px;min-height:0;max-height:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:#182d26}
 body :is(.hm-connections__stories,.lyl-meetup-reports__grid,.lyl-year-story-grid,.lyl-grad-story-grid) :is(time,small){font-size:10px!important;line-height:1.6;font-weight:600;letter-spacing:.04em;color:#97742d}
 body.home .hm-connections__stories .hm-connections__story span,
 body .lyl-meetup-reports__copy>span,
 body .lyl-year-story__body>a,
 body .lyl-grad-story__more{font-size:13px!important;font-weight:700;line-height:1.6;color:#97742d;margin-top:auto;padding-top:0;border:0;display:flex;gap:12px;align-items:center;justify-content:flex-start}
 body .lyl-meetup-reports__copy i,body .lyl-grad-story__more i{font-size:18px;font-style:normal}
}

/* Start-here route choices: consistent mobile cards with uncropped text. */
@media(max-width:782px){
 body .lyl-start-routes :is(.lyl-start-route-periods,.lyl-start-route-types){display:grid;grid-template-columns:minmax(0,1fr);gap:14px;background:transparent;border:0}
 body .lyl-start-routes :is(.lyl-start-route-periods,.lyl-start-route-types)>a{display:grid;grid-template-columns:80px minmax(0,1fr);grid-template-rows:auto auto 1fr auto;gap:6px 16px;min-height:232px;padding:18px;border:1px solid #ded5c3;background:#faf8f2;box-shadow:none;align-items:start;box-sizing:border-box}
 body .lyl-start-routes :is(.lyl-start-route-periods,.lyl-start-route-types)>a>figure{grid-column:1;grid-row:1 / 3;margin:0;width:80px;height:80px;overflow:hidden}
 body .lyl-start-routes :is(.lyl-start-route-periods,.lyl-start-route-types) img{width:100%;height:100%;aspect-ratio:1;object-fit:cover}
 body .lyl-start-routes :is(.lyl-start-route-periods,.lyl-start-route-types)>a>div{display:contents}
 body .lyl-start-routes :is(.lyl-start-route-periods,.lyl-start-route-types) small{grid-column:2;font-size:11px!important;line-height:1.6;letter-spacing:.02em;margin:0;color:#80652d}
 body .lyl-start-routes :is(.lyl-start-route-periods h4,.lyl-start-route-types h3){grid-column:2;font-size:18px!important;line-height:1.5;margin:0;align-self:start}
 body .lyl-start-routes :is(.lyl-start-route-periods,.lyl-start-route-types)>a p{grid-column:1 / -1;font-size:14px!important;line-height:1.8;margin:8px 0 10px}
 body .lyl-start-routes :is(.lyl-start-route-periods,.lyl-start-route-types)>a span{grid-column:1 / -1;align-self:end;display:block;border-top:1px solid #ded5c3;padding-top:10px;margin:0;font-size:13px!important;line-height:1.7;color:#80652d}
}

/* Tighter mobile route choices. */
@media(max-width:782px){
 body .lyl-start-routes :is(.lyl-start-route-periods,.lyl-start-route-types){gap:10px}
 body .lyl-start-routes :is(.lyl-start-route-periods,.lyl-start-route-types)>a{min-height:0;padding:14px;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto auto auto;gap:3px 12px}
 body .lyl-start-routes :is(.lyl-start-route-periods,.lyl-start-route-types)>a>figure{width:64px;height:64px}
 body .lyl-start-routes :is(.lyl-start-route-periods,.lyl-start-route-types)>a p{margin:7px 0 6px;line-height:1.65}
 body .lyl-start-routes :is(.lyl-start-route-periods,.lyl-start-route-types)>a span{padding-top:7px}
}

/* Shared UI tokens and navigation buttons. Use these roles for new components. */
:root{--lyl-ui-green:#102e25;--lyl-ui-gold:#b3934e;--lyl-ui-paper:#faf8f2;--lyl-ui-line:#ded5c3;--lyl-ui-button-height:52px;--lyl-ui-button-padding:20px;--lyl-ui-card-padding:16px;--lyl-ui-card-gap:16px}
body a.lyl-ui-button{display:inline-flex;position:relative;align-items:center;justify-content:space-between;gap:20px;min-height:var(--lyl-ui-button-height);padding:14px var(--lyl-ui-button-padding);border:1px solid var(--lyl-ui-green);border-radius:0;background:var(--lyl-ui-green);color:#fff;font-size:14px!important;font-weight:700;line-height:1.6;text-decoration:none;box-shadow:none;box-sizing:border-box;white-space:normal}
body a.lyl-ui-button:after,body a.lyl-ui-button:before{content:none!important}
body .lyl-ui-button__label{flex:1;min-width:0;color:inherit;font:inherit}
body .lyl-ui-button__arrow{flex:none;margin-left:auto;color:var(--lyl-ui-gold);font-size:18px;line-height:1;font-style:normal}
body .lyl-ui-button__label :is(i,span):empty{display:none}
body a.lyl-ui-button:is(.lyl-button--ghost,.lyl-button--outline,.lyl-button--secondary){background:transparent;color:var(--lyl-ui-green);border-color:var(--lyl-ui-gold)}
body a.lyl-ui-button.hm-btn--ghost{background:transparent;color:#fff;border-color:currentColor}
body .hm-contact__actions a.lyl-ui-button:not(.hm-btn--ghost){background:#f5f0e5;color:#17372d;border-color:#f5f0e5}
body .hm-contact__actions a.lyl-ui-button:not(.hm-btn--ghost) .lyl-ui-button__arrow{color:#846b32}
@media(hover:hover){body .hm-contact__actions a.lyl-ui-button:not(.hm-btn--ghost):hover{background:#fff;color:#17372d;border-color:#fff}}
body a.lyl-ui-button:focus-visible{outline:3px solid var(--lyl-ui-gold);outline-offset:4px}
@media(hover:hover){body a.lyl-ui-button:hover{background:#23483a;color:#fff;border-color:#23483a;transform:none}}

/* Gold primary buttons need a contrasting arrow. */
body a.lyl-button--primary .lyl-ui-button__arrow{color:#fff}

/* Start-here reading list uses the same compact mobile article rows. */
@media(max-width:782px){
 body .lyl-start-article-grid{grid-template-columns:minmax(0,1fr);gap:0}
 body .lyl-start-article-grid article{grid-template-columns:100px minmax(0,1fr);gap:16px;align-items:center;padding:16px 0;border:0;border-bottom:1px solid var(--lyl-ui-line);background:transparent;box-shadow:none}
 body .lyl-start-article__image,body .lyl-start-article__image img{width:100px;height:100px;min-height:0;aspect-ratio:1;object-fit:cover}
 body .lyl-start-article-grid article>div{padding:0;min-width:0}
 body .lyl-start-article-grid small{font-size:10px!important;line-height:1.6}
 body .lyl-start-article-grid h3{font-size:15px!important;line-height:1.65;margin:6px 0 8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
 body .lyl-start-article-grid p{font-size:12px!important;line-height:1.6;margin:0 0 10px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 body .lyl-start-article-grid article>div>a{font-size:12px!important;line-height:1.6;color:#80652d}
}

/* Compact mobile on-site support explanations with shallow landscape photos. */
@media(max-width:782px){
 body .lyl-start-onsite__grid{grid-template-columns:minmax(0,1fr);gap:16px}
 body .lyl-start-onsite__grid img{height:clamp(130px,36vw,180px);aspect-ratio:auto;object-fit:cover;object-position:center 45%}
 body .lyl-start-onsite__grid article:first-child img{object-position:center 67%}
 body .lyl-start-onsite__grid article>div{padding:16px 18px 18px}
 body .lyl-start-onsite__grid h3{font-size:17px!important;line-height:1.6;margin:7px 0 9px}
 body .lyl-start-onsite__grid p{font-size:14px!important;line-height:1.8}
}
@media(max-width:782px){
 body .lyl-start-onsite__grid article:first-child img{object-position:center 50%}
 body .lyl-start-onsite__grid article:nth-child(2) img{object-position:center 20%}
}

/* Canonical mobile vertical article list. Carousel cards retain their frame. */
@media(max-width:782px){
 body .lyl-content-grid:not(.lyl-hs-more-stories .lyl-content-grid){gap:0;border:0;box-shadow:none}
 body .lyl-content-grid:not(.lyl-hs-more-stories .lyl-content-grid)>.lyl-content-card{border:0!important;border-bottom:1px solid var(--lyl-ui-line)!important;box-shadow:none!important;background:transparent;padding:20px 8px;gap:16px;border-radius:0}
 body .lyl-content-grid:not(.lyl-hs-more-stories .lyl-content-grid) .lyl-content-card__image{border:0!important;box-shadow:none}
}
@media(max-width:782px){
 body:not(.home) main .lyl-content-grid:not(.lyl-hs-more-stories .lyl-content-grid)>.lyl-content-card{box-shadow:none!important;border-left:0!important;border-right:0!important}
}

/* Shared mobile vertical-list presentation, based on the experience list. */
.lyl-content-card__read{display:none}
@media(max-width:782px){
 body .lyl-story-card__body>small time{font-weight:400!important}
 body .lyl-content-grid:not(.lyl-hs-more-stories .lyl-content-grid) .lyl-content-card__meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:0;color:#80652d;font-size:11px!important;line-height:1.6}
 body .lyl-content-grid:not(.lyl-hs-more-stories .lyl-content-grid) .lyl-content-card__badges{display:contents}
 body .lyl-content-grid:not(.lyl-hs-more-stories .lyl-content-grid) :is(.lyl-content-type,.lyl-topic-badge){display:inline;padding:0;border:0;background:none;color:#80652d;font-size:11px!important;line-height:1.6;font-weight:700;letter-spacing:0}
 body .lyl-content-grid:not(.lyl-hs-more-stories .lyl-content-grid) .lyl-content-type svg{display:none}
 body .lyl-content-grid:not(.lyl-hs-more-stories .lyl-content-grid) .lyl-topic-badge{display:none}
 body .lyl-content-grid:not(.lyl-hs-more-stories .lyl-content-grid) time{color:#80652d;font-size:11px!important;font-weight:400!important}
 body .lyl-content-grid:not(.lyl-hs-more-stories .lyl-content-grid) h3{margin:5px 0 8px}
 body .lyl-content-grid:not(.lyl-hs-more-stories .lyl-content-grid) h3:after{content:none}
 body .lyl-content-grid:not(.lyl-hs-more-stories .lyl-content-grid) .lyl-content-card__read{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:0;margin:4px 0 0;padding:0;border:0;background:none;color:#173d32;font-size:12px!important;line-height:1.6;font-weight:700;text-decoration:none}
 body .lyl-content-grid:not(.lyl-hs-more-stories .lyl-content-grid) .lyl-content-card__read:after{content:none}
}
