/* Admissions presentation. Shared colours follow the accessibility palette. */
.home_hero.home_hero--admissions { gap: clamp(32px, 5vw, 88px); padding-block: clamp(36px, 5vw, 76px); grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.home_hero--admissions .home_hero_copy { padding: 20px 0; }
.home_hero--admissions h1 { max-width: 13ch; font-size: clamp(44px, 4.6vw, 76px); line-height: 1.07; letter-spacing: -.055em; font-weight: 600; }
.home_hero--admissions h1 > span { display: block; color: var(--primary-dark); margin-top: 8px; }
.home_institute_name { max-width: 38ch; font-size: 17px; line-height: 1.55; font-weight: 500; margin: 26px 0 0; color: var(--black); }
.home_hero--admissions .home_hero_lead { max-width: 47ch; margin-top: 12px; font-size: 15px; }
.home_hero--admissions .home_actions { margin-top: 28px; }
.home_hero--admissions .home_button { min-height: 50px; font-size: 14px; }
.home_hero--admissions .home_hero_visual { grid-template-rows: minmax(340px, 1fr) auto; border: 0; border-radius: var(--radius-lg); background: var(--primary-soft); }
.home_hero--admissions .home_hero_canvas { min-height: 340px; overflow: hidden; }
.home_hero--admissions .home_hero_image { object-position: 48% center; }
.home_image_caption { position: absolute; bottom: 14px; left: 16px; z-index: 1; background: var(--white); color: var(--secondary); border-radius: var(--radius-xs); padding: 5px 9px; font-size: 11px; line-height: 1.4; }
.home_image_caption[hidden] { display: none; }
.home_hero--admissions .home_admission { min-height: 136px; padding: 24px 80px 24px 28px; background: var(--primary-soft); }
.home_hero--admissions .home_admission strong { font-size: 26px; }
.home_hero--admissions .home_admission:hover { background: var(--gray); }
.home_section_lead { max-width: 47ch; margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: var(--secondary); }
.home_section_header h2, .home_about h2, .home_consultation h2 { font-size: clamp(30px, 3.25vw, 48px); line-height: 1.15; font-weight: 600; letter-spacing: -.04em; }
.home_section_header { align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.home_section, .home_journey, .home_service_section { padding: clamp(48px, 6vw, 88px) var(--page-gutter); }
.home_programs { background: var(--gray); border-block: 1px solid var(--border); }
.home_program_grid { gap: 24px; }
.home_program_card { height: 100%; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: none; }
.home_program_media { aspect-ratio: 1.9; }
.home_program_body { padding: 26px; }
.home_program_body > strong { font-size: clamp(22px, 2vw, 30px); line-height: 1.25; font-weight: 600; letter-spacing: -.025em; }
.home_program_meta { gap: 10px; }
.home_card_action { min-height: 44px; font-size: 14px; }
.home_journey { background: var(--white); }
.home_journey .home_section_header { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
.home_journey_steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 48px 0 0; }
.home_journey_steps li { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 32px; border-top: 1px solid var(--border-strong); border-left: 1px solid var(--border); }
.home_journey_steps li:first-child { border-left: 0; padding-left: 0; }
.home_step_number { display: block; color: var(--primary-dark); font-size: 14px; font-weight: 600; letter-spacing: .1em; }
.home_journey_steps h3 { font-size: 25px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; margin: 32px 0 14px; }
.home_journey_steps p { color: var(--secondary); font-size: 15px; line-height: 1.7; margin: 0 0 24px; max-width: 35ch; }
.home_journey_steps a { display: inline-flex; gap: 24px; align-items: center; min-height: 44px; margin-top: auto; color: var(--primary-dark); font-size: 14px; font-weight: 600; }
.home_journey_steps a:hover { text-decoration: underline; text-underline-offset: 5px; }
.home_service_section { background: var(--gray); border-top: 1px solid var(--border); }
.home_service_section .home_services { margin: 0; padding: 0; gap: 24px; background: transparent; }
.home_service_section .home_services.home_services--illustrated > a {
  grid-template-rows: 220px auto minmax(54px, auto) 1fr;
  min-height: 350px;
  padding: 0 16px 20px;
  border: 0;
  border-radius: 0;
  background: var(--gray);
  box-shadow: none;
  isolation: isolate;
}
.home_service_section .home_services.home_services--illustrated > a:hover {
  background: var(--gray);
  box-shadow: none;
}
.home_service_section .home_services.home_services--illustrated b { inset: auto 16px 20px auto; }
.home_service_section .home_services.home_services--illustrated .home_service_art {
  height: 220px;
  width: 100%;
  max-width: 260px;
  justify-self: center;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
}
.home_service_section .home_services.home_services--illustrated strong { font-size: 21px; }
.home_service_section .home_services.home_services--illustrated small { font-size: 14px; margin-top: 0; padding-right: 32px; }
.home_paths { padding-block: clamp(48px, 5vw, 72px); }
.home_path { padding-top: 24px; }
.home_path_index { font-size: 13px; }
.home_path h3 { margin-top: 26px; }
.home_consultation { padding: clamp(48px, 6vw, 88px) var(--page-gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; background: var(--primary-soft); border-block: 1px solid var(--border); }
.home_consultation h2 { margin: 12px 0 0; }
.home_consultation > div:last-child { align-self: center; }
.home_consultation p:not(.home_eyebrow) { max-width: 51ch; margin: 0 0 26px; font-size: 17px; line-height: 1.7; color: var(--secondary); }
.home_consultation .editorial_action { gap: 32px; min-height: 50px; padding: 12px 22px; }
.home_consultation_phone { display: inline-flex; align-items: center; min-height: 44px; margin: 12px 0 0 20px; color: var(--primary-dark); font-size: 16px; font-weight: 600; }
.home_partners { padding-block: 44px; }
.home_about { padding-block: 64px; }
/* Catalogue controls remain usable without JavaScript and keep their URL state. */
.program_level_filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.program_level_filters a { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 18px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--white); color: var(--secondary); font-size: 14px; font-weight: 500; }
.program_level_filters a[aria-current], .program_level_filters a:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.education_metrics a { color: var(--primary-dark); text-underline-offset: 4px; }
.catalog_guidance { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--primary-soft); margin-top: 32px; }
.catalog_guidance h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.catalog_guidance p { margin: 0; color: var(--secondary); font-size: 15px; line-height: 1.6; }
.catalog_guidance > a { flex-shrink: 0; gap: 24px; }
.program_search input { min-height: 48px; }
.program_search > div { gap: 10px; }
.education_program_card .education_card_description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.education_program_card .education_card_body { gap: 14px; }
/* Readable decision support instead of long repeated pitch blocks. */
.admission_faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); padding: 44px 0; border-block: 1px solid var(--border); }
.admission_faq h2 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -.035em; line-height: 1.2; font-weight: 600; margin: 12px 0; }
.admission_faq header > p:last-child { color: var(--secondary); font-size: 16px; line-height: 1.6; }
.admission_faq details { border-bottom: 1px solid var(--border-strong); }
.admission_faq details:first-child { border-top: 1px solid var(--border-strong); }
.admission_faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; list-style: none; cursor: pointer; padding: 22px 4px; font-size: 18px; font-weight: 500; line-height: 1.5; }
.admission_faq summary::-webkit-details-marker { display: none; }
.admission_faq summary::after { content: '+'; flex: 0 0 24px; color: var(--primary-dark); font-size: 24px; text-align: center; }
.admission_faq details[open] summary::after { content: '−'; }
.admission_faq summary:hover { color: var(--primary-dark); }
.admission_faq details > p { margin: 0; padding: 0 40px 24px 4px; color: var(--secondary); font-size: 15px; line-height: 1.8; }
.admission_faq a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.admission_faq summary:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: 3px; border-radius: var(--radius-xs); }
.public_empty_editorial { width: 100%; padding: 44px; background: var(--primary-soft); border-radius: var(--radius-md); }
.public_empty_editorial h3 { margin: 18px 0; font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.public_empty_editorial > p { color: var(--secondary); line-height: 1.7; max-width: 50ch; margin-bottom: 26px; }
/* Consistent touch targets and deliberate, quiet motion. */
:is(.home_program_card, .education_program_card, .home_services > a) { transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
:is(.home_program_card, .education_program_card):focus-within { border-color: var(--primary-dark); }
@media (min-width: 1600px) {
  .home_section, .home_service_section, .home_consultation { padding-inline: max(var(--page-gutter), calc((100vw - 1440px) / 2)); }
}
@media (max-width: 1100px) {
  .home_hero--admissions h1 { font-size: clamp(40px, 5.2vw, 58px); }
  .home_hero--admissions .home_hero_visual { grid-template-rows: minmax(300px, 1fr) auto; }
  .home_journey_steps li { padding-inline: 24px; }
  .home_journey_steps h3 { font-size: 22px; }
  .home_service_section .home_services.home_services--illustrated { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog_guidance { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .home_hero.home_hero--admissions { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 40px; }
  .home_hero--admissions .home_hero_copy { padding: 0; }
  .home_hero--admissions h1 { max-width: 15ch; font-size: clamp(36px, 8vw, 50px); line-height: 1.1; }
  .home_hero--admissions .home_eyebrow { margin-bottom: 20px; }
  .home_institute_name { margin-top: 22px; font-size: 15px; }
  .home_hero--admissions .home_hero_lead { font-size: 14px; }
  .home_hero--admissions .home_actions { width: 100%; gap: 10px; margin-top: 22px; }
  .home_hero--admissions .home_button { font-size: 13px; flex: 1 1 auto; }
  .home_hero--admissions .home_hero_visual { grid-template-rows: auto auto; }
  .home_hero--admissions .home_hero_canvas { min-height: 0; aspect-ratio: 1.4; }
  .home_hero--admissions .home_admission { min-height: 124px; padding: 22px 70px 22px 22px; }
  .home_hero--admissions .home_admission strong { font-size: 23px; }
  .home_hero--admissions .home_admission_arrow { right: 20px; bottom: 24px; width: 36px; height: 36px; }
  .home_section_header { align-items: flex-start; flex-direction: column; gap: 18px; }
  .home_section_lead { font-size: 15px; }
  .home_program_grid { gap: 20px; }
  .home_program_body { padding: 22px; }
  .home_journey .home_section_header { grid-template-columns: 1fr; gap: 0; }
  .home_journey_steps { grid-template-columns: 1fr; margin-top: 28px; }
  .home_journey_steps li, .home_journey_steps li:first-child { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 18px; padding: 24px 0; border-left: 0; }
  .home_step_number { grid-row: 1 / 4; padding-top: 5px; }
  .home_journey_steps h3 { margin: 0 0 12px; }
  .home_journey_steps p { margin-bottom: 12px; }
  .home_journey_steps a { grid-column: 2; gap: 16px; }
  .home_service_section .home_services.home_services--illustrated { gap: 24px 16px; }
  .home_service_section .home_services.home_services--illustrated > a { min-height: 280px; padding: 0 4px 16px; grid-template-rows: 154px auto minmax(44px, auto) 1fr; }
  .home_service_section .home_services.home_services--illustrated .home_service_art { height: 154px; width: 100%; }
  .home_service_section .home_services.home_services--illustrated strong { font-size: 17px; }
  .home_service_section .home_services.home_services--illustrated small { font-size: 13px; padding-right: 0; }
  .home_service_section .home_services.home_services--illustrated b { display: none; }
  .home_consultation { grid-template-columns: 1fr; gap: 28px; }
  .home_consultation_phone { display: flex; margin-left: 0; }
  .home_consultation p:not(.home_eyebrow) { font-size: 16px; }
  .home_about { padding-block: 48px; }
  .program_level_filters { gap: 8px; }
  .program_level_filters a { font-size: 13px; padding-inline: 12px; }
  .catalog_guidance { padding: 22px; gap: 20px; }
  .catalog_guidance h3 { font-size: 22px; }
  .catalog_guidance > a { width: 100%; justify-content: space-between; }
  .admission_faq { grid-template-columns: 1fr; gap: 22px; padding-block: 32px; }
  .admission_faq summary { font-size: 16px; padding-block: 18px; }
  .admission_faq details > p { padding-right: 12px; }
  .public_empty_editorial { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.home_program_card, .education_program_card, .home_services > a) { transition: none; transform: none; }
}

@media (min-width: 1200px) {
  .education_program_grid, .admission_program_grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .education_program_card .education_card_body > h3 { min-height: 2.5em; }
}

/* Official resources: original marks with readable live text. */
.home_resources.home_resources--directory { display: block; padding-block: clamp(48px, 5vw, 72px); }
.home_resources.home_resources--directory .home_resources_grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.home_resources.home_resources--directory .home_resource { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center; justify-items: stretch; min-height: 246px; padding: 28px 0; border-top: 1px solid var(--border); border-radius: 0; text-decoration: none; transition: color var(--transition-fast); }
.home_resources.home_resources--directory .home_resource:hover { background: transparent; }
.home_resources.home_resources--directory .home_resource:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; background: transparent; }
.home_resource_logo { display: grid; width: 180px; height: 160px; place-items: center; }
.home_resources.home_resources--directory .home_resource_logo img { display: block; width: 100%; height: 100%; max-height: 160px; object-fit: contain; }
.home_resources.home_resources--directory .home_resource_logo--irpo img { width: 140px; height: 140px; }
.home_resource_body { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 10px; }
.home_resource_type { color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.4; text-transform: uppercase; letter-spacing: .06em; }
.home_resource_body strong { color: var(--black); font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.home_resource_description { color: var(--secondary); font-size: 14px; line-height: 1.6; }
.home_resource_action { display: inline-flex; gap: 18px; align-items: center; margin-top: 8px; color: var(--primary-dark); font-size: 14px; font-weight: 600; line-height: 1.4; }
.home_resource_action b { font-size: 20px; font-weight: 400; }
.home_resource:hover .home_resource_action { text-decoration: underline; text-underline-offset: 4px; }
.home_resource_credits { margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.home_resource_credits summary { width: fit-content; cursor: pointer; padding-block: 8px; }
.home_resources.home_resources--directory .home_resource_credits a { display: inline; width: auto; min-height: 0; color: var(--primary-dark); border-radius: 0; text-decoration: underline; }
@media(max-width: 1100px) {
  .home_resources.home_resources--directory .home_resource { grid-template-columns: 130px minmax(0, 1fr); gap: 20px; }
  .home_resource_logo { width: 130px; height: 140px; }
  .home_resources.home_resources--directory .home_resource_logo--irpo img { width: 116px; height: 116px; }
}
@media(max-width: 760px) {
  .home_resources.home_resources--directory .home_resources_grid { grid-template-columns: 1fr; }
  .home_resources.home_resources--directory .home_resource { grid-template-columns: 120px minmax(0, 1fr); min-height: 200px; gap: 22px; padding-block: 24px; }
  .home_resource_logo { width: 120px; height: 140px; }
  .home_resource_body strong { font-size: 19px; }
}
@media(max-width: 400px) {
  .home_resources.home_resources--directory .home_resource { grid-template-columns: 100px minmax(0, 1fr); gap: 18px; }
  .home_resource_logo { width: 100px; height: 120px; }
  .home_resources.home_resources--directory .home_resource_logo--irpo img { width: 100px; height: 100px; }
  .home_resource_body strong { font-size: 17px; }
  .home_resource_description { font-size: 13px; }
  .home_resource_action { gap: 10px; font-size: 13px; }
}

/* Avoid desktop card spacing on a one-column phone catalogue. */
@media (max-width: 760px) {
  .education_program_card .education_card_body { gap: 16px; }
  .education_program_card .education_card_body > h3 { margin: 0; min-height: 0; }
  .education_program_card .education_card_description { margin: 0; }
  .education_program_card .education_program_facts { margin: 0; }
  .education_program_card .education_text_link { margin-top: 0; }
}
.vac_btn img { filter: brightness(0) invert(1); }
