/*
 * Prototype-wide visual system.
 * Mirrors the accepted homepage tone without changing page content or URLs.
 * Loaded after page-specific styles on every non-front page.
 */

:root {
  --lyl-gold: #9c7a37;
  --lyl-gold-dark: #765b25;
  --lyl-pale: #f2ece1;
  --lyl-ink: #16221d;
  --lyl-muted: #6c766e;
  --lyl-line: #ddd6c6;
  --lyl-gray: #e9e5dc;
  --lyl-white: #fff;
  --lyl-forest: #0d221c;
  --lyl-green: var(--lyl-forest);
  --lyl-paper: #fbf8f2;
  --lyl-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --lyl-mincho: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --lyl-label: "Manrope", var(--lyl-sans);
}

/* Contextual consultation CTA: used only at high-intent content endings. */
.lyl-contextual-cta {
  padding: 64px 0;
  background: #f1eadc;
  border-top: 1px solid var(--lyl-line, #d8c9ad);
}

.lyl-contextual-cta__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding: 38px 42px;
  background: #fff;
  border: 1px solid #c7ad74;
}

.lyl-contextual-cta__copy h2 { margin: 10px 0 12px; }
.lyl-contextual-cta__copy > p:last-child { max-width: 720px; margin: 0; }
.lyl-contextual-cta .lyl-button { min-width: 260px; justify-content: space-between; }

@media (max-width: 767px) {
  .lyl-contextual-cta { padding: 42px 0; }
  .lyl-contextual-cta__box { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
  .lyl-contextual-cta .lyl-button { width: 100%; min-width: 0; }
}

/* Inner-page photo heroes use a single calm, representative still image. */
body:not(.home) .lyl-structure-hero__featured {
  margin: 0;
  overflow: hidden;
  background: #e9e5dc;
}

body:not(.home) .lyl-structure-hero__featured img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  body:not(.home) :is(.lyl-global-photo-hero__grid, .lyl-structure-hero__photo-grid) > .lyl-structure-hero__featured {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: calc(60% + 24px);
  }
}

@media (max-width: 767px) {
  body:not(.home) :is(.lyl-global-photo-hero__grid, .lyl-structure-hero__photo-grid) > .lyl-structure-hero__featured {
    width: calc(100% + 40px);
    margin-inline: -20px;
    aspect-ratio: 4 / 3;
  }
}

/* Short study landing: expanded editorial journey, 2026-09. */
body:not(.home) .lyl-summer-lp {
  --summer-green: #12352b;
  --summer-paper: #f7f4ec;
  --summer-gold: #a98337;
  color: #23312c;
}
body:not(.home) .lyl-summer-lp :is(h1,h2,h3) {
  color: var(--summer-green);
  font-family: "Yu Mincho","Hiragino Mincho ProN",serif;
  font-weight: 600;
}
body:not(.home) .lyl-summer-lp h2 { font-size: clamp(31px,4vw,48px); line-height: 1.45; letter-spacing: -.025em; }
body:not(.home) .lyl-summer-lp h3 { line-height: 1.55; }
body:not(.home) .lyl-summer-lp :is(.lyl-summer-hero__lead,.lyl-summer-routes__intro p,.lyl-summer-volunteer__intro p,.lyl-summer-volunteer__cases p,.lyl-summer-project-steps p,.lyl-summer-next-grid span) { font-size: 15px; line-height: 1.9; }
body:not(.home) .lyl-summer-hero { background: #fff; }
body:not(.home) .lyl-summer-hero h1 { color: var(--summer-green); font-size: clamp(43px,5vw,68px); font-weight: 500; line-height: 1.32; letter-spacing: -.045em; }
body:not(.home) .lyl-summer-hero__lead strong { display: inline-block; margin-bottom: 5px; color: #213c33; font-size: 16px; }
body:not(.home) .lyl-summer-hero__media { position: relative; }
body:not(.home) .lyl-summer-hero__media:before { position: absolute; z-index: 2; top: 18px; right: -16px; width: 92px; height: 92px; border-top: 1px solid rgba(169,131,55,.65); border-right: 1px solid rgba(169,131,55,.65); content: ""; pointer-events: none; }

.lyl-summer-family-note { padding: 82px 0; border-bottom: 1px solid #d9d3c6; background: #e7eee9; }
.lyl-summer-family-note > .lyl-inner { display: grid; gap: 42px; }
.lyl-summer-family-note h2 { max-width: 560px; margin: 0; }
.lyl-summer-family-note__body { max-width: 680px; }
.lyl-summer-family-note__body > p { margin: 0 0 18px; color: #4f5d56; font-size: 15px; line-height: 2; }
.lyl-summer-family-note blockquote { position: relative; margin: 30px 0 0; padding: 24px 0 4px 29px; border-left: 2px solid var(--summer-gold); color: var(--summer-green); font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: clamp(19px,2vw,24px); font-weight: 600; line-height: 1.85; }

.lyl-summer-purpose { padding: 76px 0 86px; border-block: 1px solid #d9d3c6; background: var(--summer-paper); }
.lyl-summer-purpose > .lyl-inner > h2 { margin: 0 0 34px; }
.lyl-summer-purpose__grid { display: grid; border-top: 1px solid #cfc7b6; }
.lyl-summer-purpose__grid a { position: relative; display: grid; min-height: 112px; padding: 22px 42px 22px 58px; align-content: center; border-bottom: 1px solid #cfc7b6; color: inherit; text-decoration: none; transition: background-color .2s ease, padding-left .2s ease; }
.lyl-summer-purpose__grid a > span { position: absolute; top: 26px; left: 0; color: var(--summer-gold); font: 500 13px/1 Georgia,serif; }
.lyl-summer-purpose__grid strong { color: var(--summer-green); font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: 21px; }
.lyl-summer-purpose__grid small { margin-top: 5px; color: #6a6c66; font-size: 13px; }
.lyl-summer-purpose__grid a:after { position: absolute; right: 9px; top: 50%; color: var(--summer-gold); content: "→"; transform: translateY(-50%); }
@media(hover:hover) { .lyl-summer-purpose__grid a:hover { padding-left: 64px; background: #fff; } }

.lyl-summer-routes__intro { display: grid; gap: 22px; margin-bottom: 42px; }
.lyl-summer-routes__intro p { max-width: 640px; margin: 0; color: #656963; }
.lyl-summer-routes { margin: 0; padding: 0; border-top: 1px solid #c7bfaf; list-style: none; }
.lyl-summer-routes li { display: grid; min-height: 138px; padding: 28px 0; grid-template-columns: 55px minmax(0,1fr); gap: 14px; align-items: start; border-bottom: 1px solid #c7bfaf; }
.lyl-summer-routes li > span { padding-top: 7px; color: var(--summer-gold); font: 500 21px/1 Georgia,serif; }
.lyl-summer-routes h3 { margin: 0 0 7px; font-size: 22px; }
.lyl-summer-routes p { max-width: 700px; margin: 0; color: #62665f; font-size: 15px; line-height: 1.85; }
.lyl-summer-routes a { grid-column: 2; width: max-content; max-width: 100%; color: var(--summer-green); font-size: 14px; font-weight: 700; text-underline-offset: 5px; }

.lyl-summer-compare-section { background: #fff; }
.lyl-summer-compare { overflow-x: auto; border: 1px solid #c7bfaf; background: #fff; outline-offset: 4px; }
.lyl-summer-compare table { width: 100%; min-width: 880px; border-collapse: collapse; }
.lyl-summer-compare :is(th,td) { padding: 17px 18px; border-right: 1px solid #d9d3c8; border-bottom: 1px solid #d9d3c8; font-size: 15px; line-height: 1.65; text-align: left; vertical-align: top; }
.lyl-summer-compare thead th { background: var(--summer-green); color: #fff; font-size: 14px; }
.lyl-summer-compare tbody th { color: var(--summer-green); font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: 17px; white-space: nowrap; }
.lyl-summer-compare tr:last-child > * { border-bottom: 0; }
.lyl-summer-compare tr > *:last-child { border-right: 0; }

.lyl-summer-program-menu { display: grid; margin-top: 28px; border-top: 1px solid #cfc7b6; }
.lyl-summer-program-menu a { position: relative; display: grid; min-height: 112px; padding: 21px 36px 21px 44px; align-content: center; border-bottom: 1px solid #cfc7b6; color: inherit; text-decoration: none; }
.lyl-summer-program-menu a > span { position: absolute; top: 26px; left: 0; color: var(--summer-gold); font: 500 12px/1 Georgia,serif; }
.lyl-summer-program-menu strong { color: var(--summer-green); font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: 18px; }
.lyl-summer-program-menu small { margin-top: 5px; color: #666962; font-size: 13px; line-height: 1.55; }
.lyl-summer-program-menu a:after { position: absolute; right: 4px; top: 50%; color: var(--summer-gold); content: "→"; transform: translateY(-50%); }

.lyl-summer-volunteer { background: var(--summer-paper); }
.lyl-summer-volunteer__intro { max-width: 880px; margin: 0 auto 52px; text-align: center; }
.lyl-summer-volunteer__intro p:last-child { max-width: 760px; margin: 24px auto 0; color: #60645e; }
.lyl-summer-volunteer__cases { display: grid; gap: 30px; }
.lyl-summer-volunteer__cases article { overflow: hidden; border-bottom: 1px solid #bcae90; background: #fff; }
.lyl-summer-volunteer__cases img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.lyl-summer-volunteer__cases article > div { padding: 25px 25px 29px; }
.lyl-summer-volunteer__cases small { color: var(--summer-gold); font: 700 10px/1 ui-monospace,monospace; letter-spacing: .1em; }
.lyl-summer-volunteer__cases h3 { margin: 10px 0 9px; font-size: 25px; }
.lyl-summer-volunteer__cases p { margin: 0 0 18px; color: #5e625c; }
.lyl-summer-volunteer__cases a { color: var(--summer-green); font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.lyl-summer-project-steps { display: grid; margin: 62px 0 0; padding: 40px 0 0; border-top: 1px solid #bcae90; list-style: none; }
.lyl-summer-project-steps li { position: relative; padding: 0 0 32px 48px; }
.lyl-summer-project-steps li:before { position: absolute; top: 9px; bottom: -4px; left: 14px; width: 1px; background: #c7b178; content: ""; }
.lyl-summer-project-steps li:last-child:before { display: none; }
.lyl-summer-project-steps span { position: absolute; top: 0; left: 0; display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid #b8954d; border-radius: 50%; background: var(--summer-paper); color: #8a6b2c; font: 700 10px/1 ui-monospace,monospace; }
.lyl-summer-project-steps strong { color: var(--summer-green); font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-size: 18px; }
.lyl-summer-project-steps p { margin: 5px 0 0; color: #686a65; }

body:not(.home) .lyl-summer-decision { background: var(--summer-green); }
body:not(.home) .lyl-summer-decision .lyl-inner { display: block; }
body:not(.home) .lyl-summer-decision h2 { color: #fff; }
body:not(.home) .lyl-summer-decision__head > p:last-child { max-width: 660px; color: rgba(255,255,255,.73); font-size: 15px; line-height: 1.9; }
body:not(.home) .lyl-summer-decision ol { display: grid; margin-top: 42px; border-top-color: rgba(255,255,255,.24); }
body:not(.home) .lyl-summer-decision li { gap: 9px; padding: 23px 0; grid-template-columns: 37px minmax(0,1fr); border-bottom-color: rgba(255,255,255,.24); }
body:not(.home) .lyl-summer-decision li strong { color: #fff; font-size: 16px; }
body:not(.home) .lyl-summer-decision li p { font-size: 14px; line-height: 1.7; }

body:not(.home) .lyl-summer-stories { grid-template-columns: 1fr; }
body:not(.home) .lyl-summer-stories .lyl-summer-article__summary { font-size: 15px; line-height: 1.85; }
body:not(.home) .lyl-summer-stories .lyl-summer-article__facts li { font-size: 11px; }
body:not(.home) .lyl-summer-stories .lyl-summer-article__more { font-size: 13px; }
.lyl-summer-future-path { background: linear-gradient(110deg,#eef3f1 0%,#fff 70%); }
.lyl-summer-next-grid { display: grid; gap: 10px; margin-top: 28px; }
.lyl-summer-next-grid a { position: relative; display: grid; gap: 4px; padding: 18px 40px 18px 18px; border: 1px solid #c8cfc9; background: rgba(255,255,255,.9); color: inherit; text-decoration: none; }
.lyl-summer-next-grid a:after { position: absolute; right: 17px; top: 50%; color: var(--summer-gold); content: "→"; transform: translateY(-50%); }
.lyl-summer-next-grid strong { color: var(--summer-green); font-size: 16px; }
.lyl-summer-next-grid span { color: #656963; font-size: 13px; }
body:not(.home) .lyl-summer-faq { max-width: 900px; }
body:not(.home) .lyl-summer-faq details p { font-size: 15px; line-height: 1.85; }
body:not(.home) .lyl-summer-final { background: #eadfc9; }
body:not(.home) .lyl-summer-final h2 { font-size: clamp(29px,3.5vw,45px); }
body:not(.home) .lyl-summer-final p { font-size: 16px; line-height: 1.9; }

@media (min-width: 768px) {
  body:not(.home) .lyl-summer-hero__grid { grid-template-columns: .93fr 1.07fr; gap: 68px; }
  .lyl-summer-family-note > .lyl-inner { grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
  body:not(.home) .lyl-summer-purpose__grid { grid-template-columns: repeat(2,1fr); }
  body:not(.home) .lyl-summer-purpose__grid a:nth-child(odd) { margin-right: 28px; }
  body:not(.home) .lyl-summer-purpose__grid a:nth-child(even) { margin-left: 28px; }
  .lyl-summer-routes__intro { grid-template-columns: .9fr 1fr; gap: 80px; align-items: end; }
  .lyl-summer-routes li { grid-template-columns: 62px minmax(0,1fr) 140px; gap: 22px; align-items: center; }
  .lyl-summer-routes a { grid-column: auto; justify-self: end; }
  .lyl-summer-program-menu { grid-template-columns: repeat(3,1fr); border-left: 1px solid #cfc7b6; }
  .lyl-summer-program-menu a { padding-left: 50px; border-right: 1px solid #cfc7b6; }
  .lyl-summer-program-menu a > span { left: 17px; }
  .lyl-summer-volunteer__cases { grid-template-columns: repeat(2,1fr); gap: 38px; }
  .lyl-summer-project-steps { grid-template-columns: repeat(5,1fr); gap: 0; }
  .lyl-summer-project-steps li { min-height: 190px; padding: 53px 26px 0 0; }
  .lyl-summer-project-steps li:before { top: 15px; right: 0; bottom: auto; left: 29px; width: calc(100% - 29px); height: 1px; }
  .lyl-summer-project-steps span { top: 0; }
  body:not(.home) .lyl-summer-decision ol { grid-template-columns: repeat(4,1fr); border-left: 1px solid rgba(255,255,255,.24); }
  body:not(.home) .lyl-summer-decision li { display: block; min-height: 190px; padding: 25px 20px; border-right: 1px solid rgba(255,255,255,.24); }
  body:not(.home) .lyl-summer-decision li > span { display: block; margin-bottom: 18px; }
  body:not(.home) .lyl-summer-stories { grid-template-columns: repeat(3,1fr); }
  body:not(.home) .lyl-summer-stories .lyl-summer-article__body { min-height: 360px; }
}

@media (max-width: 767px) {
  body:not(.home) .lyl-summer-hero h1 { font-size: clamp(39px,11vw,51px); }
  body:not(.home) .lyl-summer-hero__lead { font-size: 15px; line-height: 1.82; }
  .lyl-summer-family-note { padding: 58px 0 62px; }
  .lyl-summer-family-note blockquote { padding-left: 21px; }
  .lyl-summer-purpose { padding: 56px 0 64px; }
  .lyl-summer-purpose__grid strong { font-size: 19px; }
  .lyl-summer-routes li { min-height: 0; }
  .lyl-summer-compare { margin-right: -20px; }
  .lyl-summer-volunteer__intro { text-align: left; }
  .lyl-summer-volunteer__cases article > div { padding: 22px 20px 25px; }
  body:not(.home) .lyl-summer-decision li p { font-size: 14px; }
  body:not(.home) .lyl-summer-stories .lyl-summer-article { grid-template-columns: 112px minmax(0,1fr); }
  body:not(.home) .lyl-summer-stories .lyl-summer-article__summary { display: none; }
  body:not(.home) .lyl-summer-stories .lyl-summer-article__facts { margin-bottom: 0; }
  body:not(.home) .lyl-summer-stories .lyl-summer-article__more { display: none; }
}

/* Curated counselling cases: shared bridge from landing pages to the archive. */
.lyl-consultation-cases{background:#eee8dc}
.lyl-consultation-cases__heading{display:flex;align-items:end;justify-content:space-between;gap:42px;margin-bottom:34px}
.lyl-consultation-cases__heading h2{margin:8px 0 10px}
.lyl-consultation-cases__heading p{max-width:720px;margin:0;color:var(--lyl-muted)}
.lyl-consultation-cases__heading>a{display:flex;min-width:220px;justify-content:space-between;gap:24px;padding:16px 18px;border:1px solid var(--lyl-gold);background:#fff;color:var(--lyl-ink);font-weight:700;text-decoration:none}
.lyl-consultation-cases__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.lyl-consultation-cases__grid .lyl-content-card{min-height:0;background:#fff;border:1px solid var(--lyl-line);box-shadow:0 8px 24px rgba(13,34,28,.05)}
.lyl-consultation-cases__grid .lyl-content-card__image{aspect-ratio:16/10;min-height:0}
.lyl-consultation-cases__grid .lyl-content-card__image img{width:100%;height:100%;object-fit:cover}
.lyl-consultation-cases__grid .lyl-content-card h3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}
.lyl-consultation-cases-page .lyl-consultation-cases__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.lyl-consultation-cases__intro{max-width:900px;margin-top:28px}
.lyl-consultation-cases__intro p{margin:16px 0;line-height:1.9}
.lyl-consultation-cases__quotes{display:grid;gap:8px;margin:24px 0;padding:22px 24px;border-left:3px solid var(--lyl-gold);background:#fff}
.lyl-consultation-cases__quotes strong{font-size:16px;line-height:1.8}
.lyl-consultation-cases__next{background:var(--lyl-pale)}
.lyl-consultation-cases__next h2{max-width:760px}
.lyl-consultation-cases__next-copy{max-width:760px;margin:24px 0;line-height:1.95}
.lyl-consultation-cases__next-copy p{margin:0 0 14px}
.lyl-consultation-cases__next .lyl-button{margin-top:8px}
.lyl-consultation-cases--company{background:var(--lyl-pale)}
.lyl-consultation-cases--company .lyl-consultation-cases__heading h2{max-width:760px}
.lyl-consultation-cases--company + .lyl-aya-library{padding-top:88px}
@media(max-width:782px){.lyl-consultation-cases__heading{display:block}.lyl-consultation-cases__heading>a{margin-top:24px}.lyl-consultation-cases__grid,.lyl-consultation-cases-page .lyl-consultation-cases__grid{grid-template-columns:1fr}.lyl-consultation-cases__grid .lyl-content-card{display:grid;grid-template-columns:120px minmax(0,1fr)}.lyl-consultation-cases__grid .lyl-content-card__image{width:120px;aspect-ratio:1/1}}

/* Legacy preview-trip articles, presented as a useful school-visit library. */
.lyl-school-visits{background:#f8f5ef}
.lyl-school-visits__heading{display:flex;align-items:end;justify-content:space-between;gap:42px;margin-bottom:34px}
.lyl-school-visits__heading h2{margin:8px 0 10px}.lyl-school-visits__heading p{max-width:720px;margin:0;color:var(--lyl-muted)}
.lyl-school-visits__heading>a{display:flex;min-width:240px;justify-content:space-between;gap:24px;padding:16px 18px;border:1px solid var(--lyl-forest);background:var(--lyl-forest);color:#fff;font-weight:700;text-decoration:none}
.lyl-school-visits__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.lyl-school-visits__grid .lyl-content-card{min-height:0;background:#fff;border:1px solid var(--lyl-line)}
.lyl-school-visits__grid .lyl-content-card__image{min-height:0;aspect-ratio:16/10}.lyl-school-visits__grid .lyl-content-card__image img{width:100%;height:100%;object-fit:cover}
.lyl-school-visits__grid .lyl-content-card h3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}
.lyl-school-visits-page .lyl-simple-hero .lyl-inner{max-width:1040px}
.lyl-school-visits-page .lyl-simple-hero h1{max-width:900px}
.lyl-school-visits__intro{max-width:900px;margin-top:28px;color:var(--lyl-ink);line-height:1.95}
.lyl-school-visits__intro p{margin:0 0 18px}
.lyl-school-visits__next h2{max-width:900px;margin:10px 0 22px}
.lyl-school-visits__next-copy{max-width:800px;margin-bottom:28px;line-height:1.9}
.lyl-school-visits__next-copy p{margin:0 0 14px}
.lyl-start-final{background:#f6f1e7}
.lyl-start-final__inner{max-width:900px}
.lyl-start-final h2{max-width:780px;margin:0 0 22px;font-size:clamp(24px,3.4vw,36px);line-height:1.6}
.lyl-start-final p{margin:0 0 16px;color:#454b47;font-size:15px;line-height:1.95}
.lyl-start-final .lyl-text-link{display:inline-block;margin-top:5px;color:#5f491e;font-weight:700;text-underline-offset:4px}
.lyl-private-costs__currency{margin:-10px 0 24px;color:var(--lyl-muted);font-size:13px}
.lyl-private-costs__grid{display:grid;grid-template-columns:1fr;gap:18px;margin-top:18px}
.lyl-private-cost-card{min-height:0;border:1px solid #a99a7a;box-shadow:0 4px 16px rgba(22,34,29,.08)}
.lyl-private-cost-card header small{display:inline-flex;margin-bottom:5px;padding:4px 9px;border:1px solid #d8cbb2;border-radius:999px;background:#f2ece1;color:#765b25;font-size:9px;font-weight:700}
.lyl-private-cost-card header{padding-bottom:12px}
.lyl-private-cost-card .lyl-cost-card__total{border-block:1px solid #d3c3a1;background:#f2ece1}
.lyl-private-cost-card__pending{display:flex;min-height:40px;margin: auto -16px 0;padding:9px 16px;align-items:center;background:#6e562f;color:#fff;font-size:10px;font-weight:700}
@media(min-width:768px){.lyl-private-costs__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){.lyl-school-visits__heading{display:block}.lyl-school-visits__heading>a{margin-top:24px}.lyl-school-visits__grid{grid-template-columns:1fr}.lyl-school-visits__grid .lyl-content-card{display:grid;grid-template-columns:120px minmax(0,1fr)}.lyl-school-visits__grid .lyl-content-card__image{width:120px;aspect-ratio:1/1}}

/* School detail: group related reading by purpose and point of view. */
.lyl-school-stories{background:#f4efe5}
.lyl-school-stories__heading{display:flex;align-items:end;justify-content:space-between;gap:42px;margin-bottom:38px}
.lyl-school-stories__heading h2{margin:0 0 14px;font-size:clamp(32px,4vw,52px);line-height:1.45}
.lyl-school-stories__heading p{max-width:700px;margin:0;line-height:1.9}
.lyl-school-stories__heading>a{display:flex;min-width:210px;justify-content:space-between;padding:16px 18px;border:1px solid var(--lyl-gold);background:#fff;color:var(--lyl-ink);font-weight:700;text-decoration:none}
.lyl-school-stories__nav{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:64px;border:1px solid var(--lyl-line);background:#fff}
.lyl-school-stories__nav a{display:flex;justify-content:space-between;gap:12px;padding:20px;border-right:1px solid var(--lyl-line);color:inherit;text-decoration:none}
.lyl-school-stories__nav a:last-child{border-right:0}.lyl-school-stories__nav span{color:var(--lyl-gold-dark);font-size:12px;font-weight:700}
.lyl-school-story-group{padding:58px 0;border-top:1px solid var(--lyl-line)}
.lyl-school-story-group:first-child{padding-top:0;border-top:0}
.lyl-school-story-group>header{display:grid;grid-template-columns:68px minmax(0,1fr);gap:22px;margin-bottom:28px}
.lyl-school-story-group>header>span{color:var(--lyl-gold-dark);font:500 32px "Cormorant Garamond",serif}
.lyl-school-story-group h3{margin:0 0 8px;font-size:28px}.lyl-school-story-group header p{margin:0;color:var(--lyl-muted);line-height:1.8}
.lyl-school-story-group--after{margin:18px 0;padding:48px 42px;background:#e7ece7;color:var(--lyl-ink);border:1px solid #cfd8d1;border-left:4px solid var(--lyl-gold)}
.lyl-school-story-group--after>header>span{color:var(--lyl-gold-dark)}
.lyl-school-story-group--after>header h3{color:var(--lyl-ink)}
.lyl-school-story-group--after>header p{color:var(--lyl-muted)}
.lyl-school-story-group--after .lyl-content-card{background:#fff;color:var(--lyl-ink)}
.lyl-school-story-group--after .lyl-content-card h3{color:var(--lyl-ink)}
.lyl-school-story-group--after .lyl-content-grid:has(> :only-child){grid-template-columns:minmax(0,1fr)}
.lyl-school-story-group--parents .lyl-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.lyl-school-story-group .lyl-content-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.lyl-school-story-group .lyl-content-card{display:grid;grid-template-columns:196px minmax(0,1fr);min-height:163px;height:auto;flex-direction:initial}
.lyl-school-story-group .lyl-content-card__image{width:196px;min-height:163px;aspect-ratio:6/5}
.lyl-school-story-group .lyl-content-card__image img{width:100%;height:100%;object-fit:cover}
.lyl-school-story-group .lyl-content-card__body{min-height:0;padding:17px 18px}
.lyl-school-story-group .lyl-content-card__meta{margin-bottom:9px}
.lyl-school-story-group .lyl-content-card h3{display:-webkit-box;min-height:0;max-height:4.8em;margin:0;font-size:15px;line-height:1.6;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;text-overflow:ellipsis}
@media(max-width:782px){.lyl-school-stories__heading{display:block}.lyl-school-stories__heading>a{margin-top:24px}.lyl-school-stories__nav{grid-template-columns:1fr 1fr}.lyl-school-stories__nav a{border-bottom:1px solid var(--lyl-line)}.lyl-school-story-group>header{grid-template-columns:44px 1fr}.lyl-school-story-group--parents .lyl-content-grid,.lyl-school-story-group .lyl-content-grid{grid-template-columns:1fr}.lyl-school-story-group--after{margin:10px 0;padding:34px 20px}.lyl-school-story-group .lyl-content-card{grid-template-columns:120px minmax(0,1fr);min-height:116px}.lyl-school-story-group .lyl-content-card__image{width:120px;min-height:116px;aspect-ratio:1/1}.lyl-school-story-group .lyl-content-card__body{padding:13px}.lyl-school-story-group .lyl-content-card h3{font-size:14px;-webkit-line-clamp:3;line-clamp:3}}

body:not(.home) {
  color: var(--lyl-ink);
  background: var(--lyl-paper);
  font-family: var(--lyl-sans);
  font-size: 15px;
  line-height: 1.9;
}

body:not(.home) main { overflow: clip; }
body:not(.home) main h1,
body:not(.home) main h2 {
  color: var(--lyl-ink);
  font-family: var(--lyl-mincho);
  font-weight: 500;
  letter-spacing: .01em;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: auto-phrase;
}
body:not(.home) main h1 { font-size: clamp(34px, 8.5vw, 46px); line-height: 1.38; }
body:not(.home) main h2 { font-size: 30px; line-height: 1.55; }
body:not(.home) main h3 {
  color: var(--lyl-ink);
  font-size: 19px;
  line-height: 1.55;
}
body:not(.home) main .lyl-start-decisions :is(h2, h3) { color: #fff; }
body:not(.home) main :is(article, a) > strong {
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: auto-phrase;
}
body:not(.home) main p,
body:not(.home) main dd { font-size: max(15px, 1em); }

body:not(.home) .lyl-inner { width: min(100% - 44px, 1180px); }
body:not(.home) .lyl-content { width: min(100% - 44px, 760px); }
body:not(.home) .lyl-section { padding: 68px 0; border-bottom: 1px solid var(--lyl-line); }
body:not(.home) .lyl-section--pale { background: var(--lyl-pale); }
body:not(.home) .lyl-num {
  margin-bottom: 12px;
  color: var(--lyl-gold);
  font: 700 10px/1.2 var(--lyl-label);
  letter-spacing: .17em;
}
body:not(.home) .lyl-num::before { display: inline-block; width: 26px; height: 1px; margin-right: 11px; vertical-align: middle; background: currentColor; content: ""; }
body:not(.home) .lyl-intro,
body:not(.home) .lyl-lead { max-width: 46em; color: var(--lyl-muted); font-size: 15px; line-height: 2; }
body:not(.home) .lyl-note { color: var(--lyl-muted); font-size: 12px; line-height: 1.75; }

/* Shared page openings */
body:not(.home) :is(
  .lyl-simple-hero,
  .lyl-detail-hero,
  .lyl-structure-hero,
  .lyl-hs-hero,
  .lyl-bs-hero,
  .lyl-summer-hero,
  .lyl-year-hero,
  .lyl-cost-hero,
  .lyl-grad-hero,
  .lyl-family-hero,
  .lyl-aya-hero
) { padding-block: 62px; border-bottom: 1px solid var(--lyl-line); background: var(--lyl-paper); }

body:not(.home) :is(
  .lyl-simple-hero,
  .lyl-detail-hero,
  .lyl-structure-hero,
  .lyl-hs-hero,
  .lyl-bs-hero,
  .lyl-summer-hero,
  .lyl-year-hero,
  .lyl-cost-hero,
  .lyl-grad-hero,
  .lyl-family-hero,
  .lyl-aya-hero
) h1 { max-width: 820px; margin-bottom: 22px; }

body:not(.home) :is(
  .lyl-simple-hero,
  .lyl-detail-hero,
  .lyl-structure-hero,
  .lyl-hs-hero,
  .lyl-bs-hero,
  .lyl-summer-hero,
  .lyl-year-hero,
  .lyl-cost-hero,
  .lyl-grad-hero,
  .lyl-family-hero,
  .lyl-aya-hero
) p { color: var(--lyl-muted); font-size: 15px; line-height: 2; }

body:not(.home) :is(
  .lyl-hs-hero__grid,
  .lyl-bs-hero__grid,
  .lyl-summer-hero__grid,
  .lyl-year-hero__grid,
  .lyl-cost-hero__grid,
  .lyl-grad-hero__grid,
  .lyl-family-hero__grid,
  .lyl-aya-hero__grid
) { gap: clamp(34px, 6vw, 78px); }

body:not(.home) :is(
  .lyl-hs-hero,
  .lyl-bs-hero,
  .lyl-summer-hero,
  .lyl-year-hero,
  .lyl-grad-hero,
  .lyl-family-hero,
  .lyl-aya-hero
) figure img { filter: saturate(.88); }

/* Actions and links */
body:not(.home) .lyl-button {
  width: auto;
  min-height: 54px;
  margin-top: 0;
  padding: 14px 22px;
  border: 1px solid var(--lyl-forest);
  background: var(--lyl-forest);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 5px 16px rgba(31, 58, 71, .09);
  transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s;
}
body:not(.home) .lyl-button--primary { border-color: var(--lyl-gold); background: var(--lyl-gold); color: #fff; }
body:not(.home) .lyl-text-link,
body:not(.home) .lyl-prose a:not(.lyl-button),
body:not(.home) .lyl-content > a:not([class]) { color: var(--lyl-gold-dark); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
body:not(.home) .lyl-text-link { font-size: 15px; }
body:not(.home) main a:focus-visible { outline: 3px solid #286f89; outline-offset: 3px; }

/* Repeated interactive surfaces */
body:not(.home) :is(
  .lyl-content-card,
  .lyl-format-grid > a,
  .lyl-topic-nav > a,
  .lyl-structure-list > a,
  .lyl-next-links > a,
  .lyl-bs-cost__links > a,
  .lyl-search-results article
) { border-color: var(--lyl-line); background: #fff; box-shadow: 0 5px 16px rgba(31, 58, 71, .06); }

body:not(.home) .lyl-content-card { border-left: 3px solid var(--lyl-gold); }
body:not(.home) .lyl-content-card h3 { min-height: 0; color: var(--lyl-ink); font-size: 15px; }
body:not(.home) .lyl-content-type { border-color: rgba(156, 122, 55, .45); background: var(--lyl-paper); color: var(--lyl-gold-dark); }
body:not(.home) :is(.lyl-faq details, .lyl-summer-faq details, .lyl-year-faq details) { border-color: var(--lyl-line); background: #fff; }
body:not(.home) :is(.lyl-faq summary, .lyl-summer-faq summary, .lyl-year-faq summary) { color: var(--lyl-ink); font-size: 16px; font-weight: 600; }
body:not(.home) main.lyl-structure-page--faq .lyl-faq details { margin-bottom: 12px; padding-inline: 24px; border: 1px solid var(--lyl-line); }

/* Structured-page choice lists: make links read as actionable cards. */
body:not(.home) .lyl-structure-list {
  display: grid;
  gap: 12px;
  border-top: 0;
}
body:not(.home) .lyl-structure-list > :is(a, div) {
  min-height: 88px;
  padding: 19px 58px 19px 22px;
  border: 1px solid var(--lyl-line);
  border-left: 3px solid var(--lyl-gold);
  background: #fff;
  box-shadow: 0 5px 16px rgba(31, 58, 71, .06);
}
body:not(.home) .lyl-structure-list strong {
  color: var(--lyl-ink);
  font-size: 18px;
  line-height: 1.5;
}
body:not(.home) .lyl-structure-list span { font-size: 14px; line-height: 1.75; }
body:not(.home) .lyl-structure-list > a i {
  right: 18px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(156, 122, 55, .45);
  border-radius: 50%;
  background: var(--lyl-paper);
  transition: background-color .2s, color .2s, transform .2s;
}
body:not(.home) .lyl-structure-list > div {
  border-left-color: var(--lyl-line);
  background: rgba(255, 255, 255, .72);
}

/* Selected long-form school articles: gently reconcile legacy editor styles
   with the prototype's editorial palette without touching the full archive. */
body:not(.home) main .lyl-school-profile-guide__intro h2 {
  font-family: var(--lyl-sans);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  text-wrap: pretty;
}
body:not(.home) main .lyl-school-profile-guide__check p {
  font-size: 10px;
  line-height: 1.7;
}
body:not(.home) .lyl-school-profile-guide__fit h3 {
  color: #fff;
}
body:not(.home) .lyl-article-detail--featured .lyl-prose h2 {
  margin-top: 62px;
  padding: 22px 0 0 18px;
  border-top: 1px solid var(--lyl-line);
  border-left: 3px solid var(--lyl-gold);
  color: var(--lyl-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.55;
}
body:not(.home) .lyl-article-detail--featured .lyl-prose h2 :is(span, strong),
body:not(.home) .lyl-article-detail--featured .lyl-prose h2.has-text-color {
  color: inherit !important;
  font-family: inherit !important;
}
body:not(.home) .lyl-article-detail--featured .lyl-prose h3 {
  padding-left: 16px;
  border-left: 2px solid rgba(156, 122, 55, .65);
  color: var(--lyl-ink);
}
body:not(.home) .lyl-article-detail--featured .lyl-prose table {
  margin-block: 24px 46px;
  border: 1px solid var(--lyl-line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 58, 71, .05);
}
body:not(.home) .lyl-article-detail--featured .lyl-prose :is(th, td) {
  padding: 15px 18px;
  border-color: var(--lyl-line);
  color: var(--lyl-ink);
}
body:not(.home) .lyl-article-detail--featured .lyl-prose tr:nth-child(even) :is(th, td) {
  background: rgba(243, 238, 228, .52);
}
body:not(.home) .lyl-article-detail--featured .lyl-prose table .has-text-color,
body:not(.home) .lyl-article-detail--featured .lyl-prose table .has-inline-color {
  color: var(--lyl-gold-dark) !important;
}
body:not(.home) .lyl-article-photo-album {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-block: 28px 52px;
}
body:not(.home) .lyl-article-photo-album p {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--lyl-paper);
}
body:not(.home) .lyl-article-photo-album img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  margin: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

/* Dark editorial bands need explicit foreground colors because the unified
   heading palette is loaded after the component styles. Keep white cards
   excluded so their text remains dark. */
body:not(.home) :is(
  .lyl-decision-questions,
  .lyl-bs-family,
  .lyl-family-life,
  .lyl-hs-feature,
  .lyl-hs-local,
  .lyl-hs-support,
  .lyl-bs-dream,
  .lyl-support-coaching,
  .lyl-summer-decision,
  .lyl-year-decision,
  .lyl-grad-route,
  .lyl-aya-values,
  .lyl-aya-field,
  .lyl-sr-possibility,
  .lyl-sr-stories
) :is(h1, h2, h3):not(aside h1, aside h2, aside h3) {
  color: #fff;
}
body:not(.home) main .lyl-cost-compare .lyl-cost-heading h2,
body:not(.home) main .lyl-grad-support aside h3,
body:not(.home) main .lyl-sr-mid-cta h2,
body:not(.home) main .lyl-sitemap-contact h2 {
  color: #fff;
}
body:not(.home) main.lyl-support-page .lyl-support-coaching :is(h2, h3) {
  color: #fff;
}
body:not(.home) .lyl-boarding-landing .lyl-bs-dream {
  background-color: var(--lyl-forest);
}
body:not(.home) :is(
  .lyl-decision-questions,
  .lyl-bs-family,
  .lyl-family-life,
  .lyl-hs-feature,
  .lyl-hs-local,
  .lyl-hs-support,
  .lyl-bs-dream,
  .lyl-support-coaching,
  .lyl-summer-decision,
  .lyl-year-decision,
  .lyl-cost-compare,
  .lyl-grad-route,
  .lyl-sr-possibility,
  .lyl-sr-stories
) .lyl-num {
  color: #d3bc7f;
}
body:not(.home) .lyl-sr-mid-cta .lyl-num {
  color: #fff;
}
body:not(.home) :is(
  .lyl-decision-questions__heading > p:last-child,
  .lyl-decision-questions__grid p,
  .lyl-bs-family__grid > div > p,
  .lyl-family-life__grid > div > p,
  .lyl-hs-feature__body > p,
  .lyl-hs-local__copy > p,
  .lyl-bs-dream .lyl-inner p
) {
  color: #cdd7d2;
}
body:not(.home) :is(
  .lyl-decision-questions,
  .lyl-bs-family,
  .lyl-family-life,
  .lyl-hs-feature,
  .lyl-hs-local,
  .lyl-bs-dream
) a:not(aside a, .lyl-button) {
  color: #fff;
}
body:not(.home) .lyl-article-next-step__main h2 {
  font-size: clamp(29px, 3vw, 34px);
  line-height: 1.5;
}
body:not(.home) .lyl-article-next-step__actions .lyl-button {
  font-size: 14px;
}
@media (hover: hover) {
  body:not(.home) .lyl-article-photo-album p:hover img { transform: scale(1.025); }
}
@media (max-width: 767px) {
  body:not(.home) .lyl-article-next-step__main h2 { font-size: 29px; }
  body:not(.home) .lyl-article-detail--featured .lyl-prose h2 {
    margin-top: 48px;
    padding: 16px 0 0 13px;
    font-size: 25px;
  }
  body:not(.home) .lyl-article-photo-album {
    display: grid;
    width: calc(100% + 22px);
    margin-right: -22px;
    padding-right: 22px;
    grid-template-columns: repeat(var(--lyl-album-count, 6), minmax(78vw, 1fr));
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  body:not(.home) .lyl-article-photo-album p { scroll-snap-align: start; }
  body:not(.home) .lyl-article-photo-album img { min-height: 0; }
}

/* Services: give each numbered group its own reading rhythm. */
@media (min-width: 768px) {
  body:not(.home) .lyl-structure-page--services .lyl-structure-actions--row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  body:not(.home) .lyl-structure-page--services .lyl-structure-actions--row .lyl-button {
    width: 100%;
    min-width: 0;
  }
  body:not(.home) .lyl-structure-page--services .lyl-structure-section--2 {
    grid-template-columns: minmax(0, 1.28fr) minmax(250px, .72fr);
  }
  body:not(.home) .lyl-structure-page--services .lyl-structure-section--2 > header {
    grid-column: 2;
    grid-row: 1;
  }
  body:not(.home) .lyl-structure-page--services .lyl-structure-section--2 > .lyl-structure-list {
    grid-column: 1;
    grid-row: 1;
  }
  body:not(.home) .lyl-structure-page--services .lyl-structure-section--3 {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  body:not(.home) .lyl-structure-page--services .lyl-structure-section--3 > header {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
    column-gap: 80px;
  }
  body:not(.home) .lyl-structure-page--services .lyl-structure-section--3 > header .lyl-num {
    grid-column: 1;
  }
  body:not(.home) .lyl-structure-page--services .lyl-structure-section--3 > header h2 {
    grid-column: 1;
  }
  body:not(.home) .lyl-structure-page--services .lyl-structure-section--3 > header .lyl-intro {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
  }
  body:not(.home) .lyl-structure-page--services .lyl-structure-section--3 > .lyl-structure-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body:not(.home) .lyl-structure-page--services .lyl-structure-section--3 .lyl-structure-list > :is(a, div) {
    min-height: 150px;
    align-content: start;
  }
}

/* Boarding-school criteria: compact image-left / copy-right cards on mobile. */
@media (min-width: 761px) {
  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria article {
    min-height: 285px;
    grid-template-columns: clamp(360px, 38.2vw, 450px) minmax(0, 1fr);
  }

  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria article:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) clamp(360px, 38.2vw, 450px);
  }

  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria img {
    height: 285px;
    min-height: 285px;
  }

  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria article > div {
    padding: 18px 40px;
  }

  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria article span {
    font-size: 24px;
    line-height: 1;
  }

  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria article h3 {
    margin: 8px 0 6px;
  }
}

@media (max-width: 760px) {
  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria article,
  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria article:nth-child(even) {
    min-height: 140px;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    align-items: stretch;
  }

  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria article figure,
  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria article:nth-child(even) figure {
    grid-column: 1;
    grid-row: 1;
  }

  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria article > div,
  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria article:nth-child(even) > div {
    grid-column: 2;
    grid-row: 1;
    padding: 12px 14px;
  }

  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria img {
    height: 100%;
    min-height: 140px;
    aspect-ratio: auto;
  }

  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria article span {
    font-size: 22px;
    line-height: 1;
  }

  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria article h3 {
    margin: 7px 0 5px;
    font-size: 19px;
  }

  body:not(.home) .lyl-boarding-landing .lyl-bs-criteria article p {
    font-size: 13px;
    line-height: 1.65;
  }
}

/* Consistent conversion bands */
body:not(.home) :is(
  .lyl-contact,
  .lyl-bs-cta,
  .lyl-summer-final,
  .lyl-year-final,
  .lyl-grad-final,
  .lyl-family-final,
  .lyl-hs-cta
) { padding-block: 78px; background: var(--lyl-forest); color: #fff; }
body:not(.home) :is(
  .lyl-contact,
  .lyl-bs-cta,
  .lyl-summer-final,
  .lyl-year-final,
  .lyl-grad-final,
  .lyl-family-final,
  .lyl-hs-cta
) :is(h2, p) { color: #fff; }
body:not(.home) :is(
  .lyl-contact,
  .lyl-bs-cta,
  .lyl-summer-final,
  .lyl-year-final,
  .lyl-grad-final,
  .lyl-family-final,
  .lyl-hs-cta
) .lyl-button { border-color: #fff; background: #fff; color: var(--lyl-forest); }
body:not(.home) :is(
  .lyl-contact,
  .lyl-bs-cta,
  .lyl-summer-final,
  .lyl-year-final,
  .lyl-grad-final,
  .lyl-family-final,
  .lyl-hs-cta
) .lyl-text-link { color: #f3dc9d; }
body:not(.home) .lyl-aya-final { color: #101511; }
body:not(.home) :is(
  .lyl-aya-final,
  .lyl-hs-final,
  .lyl-cost-final
) .lyl-text-link { color: #101511; }
body:not(.home) .lyl-cost-final .lyl-num { color: #151711; }

/* Article/search landing continuity */
body:not(.home) .lyl-article-detail > header { background: var(--lyl-paper); }
body:not(.home) .lyl-article-detail > header h1 { font-size: 32px; }
body:not(.home) .lyl-prose { color: #2b3832; font-size: 16px; line-height: 2; }
body:not(.home) main .lyl-legacy-card__image--empty + .lyl-legacy-card__body p {
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.75;
}
body:not(.home) .lyl-prose h2 { padding-top: 18px; border-top: 1px solid var(--lyl-line); font-size: 28px; }
body:not(.home) .lyl-prose h3 { font-size: 21px; }
body:not(.home) .lyl-prose img { border-radius: 6px; }
body:not(.home) .lyl-search-lp-lead { color: var(--lyl-muted); font-size: 15px; }

/* Testimonial prototype: context first, then editorial reading routes. */
.lyl-experience-profile { border-bottom: 1px solid var(--lyl-line); background: #fff; }
.lyl-experience-profile > .lyl-content { min-height: 0; padding-top: 32px; padding-bottom: 30px; }
.lyl-experience-profile__head { display: grid; gap: 10px; margin-bottom: 18px; }
.lyl-experience-profile__head .lyl-num { margin: 0; font-size: 17px !important; }
.lyl-experience-profile__head > p { max-width: 720px; margin: 0; color: var(--lyl-muted); font-size: 14px; line-height: 1.85; }
.lyl-experience-profile__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--lyl-line); border-left: 1px solid var(--lyl-line); }
.lyl-experience-profile__facts > div { min-height: 76px; padding: 12px 14px; border-right: 1px solid var(--lyl-line); border-bottom: 1px solid var(--lyl-line); }
.lyl-experience-profile__facts dt { margin-bottom: 4px; color: var(--lyl-gold-dark); font: 700 10px/1.4 var(--lyl-label); letter-spacing: .1em; }
.lyl-experience-profile__facts dd { margin: 0; color: var(--lyl-ink); font-size: 15px; font-weight: 700; line-height: 1.5; }
.lyl-experience-profile__facts dd small { color: var(--lyl-muted); font-size: 12px; font-weight: 500; }
.lyl-experience-profile__facts a { color: inherit; text-decoration-color: var(--lyl-gold); text-underline-offset: 4px; }
.lyl-experience-school-card { display: grid; margin-top: 22px; border: 1px solid var(--lyl-line); background: var(--lyl-paper); color: inherit; text-decoration: none; }
.lyl-experience-school-card figure { margin: 0; overflow: hidden; }
.lyl-experience-school-card img { display: block; width: 100%; height: 150px; object-fit: cover; object-position: center 42%; transition: transform .35s ease; }
.lyl-experience-school-card > div { align-self: center; padding: 24px; }
.lyl-experience-school-card h3 { margin: 6px 0 10px; font-size: 22px; }
.lyl-experience-school-card div > p:not(.lyl-num) { margin: 0 0 14px; color: var(--lyl-muted); font-size: 13px; line-height: 1.8; }
.lyl-experience-school-card span { color: var(--lyl-gold-dark); font-size: 13px; font-weight: 700; }
.lyl-experience-profile__author { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; margin-top: 22px; padding: 20px; background: var(--lyl-pale); }
.lyl-experience-profile__author img { width: 72px; height: 88px; object-fit: cover; }
.lyl-experience-profile__author .lyl-num { margin: 0 0 4px; }
.lyl-experience-profile__author strong { display: block; font-size: 17px; }
.lyl-experience-profile__author strong small { margin-left: 8px; color: var(--lyl-muted); font-size: 11px; font-weight: 500; }
.lyl-experience-profile__author div > p:not(.lyl-num) { margin: 6px 0; color: var(--lyl-muted); font-size: 12px; line-height: 1.7; }
.lyl-experience-profile__author a { color: var(--lyl-gold-dark); font-size: 12px; font-weight: 700; }
.lyl-experience-reading { background: var(--lyl-paper); }
.lyl-experience-reading__head { max-width: 760px; margin-bottom: 34px; }
.lyl-experience-reading__head h2 { margin: 7px 0 12px; font-size: clamp(30px, 5vw, 46px); }
.lyl-experience-reading__head > p:last-child { color: var(--lyl-muted); line-height: 1.8; }
.lyl-experience-reading__cards { gap: 18px; }
.lyl-experience-reading__cards .lyl-content-card { min-height: 148px; }
.lyl-experience-reading__cards .lyl-content-card__image { min-height: 148px; }
.lyl-experience-reading__cards .lyl-content-card h3 { -webkit-line-clamp: 3; line-clamp: 3; }
.lyl-experience-reading__primary { display: grid; gap: 16px; }
.lyl-experience-reading__primary > a { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 132px; overflow: hidden; border: 1px solid var(--lyl-line); background: #fff; color: inherit; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.lyl-experience-reading__primary figure { min-height: 132px; margin: 0; overflow: hidden; background: #e7e1d5; }
.lyl-experience-reading__primary figure.is-empty { display: grid; place-items: center; color: var(--lyl-gold-dark); font: 700 11px/1 var(--lyl-label); letter-spacing: .14em; }
.lyl-experience-reading__primary img { display: block; width: 100%; height: 100%; min-height: 132px; object-fit: cover; transition: transform .35s ease; }
.lyl-experience-reading__primary > a > div { display: grid; align-content: center; padding: 18px 20px; }
.lyl-experience-reading__primary small { display: block; margin-bottom: 5px; color: var(--lyl-muted); font-size: 10px; letter-spacing: .08em; }
.lyl-experience-reading__primary strong { display: block; font-size: 16px; line-height: 1.65; }
.lyl-experience-reading__primary div > span { margin-top: 10px; color: var(--lyl-gold-dark); font-size: 12px; font-weight: 700; }
.lyl-experience-reading__popular { display: grid; gap: 22px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--lyl-line); }
.lyl-experience-reading__popular h3 { margin: 5px 0 8px; font-size: 22px; }
.lyl-experience-reading__popular p { margin: 0; color: var(--lyl-muted); font-size: 13px; }
.lyl-experience-reading__popular > .lyl-content-grid { min-width: 0; }
.post-7060 .lyl-experience-album { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 46px; }
.post-7060 .lyl-experience-album__item { min-height: 0; padding: 0; overflow: hidden; border: 0; border-radius: 6px; background: var(--lyl-paper); cursor: zoom-in; }
.post-7060 .lyl-experience-album__item:first-child { grid-column: span 2; }
.post-7060 .lyl-experience-album__item img { display: block; width: 100%; height: 100%; min-height: 220px; margin: 0; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.post-7060 .lyl-experience-album__item:first-child img { aspect-ratio: 16 / 9; }
.lyl-photo-lightbox { width: min(1080px, calc(100vw - 40px)); max-width: none; height: min(820px, calc(100vh - 40px)); max-height: none; padding: 46px 64px 34px; border: 0; border-radius: 8px; background: rgba(16, 28, 24, .97); color: #fff; }
.lyl-photo-lightbox::backdrop { background: rgba(5, 13, 10, .78); backdrop-filter: blur(3px); }
.lyl-photo-lightbox figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; margin: 0; }
.lyl-photo-lightbox img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lyl-photo-lightbox figcaption { padding-top: 12px; text-align: center; font: 600 12px/1 var(--lyl-label); letter-spacing: .1em; }
.lyl-photo-lightbox button { position: absolute; z-index: 1; border: 0; color: #fff; background: transparent; cursor: pointer; }
.lyl-photo-lightbox__close { top: 10px; right: 16px; font-size: 30px; }
.lyl-photo-lightbox__prev,.lyl-photo-lightbox__next { top: 50%; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.45) !important; border-radius: 50%; transform: translateY(-50%); font-size: 18px; }
.lyl-photo-lightbox__prev { left: 10px; }
.lyl-photo-lightbox__next { right: 10px; }

@media (min-width: 768px) {
  .lyl-experience-reading__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lyl-experience-profile__head { display: block; }
  .lyl-experience-profile__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lyl-experience-school-card { grid-template-columns: 130px minmax(0, 1fr); }
  .lyl-experience-school-card img { height: 110px; }
  .lyl-experience-school-card > div { padding: 15px 18px; }
  .lyl-experience-school-card h3 { margin: 4px 0 7px; font-size: 19px; }
  .lyl-experience-profile__author { width: 100%; max-width: none; grid-template-columns: 82px minmax(0, 1fr); }
  .lyl-experience-profile__author img { width: 82px; height: 100px; }
  .lyl-experience-reading__popular { grid-template-columns: 240px minmax(0, 1fr); gap: 42px; }
}

@media (hover: hover) {
  .lyl-experience-school-card:hover img,
  .post-7060 .lyl-experience-album__item:hover img,
  .lyl-experience-reading__primary > a:hover img { transform: scale(1.025); }
  .lyl-experience-reading__primary > a:hover { border-color: var(--lyl-gold); box-shadow: 0 10px 24px rgba(31,58,71,.12); transform: translateY(-2px); }
  .lyl-experience-reading__primary > a:hover strong,
  .lyl-experience-reading__popular .lyl-content-card:hover { border-color: var(--lyl-gold); }
}

@media (max-width: 767px) {
  .lyl-experience-reading__primary > a { grid-template-columns: 112px minmax(0,1fr); min-height: 124px; }
  .lyl-experience-reading__primary figure,.lyl-experience-reading__primary img { min-height: 124px; }
  .lyl-experience-reading__primary > a > div { padding: 14px 15px; }
  .lyl-experience-reading__primary strong { font-size: 14px; line-height: 1.55; }
  .post-7060 .lyl-experience-album { width: calc(100% + 22px); margin-right: -22px; padding-right: 22px; grid-template-columns: repeat(var(--lyl-album-count, 5), minmax(78vw, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; }
  .post-7060 .lyl-experience-album__item,.post-7060 .lyl-experience-album__item:first-child { grid-column: auto; scroll-snap-align: start; }
  .post-7060 .lyl-experience-album__item img,.post-7060 .lyl-experience-album__item:first-child img { min-height: 0; aspect-ratio: 4 / 3; }
  .lyl-photo-lightbox { width: calc(100vw - 20px); height: calc(100vh - 20px); padding: 44px 10px 28px; }
  .lyl-photo-lightbox__prev,.lyl-photo-lightbox__next { top: auto; bottom: 12px; }
}

/* Boarding school prototype page: remove its isolated gray/black treatment. */
body:not(.home) .lyl-bs-hero { background: var(--lyl-paper); }
body:not(.home) .lyl-bs-kicker { color: var(--lyl-gold); }
body:not(.home) .lyl-bs-fit__grid,
body:not(.home) .lyl-bs-criteria { border-color: var(--lyl-line); background: var(--lyl-line); }
body:not(.home) .lyl-bs-fit__grid article,
body:not(.home) .lyl-bs-criteria article { background: #fff; }
body:not(.home) .lyl-boarding-landing .lyl-bs-process li { background: transparent; }
body:not(.home) .lyl-bs-family { background: var(--lyl-forest); }

/* Contact flow: keep headings legible on the dark band and constrain the
   cross-origin Google Form instead of inheriting its oversized embed height. */
body:not(.home) .lyl-contact-steps h2 { color: #fff; }
body:not(.home) main.lyl-contact-page .lyl-contact-form-section { padding-top: 20px; }

.lyl-contact-steps li { position: relative; }
.lyl-contact-steps li:not(:last-child)::after {
  content: "\2193";
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -15px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  transform: translateX(-50%);
  border: 1px solid #d0b06b;
  border-radius: 50%;
  background: #172923;
  color: #d0b06b;
  font-size: 17px;
  line-height: 1;
}

@media (min-width: 768px) {
  .lyl-contact-steps li:not(:last-child)::after {
    content: "\2192";
    top: 50%;
    right: -15px;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
  }
}
body:not(.home) .lyl-contact-form-content iframe { height: 1200px; }
@media (max-width: 767px) {
  body:not(.home) .lyl-contact-form-content iframe { height: 1050px; }
}

body:not(.home) .lyl-cost-basis { padding-block: 24px; border-bottom: 1px solid var(--lyl-line); background: var(--lyl-pale); }
body:not(.home) .lyl-cost-basis > .lyl-inner { display: grid; gap: 18px; align-items: center; }
body:not(.home) .lyl-cost-basis__head small { display: block; margin-bottom: 2px; color: var(--lyl-gold-dark); font: 700 10px/1.4 var(--lyl-label); letter-spacing: .12em; }
body:not(.home) .lyl-cost-basis__head strong { color: var(--lyl-ink); font-size: 20px; }
body:not(.home) .lyl-cost-basis dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border: 1px solid var(--lyl-line); background: #fff; }
body:not(.home) .lyl-cost-basis dl > div { padding: 12px 16px; border-right: 1px solid var(--lyl-line); }
body:not(.home) .lyl-cost-basis dl > div:last-child { border-right: 0; }
body:not(.home) .lyl-cost-basis dt { color: var(--lyl-muted); font-size: 11px; }
body:not(.home) .lyl-cost-basis dd { margin: 2px 0 0; color: var(--lyl-ink); font-size: 15px; font-weight: 600; }
body:not(.home) .lyl-cost-basis p { margin: 0; color: var(--lyl-muted); font-size: 12px; line-height: 1.7; }

@media (hover: hover) {
  body:not(.home) .lyl-button:hover { border-color: #1c4437; background: #1c4437; box-shadow: 0 9px 22px rgba(31, 58, 71, .16); transform: translateY(-2px); }
  body:not(.home) :is(.lyl-content-card, .lyl-format-grid > a, .lyl-topic-nav > a, .lyl-next-links > a, .lyl-bs-cost__links > a):hover { border-color: var(--lyl-gold); box-shadow: 0 10px 24px rgba(31, 58, 71, .12); transform: translateY(-2px); }
  body:not(.home) .lyl-structure-list > a:hover { border-color: var(--lyl-gold); box-shadow: 0 10px 24px rgba(31, 58, 71, .12); transform: translateY(-2px); }
  body:not(.home) .lyl-structure-list > a:hover i { background: var(--lyl-gold); color: #fff; transform: translateY(-50%) translateX(3px); }
}

@media (max-width: 767px) {
  body:not(.home) .lyl-cost-basis dl { grid-template-columns: 1fr; }
  body:not(.home) .lyl-cost-basis dl > div { border-right: 0; border-bottom: 1px solid var(--lyl-line); }
  body:not(.home) .lyl-cost-basis dl > div:last-child { border-bottom: 0; }
  body:not(.home) .lyl-inner,
  body:not(.home) .lyl-content { width: min(100% - 44px, 1180px); }
  body:not(.home) .lyl-section { padding-block: 58px; }
  body:not(.home) :is(.lyl-simple-hero, .lyl-detail-hero, .lyl-structure-hero, .lyl-hs-hero, .lyl-bs-hero, .lyl-summer-hero, .lyl-year-hero, .lyl-cost-hero, .lyl-grad-hero, .lyl-family-hero, .lyl-aya-hero) { padding-block: 48px; }
  body:not(.home) .lyl-button { width: 100%; }
  body:not(.home) :is(.lyl-hs-actions, .lyl-summer-actions, .lyl-year-actions, .lyl-family-actions, .lyl-search-lp-actions, .lyl-structure-actions) { display: grid; gap: 12px; }
  body:not(.home) .lyl-bs-hero__grid { grid-template-columns: 1fr; }
  body:not(.home) .lyl-bs-hero__photo { width: min(78vw, 330px); }
  body:not(.home) .lyl-bs-hero__photo img { aspect-ratio: 5 / 4; object-position: center 28%; }
  body:not(.home) .lyl-bs-trust ul { padding-block: 14px; }
  body:not(.home) .lyl-bs-trust li { padding-inline: 10px; }
  body:not(.home) .lyl-bs-trust strong { font-size: 14px; }
  body:not(.home) .lyl-bs-trust span { font-size: 12px; }
  body:not(.home) :is(.lyl-structure-hero--photo, .lyl-global-photo-hero) h1 {
    font-size: clamp(27px, 7.2vw, 32px);
    line-height: 1.5;
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  body:not(.home) .lyl-cost-basis > .lyl-inner { grid-template-columns: 180px minmax(420px, 1fr) minmax(220px, .8fr); }
  body:not(.home) main h1 { font-size: clamp(42px, 5vw, 64px); }
  body:not(.home) main h2 { font-size: 42px; }
  body:not(.home) .lyl-section { padding-block: 96px; }
  body:not(.home) :is(.lyl-simple-hero, .lyl-detail-hero, .lyl-structure-hero, .lyl-hs-hero, .lyl-bs-hero, .lyl-summer-hero, .lyl-year-hero, .lyl-cost-hero, .lyl-grad-hero, .lyl-family-hero, .lyl-aya-hero) { padding-block: 86px; }

  body:not(.home) .lyl-school-detail-hero--has-image .lyl-school-detail-hero__grid {
    height: 300px;
    gap: 36px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) clamp(340px, 33.333vw, 400px);
  }

  body:not(.home) .lyl-school-detail-hero--has-image .lyl-school-detail-hero__media { height: 100%; }

  body:not(.home) .lyl-school-detail-hero { padding-block: 18px; }
  body:not(.home) .lyl-school-detail-hero__copy { padding-block: 12px; }
  body:not(.home) .lyl-school-detail-hero__copy h1 { font-size: 44px; }
}

/* Shared photo hero: one frame with a transparent header row and a copy row.
   The moving photos are a right-side visual layer, so they never set hero height. */
body:not(.home) :is(.lyl-structure-hero--photo, .lyl-global-photo-hero) {
  position: relative;
  margin-top: 0;
  padding-block: 0;
  background: var(--lyl-paper);
  overflow: hidden;
}

body:not(.home) :is(.lyl-structure-hero--photo, .lyl-global-photo-hero) h1 {
  font-size: clamp(28px, 7.2vw, 32px);
  line-height: 1.5;
}

@media (min-width: 768px) {
  body:not(.home) :is(.lyl-structure-hero--photo, .lyl-global-photo-hero) {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  body:not(.home) :is(.lyl-global-photo-hero__grid, .lyl-structure-hero__photo-grid) {
    position: relative;
    display: block;
    height: auto;
    min-height: 0;
    padding-top: 56px;
  }

  body:not(.home) :is(.lyl-global-photo-hero__copy, .lyl-structure-hero--photo .lyl-structure-hero__copy) {
    box-sizing: border-box;
    display: flex;
    width: calc(60% - 40px);
    min-width: 0;
    min-height: 0;
    padding: 96px 0 80px;
    flex-direction: column;
    justify-content: flex-start;
    overflow: visible;
  }

  body:not(.home) :is(.lyl-structure-hero--photo, .lyl-global-photo-hero) h1 {
    font-size: clamp(34px, 3vw, 42px);
    line-height: 1.55;
  }

  body:not(.home) :is(.lyl-structure-hero--photo, .lyl-global-photo-hero) .lyl-structure-hero__collage {
    position: absolute;
    top: 0;
    right: -8%;
    bottom: 0;
    left: calc(60% + 24px);
    display: grid;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    overflow: hidden;
  }

  body:not(.home) :is(.lyl-structure-hero--photo, .lyl-global-photo-hero) .lyl-structure-hero__col {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  body:not(.home) :is(.lyl-structure-hero--photo, .lyl-global-photo-hero) .lyl-structure-hero__track {
    display: grid;
    width: 100%;
    gap: 14px;
  }

  body:not(.home) :is(.lyl-structure-hero--photo, .lyl-global-photo-hero) .lyl-structure-hero__track img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

}

@media (max-width: 767px) {
  body:not(.home) :is(.lyl-global-photo-hero__copy, .lyl-structure-hero--photo .lyl-structure-hero__copy) {
    padding-top: max(94px, calc(76px + var(--wp-admin--admin-bar--height, 0px)));
    padding-bottom: 38px;
  }
}

/* Inner-page heroes: use a compact 400px minimum while allowing
   longer translated or edited copy to grow naturally. */
@media (min-width: 768px) {
  body:not(.home) main .lyl-contact-context__box h1 {
    font-size: 46px;
  }

  body:not(.home) :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-contact-context
  ) {
    min-height: 400px;
  }

  body:not(.home) :is(.lyl-global-photo-hero__grid, .lyl-structure-hero__photo-grid) {
    min-height: 400px;
    padding-top: 0;
  }

  body:not(.home) :is(.lyl-global-photo-hero__copy, .lyl-structure-hero--photo .lyl-structure-hero__copy) {
    min-height: 400px;
    padding-top: 64px;
    padding-bottom: 64px;
    justify-content: center;
  }

}

/* Support & fees: a decision story, not a catalogue of generic cards. */
body:not(.home) .lyl-structure-page--support-fees .lyl-support-opening { padding: 110px 0; background: #fffdf8; }
.lyl-support-opening__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; align-items: start; }
.lyl-support-opening h2, .lyl-support-story h2, .lyl-support-cost h2, .lyl-support-decision h2 { font-size: clamp(30px, 3.1vw, 50px); line-height: 1.45; }
.lyl-support-opening__grid > div:last-child { font-size: 17px; line-height: 2.15; }
.lyl-support-opening__grid > div:last-child p + p { margin-top: 1.5em; }
.lyl-support-story { padding: 120px 0; background: #f3eee3; }
.lyl-support-story > .lyl-inner > header { max-width: 760px; margin-bottom: 70px; }
.lyl-support-story > .lyl-inner > header > p:last-child { font-size: 17px; }
.lyl-support-timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(15,49,42,.22); }
.lyl-support-timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: 38px 0; border-bottom: 1px solid rgba(15,49,42,.22); }
.lyl-support-timeline li > span { color: #a98337; font: 13px/1.5 monospace; letter-spacing: .12em; }
.lyl-support-timeline li > div { display: grid; grid-template-columns: 150px minmax(280px,.8fr) 1fr; gap: 34px; align-items: start; }
.lyl-support-timeline small { color: #806d48; letter-spacing: .08em; }
.lyl-support-timeline h3 { margin: 0; font-size: 23px; line-height: 1.65; }
.lyl-support-timeline p { margin: 0; line-height: 1.9; }
.lyl-support-cost { padding: 120px 0; background: #fff; }
.lyl-support-cost__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; }
.lyl-support-cost header > p:not(.lyl-num) { line-height: 2; margin: 28px 0; }
.lyl-support-cost__items { counter-reset: fee; }
.lyl-support-cost__items > div { counter-increment: fee; display: grid; grid-template-columns: 1fr 1.3fr; gap: 25px; padding: 26px 0; border-bottom: 1px solid #d8d1c4; }
.lyl-support-cost__items > div:first-child { border-top: 1px solid #d8d1c4; }
.lyl-support-cost__items strong:before { content: "0" counter(fee) "  "; color: #a98337; font: 12px/1 monospace; }
.lyl-support-cost__items span { line-height: 1.8; }
.lyl-support-decision { padding: 110px 0; color: #fff; background: #0d3028; }
.lyl-support-decision > .lyl-inner { display: grid; grid-template-columns: 1fr .8fr; gap: 9vw; align-items: center; }
body:not(.home) main.lyl-structure-page--support-fees .lyl-support-decision h2 { color: #fff; }
.lyl-support-decision .lyl-num { color: #d2b575; }
.lyl-support-decision p { line-height: 2; }
.lyl-support-decision aside { padding: 38px; color: #18352e; background: #f5f0e5; }
.lyl-support-decision aside small { display: block; margin-bottom: 20px; color: #806d48; }
.lyl-support-decision aside strong { display: block; padding: 13px 0; border-bottom: 1px solid #d5cbbb; font-size: 18px; }
.lyl-support-decision aside p { margin: 22px 0 0; font-size: 14px; line-height: 1.9; }
@media (max-width: 760px) {
  body:not(.home) .lyl-structure-page--support-fees .lyl-support-opening, .lyl-support-story, .lyl-support-cost, .lyl-support-decision { padding: 72px 0; }
  .lyl-support-opening__grid, .lyl-support-cost__grid, .lyl-support-decision > .lyl-inner { grid-template-columns: 1fr; gap: 44px; }
  .lyl-support-story > .lyl-inner > header { margin-bottom: 44px; }
  .lyl-support-timeline li { grid-template-columns: 42px 1fr; gap: 15px; padding: 30px 0; }
  .lyl-support-timeline li > div { grid-template-columns: 1fr; gap: 9px; }
  .lyl-support-timeline h3 { font-size: 20px; }
  .lyl-support-cost__items > div { grid-template-columns: 1fr; gap: 8px; }
  .lyl-support-decision aside { padding: 28px 24px; }
}

/* Contact: keep the mobile introduction short so the form arrives sooner. */
@media (max-width: 767px) {
  body:not(.home) main.lyl-contact-page .lyl-contact-context { padding: 20px 0; }
  body:not(.home) main.lyl-contact-page .lyl-contact-context__box {
    width: calc(100% - 32px);
    gap: 16px;
    padding: 18px 16px;
  }
  body:not(.home) main.lyl-contact-page .lyl-contact-context__box .lyl-num {
    margin-bottom: 7px;
    font-size: 9px;
  }
  body:not(.home) main.lyl-contact-page .lyl-contact-context__box h1 {
    margin: 0 0 7px;
    font-size: 27px;
    line-height: 1.34;
    overflow-wrap: anywhere;
    text-wrap: wrap;
    word-break: normal;
  }
  body:not(.home) main.lyl-contact-page .lyl-contact-context__lead {
    font-size: 14px;
    line-height: 1.65;
  }
  body:not(.home) main.lyl-contact-page .lyl-contact-context__box .lyl-note {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.5;
  }
  body:not(.home) main.lyl-contact-page .lyl-contact-context__assurance p { padding: 11px 13px; }
  body:not(.home) main.lyl-contact-page .lyl-contact-context__assurance strong {
    margin-bottom: 3px;
    font-size: 14px;
    line-height: 1.45;
  }
  body:not(.home) main.lyl-contact-page .lyl-contact-context__assurance span {
    font-size: 11.5px;
    line-height: 1.55;
  }
  body:not(.home) main.lyl-contact-page :is(
    .lyl-contact-context__lead,
    .lyl-contact-context__box .lyl-note,
    .lyl-contact-context__assurance span
  ) {
    display: none;
  }
}

/* Keep the expanded short-study hero above the shared photo-hero scale. */
body:not(.home) main.lyl-summer-lp .lyl-summer-hero.lyl-global-photo-hero h1 {
  max-width: 680px;
  color: #12352b;
  font-size: clamp(43px,5vw,68px);
  line-height: 1.32;
  letter-spacing: -.045em;
  white-space: normal;
}
body:not(.home) main.lyl-summer-lp :is(#programs,#current,#volunteer,#future) { scroll-margin-top: 84px; }
@media (max-width: 767px) {
  body:not(.home) main.lyl-summer-lp .lyl-summer-hero { padding-block: 26px 38px; }
  body:not(.home) main.lyl-summer-lp .lyl-summer-hero__grid { gap: 26px; }
  body:not(.home) main.lyl-summer-lp .lyl-summer-caution { display: none; }
  body:not(.home) main.lyl-summer-lp .lyl-summer-hero.lyl-global-photo-hero h1 {
    font-size: clamp(39px,11vw,51px);
    line-height: 1.34;
  }
}
.lyl-decision-questions__heading>p:not(.lyl-num){max-width:700px;margin:0;color:#cdd7d2;line-height:1.8}
@media(min-width:900px){.lyl-decision-questions__heading>p:not(.lyl-num){grid-column:2}}

.lyl-school-stories__list{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;max-width:920px}
.lyl-school-stories__list .lyl-content-card{display:grid;grid-template-columns:196px minmax(0,1fr);min-height:163px;height:auto;flex-direction:initial}
.lyl-school-stories__list .lyl-content-card__image{width:196px;min-height:163px;aspect-ratio:6/5}
.lyl-school-stories__list .lyl-content-card__image img{width:100%;height:100%;object-fit:cover}
.lyl-school-stories__list .lyl-content-card__body{min-height:0;padding:17px 18px}
.lyl-school-stories__list .lyl-content-card h3{display:-webkit-box;min-height:0;max-height:4.8em;margin:0;font-size:15px;line-height:1.6;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;text-overflow:ellipsis}
@media(max-width:782px){.lyl-school-stories__list .lyl-content-card{grid-template-columns:120px minmax(0,1fr);min-height:116px}.lyl-school-stories__list .lyl-content-card__image{width:120px;min-height:116px;aspect-ratio:1/1}.lyl-school-stories__list .lyl-content-card__body{padding:13px}.lyl-school-stories__list .lyl-content-card h3{font-size:14px;-webkit-line-clamp:3;line-clamp:3}}

.lyl-school-stories__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:none}
.lyl-school-stories__list .lyl-content-card{display:flex;min-height:0;height:100%;flex-direction:column;background:#fff;border:1px solid var(--lyl-line)}
.lyl-school-stories__list .lyl-content-card__image{width:auto;min-height:0;aspect-ratio:16/10}
.lyl-school-stories__list .lyl-content-card__image img{width:100%;height:100%;object-fit:cover}
.lyl-school-stories__list .lyl-content-card__body{min-height:170px;padding:20px}
.lyl-school-stories__list .lyl-content-card__meta{margin-bottom:16px;font-size:10px}
.lyl-school-stories__list .lyl-content-card h3{min-height:0;margin:0 0 18px;font-size:17px;line-height:1.55}
@media(max-width:782px){.lyl-school-stories__list{grid-template-columns:1fr}.lyl-school-stories__list .lyl-content-card{display:grid;grid-template-columns:120px minmax(0,1fr);min-height:116px;height:auto}.lyl-school-stories__list .lyl-content-card__image{width:120px;min-height:0;aspect-ratio:1/1}.lyl-school-stories__list .lyl-content-card__body{min-height:0;padding:13px}.lyl-school-stories__list .lyl-content-card__meta{margin-bottom:9px;font-size:9px}.lyl-school-stories__list .lyl-content-card h3{margin:0;font-size:14px;-webkit-line-clamp:3;line-clamp:3}}

/* Shared editorial typography for school introductions and blog posts. */
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) {
  color: var(--lyl-ink);
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) h2 {
  margin: 58px 0 24px;
  padding: 16px 0 0 18px;
  border-top: 1px solid var(--lyl-line);
  border-left: 3px solid var(--lyl-gold);
  color: var(--lyl-ink) !important;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.55;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) h3 {
  margin: 38px 0 18px;
  padding: 4px 0 4px 16px;
  border-top: 0;
  border-left: 2px solid var(--lyl-gold);
  color: var(--lyl-ink) !important;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.6;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) :is(h4, h5, h6) {
  margin: 30px 0 14px;
  color: var(--lyl-ink) !important;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) :is(h2, h3, h4, h5, h6) :is(span, strong, b) {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) :is(strong, b) {
  color: var(--lyl-ink) !important;
  font-weight: 700;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) :is(.has-text-color, .has-inline-color) {
  color: inherit !important;
  font-weight: inherit;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) :is(h2, h3, h4, h5, h6).has-text-color {
  color: var(--lyl-ink) !important;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) mark {
  padding: 0 .15em;
  background: #f4eee0;
  color: var(--lyl-gold-dark) !important;
  font-weight: 700;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) :is(p, li, td) span[style*="font-size"] {
  font-size: inherit !important;
  line-height: inherit !important;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) :is(p, li, td) span[style*="color:"] {
  color: inherit !important;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) :is(ul, ol) {
  display: block;
  margin: 0 0 1.5em;
  padding-left: 1.7em;
  list-style-position: outside;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) ul { list-style-type: disc; }
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) ol { list-style-type: decimal; }
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) li {
  position: static;
  padding-left: 0;
  margin-bottom: .45em;
  line-height: 1.8;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) li::before { content: none; }
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) :is(blockquote, .wp-block-quote) {
  margin: 30px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--lyl-gold);
  background: #f8f6f0;
  color: var(--lyl-ink);
  font-style: normal;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) blockquote > :last-child { margin-bottom: 0; }
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) a {
  color: var(--lyl-gold-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) .lyl-legacy-card > a {
  color: var(--lyl-ink);
  text-decoration: none;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) a:focus-visible {
  outline: 2px solid var(--lyl-gold-dark);
  outline-offset: 3px;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) hr {
  height: 1px;
  margin: 38px 0;
  border: 0;
  background: var(--lyl-line);
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) :is(table, .wp-block-table) {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 28px 0 42px;
  overflow-x: auto;
  border: 1px solid var(--lyl-line);
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 58, 71, .05);
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) .wp-block-table table {
  display: table;
  width: 100%;
  margin: 0;
  overflow: visible;
  border: 0;
  box-shadow: none;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) :is(th, td) {
  min-width: 125px;
  padding: 14px 18px;
  border: 1px solid var(--lyl-line);
  color: var(--lyl-ink);
  line-height: 1.7;
  vertical-align: top;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) th {
  background: var(--lyl-pale);
  font-weight: 700;
  text-align: left;
}
body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) tr:nth-child(even) :is(th, td) {
  background: #f8f6f0;
}
@media(max-width:767px) {
  body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) h2 { margin-top: 46px; font-size: 25px; }
  body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) h3 { font-size: 20px; }
  body:not(.home) main :is(.lyl-school-editorial__prose, .lyl-article-detail .lyl-prose) :is(th, td) { min-width: 110px; padding: 12px 14px; }
}
