/* Follow the supplied call outline; keep brand and source content, reduce spectacle. */
.call-aligned .opening-sequence{padding-bottom:0;min-height:0;height:auto}
.call-aligned .opening-sequence>.hero-stage{position:relative;top:auto;height:auto;min-height:0;padding:0}
.call-aligned #home-view .section{padding-block:72px}
.call-aligned .founder-photo{position:relative;top:auto}
.call-aligned .founder-letter{padding-block:0}
.call-aligned .hero-collage{height:560px;min-height:0}
.call-aligned .collage-plane{box-shadow:none;transform:none!important}
.call-aligned .plane-1{inset:0}
.collage-side-photos{
 position:absolute;inset:0 0 0 49%;z-index:2;
 --left-edge:linear-gradient(to right,transparent,#000 27%);
 -webkit-mask-image:var(--left-edge);mask-image:var(--left-edge)
}
.call-aligned .collage-side-photos .plane-2{inset:0 0 auto;height:62%;opacity:1}
.call-aligned .collage-side-photos .plane-3{
 inset:auto 0 0;height:53%;opacity:1;
 --top-edge:linear-gradient(to bottom,transparent,#000 25%);
 -webkit-mask-image:var(--top-edge);mask-image:var(--top-edge)
}
.call-aligned .collage-plane img{animation-duration:30s}
.call-aligned .reveal-target,.call-aligned .motion-line-inner{opacity:1!important;transform:none!important;clip-path:none!important;transition:none!important}
.call-aligned .scroll-photo,.call-aligned .scroll-photo img{clip-path:none!important;transform:none!important}
.call-aligned .section-heading{flex-wrap:wrap}
.draft-material-note{font-size:13px!important;font-weight:400!important;color:#626970!important;line-height:1.8!important;margin:16px 0 0!important;flex-basis:100%;max-width:100%!important}
.renewal-hero>.draft-material-note{padding:0 6%}
.call-additional{border-top:1px solid #d6dce0;border-bottom:1px solid #d6dce0;margin-block:36px}
.call-additional>summary{padding:24px 0;font-size:17px;cursor:pointer}
.call-additional .wrap{width:100%;max-width:100%}
.call-additional #introduction{margin:0;min-height:0}
.call-aligned .founder-editorial{align-items:center}
.call-aligned .contact-section{margin-top:50px}
@media(max-width:700px){
 .call-aligned .hero-collage{height:auto;aspect-ratio:1;min-height:320px}
 .call-aligned #home-view .section{padding-block:46px}
 .call-aligned .collage-copy{padding-top:48px}
 .collage-side-photos{left:46%;--left-edge:linear-gradient(to right,transparent,#000 38%)}
 .call-aligned .section-heading h2{font-size:30px}
 .draft-material-note{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){.call-aligned .collage-plane img{animation:none!important}}

/* The existing menu owns programme pages; the main canvas presents the call's core stories. */
#menu-section-archive[hidden]{display:none!important}
.collage-promise{font-size:20px;margin:24px 0 0;animation:collage-copy-in 1.2s .6s both}
.about-director{margin:0 0 36px;max-width:360px}
.about-director img{display:block;width:100%;height:420px;object-fit:contain;background:#fff}
.about-director figcaption{font-size:16px;padding-top:12px}
html.home-cinematic.call-aligned #home-view .home-scene{padding-top:36px;padding-bottom:76px}
html.call-aligned #home-view .hero-stage.collage-mode { padding-block:clamp(16px,2vw,32px)!important; }
html.home-cinematic.call-aligned .hero-collage{height:clamp(360px,calc(100dvh - 270px),580px)}
html.home-cinematic .scene-current .interview-rail-layout,
html.home-cinematic .scene-current .international-grid{animation:story-enter .8s cubic-bezier(.2,.6,.2,1) both}
@keyframes story-enter{from{opacity:.4;transform:translateX(35px)}to{opacity:1;transform:none}}
@media(max-width:700px){
 html.home-cinematic.call-aligned .hero-collage{height:auto;aspect-ratio:1;min-height:320px}
 .collage-promise{font-size:15px;max-width:65%;margin-top:14px}
}
@media(prefers-reduced-motion:reduce){.collage-promise{animation:none!important}}
#field-records .interview-rail{position:relative;gap:0;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0}
#field-records .interview-slide{flex:0 0 100%;max-width:none;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:clamp(24px,5vw,82px);padding:0;border:0}
#field-records .interview-slide figure{margin:0;position:relative}
#field-records .interview-slide img{width:100%;height:clamp(220px,36vh,410px);object-fit:cover;display:block}
#field-records .interview-slide figcaption{position:absolute;bottom:12px;left:14px;padding:4px 9px;color:#fff;background:#17232cbb;font-size:13px}
#field-records .interview-slide>div{padding:12px 6px}
#field-records .interview-slide h3{font-size:clamp(25px,3vw,44px);line-height:1.35;min-height:0;margin:14px 0 18px;word-break:keep-all}
#field-records .interview-slide p{font-size:clamp(16px,1.35vw,20px);line-height:1.8;word-break:keep-all;color:var(--ink)}
#field-records .story-read{display:inline-block;border-bottom:1px solid;padding:6px 0;margin-top:9px;font-size:15px}
#field-records .rail-controls{margin:0 0 8px}
@media(max-width:700px){#field-records .interview-slide{grid-template-columns:minmax(0,1fr);align-content:start;gap:12px}#field-records .interview-slide img{height:clamp(140px,23vh,220px)}#field-records .interview-slide h3{margin:8px 0 12px}#field-records .interview-slide>div{padding:0 3px}}
@font-face{font-family:GowunBatang;src:url("assets/fonts/gowun/GowunBatang-Bold.ttf") format("truetype");font-weight:700;font-display:swap}
@font-face {
 font-family:Pretendard;
 src:url("assets/renewal/fonts/PretendardVariable.woff2") format("woff2");
 font-weight:100 900;
 font-display:swap;
}
:root,html[data-layout]{--reading:Pretendard,NotoSans,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;--display:var(--reading)}
html body,body :is(button,input,select,textarea,.site-header,.site-footer,nav){font-family:var(--reading)}
html body{font-weight:400;letter-spacing:normal}
#main :is(h1,h2,h3),.detail-title{font-family:var(--display);font-weight:700;letter-spacing:-.015em;word-break:keep-all;overflow-wrap:break-word}
#main p{word-break:keep-all;overflow-wrap:anywhere}
#main .collage-copy h2{font-family:GowunBatang,Batang,serif}
.renewal-primary,.site-header button{font-weight:500}
.call-aligned .collage-copy {
  background: none;
  justify-content: flex-end;
  padding: 0 5% clamp(18px, 3vw, 40px);
  text-shadow: 0 1px 3px #14202a, 0 0 5px #14202ab0;
}
#main .collage-copy h2 {
  font-size: clamp(22px, 2.3vw, 33px);
  line-height: 1.25;
  letter-spacing: -.015em;
}
.collage-english { font-size: clamp(12px, 1vw, 15px); margin-top: 3px; }
.collage-subtitle { gap: 8px; margin-top: 10px; max-width: 100%; }
.collage-subtitle strong { font-size: clamp(16px, 1.4vw, 20px); }
.collage-subtitle span, .collage-promise { font-size: clamp(13px, 1vw, 15px); }
.collage-promise { margin: 5px 0 0; }

html.call-aligned { scroll-behavior: auto; }
.call-aligned .opening-sequence > .hero-stage { position: static; }
/* One visit per spread: the account leads, with the campus alongside it. */
#field-records .interview-rail-layout {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
#field-records .interview-rail { order: 0; }
#field-records .rail-controls {
  order: 1;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
#field-records .interview-slide {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0;
  align-items: stretch;
  background: white;
}
#field-records .interview-slide > div {
  grid-area: 1 / 1;
  align-self: center;
  padding: clamp(24px, 4vw, 60px) clamp(24px, 4vw, 60px) clamp(24px, 4vw, 60px) 0;
}
#field-records .interview-slide figure { grid-area: 1 / 2; min-height: clamp(320px, 34vw, 480px); }
#field-records .interview-slide img { position: absolute; inset: 0; height: 100%; }
#field-records .interview-slide h3 {
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.4;
  margin: 14px 0;
}
#field-records .interview-slide small { color: var(--muted); }
#field-records .interview-slide .story-read { margin-top: 18px; }
@media (max-width: 700px) {
  #field-records .interview-slide {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-content: stretch;
  }
  #field-records .interview-slide figure {
    grid-area: 1 / 1;
    min-height: 0;
    aspect-ratio: 1.85;
  }
  #field-records .interview-slide > div {
    grid-area: 2 / 1;
    align-self: start;
    position: relative;
    margin: -18px 16px 0 0;
    background: white;
    padding: 18px 15px 22px 0;
  }
  #field-records .interview-slide figcaption { bottom: auto; top: 10px; left: 10px; }
  #field-records .interview-slide h3 { font-size: 24px; margin: 8px 0; }
}

/* Match the border and lower-right corner on the original Wix symbol. */
.brand img[src$="hankook-official-logo-4x.png"] {
 object-fit:contain; object-position:center; filter:none;
 border:2px solid #fff; border-radius:0 0 20px 0;
 box-shadow:0 1px 3px rgba(0,0,0,.5);
}
/* Use the full-resolution artwork at its native aspect ratio. */
html.call-aligned .brand > img[src$="hankook-official-logo-4x.png"] {
  display: block;
  flex: none;
  width: 76px;
  height: auto;
  aspect-ratio: 502 / 519;
}
@media (max-width: 700px) {
  html.call-aligned .brand > img[src$="hankook-official-logo-4x.png"] { width: 54px; }
}
@media (max-width: 360px) {
  html.call-aligned .site-header .brand > img[src$="hankook-official-logo-4x.png"] { width: 46px; }
}
@keyframes hero-title-appear {
  from { opacity: 0; clip-path: inset(-.3em 100% -.3em -.2em); }
  to { opacity: 1; clip-path: inset(-.3em -.2em -.3em -.2em); }
}
#main #renewal-hero-title {
  animation: hero-title-appear 1.45s ease-out 0s 1 both;
}
@media (prefers-reduced-motion: reduce) {
  #main #renewal-hero-title { animation: none; }
}
/* Primary categories and their related links share one stable menu panel. */
.site-menu .site-menu-content {
  grid-template-columns: minmax(220px, .9fr) minmax(0, 1.1fr);
  gap: 6%;
}
.site-menu .site-menu-primary { grid-column: 1; align-items: flex-start; }
.site-menu .site-menu-primary > button {
  text-align: left;
  font-size: clamp(23px, 2.5vw, 38px);
  letter-spacing: -.03em;
}
.site-menu .site-menu-secondary {
  grid-column: 2;
  text-align: left;
  border-left: 1px solid var(--line);
  padding-left: 10%;
}
.site-menu .site-menu-secondary section:not([hidden]) { align-items: stretch; }
.site-menu .menu-link-list { order: -2; width: 100%; }
.site-menu .menu-link-list a { padding: 16px 0; border-bottom: 1px solid var(--line); }
.site-menu .menu-introduction { order: -1; margin-top: 20px; }
.site-menu .menu-visual { margin-top: 16px; width: 100%; }
.site-menu .menu-visual img { width: 100%; max-height: 220px; object-fit: cover; }
@media (max-width: 700px) {
  .site-menu .site-menu-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; padding-inline: 20px; }
  .site-menu .site-menu-primary > button { font-size: 19px; letter-spacing: -.03em; }
  .site-menu .site-menu-secondary { padding-left: 14px; }
  .site-menu .menu-link-list a { font-size: 16px; }
  .site-menu .menu-introduction, .site-menu .menu-visual { display: none; }
}

@media(prefers-reduced-motion:reduce){.collage-promise{animation:none}}

.call-aligned .collage-copy {
  background: none;
}
@media(max-width:600px) {
  .renewal-primary:not([hidden]) {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-height:calc(100dvh - 86px);
    overflow:auto;
  }
  .renewal-primary a {
    min-height:44px;
    white-space:normal;
    word-break:keep-all;
    overflow-wrap:anywhere;
  }
}

.call-aligned .collage-copy {
  max-width: min(100%, 640px);
  background: none;
}
.collage-process {
  display: grid;
  gap: 3px;
  margin: 10px 0 0;
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.55;
}
.collage-process strong { font-size: clamp(15px, 1.4vw, 19px); }
/* Keep the home body to the banner while preserving the shared footer. */
#home-view > :not(.opening-sequence, .home-interview-cards, .home-credentials, .home-youtube, .home-topics, .school-directory, .school-logo-marquee),
#home-view .opening-sequence > :not(.hero-stage) { display: none !important; }
.hero-collage .collage-plane, .hero-collage .collage-plane img { animation: none; transform: none; }

.greeting-header {
  max-width: 1080px;
  margin: 0 auto clamp(24px, 4vw, 48px);
  padding-bottom: clamp(18px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.greeting-header .detail-title { margin-bottom: 0; }
.greeting-layout {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2.4fr);
  gap: clamp(28px, 6vw, 72px);
  max-width: 1080px;
  margin-inline: auto;
}
.greeting-portrait { margin: 0; max-width: 300px; }
.greeting-portrait img { display: block; width: 100%; height: auto; }
.greeting-portrait figcaption {
  margin-top: 12px;
  color: var(--ink);
  font-size: 15px;
}
.greeting-portrait figcaption span { color: var(--muted); margin-inline-start: 6px; }
.greeting-letter section { max-width: 68ch; }
.greeting-letter section p {
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.8;
  margin: 0 0 1.2em;
}
.greeting-letter .greeting-signature { margin-top: 1.75em; }
.greeting-english {
  margin-top: clamp(32px, 6vw, 64px);
  padding-top: clamp(22px, 4vw, 42px);
  border-top: 1px solid var(--line);
}
.greeting-english h2 { margin: 0 0 .8em; }
.greeting-english p { hyphens: auto; }
.greeting-layout .detail-sidebar { position: static; margin-top: 32px; }
@media (max-width: 700px) {
  .greeting-layout { grid-template-columns: minmax(0, 1fr); }
  .greeting-portrait { max-width: 210px; }
}

.detail-section-layout {
  display: grid;
  grid-template-columns: minmax(242px, max-content) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.detail-section-nav { align-self: start; }
.detail-section-nav p { margin: 0 0 10px; color: var(--ink); font-size: 18px; font-weight: 700; }
.detail-section-nav ul { list-style: none; margin: 0; padding: 0; }
.detail-section-nav a {
  display: block;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  word-break: keep-all;
  white-space: nowrap;
}
.detail-section-nav a[aria-current="page"] {
  border-inline-start: 3px solid var(--navy);
  background: var(--ice);
  font-weight: 700;
}
.detail-section-nav a:hover { text-decoration: underline; }
@media (max-width: 950px) {
  .detail-section-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-section-nav ul { display: flex; flex-wrap: wrap; }
}

.reading-content .destination-landmarks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
  gap: 24px 18px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.destination-landmarks figure { margin: 0; }
.destination-landmarks img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--ice);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
 .destination-landmarks img { transition: transform 220ms ease-out; }
 .destination-landmarks figure:hover img { transform: translateY(-5px); }
}
.destination-landmarks figcaption { padding-top: 8px; line-height: 1.5; }
.destination-landmarks figcaption strong { display: block; }
.destination-landmarks figcaption a { font-size: 13px; text-decoration: underline; }

.boarding-topic-image { margin: 0 0 28px; }
.boarding-topic-image img { display: block; width: 100%; height: auto; }
.boarding-topic-image figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }

.home-interview-cards{padding-block:clamp(42px,6vw,84px)}
.home-interview-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:28px}
#home-view #home-interview-cards-title{margin:0;font-size:clamp(24px,2.6vw,34px);line-height:1.35;letter-spacing:-.02em}
#home-view #home-interview-cards-title+p{margin:12px 0 0;font-size:clamp(14px,1.2vw,16px);line-height:1.7}
.interview-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}
.interview-photo-card>a{position:relative;isolation:isolate;display:flex;align-items:end;gap:10px;justify-content:space-between;aspect-ratio:1 / 1.08;overflow:hidden;border-radius:4px;padding:clamp(12px,1.8vw,24px);cursor:pointer;color:#fff;background:#172837;text-decoration:none}
.interview-photo-card>a::before,.interview-photo-card img{position:absolute;inset:0;width:100%;height:100%}
.interview-photo-card>a::before{content:"";z-index:-1;background:linear-gradient(180deg,transparent 32%,rgba(12,24,34,.94) 100%)}
.interview-photo-card img{z-index:-2;object-fit:cover;transition:transform .3s ease-out}
.interview-photo-card>a:hover img{transform:scale(1.035)}
.interview-photo-card>a:focus-visible{outline:2px solid #1679a6;outline-offset:3px}
.interview-card-caption{min-width:0}
.interview-card-caption small,.interview-card-caption strong{display:block}
.interview-card-caption small{font-size:12px;margin-bottom:4px}
.interview-card-caption strong{font-size:clamp(15px,1.65vw,23px);line-height:1.35;word-break:keep-all}
@media(max-width:850px){.interview-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.home-interview-heading{align-items:start;flex-direction:column;margin-bottom:20px}.interview-photo-grid{gap:10px}}
@media(prefers-reduced-motion:reduce){.interview-photo-card img{transition:none}.interview-photo-card>a:hover img{transform:none}}

#interview-cards{scroll-margin-top:110px}

@media (prefers-reduced-motion: no-preference) {
  #interview-cards { overflow-x: clip; }
  .home-interview-heading, .interview-photo-card {
    transition: opacity 1.1s ease-out, transform 1.25s cubic-bezier(.25,.46,.45,.94);
  }
  .interview-awaiting-scroll { opacity: 0; transform: translateX(-20px); }
  .interview-photo-card.interview-awaiting-scroll:nth-child(even) { transform: translateX(20px); }
  .interview-photo-card:focus-within { opacity: 1; transform: none; transition: none; }
}

.call-aligned .collage-copy {
  padding-top: clamp(24px, 3vw, 40px);
}
.call-aligned .collage-english {
  margin-bottom: auto;
}
.interview-card-caption small {
  position: absolute;
  top: clamp(12px, 1.8vw, 24px);
  left: clamp(12px, 1.8vw, 24px);
  margin: 0;
  text-shadow: 0 1px 3px #14202a, 0 0 5px #14202a;
}

.interview-card-caption strong { font-size: clamp(14px, 1.35vw, 18px); overflow-wrap: anywhere; }


.interview-card-caption { width: 100%; }
.interview-card-caption .interview-all-days { font-weight: 500; line-height: 1.8; }
.interview-day-row { display: block; white-space: nowrap; font-size: 12px; }
@media(max-width:560px) {
  .interview-photo-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .interview-photo-card>a { aspect-ratio: 1.2; padding: 18px; }
}

#home-view .interview-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#home-view .interview-photo-card:nth-child(n+5) { display: none; }
.interview-story-gallery { margin-bottom: 48px; }
@media(max-width:850px) {
 #home-view .interview-photo-grid { grid-template-columns: repeat(4,minmax(160px,1fr)); overflow-x:auto; padding-bottom:8px; scroll-snap-type:x proximity; }
 #home-view .interview-photo-card { scroll-snap-align:start; }
}
@media(max-width:560px) {
 #home-view .interview-photo-grid { grid-template-columns: repeat(4, minmax(72%,1fr)); }
}

.greeting-bilingual .greeting-letter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.greeting-bilingual .greeting-english { margin-top: 0; padding-top: 0; border-top: 0; }
.greeting-bilingual .greeting-letter h2 { margin-top: 0; margin-bottom: 24px; font-size: 22px; }
.greeting-bilingual .greeting-portrait { margin-top: 40px; max-width: 260px; }
@media(max-width:900px) {
 .greeting-bilingual .greeting-letter { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

html.detail-page .renewal-primary[hidden] { display: flex !important; }
html.detail-page .site-header { transform: none !important; }
@media(max-width:600px) {
 html.detail-page .renewal-primary { display:flex; flex-wrap:wrap; padding-inline:8px; max-height:none; overflow:visible; }
 html.detail-page .renewal-menu-group summary, html.detail-page .renewal-menu-direct { min-height:36px; padding-inline:7px; font-size:12px; }
 html.detail-page .renewal-submenu { position:absolute; max-height:55dvh; overflow:auto; background:var(--white); }
}
@media (hover:hover) and (pointer:fine) {
 .interview-photo-card>a::before, .interview-photo-card .interview-all-days { opacity:0; transition:opacity .6s ease; }
 .interview-photo-card>a:hover::before, .interview-photo-card>a:focus-visible::before,
 .interview-photo-card>a:hover .interview-all-days, .interview-photo-card>a:focus-visible .interview-all-days { opacity:1; }
}
@media(prefers-reduced-motion:reduce) {
 .interview-photo-card>a::before, .interview-photo-card .interview-all-days { transition:none; }
}

/* All detail routes share the same compact, single-line page heading. */
html #main :is(.detail-title, .profile-heading h1) {
 font-family: var(--reading);
 font-size: clamp(24px, 2.4vw, 36px);
 font-weight: 700;
 line-height: 1.4;
 letter-spacing: -.015em;
 white-space: nowrap;
 overflow-wrap: normal;
 word-break: normal;
 max-width: 100%;
 min-width: 0;
}

/* A consistent day/school index for all twenty interview stories. */
#detail-view .story-schedule-table {
 width: 100%;
 table-layout: fixed;
 border-collapse: collapse;
 margin: 24px 0 40px;
 font-size: 16px;
 line-height: 1.8;
 text-align: left;
}
#detail-view .story-schedule-table th,
#detail-view .story-schedule-table td {
 padding: 14px 18px;
 border-bottom: 1px solid var(--line, #d6dce0);
 vertical-align: top;
}
#detail-view .story-schedule-table thead th {
 border-top: 1px solid var(--ink);
 background: #f5f7f8;
 font-weight: 700;
}
#detail-view .story-schedule-table th:first-child { width: 88px; white-space: nowrap; }
#detail-view .story-schedule-table tbody th { font-weight: 500; }
#detail-view .story-schedule-table td { overflow-wrap: anywhere; }
@media (max-width: 600px) {
 #detail-view .story-schedule-table { font-size: 14px; line-height: 1.75; margin-block: 20px 32px; }
 #detail-view .story-schedule-table th,
 #detail-view .story-schedule-table td { padding: 12px 10px; }
 #detail-view .story-schedule-table th:first-child { width: 68px; }
}

/* Story covers keep the content width while cropping vertically. */
#detail-view .interview-story-cover img {
 width: 100%;
 height: auto;
 aspect-ratio: 3 / 1;
 object-fit: cover;
 object-position: center;
}

/* Read one complete day at a time, with the original account intact. */
#detail-view .interview-day-section[hidden] { display: none !important; }
#detail-view .interview-story-intro { margin: 32px 0; border-block: 1px solid var(--line, #d6dce0); }
#detail-view .interview-story-intro>summary { cursor: pointer; padding: 16px 0; font-size: 16px; font-weight: 500; }
#detail-view .interview-day-section>h2:first-child { margin-top: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.5; }
#detail-view .interview-day-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-block: 40px 32px; padding-top: 24px; border-top: 1px solid var(--line, #d6dce0); }
#detail-view .interview-day-pagination button { min-height: 48px; padding: 12px 16px; background: white; color: var(--ink); border: 1px solid var(--line, #d6dce0); font: inherit; font-size: 15px; cursor: pointer; }
#detail-view .interview-day-pagination button:disabled { color: #70777b; background: #f5f7f8; cursor: default; }
#detail-view .interview-day-status { font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
#detail-view .story-schedule-table button { display: block; min-height: 44px; margin: -8px 0; padding: 8px 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
#detail-view .story-schedule-table button[aria-pressed="true"] { font-weight: 700; }
#detail-view :is(.interview-day-pagination, .story-schedule-table) button:focus-visible { outline: 2px solid #176687; outline-offset: 3px; }
#detail-view .interview-day-pagination button:not(:disabled):hover { border-color: var(--ink); }
@media (max-width: 600px) {
 #detail-view .interview-day-pagination { gap: 8px; }
 #detail-view .interview-day-pagination button { padding-inline: 8px; font-size: 14px; }
 #detail-view .interview-day-status { font-size: 12px; }
}

#detail-view .interview-story-intro>summary { display: flex; justify-content: flex-end; align-items: center; min-height: 44px; font-size: 14px; }
#detail-view .interview-story-intro>summary::-webkit-details-marker { display: none; }
#detail-view .interview-story-intro[open] .intro-open-label,
#detail-view .interview-story-intro:not([open]) .intro-close-label { display: none; }
#detail-view .interview-story-intro>summary:focus-visible { outline: 2px solid #176687; outline-offset: 3px; }

/* A shared manuscript size for every detail category and both languages. */
#detail-view { --detail-body-size: 16px; }
html #main #detail-view :is(.reading-content, .profile-main) {
 font-size: var(--detail-body-size);
 line-height: 1.85;
}
html #main #detail-view :is(.reading-content p:not(.guide-note):not(.draft-material-note), .reading-content li, .reading-content td, .reading-content th, .profile-main p:not(.profile-reference), .profile-main li, .detail-subtitle, .detail-sidebar p) {
 font-size: min(1em, var(--detail-body-size));
 line-height: 1.85;
}
html #main #detail-view .reading-content p { margin-block: 0 20px; }
@media (max-width: 700px) {
 #detail-view { --detail-body-size: 15px; }
}

/* School names act as quiet signposts inside the interview manuscript. */
#detail-view .interview-school-name {
 font-size: 1.15em;
 background: #e4f3fa;
 color: #254452;
 font-weight: 700;
 padding: .08em .28em;
 -webkit-box-decoration-break: clone;
 box-decoration-break: clone;
}

/* The three most-watched public channel uploads, beneath the interview stories. */
#home-youtube { padding-block: 36px; text-align: left; background-color: #f3f3f3; }
.home-youtube-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
html #main #home-view .home-editorial-group > h2,
#home-view #home-youtube-title { margin: 0; font-size: clamp(24px,2.6vw,34px); line-height: 1.35; letter-spacing: -.02em; }
#home-view .home-youtube-heading p { margin: 12px 0 0; font-size: clamp(14px,1.2vw,16px); line-height: 1.7; }
#home-youtube .text-link { font-size: 14px; white-space: nowrap; }
.home-youtube-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.home-youtube-card { min-width: 0; }
.home-youtube-card>a { display: block; color: var(--ink); text-decoration: none; }
.home-youtube-card figure { position: relative; margin: 0 0 16px; aspect-ratio: 16/9; overflow: hidden; border-radius: 12px; background: #eef2f4; }
.home-youtube-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .home-youtube-card figure > img { transition:transform .3s ease-out; }
 .home-youtube-card > a:is(:hover,:focus-visible) figure > img { transform:scale(1.045); }
}
.home-youtube-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 52px; height: 40px; display: grid; place-items: center; background: #12222bdd; border-radius: 8px; }
.home-youtube-play svg { width: 24px; height: 24px; fill: white; }
.home-youtube-card>a:hover .home-youtube-play { background: #b81818; }
.home-youtube-duration { position: absolute; right: 8px; bottom: 8px; padding: 2px 5px; color: white; background: #12222bdd; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; }
#main #home-youtube h3 { font-size: 17px; line-height: 1.5; margin: 0 0 4px; letter-spacing: -.01em; }
#home-youtube .home-youtube-school { margin: 0 0 8px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
#home-youtube a:focus-visible { outline: 2px solid #176687; outline-offset: 5px; }
@media(max-width:700px) {
 #home-youtube { padding-block: 24px; }
 .home-youtube-heading { margin-bottom: 20px; }
 .home-youtube-grid { gap: 24px 12px; }
 #main #home-youtube h3 { font-size: 16px; }
}

#home-view #home-youtube-title { display: flex; align-items: center; gap: 10px; }
/* YouTube mark: https://github.com/simple-icons/simple-icons/blob/develop/icons/youtube.svg */
#home-youtube-title .home-youtube-symbol { width: 1.2em; height: 1.2em; flex: none; fill: #ff0033; stroke: none; }

/* Standalone school names in interview narratives. */
#detail-view .interview-day-section .interview-school-heading {
  margin-block: 36px 22px;
  padding: 12px 16px;
  border-inline-start: 3px solid #2dbbef;
  background: #f0f8fc;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Body copy reveals once as each paragraph enters the viewport. */
html #detail-view .body-text-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1400ms cubic-bezier(.25, .46, .45, .94),
              transform 1400ms cubic-bezier(.25, .46, .45, .94);
}
html #detail-view .body-text-reveal.body-reveal-pending {
  opacity: 0;
  transform: translateY(16px);
}
html #detail-view .body-text-reveal:focus-within {
  opacity: 1;
  transform: none;
  transition: none;
}
@media (prefers-reduced-motion: reduce), print {
  html #detail-view .body-text-reveal.body-text-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Menu hierarchy: a steady text baseline and a distinct current category. */
#site-menu .renewal-menu-direct {
 position: relative;
 justify-content: center;
 color: #344650;
 font-weight: 500;
 line-height: 1.5;
 letter-spacing: -.015em;
 text-decoration: none;
 text-shadow: none;
 opacity: 1;
 transition: color 160ms ease, background-color 160ms ease;
}
#site-menu .renewal-menu-direct::after {
 content: '';
 position: absolute;
 bottom: 7px;
 left: 50%;
 width: 24px;
 height: 2px;
 margin-left: -12px;
 background: #147398;
 opacity: 0;
}
#site-menu .renewal-menu-direct[aria-current] {
 color: #126181;
 font-weight: 700;
 background: #eff8fc;
}
#site-menu .renewal-menu-direct[aria-current]::after { opacity: 1; }
#site-menu .renewal-menu-direct:hover {
 color: #126181;
 background: #f3f9fc;
 text-decoration: none;
}
#site-menu .renewal-menu-direct:focus-visible {
 outline: 2px solid #147398;
 outline-offset: -4px;
}
.detail-section-nav a {
 color: #344650;
 line-height: 1.65;
 letter-spacing: -.015em;
 text-align: start;
 text-decoration: none;
}
.detail-section-nav a[aria-current="page"] {
 color: #126181;
 border-inline-start-color: #147398;
 background: #eff8fc;
}
.detail-section-nav a:hover { color: #126181; background: #f3f9fc; text-decoration: none; }
@media (max-width: 600px) {
 #site-menu .renewal-menu-direct { justify-content: flex-start; }
 #site-menu .renewal-menu-direct::after { left: 7px; margin-left: 0; bottom: 3px; width: 18px; }
}
@media (prefers-reduced-motion: reduce) {
 #site-menu .renewal-menu-direct { transition: none; }
}

/* Give expanded school photos and itineraries room below the divider. */
#detail-view .interview-archive .interview-body { padding-top: 24px; }
@media (max-width: 760px) {
 #detail-view .interview-archive .interview-body { padding-top: 20px; }
}

/* Home has hover submenus; detail pages retain direct category links. */
.renewal-menu-item { display: flex; align-items: stretch; }
.home-menu-submenu[hidden] { display: none; }
.home-menu-submenu {
 position: absolute;
 z-index: 5;
 inset-inline: 0;
 top: 100%;
 display: grid;
 grid-template-columns: minmax(180px, .8fr) minmax(0, 2fr);
 gap: 32px;
 padding: 24px max(40px, calc((100% - 1280px) / 2));
 background: #fff;
 border-block: 1px solid var(--line);
 box-shadow: 0 12px 18px #1226300a;
}
.home-menu-submenu>strong { color: #126181; font-size: 20px; line-height: 1.6; }
.home-menu-submenu ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 28px; }
.home-menu-submenu .home-submenu-link { display: flex; align-items: center; min-height: 44px; padding: 8px 0; color: #344650; font-size: 15px; line-height: 1.6; white-space: normal; word-break: keep-all; }
.home-menu-submenu .home-submenu-link:hover { color: #126181; text-decoration: underline; text-underline-offset: 5px; }
.home-submenu-open>.renewal-menu-direct { color: #126181!important; background: #eff8fc; }
.home-submenu-toggle { display: none; }
html.detail-page .renewal-menu-item { display: contents; }
html.detail-page .home-menu-submenu, html.detail-page .home-submenu-toggle { display: none!important; }
@media (max-width: 600px), (hover: none) {
 html:not(.detail-page) .renewal-menu-item { display: flex; flex-wrap: wrap; min-width: 0; }
 html:not(.detail-page) .renewal-menu-item>.renewal-menu-direct { flex: 1; min-width: 0; }
 html:not(.detail-page) .home-submenu-toggle { display: grid; place-items: center; flex: none; width: 36px; min-height: 44px; padding: 0; border: 0; background: transparent; color: #126181; }
 html:not(.detail-page) .home-submenu-open { grid-column: 1/-1; }
 html:not(.detail-page) .home-menu-submenu { position: static; flex-basis: 100%; padding: 8px 12px 16px; box-shadow: none; }
 .home-menu-submenu>strong { display: none; }
 .home-menu-submenu ul { grid-template-columns: 1fr; gap: 0; }
}

/* Readable question headings and a native numbered school checklist. */
#main #detail-view .boarding-qa h2 { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.6; letter-spacing: -.015em; }
#detail-view .boarding-qa>section+section { margin-top: 40px; }
#detail-view .boarding-qa ol { padding-inline-start: 1.75em; }
#detail-view .boarding-qa li { padding-inline-start: .25em; margin-bottom: 8px; }

/* Place the portrait one blank line after the Korean invitation. */
#detail-view .greeting-letter section[lang="ko"]>p:last-of-type { margin-bottom: 0; }
#detail-view .greeting-letter section[lang="ko"]>.greeting-portrait { margin-block: 1.85em 0; max-width: min(260px, 100%); }

/* Shared body subheading size: 15pt equals 20 CSS pixels. */
html #main #detail-view :is(.reading-content, .profile-main) :is(h2, h3) {
 font-size: 20px;
 line-height: 1.55;
 letter-spacing: -.015em;
}

/* Name the introduction while keeping its native disclosure control. */
#detail-view .interview-story-intro>summary { justify-content: space-between; gap: 16px; }
#detail-view .interview-prologue-title { margin-inline-end: auto; font-size: 20px; line-height: 1.55; font-weight: 700; letter-spacing: -.015em; }

#home-youtube .home-youtube-heading>.text-link {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 10px 16px;
 border: 0;
 border-radius: 4px;
 background: #fff4c9;
 color: #3d3a2c;
 line-height: 1.5;
 text-decoration: none;
}
#home-youtube .home-youtube-heading>.text-link:hover { background: #ffecad; }

/* Prologues are always expanded inside a plain rectangular outline. */
#detail-view .interview-story-intro { border: 1px solid var(--line, #d6dce0); border-radius: 0; padding: 24px; }
#main #detail-view .interview-story-intro>.interview-prologue-title { margin: 0 0 20px; }
@media (max-width: 600px) {
 #detail-view .interview-story-intro { padding: 18px; }
}

/* Degree comparison follows the supplied three-column reference. */
#detail-view .reading-content .degree-types-table { width: 100%; margin-block: 24px 32px; border-collapse: collapse; table-layout: fixed; }
#detail-view .degree-types-table col:nth-child(1) { width: 31%; }
#detail-view .degree-types-table col:nth-child(2) { width: 10%; }
#detail-view .degree-types-table col:nth-child(3) { width: 59%; }
#detail-view .reading-content .degree-types-table :is(th,td) { padding: 14px 12px; border: 1px solid #434b50; text-align: center; vertical-align: middle; background: #fff; color: var(--ink); overflow-wrap: anywhere; }
#detail-view .degree-types-table th { font-weight: 500; }
@media (max-width: 600px) {
 #detail-view .degree-types-table col:nth-child(1) { width: 29%; }
 #detail-view .degree-types-table col:nth-child(2) { width: 13%; }
 #detail-view .degree-types-table col:nth-child(3) { width: 58%; }
 #detail-view .reading-content .degree-types-table :is(th,td) { padding: 10px 6px; word-break: normal; }
}

/* Preserve the supplied PDF's compact body lists and paired examples. */
#detail-view .reading-content .pdf-source-list { list-style: none; margin: 0 0 20px; padding: 0; }
#detail-view .reading-content .pdf-source-list>li { margin: 0; padding: 0; font-weight: inherit; }
#detail-view .reading-content .source-example { padding-inline-start: 1.5em; }

/* The four videos selected by the client, in the supplied order. */
.home-youtube-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) {
 .home-youtube-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Compact advantages, with one additional line before the disadvantages. */
html #main #detail-view .reading-content p.compact-after { margin-bottom: 0; }
html #main #detail-view .reading-content p.extra-line-before { margin-top: calc(20px + 1.85em); }
#detail-view .reading-content .school-reference-links { list-style: none; margin: 0; padding: 0; }
#detail-view .reading-content .school-reference-links>li { margin: 0 0 20px; padding: 0; }
#detail-view .school-reference-links a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

#detail-view .school-reference-link { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

#detail-view .school-reference-links.school-reference-links-blue a { color: #1565c0; text-decoration: none; }

#detail-view .reading-content a.reference-link-button {
 display: inline-flex; align-items: center; justify-content: center;
 min-height: 44px; margin-top: 6px; padding: 6px 16px;
 border: 1px solid #b8d3ef; border-radius: 4px;
 background: #edf5ff; color: #1565c0; text-decoration: none;
 font-size: 15px; font-weight: 500; line-height: 1.4;
}
#detail-view .reading-content a.reference-link-button:hover { background: #deecfc; border-color: #1565c0; }
#detail-view .reading-content a.reference-link-button:focus-visible { outline: 2px solid #1565c0; outline-offset: 3px; }

#detail-view .school-reference-links img.school-reference-photo { display: block; width: 533px; max-width: 100%; height: auto; margin: 12px 0 6px; }

#detail-view .reading-content figure.editorial-inline-image { margin: 0 0 20px; }
#detail-view .editorial-inline-image img { display: block; max-width: 100%; width: 773px; height: auto; }

#detail-view .interview-intro-prose { max-width: none; }
html #main #detail-view .interview-intro-prose>p { margin: 0 0 20px; text-wrap: pretty; }
html #main #detail-view .interview-intro-prose>.interview-intro-signature { margin: 32px 0 0; }
#detail-view .interview-itinerary .itinerary-school { display: block; }
#detail-view .interview-itinerary .itinerary-school+.itinerary-school { margin-top: 4px; }

#detail-view .interview-archive .interview-campus-photo { aspect-ratio: 3 / 2; }
#detail-view .interview-archive .interview-campus-main,
#detail-view .interview-archive .interview-campus-choices button img { object-fit: cover; object-position: center; }
#detail-view :is(.reading-content,.profile-main) p[data-reading-chunk] { text-wrap: pretty; }

/* Reading pilot: interview story 1 only. */
#detail-view.story-reading-pilot :is(.interview-story-intro,.interview-day-section,.interview-day-pagination) { max-width: 680px; margin-inline: auto; }
html #main #detail-view.story-reading-pilot .reading-content :is(.interview-story-intro,.interview-day-section)>p { margin-block: 0 24px; line-height: 1.9; text-wrap: pretty; }
html #main #detail-view.story-reading-pilot .interview-day-section>h2 { margin-block: 40px 20px; }
html #main #detail-view.story-reading-pilot .interview-day-section>h2:first-child { margin-top: 0; }

#detail-view.story-reading-pilot .story-school-preview { margin-block: 32px 48px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
#detail-view.story-reading-pilot .story-school-photo { margin: 0 0 20px; }
#detail-view.story-reading-pilot .story-school-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
html #main #detail-view.story-reading-pilot .reading-content :is(.story-school-excerpt,.story-school-rest)>p { margin: 0 0 24px; line-height: 1.9; text-wrap: pretty; }
#detail-view .story-school-rest[hidden] { display: none !important; }
#detail-view :is(.story-school-read-more,.story-school-read-all) { min-height: 44px; padding: 10px 18px; border: 1px solid #b8d3ef; border-radius: 4px; background: #edf5ff; color: #1565c0; font: inherit; font-size: 15px; cursor: pointer; }
#detail-view .story-school-read-all { display: block; margin: 24px auto; }
#detail-view :is(.story-school-read-more,.story-school-read-all):hover { background: #deecfc; }
#detail-view :is(.story-school-read-more,.story-school-read-all):focus-visible { outline: 2px solid #1565c0; outline-offset: 3px; }

#detail-view :is(.story-school-read-more,.story-school-read-all),
#detail-view :is(.story-school-read-more,.story-school-read-all):hover { padding-inline: 0; border: 0; border-radius: 0; background: transparent; color: #1565c0; }
#detail-view :is(.story-school-read-more,.story-school-read-all):hover { text-decoration: underline; text-underline-offset: 4px; }

.site-footer .footer-bottom .footer-maker { color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-maker:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Service philosophy: one bullet per bilingual service item. */
html #main #detail-view .degree-service-points { list-style: disc outside; padding-left: 1.25em; margin: 0; }
html #main #detail-view .degree-service-points>li { display: list-item; margin: 0 0 24px; padding-left: .15em; line-height: inherit; }

html #main #detail-view .reading-content>p.degree-graduate-heading { margin-top: 3.7em; }

.home-section-actions { display:flex; justify-content:flex-end; margin-top:16px; }
.home-section-link {
 display:inline-flex;
 align-items:center;
 gap:.6em;
 min-height:44px;
 color:#344651;
 font-size:14px;
 font-weight:500;
 text-decoration:none;
}
.home-section-link span { color:#087099; font-size:18px; }
.home-section-link:hover { text-decoration:underline; text-underline-offset:5px; }
.home-section-link:focus-visible { outline:2px solid #087099; outline-offset:3px; }

html[data-layout] body,
html[data-layout] :is(.button,.text-link,.section-kicker) {
 font-family:var(--reading);
}
html[data-layout] body { font-weight:450; }
html #site-menu :is(a,summary,button) { font-family:var(--reading); font-weight:600; }
html #main .reading-content :is(p,li) { font-weight:450; }

html #main #home-view > .home-editorial {
 display:grid !important;
 gap:36px;
 padding-block:clamp(32px,5vw,64px);
}
.home-editorial-group h2 small { display:inline-block; font-size:.6em; font-weight:500; }
#home-view .home-editorial-points {
 display:grid;
 gap:.45em;
 margin:14px 0 0;
 padding-inline-start:1.3em;
 list-style:disc;
 max-width:78ch;
 line-height:1.75;
 word-break:keep-all;
 overflow-wrap:anywhere;
}
.home-editorial-points li::marker { color:#557381; }

#home-youtube .home-youtube-card img { filter:contrast(1.06) saturate(1.04); }
#home-youtube .home-youtube-play {
 inset:auto 8px 8px auto;
 transform:none;
 width:32px;
 height:25px;
 border-radius:6px;
}
#home-youtube .home-youtube-play svg { width:16px; height:16px; }
#home-view :is(.home-blog-button,.home-editorial-link) {
 display:inline-flex;
 align-items:center;
 gap:10px;
 margin-top:18px;
 min-height:48px;
 padding:8px 16px 8px 9px;
 border:1px solid #ccd7dd;
 border-radius:14px;
 background:#fff;
 transition:background-color .2s ease;
 color:#243b47;
 text-decoration:none;
 font-weight:600;
}
#home-view .home-blog-button img { width:30px; height:30px; border-radius:8px; }
#home-view :is(.home-blog-button,.home-editorial-link):hover { background:#dceffc; }
#home-view :is(.home-blog-button,.home-editorial-link):focus-visible { outline:2px solid #28759b; outline-offset:3px; }

#home-view .home-editorial-link svg { width:20px; height:20px; margin-inline-start:5px; }

html:not(.detail-page) .site-header { transform:none!important; }
html[data-layout="mobile"] .site-header .header-actions > .menu-trigger { display:none; }
@media(min-width:601px) {
 html:not(.detail-page) .site-header .menu-trigger { display:none; }
}
@media (max-width:600px), (max-width:800px) and (pointer:coarse) {
 html[data-layout] .site-header .header-actions > .menu-trigger { display:none; }
 html[data-layout] .site-header #site-menu.renewal-primary:not([hidden]) {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:2px;
  padding:4px max(8px,env(safe-area-inset-left)) 4px max(8px,env(safe-area-inset-right));
  max-height:none;
  overflow:visible;
 }
 html[data-layout] .site-header #site-menu .renewal-menu-item { display:contents; }
 html[data-layout] .site-header #site-menu :is(.home-submenu-toggle,.home-menu-submenu) { display:none; }
 html[data-layout] .site-header #site-menu .renewal-menu-direct {
  justify-content:center;
  min-height:44px;
  padding:4px 2px;
  border-radius:6px;
  font-size:clamp(12px,3vw,14px);
  line-height:1.27;
  text-align:center;
 }
 html[data-layout] .site-header #site-menu .renewal-menu-direct::after {
  left:50%;
  margin-left:-9px;
  bottom:2px;
 }
}
#home-view { --home-feature-width:min(1320px, calc(100% - 80px)); }
#home-view > .home-topics {
 --topic-card-height:clamp(360px,32vw,440px);
 width:100%;
 background-color:#f3f3f3; display:block; padding-block:clamp(22px,3vw,46px);
}
.topic-track { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 32px)/3); gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.topic-card { display:flex; flex-direction:column; text-align:left; position:relative; isolation:isolate; overflow:hidden; scroll-snap-align:start; border-radius:18px; padding:28px; height:var(--topic-card-height); background:#ddedf5; color:#142e3c; }
.topic-card:nth-child(3n+1){background:#f4e4af}
.topic-card:nth-child(3n){background:#d6e8df}
.topic-card strong { font-size:clamp(22px,2.3vw,34px); line-height:1.3; }
.topic-card span { margin-top:10px; font-size:16px; }
.topic-card img { position:absolute; bottom:0; inset-inline:0; width:100%; height:60%; object-fit:cover; mask-image:linear-gradient(transparent,#000 32%); }
.home-topics form button { width:44px; height:44px; border-radius:50%; background:#edf3f6; color:#234554; }
.home-topics dialog { width:min(90vw,620px); border-radius:18px; }
.home-topics dialog h2 { font-size:26px; padding-right:48px; }
.home-topics form { float:right; }
.home-topics dialog a { display:inline-block; margin-top:16px; text-decoration:underline; }
.topic-card:focus-visible { outline-offset:-4px; }
@media(max-width:800px){.topic-track{grid-auto-columns:75%}}
.topic-track { scroll-snap-type:none; }
.topic-card.topic-photo { color:white; background:#273640; }
.topic-card.topic-photo img { filter:contrast(1.06) saturate(1.04); inset:0; height:100%; mask-image:none; z-index:-2; }
.topic-card.topic-photo::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,#1019249e,#10192480 24%,transparent 47%); }
.topic-card[data-topic="topic-1"] img { object-position:56% center; }

html[data-layout] .site-header .header-inner {
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 grid-template-rows:minmax(0,1fr);
 align-items:center;
}
.site-header .header-inner > .brand { grid-column:1; grid-row:1; justify-self:start; }
.site-header .header-inner > .header-actions { grid-column:2; grid-row:1; justify-self:end; }
.site-header .header-contact {
 display:flex;
 justify-content:flex-end;
 align-items:center;
 gap:8px;
}
.site-header .header-contact a {
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:7px;
 min-height:44px;
 padding-inline:14px;
 border:1px solid #d3dfe5;
 border-radius:999px;
 background:#fff;
 color:#253c49;
 text-decoration:none;
 font-size:14px;
 font-weight:600;
 line-height:1.25;
 white-space:nowrap;
}
.site-header .header-contact svg {
 width:16px;
 height:16px;
 flex:none;
 fill:none;
 stroke:currentColor;
 stroke-width:1.6;
 stroke-linecap:round;
 stroke-linejoin:round;
}
.site-header .header-contact a:hover {
 background:#edf6fa;
 border-color:#9bc1d2;
}
.site-header .header-contact a:focus-visible {
 outline:2px solid #087099;
 outline-offset:3px;
}
@media (max-width:560px) {
 html[data-layout] .site-header .header-inner {
  height:auto;
  grid-template-rows:minmax(72px,auto);
  column-gap:6px;
  padding:5px max(12px,env(safe-area-inset-right)) 5px max(12px,env(safe-area-inset-left));
 }
 .site-header .header-inner > .brand { min-width:0; }
 html[data-layout] .site-header .brand > .brand-wordmark { white-space:normal; }
 .site-header .header-contact { gap:4px; }
 .site-header .header-contact a { width:44px; padding:0; }
 .site-header .header-contact-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}

.footer-social { display:flex; align-items:center; gap:6px; margin-block:16px 4px; }
.footer-social a { display:grid; width:44px; height:44px; place-items:center; border-radius:50%; }
.footer-social img { display:block; width:34px; height:34px; border-radius:50%; }
.footer-social a:is(:hover,:focus-visible) { background:#e6f3fa; }

.footer-social .footer-youtube-symbol { display:block; width:34px; height:34px; fill:#ff0033; stroke:none; }

.story-preview { padding:0; }
.story-preview:has(.story-preview-body:not([hidden]))::before { background:rgba(12,23,40,.88); }
.story-preview { --preview-inset:clamp(16px,2vw,28px); height:var(--topic-card-height); box-sizing:border-box; }
.story-preview-trigger { display:block; flex:none; width:100%; padding:var(--preview-inset) var(--preview-inset) 0; text-align:left; color:inherit; background:transparent; border:0; }
.story-preview-trigger span { display:block; }
.story-preview-trigger { text-shadow:0 1px 4px rgba(0,0,0,.85); }
.story-preview-body, .story-preview-body[hidden] { display:flex; flex-direction:column; flex:1; min-height:0; gap:10px; padding:clamp(14px,1.5vw,22px) var(--preview-inset) var(--preview-inset); font-size:13px; line-height:1.5; }
.home-topics .topic-track .story-preview-body { overflow-y:auto; }
.story-preview-body[hidden] { visibility:hidden; pointer-events:none; }
.story-preview-body ul { flex:none; padding-left:1.1em; margin:0; list-style:disc; }
.story-preview-body li + li { margin-top:4px; }
.story-preview-body a { flex:none; align-self:flex-end; margin-top:auto; color:inherit; text-decoration:underline; }
.story-preview-trigger[aria-expanded="false"]::after { content:""; position:absolute; inset:0; }

html[data-layout] :is(.site-header,.site-footer) .brand {
 gap:8px;
 align-items:center;
}
html[data-layout] :is(.site-header,.site-footer) .brand > .brand-wordmark {
 display:flex;
 flex-direction:column;
 gap:0;
 color:#181818;
 font-family:var(--reading);
 letter-spacing:0;
 white-space:nowrap;
}
html[data-layout] :is(.site-header,.site-footer) .brand .brand-wordmark > b {
 color:#0eb0f3;
 font-size:23px;
 font-weight:400;
 line-height:1.35;
 letter-spacing:0;
}
.brand-english { font-size:18px; font-weight:700; line-height:1.35; }
.brand-tagline { font-size:12px; line-height:1.4; }
.brand-since { font-size:10px; line-height:1.4; }
html[data-layout] .site-header .header-inner > .brand:focus { outline:none; }
.site-header .header-inner > .brand:focus-visible b { text-decoration:underline; text-decoration-color:#087099; text-underline-offset:.1em; }
@media (max-width:700px) {
 html[data-layout] :is(.site-header,.site-footer) .brand .brand-wordmark > b { font-size:18px; line-height:1.2; }
 .brand-english { font-size:15px; line-height:1.25; }
 .brand-tagline { font-size:10px; }
 .brand-since { font-size:9px; }
}
.footer-business { display:flex; flex-wrap:wrap; gap:4px 20px; margin:20px 0 0; color:var(--muted); font-size:13px; line-height:1.65; }
.footer-business > div { display:flex; align-items:baseline; gap:7px; }
.footer-business dt { flex:none; font-weight:700; }
.footer-business dd { margin:0; }

html[data-layout] #home-view .hero-stage.collage-mode::after { content:none; }
#home-view .home-slideshow {
 position:relative; isolation:isolate; overflow:hidden; border-radius:16px;
 width:var(--home-feature-width); margin-inline:auto;
 background:#192c3c; color:#fff;
 --home-slide-transition-duration:.65s;
}
.home-slideshow-slides { display:grid; min-height:clamp(420px,40vw,600px); }
.home-slide { position:relative; display:grid; grid-template-columns:minmax(0,1fr); align-items:end; grid-area:1 / 1; visibility:hidden; min-width:0; }
.home-slide.is-active { visibility:visible; z-index:1; }
@media (prefers-reduced-motion:no-preference) {
 .home-slide.is-entering, .home-slide.is-leaving {
  animation-duration:var(--home-slide-transition-duration);
  animation-timing-function:cubic-bezier(.4,0,.2,1);
  animation-fill-mode:both;
 }
 .home-slide.is-entering { animation-name:home-slide-push-in; }
 .home-slide.is-leaving { animation-name:home-slide-push-out; }
}
@keyframes home-slide-push-in {
 from { translate:100% 0; }
 to { translate:0 0; }
}
@keyframes home-slide-push-out {
 from { visibility:visible; translate:0 0; }
 to { visibility:visible; translate:-100% 0; }
}
.home-slide > img {
 position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center;
 filter:contrast(1.08) saturate(1.16) brightness(1.035);
}
.home-slide--soft > img { filter:contrast(.92) saturate(.94) brightness(1.02); }
.home-slide--natural-photo > img { filter:none; }
.home-slide-copy {
 position:relative; z-index:1; padding:44px clamp(28px,4vw,64px) clamp(40px,5vw,72px);
 opacity:0;
 text-shadow:0 1px 3px rgba(8,18,26,.95), 0 2px 12px rgba(8,18,26,.75);
}
.home-slide.is-active .home-slide-copy {
 animation:home-slide-copy-in .55s ease-out var(--home-slide-transition-duration) both;
}
@keyframes home-slide-copy-in {
 from { opacity:0; translate:0 16px; }
 to { opacity:1; translate:0 0; }
}
.home-slide-copy h2 { color:#fff; margin:0 0 .32em; font-size:clamp(24px,4vw,57px); line-height:1.18; overflow-wrap:anywhere; }
.home-slide-copy p { color:#fff; max-width:62ch; margin:.35em 0 0; font-size:clamp(14px,1.4vw,19px); line-height:1.55; }
@media (min-width:701px) {
 .home-slide[data-copy-contrast] .home-slide-copy {
  --copy-inset:clamp(12px,calc(4vw - 16px),48px);
  --copy-opacity:.68;
  justify-self:start;
  max-width:calc(100% - var(--copy-inset) - var(--copy-inset));
  margin:0 var(--copy-inset) clamp(24px,3vw,56px);
  padding:12px 16px 14px;
  border-radius:10px;
  background:rgba(10,20,32,var(--copy-opacity));
 }
 .home-slide[data-copy-contrast="strong"] .home-slide-copy { --copy-opacity:.76; }
}
@media (max-width:700px) {
 #home-view { --home-feature-width:calc(100% - 32px); }
 #home-view .home-slideshow { border-radius:12px; }
 .home-slideshow-slides { min-height:0; }
 .home-slide { grid-template-rows:auto 1fr; align-items:start; }
 .home-slide > img { position:static; display:block; aspect-ratio:8 / 5; height:auto; }
 .home-slide-copy { padding:18px 18px 22px; text-shadow:none; }
 .home-slide-copy h2 { font-size:clamp(20px,5.1vw,28px); text-wrap:balance; }
 .home-slide-copy p { font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
}
@media (prefers-reduced-motion:reduce) {
 .home-slide.is-active .home-slide-copy { animation:none; opacity:1; }
}

.school-logo-marquee { padding:40px 0 36px; margin:0; background:#fff; overflow:hidden; position:relative; }
.school-logo-marquee-window{overflow:hidden;direction:ltr}
.school-logo-marquee-track{display:flex;width:max-content;animation:school-logo-drift 65s linear infinite}
.school-logo-marquee-group{display:flex;align-items:center;gap:48px;padding-right:48px;flex-shrink:0}
.school-logo-marquee-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;flex:0 0 176px;width:176px;text-decoration:none;color:#52616b}
.school-logo-marquee-item img{width:164px;height:76px;object-fit:contain;display:block}
.school-logo-marquee-item[data-school=taft] img{background:#183b50;padding:12px;box-sizing:border-box}
.school-logo-marquee-item span{font-size:12px;line-height:1.5;white-space:nowrap}
.school-logo-marquee:is(:hover,:focus-within) .school-logo-marquee-track,.school-logo-marquee.is-paused .school-logo-marquee-track{animation-play-state:paused}
.school-logo-marquee a:focus-visible{outline:2px solid #087da9;outline-offset:5px}
@keyframes school-logo-drift{to{transform:translateX(-50%)}}
@media(max-width:600px){.school-logo-marquee-group{gap:28px;padding-right:28px}.school-logo-marquee-item{flex-basis:144px;width:144px}.school-logo-marquee-item img{width:132px;height:64px}.school-logo-marquee-item span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.school-logo-marquee-track{animation:none}.school-logo-marquee-window{overflow-x:auto;padding-bottom:8px}.school-logo-marquee-group[aria-hidden=true]{display:none}}

.school-logo-marquee #school-marquee-title {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 24px;
  padding-inline: clamp(20px, 3.4vw, 48px);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.4;
}
.school-logo-marquee-item[data-school="lawrenceville"] img {
  box-sizing:border-box;
  background:#852337;
  padding:8px;
  border-radius:6px;
}

.school-logo-marquee-item:is([data-school=exeter],[data-school=andover],[data-school=choate],[data-school=st-pauls]) {
  flex-direction:row;
  width:clamp(188px,20vw,236px);
  flex-basis:clamp(188px,20vw,236px);
  gap:12px;
}
.school-logo-marquee-item:is([data-school=exeter],[data-school=andover],[data-school=choate],[data-school=st-pauls]) img {
  width:58px;
  height:64px;
  flex:none;
}
.school-logo-marquee-item:is([data-school=exeter],[data-school=andover],[data-school=choate],[data-school=st-pauls]) span {
  font-size:clamp(16px,1.5vw,19px);
  font-weight:500;
  line-height:1.25;
  white-space:normal;
  color:#283844;
  text-align:left;
}

.home-topics #home-topics-title {
  margin: 0 0 18px;
  padding-inline: clamp(16px, 2vw, 28px);
  text-align: left;
  font-size: clamp(16.5px, 1.875vw, 24px);
  line-height: 1.4;
  word-break: keep-all;
  text-wrap: balance;
}

.home-topics-heading { display: contents; }
.home-topics-touch-hint { display: none; }

html[data-layout="mobile"] .home-topics-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 18px;
  padding-inline: clamp(16px, 2vw, 28px);
}

html[data-layout="mobile"] .home-topics #home-topics-title {
  margin: 0;
  padding-inline: 0;
}

html[data-layout="mobile"] .home-topics-touch-hint {
  display: block;
  margin: 0;
  color: #254b5d;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}

.home-credentials {
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 width:var(--home-feature-width);
 margin:0 auto clamp(30px,5vw,72px);
 border-radius:16px;
 background-color:#06112a;
 background-image:linear-gradient(90deg,rgba(5,15,37,.83) 15%,rgba(5,15,37,.55) 48%,transparent 72%),url("assets/renewal/hankook-global-routes.webp");
 background-position:center,center right;
 background-size:cover;
 color:#fff;
}
.home-credentials-copy {
 max-width:790px;
 padding:clamp(28px,4.5vw,68px) clamp(24px,4.2vw,66px);
}
#home-credentials-title {
 margin:0;
 color:#fff;
 font-size:clamp(26px,3vw,44px);
 font-weight:700;
 line-height:1.2;
 letter-spacing:-.035em;
}
.home-credentials-stats {
 display:flex;
 flex-wrap:wrap;
 gap:0 .36em;
 margin:clamp(18px,2.3vw,32px) 0 0;
 color:#aee4ff;
 font-size:clamp(23px,2.6vw,38px);
 font-weight:700;
 line-height:1.3;
 letter-spacing:-.03em;
}
@supports ((background-clip:text) or (-webkit-background-clip:text)) and (-webkit-text-stroke:1px currentColor) {
 @media (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  .home-credentials-stats.is-outline-filling > span {
   background-image:linear-gradient(currentColor,currentColor);
   background-repeat:no-repeat;
   background-position:center bottom;
   -webkit-background-clip:text;
   background-clip:text;
   -webkit-text-fill-color:transparent;
   animation:credentials-outline-fill 2.2s linear .15s both;
  }
 }
}
@keyframes credentials-outline-fill {
 0% { background-size:100% 0%; -webkit-text-stroke:.8px currentColor; }
 85% { -webkit-text-stroke:.8px currentColor; }
 100% { background-size:100% 100%; -webkit-text-stroke:0 currentColor; }
}
.home-credentials-description {
 margin:clamp(18px,2.3vw,32px) 0 0;
 font-size:clamp(17px,1.65vw,25px);
 font-weight:600;
 line-height:1.45;
 word-break:keep-all;
}
.home-credentials-translation {
 margin:5px 0 0;
 color:#dce7ee;
 font-size:clamp(13px,1.15vw,16px);
 line-height:1.55;
 letter-spacing:0;
 word-break:normal;
}
.home-credentials-brand {
 display:flex;
 align-items:center;
 gap:9px;
 align-self:end;
 justify-self:end;
 isolation:isolate;
 margin:0 clamp(16px,2.5vw,38px) clamp(16px,2.5vw,38px) 0;
 padding:7px 12px 7px 8px;
 border:1px solid rgba(207,233,250,.36);
 border-radius:10px;
 background:#06112a;
 color:#fff;
 line-height:1.25;
 white-space:nowrap;
}
.home-credentials-brand img {
 display:block;
 width:40px;
 height:auto;
 filter:grayscale(1) brightness(.65) contrast(6);
 mix-blend-mode:screen;
}
.home-credentials-brand > span { display:grid; gap:3px; font-size:11px; letter-spacing:0; }
.home-credentials-brand strong { font-size:15px; }
@media (max-width:700px) {
 .home-credentials {
  grid-template-columns:minmax(0,1fr);
  background:#06112a;
  border-radius:12px;
  overflow:hidden;
 }
 .home-credentials::before {
  content:"";
  grid-area:1 / 1;
  aspect-ratio:16 / 9;
  background:url("assets/renewal/hankook-global-routes.webp") 88% center / cover no-repeat;
 }
 .home-credentials-brand {
  grid-area:1 / 1;
  margin:0 12px 12px 0;
  padding:4px 8px;
 }
 .home-credentials-brand img { width:28px; }
 .home-credentials-brand strong { font-size:13px; }
 .home-credentials-copy { grid-area:2 / 1; padding:20px clamp(16px,5vw,32px) 24px; }
 .home-credentials-translation { line-height:1.45; }
}

@media (prefers-reduced-motion:no-preference) and (forced-colors:none) {
 .site-header .brand { position:relative; }
 .site-header .brand::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.52) 50%,transparent 70%) no-repeat;
  background-size:36% 100%;
  background-position:-60% center;
  animation:header-brand-sheen 5s ease-in-out .45s infinite both;
 }
 @keyframes header-brand-sheen {
  from { background-position:-60% center; }
  29%, 100% { background-position:160% center; }
 }
}

@media (min-width:1001px) {
 #home-youtube .home-youtube-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:30px clamp(12px,1.6vw,24px); }
}
.home-slide--intro > img { filter:none; object-position:68% center; }
.home-slide--intro .intro-emblem { display:block; width:52px; height:auto; margin-bottom:16px; }
.home-slide--intro .intro-wordmark { display:block; font-size:13px; letter-spacing:.06em; margin-bottom:10px; }
@media (min-width:701px) {
 .home-slide--intro::before { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,rgba(7,34,49,.48),rgba(7,34,49,.25) 33%,transparent 74%); }
 .home-slide--intro .home-slide-copy { align-self:center; padding-block:24px; text-shadow:none; }
}
@media (max-width:700px) {
 .home-slide--intro .intro-emblem { display:none; }
 .home-slide--intro .intro-wordmark { font-size:11px; margin-bottom:6px; color:#b6e4f4; }
}

.school-directory { background:linear-gradient(to bottom,#f2f8fb 0%,#d6e9f2 48%,#aecddd 100%); padding:clamp(42px,6vw,84px) 0; color:#18303b; }
.school-directory .wrap { display:grid; grid-template-columns:minmax(210px,.75fr) minmax(0,2fr); gap:clamp(28px,5vw,80px); align-items:start; }
#home-view .school-directory h2 { font-size:clamp(26px,3vw,42px); line-height:1.25; letter-spacing:-.04em; margin:0 0 24px; }
.directory-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.directory-panel { min-width:0; }
.directory-panel h3 { margin:0 0 14px; }
.directory-grid article { position:relative; isolation:isolate; border-radius:16px; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; min-height:clamp(240px,25vw,360px); box-sizing:border-box; padding:clamp(18px,2vw,32px); color:white; background:#1e424d; }
.directory-grid article:nth-child(even) { top:18px; }
.directory-grid article img { position:absolute; inset:0; width:100%; height:100%; z-index:-2; object-fit:cover; filter:saturate(1.13) contrast(1.07); }
.directory-grid article { --ink:white; --wash:8 28 40; color:var(--ink); text-shadow:none; }
.directory-grid article.directory-dark-ink { --ink:#101820; --wash:247 251 251; }
.directory-grid article::before {
 content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
 background:linear-gradient(to top,rgb(var(--wash) / 96%),rgb(var(--wash) / 82%) 24%,transparent 58%);
}
.directory-grid article:focus-within::before,
.directory-grid article:has(.caption-toggle[aria-expanded="true"])::before {
 background:linear-gradient(to top,rgb(var(--wash) / 98%),rgb(var(--wash) / 92%) 72%,rgb(var(--wash) / 78%));
}
@media (hover:hover) and (pointer:fine) {
 .directory-grid article:hover::before {
  background:linear-gradient(to top,rgb(var(--wash) / 98%),rgb(var(--wash) / 92%) 72%,rgb(var(--wash) / 78%));
 }
}
#home-view .directory-grid h4 { margin:5px 0 9px; color:inherit; font-size:clamp(20px,1.9vw,29px); line-height:1.16; letter-spacing:-.025em; }
#home-view .directory-grid p { margin:0; color:inherit; font-size:14px; line-height:1.55; word-break:keep-all; overflow-wrap:anywhere; }
.directory-grid small { color:inherit; font-size:13px; }
.directory-grid a { margin-top:12px; color:inherit; font-size:13px; text-underline-offset:3px; }

.school-directory [hidden] { display:none!important; }
@media(max-width:800px) {
 .school-directory .wrap { grid-template-columns:1fr; gap:20px; }
}
@media(max-width:580px) {
 .directory-grid { grid-template-columns:1fr; }
 .directory-grid article:nth-child(even) { top:0; }

}

.school-directory .wrap > header { position:sticky; top:calc(var(--directory-header,100px) + 12px); z-index:2; align-self:start; }
.school-directory .directory-panel + .directory-panel { margin-top:clamp(54px,7vw,104px); }
@media(min-width:801px) {
 .directory-grid article { min-height:clamp(300px,34vw,500px); }
 .directory-grid article:nth-child(even) { top:clamp(48px,7vw,100px); }
 .directory-panel { padding-bottom:clamp(48px,7vw,100px); }
}
@media(max-width:800px) {
 .school-directory .wrap > header { top:var(--directory-header,80px); background:rgb(243 249 252 / 94%); padding:8px 0; }
 #home-view .school-directory h2 { font-size:22px; margin-bottom:6px; }
}
.school-directory .directory-grid:focus-visible { outline:2px solid #075b78; outline-offset:2px; }
/* Align the category index with the section title. */
.school-directory .directory-filters { display:grid; justify-items:start; gap:2px; }
.school-directory .directory-filters button {
 display:flex; align-items:center; gap:0; min-height:44px; padding:5px 0;
 font:inherit; font-size:18px; font-weight:600; letter-spacing:-.015em;
 color:#213542; border:0; background:transparent; cursor:pointer;
}
.directory-filters button::before {
 content:""; width:0; height:2px; background:#2499c0;
}
.directory-filters button[aria-pressed="true"]::before { width:20px; margin-right:10px; }
.school-directory .directory-filters button[aria-pressed="true"] { color:#083e57; font-weight:700; }
.school-directory .directory-filters button:hover { color:#083e57; text-decoration:underline; text-underline-offset:5px; }
.school-directory .directory-filters button:focus-visible,.caption-toggle:focus-visible {
 outline:2px solid #1586ab; outline-offset:2px;
}
.caption-toggle { width:fit-content; cursor:pointer; font:inherit; font-size:13px; color:inherit; text-shadow:inherit; padding:6px 0; border:0; background:none; text-decoration:underline; }
.school-caption .caption-body { display:none; padding-top:8px; }
.school-caption .caption-body a { display:inline-block; }
.caption-toggle[aria-expanded="true"] + .caption-body { display:block; }
@media (hover:hover) and (pointer:fine) {
 .school-caption .caption-toggle { display:none; }
 .directory-grid article:is(:hover,:focus-within) .caption-body { display:block; }
}
@media(prefers-reduced-motion:no-preference) {
 .school-caption .caption-body { animation:directory-caption-rise .4s ease-out both; }
 @keyframes directory-caption-rise { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
}
@media(max-width:800px) {
 .school-directory .directory-filters { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:2px clamp(10px,3vw,22px); }
 .school-directory .directory-filters button { position:relative; font-size:15px; }
 .directory-filters button[aria-pressed="true"]::before { position:absolute; bottom:3px; width:100%; margin:0; }
}

.home-slideshow .hero-arrow {
 position:absolute; top:50%; transform:translateY(-50%); z-index:3;
 width:44px; height:44px; display:grid; place-items:center; padding:0;
 border:0; border-radius:0; background:transparent; color:white; cursor:pointer;
}
.hero-arrow--prev { left:clamp(4px,.8vw,12px); }
.hero-arrow--next { right:clamp(4px,.8vw,12px); }
.hero-arrow svg { filter:drop-shadow(0 1px 2px #132c39); width:clamp(32px,3.3vw,40px); height:clamp(32px,3.3vw,40px); fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.home-slideshow .hero-arrow:focus-visible { outline:3px solid white; outline-offset:2px; }
@media(min-width:701px) { .home-slide--intro .home-slide-copy { padding-inline-start:max(70px,5vw); } }
@media(prefers-reduced-motion:no-preference) {
 .slides-backward .home-slide.is-entering { animation-name:home-slide-push-in-back; }
 .slides-backward .home-slide.is-leaving { animation-name:home-slide-push-out-back; }
 @keyframes home-slide-push-in-back { from {visibility:visible;translate:-100% 0} to {visibility:visible;translate:0 0} }
 @keyframes home-slide-push-out-back { from {visibility:visible;translate:0 0} to {visibility:visible;translate:100% 0} }
}

@media (hover:hover) and (pointer:fine) {
 .directory-grid article:is(:hover,:focus-within) { z-index:1; box-shadow:0 12px 26px -10px rgb(15 58 76 / 42%); }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .directory-grid article { transition:transform .24s ease-out,box-shadow .24s ease-out; }
 .directory-grid article:is(:hover,:focus-within) { transform:translateY(-6px); }
}

@media (max-width: 600px) {
 html[data-layout] .site-header .header-inner {
  grid-template-rows: minmax(60px, auto);
  padding-block: 4px;
 }
 .renewal-menu-direct .menu-qualifier { display: none; }
 html[data-layout] .site-header #site-menu .renewal-menu-direct {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.35;
 }
 #home-view .home-slide.is-active .home-slide-copy {
  animation: none;
  opacity: 1;
 }
 #home-view .home-slideshow .hero-arrow { top: calc(31.25vw - 10px); }
 #detail-view .detail-section-nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 8px;
 }
 #detail-view .detail-section-nav a {
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 8px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.45;
 }
 .school-directory .directory-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
 }
 .school-directory .directory-filters button, .school-caption .caption-toggle {
  min-height: 44px;
 }
 .school-directory .wrap > header { position: static; background: transparent; }
}
