/* MTK scholarship page: mobile-first implementation of the Figma layouts. */

html {
    scroll-behavior: smooth;
}

.theme-scholarship .site-header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    background: transparent;
    transition: all 0.25s ease;
}

.theme-scholarship .site-header.is-opaque {
    background: var(--surface);
    box-shadow: 0 0.25rem 1rem rgba(72, 55, 55, 0.08);
}

.theme-scholarship .site-header__inner {
    width: min(
        100% - var(--space-s) * 2,
        var(--content-max)
    ); /* match page content width + gutter so edges align */
    max-width: none;
    min-height: 4rem;
    padding: var(--space-xxs) 0; /* py 8; horizontal inset comes from the width above */
}

.theme-scholarship .site-header__logo {
    gap: 0.125rem; /* Figma 2px */
}

.theme-scholarship .site-header__logo .logo-mark {
    width: 8.9375rem; /* Figma logo 143px wide (24px tall) */
}

.theme-scholarship .site-header__logo .logo-name {
    width: 10rem; /* Figma name ~14px tall (svg aspect 11.7) */
}

.theme-scholarship .site-header__cta {
    align-self: stretch; /* Figma button is h-full */
    padding: var(--space-xxs) 2.25rem; /* Figma py 8px / px 36px */
    border: 2px solid var(--surface);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Figma drop-shadow */
    font-size: 0.875rem; /* Figma 14px */
    transition: opacity 0.2s ease;
}

.theme-scholarship .site-header__cta:hover {
    opacity: 0.7;
}

/* Mail icon shows on both mobile and desktop, at the Figma 16px size. */
.theme-scholarship .site-header__cta .schol-icon-mail {
    width: 1rem;
    height: 0.7rem;
}

.schol {
    --schol-wave-height: 1.37694rem;
    overflow: hidden;
    color: var(--text);
    background: var(--surface);
    font-family: var(--font-body);
}

.schol p,
.schol li {
    font-size: var(--schol-body-size);
    font-weight: 500;
    line-height: 1.5;
}

.schol-desktop-title {
    display: none;
}

/* Desktop-only line break (hidden on mobile; shown in the 48rem media query). */
.schol-desktop-break {
    display: none;
}

.schol-mobile-title {
    display: inline;
}

.schol-wrap {
    width: min(100% - var(--space-l) * 2, var(--content-max));
    margin-inline: auto;
}

.schol-section {
    position: relative;
    padding-block: var(--space-xxl) var(--space-xxxl);
}

.schol-section--white {
    background: var(--surface);
}

.schol-wave-divider {
    --schol-wave-color: var(--surface);
    --schol-wave-bg: var(--surface);
    display: block;
    width: 100%;
    height: var(--schol-wave-height);
    flex: 0 0 auto;
    overflow: hidden;
    background: var(--schol-wave-bg);
}

.schol-wave-divider > span {
    display: block;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    margin-left: -1px;
    margin-top: -1px;
    background: var(--schol-wave-color);
    -webkit-mask: url("../img/scholarship/section-wave.svg") center /
        calc(100% + 2px) calc(100% + 2px) no-repeat;
    mask: url("../img/scholarship/section-wave.svg") center / calc(100% + 2px)
        calc(100% + 2px) no-repeat;
    transform: scaleX(-1);
}

.schol-wave-divider--from-bg {
    --schol-wave-bg: var(--bg);
}

.schol-wave-divider--from-surface {
    --schol-wave-bg: var(--surface);
}

.schol-wave-divider--from-cool {
    --schol-wave-bg: var(--surface-cool);
}

.schol-wave-divider--from-warm {
    --schol-wave-bg: var(--surface-warm);
}

.schol-wave-divider--from-merits {
    --schol-wave-bg: #f7f7f7;
}

.schol-wave-divider--from-brand {
    --schol-wave-bg: var(--brand);
}

.schol-wave-divider--from-interview {
    --schol-wave-bg: var(--surface-sunk);
}

.schol-wave--cool {
    --schol-wave-color: var(--surface-cool);
}

.schol-wave--merits {
    --schol-wave-color: #f7f7f7;
}

.schol-wave--brand {
    --schol-wave-color: var(--brand);
}

.schol-heading {
    display: grid;
    justify-items: center;
    gap: var(--space-m);
    margin-bottom: var(--space-xxl);
    text-align: center;
}

.schol-heading h2,
.schol-heading h3 {
    font-size: var(--size-h2);
    line-height: 1.5;
}

.schol-accent {
    display: inline-flex;
}

.schol-accent i {
    display: block;
    width: 1.25rem;
    height: 0.3rem;
}

.schol-accent i:nth-child(1) {
    background: var(--text);
}
.schol-accent i:nth-child(2) {
    background: var(--brand-accent);
}
.schol-accent i:nth-child(3) {
    background: var(--brand);
}

.schol-lead {
    margin: 0 auto 2.5rem;
}

.schol-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xxxs);
    width: min(100%, var(--button-max));
    padding: var(--space-m) var(--space-l);
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
}

.schol-button i {
    width: 0;
    height: 0;
    border-top: 0.6rem solid currentColor;
    border-right: 0.45rem solid transparent;
    border-left: 0.45rem solid transparent;
}

/* Hero */
.schol-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--bg);
}

.schol-hero__inner {
    position: relative;
    width: min(100% - var(--space-l) * 2, var(--content-max));
    margin-inline: auto;
    padding: 4.75rem 0 5.5rem;
}

.schol-hero__image {
    position: absolute;
    z-index: 0;
    top: 4.631rem; /* Figma figure top (-1.9px) anchored below the inner's 4.75rem padding-top */
    left: calc(
        50% - 9.215rem
    ); /* pin to content center so it doesn't track the screen's right edge */
    right: auto;
    width: 27.213275rem;
    max-width: none;
    transform: rotate(121.96deg);
    backface-visibility: hidden;
    will-change: transform;
}

.schol-hero__image img {
    display: block;
    width: 100%;
}

.schol-hero__copy {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: start;
    gap: var(--space-m);
    min-height: 23.3125rem; /* Figma title area = 373px */
    padding-top: 3rem; /* Figma text-area pt = 48px */
}

.schol-hero__titles {
    display: grid;
    justify-items: start;
    gap: var(--space-xxs);
}

.schol-hero__titles h1,
.schol-hero__titles h3 {
    padding: var(--space-xxxs) var(--space-s);
    border-radius: 0.25rem;
    color: var(--text-on-dark);
    background: var(--surface-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.5;
}

.schol-hero__titles h1 {
    font-size: var(--size-h1);
}

.schol-hero__titles h3 {
    font-size: var(--schol-hero-subtitle-size);
}

.schol .schol-hero__english {
    color: var(--brand);
    font-family: var(--font-num);
    font-size: var(--size-h4);
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.5;
}

.schol-overview {
    position: relative;
    z-index: 2;
    display: grid;
    gap: var(--space-xl);
    padding: var(--space-l);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    background: var(--surface);
}

.schol-overview__heading {
    display: grid;
    justify-items: center;
    gap: var(--space-m);
    text-align: center;
}

.schol-overview__heading h2 {
    font-size: var(--size-h4);
    white-space: nowrap;
}

.schol-overview p {
    font-size: var(--schol-body-size);
}

.schol-overview .schol-button {
    justify-self: center;
}

/* Career */
.schol-career {
    display: grid;
    gap: var(--space-xxl);
}

.schol-career__card {
    display: grid;
    overflow: visible;
    border-radius: 0.75rem;
    background: #f7f7f7;
}

.schol-career__copy {
    position: relative;
    display: grid;
    align-content: flex-start;
    gap: var(--space-m);
    padding: var(--space-l);
}

.schol-career__title-row {
    display: block;
}

.schol-career__title-row h3 {
    font-size: var(--size-h3);
    text-align: center;
}

.schol-career__copy p {
    font-size: var(--schol-body-size);
}

.schol-career__number {
    position: absolute;
    top: -2.109375rem;
    left: -0.875rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 5.25rem;
    height: 5.3125rem;
    color: var(--brand-accent);
    font-family: var(--font-num);
    font-size: 2.625rem;
    font-weight: 700;
}

.schol-career__number::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/scholarship/number-ring-green.svg") center / contain
        no-repeat;
}

.schol-career__card:nth-child(2) .schol-career__number {
    color: var(--brand);
}

.schol-career__card:nth-child(2) .schol-career__number::before {
    background-image: url("../img/scholarship/number-ring-yellow.svg");
}

.schol-career__image {
    order: -1;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 0.75rem 0.75rem 0 0;
}

.schol-career__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.schol-future {
    position: relative;
    display: grid;
    gap: var(--space-l);
    width: 100%;
    margin: var(--space-xxxl) auto 0;
    text-align: center;
}

.schol-future::before,
.schol-future::after {
    display: none;
}

.schol-future__title {
    position: relative;
    width: fit-content;
    margin-inline: auto;
}

.schol-future__title::before,
.schol-future__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 5.0625rem;
    height: 5.3708125rem;
    background: url("../img/scholarship/future-decoration.svg") center / contain
        no-repeat;
}

.schol-future__title::before {
    right: 100%;
}

.schol-future__title::after {
    left: 100%;
    transform: rotate(180deg) scaleY(-1);
}

.schol-future h3 {
    font-size: var(--size-h4);
}

.schol-future ul {
    display: grid;
    gap: 0.3rem;
    text-align: left;
    list-style: disc;
    padding-left: var(--space-l);
    width: fit-content;
    margin-inline: auto;
}

.schol-future li {
    font-size: var(--schol-body-size);
}

/* Tuition */
.schol-tuition {
    position: relative;
    z-index: 2;
    background: var(--surface-cool);
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xl);
}

.schol-tuition__box {
    position: relative;
    display: grid;
    gap: var(--space-l);
    max-width: var(--content-max);
    margin-inline: auto;
    padding: 0 var(--space-l) 7rem;
    border: 1px solid var(--border-strong);
    border-radius: 0.75rem;
    background: var(--surface);
}

.schol-tuition__box h3 {
    justify-self: start;
    padding: 0.45rem var(--space-m);
    border-radius: 0 0 0.5rem 0.5rem;
    color: var(--text-on-dark);
    background: var(--surface-dark);
    font-size: var(--size-h3);
}

.schol-tuition__box small {
    display: block;
    margin-top: 0.35rem;
}

.schol-tuition__box > div {
    padding-right: 0;
}

.schol-tuition__icon {
    position: absolute;
    right: 1.75rem;
    bottom: 1.65rem;
    width: 5.45638rem;
    height: 5.77913rem;
    aspect-ratio: 87.3/92.47;
}

/* Third-year burden */
.schol-burden {
    --burden-image-height: 18.125rem;
    --burden-image-fade: var(--space-l);
    --burden-image-fade-end: calc(
        var(--burden-image-fade) + var(--burden-image-height) * 0.55
    );
    position: relative;
    padding-bottom: var(--burden-image-height);
    background: var(--surface);
}

.schol-burden::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    margin-inline: auto; /* centers it under the width cap */
    width: min(100% - var(--space-l) * 2, var(--content-max));
    height: 8rem;
    background: linear-gradient(
        to bottom,
        rgba(240, 246, 255, 0.95),
        rgba(240, 246, 255, 0)
    );
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    pointer-events: none;
}

.schol-burden::after {
    content: "";
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(var(--burden-image-height) + var(--burden-image-fade));
    background: linear-gradient(
        to bottom,
        var(--surface) 0,
        var(--surface) var(--burden-image-fade),
        rgba(255, 255, 255, 0) var(--burden-image-fade-end)
    );
    pointer-events: none;
}

.schol-burden .schol-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    gap: var(--space-l);
    padding-block: 3rem var(--space-xl);
}

.schol-burden__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-s);
    text-align: left;
}

.schol-burden__icon {
    width: 4.8125rem; /* 77px — Figma */
    height: 3.5rem; /* 56px — Figma */
    flex: 0 0 auto;
}

.schol-burden__heading h2 {
    font-size: var(--size-h3);
}

.schol-burden__image {
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: var(--burden-image-height);
    overflow: hidden;
}

.schol-burden__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Plans */
#scholarship-plan {
    scroll-margin-top: 5.5rem;
    background-color: var(--surface);
    background-image:
        linear-gradient(rgba(72, 55, 55, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(72, 55, 55, 0.09) 1px, transparent 1px);
    background-size: 0.5rem 0.5rem;
}

.schol-plans,
.schol-common {
    max-width: var(--content-max);
    margin-inline: auto;
    border-radius: 0.75rem;
}

.schol-plans {
    display: grid;
    gap: var(--space-xxl); /* Figma: heading↔cards = xxl */
    padding: var(--space-l); /* Figma: uniform l */
    background: var(--surface-sunk);
}

.schol-plans > h3 {
    text-align: center;
    font-size: var(--size-h3);
}

.schol-common h3 {
    text-align: center;
    font-size: var(--size-h4);
}

.schol-plans__grid {
    display: grid;
    gap: var(--space-xl);
}

.schol-plan-card {
    position: relative;
    display: grid;
    gap: var(--space-l);
    padding: var(--space-l); /* Figma: uniform l */
    border: 1px solid var(--border-strong);
    border-radius: 0.75rem;
    background: var(--surface);
}

.schol-plan-card__case {
    position: absolute;
    top: -1.0625rem; /* Figma -17px */
    left: 1.1875rem; /* Figma 19px */
    width: 5rem; /* 80px */
    height: 7.125rem; /* 114px */
}

.schol-plan-card h4 {
    margin-left: 5rem; /* Figma: clears the 80px bookmark */
    font-size: var(--size-h4);
}

.schol-plan-card h4,
.schol-repayment__card h3,
.schol-merit h3,
.schol-eligibility__title {
    width: fit-content;
}

.schol-plan-card h4::after,
.schol-repayment__card h3::after,
.schol-merit h3::after,
.schol-eligibility__title::after {
    content: "";
    display: block;
    width: min(100%, 6.9375rem);
    height: calc(0.38825rem + 2px);
    margin-top: var(--space-xs);
    margin-bottom: -2px;
    background-color: currentColor;
    -webkit-mask: url("../img/scholarship/deco-wave.svg") left -1px center /
        calc(100% + 2px) calc(100% + 2px) no-repeat;
    mask: url("../img/scholarship/deco-wave.svg") left -1px center /
        calc(100% + 2px) calc(100% + 2px) no-repeat;
    transform: translateZ(0);
}

.schol-plan-card--yellow h4::after {
    color: var(--brand);
}
.schol-plan-card--green h4::after {
    color: var(--brand-accent);
}

.schol-common {
    display: grid;
    gap: var(--space-m);
    margin-top: var(--space-xl);
    padding: var(--space-xl) var(--space-l);
    background: #f7f7f7;
}

/* Flow */
.schol-flow {
    position: relative;
    padding-block: var(--space-xxxl);
    background:
        image-set(
            url("../img/generated/scholarship/flow-bg-jpg/flow-bg-1800.avif")
                type("image/avif"),
            url("../img/generated/scholarship/flow-bg-jpg/flow-bg-1800.webp")
                type("image/webp"),
            url("../img/scholarship/flow-bg.jpg") type("image/jpeg")
        )
        center / cover;
}

.schol-flow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
}

.schol-flow__layout {
    position: relative;
    display: grid;
}

.schol-flow__steps {
    display: grid;
    padding: var(--space-xl) var(--space-l);
    border: 1px solid var(--border-strong);
    border-radius: 0.75rem;
    background: var(--surface);
    counter-reset: scholarship-step;
}

.schol-flow__steps li {
    position: relative;
    min-height: 4.2rem;
    padding: 0.2rem 0 var(--space-m) 3rem;
    font-family: var(--font-heading);
    font-size: var(--schol-body-size);
    font-weight: 700;
    counter-increment: scholarship-step;
}

.schol-flow__steps li::before {
    content: counter(scholarship-step);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    color: var(--text-on-dark);
    background: var(--brand-accent);
    font-family: var(--font-num);
}

.schol-flow__steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.8rem;
    bottom: -0.15rem;
    left: 0.85rem;
    border-left: 3px dashed var(--brand-accent);
}

/* Repayment */
.schol-repayment {
    background: var(--surface-warm);
}

.schol-repayment__card {
    display: grid;
    gap: var(--space-l);
    max-width: var(--content-max);
    padding: 0;
    overflow: hidden;
    border: 2px solid;
    border-radius: 0.75rem;
    background: var(--surface);
}

.schol-repayment__card h3 {
    font-size: var(--size-h4);
}

.schol-repayment__card--yellow {
    border-color: var(--brand);
    margin-bottom: 2.5rem;
}
.schol-repayment__card--green {
    padding: var(--space-l);
    overflow: visible;
    border-color: var(--brand-accent);
}

.schol-repayment__clinic-title {
    margin-inline: auto;
    text-align: center;
    font-size: var(--size-h4);
    width: 100%;
}

.schol-repayment__clinic-title::after {
    display: none;
}

.schol-mobile-underline {
    display: inline-block;
}

.schol-mobile-underline::after {
    content: "";
    display: block;
    width: min(100%, 6.9375rem);
    height: calc(0.38825rem + 2px);
    margin: var(--space-xs) auto 0;
    margin-bottom: -2px;
    background-color: var(--brand);
    -webkit-mask: url("../img/scholarship/deco-wave.svg") left -1px center /
        calc(100% + 2px) calc(100% + 2px) no-repeat;
    mask: url("../img/scholarship/deco-wave.svg") left -1px center /
        calc(100% + 2px) calc(100% + 2px) no-repeat;
    transform: translateZ(0);
}

.schol-repayment__card--yellow h3::after {
    display: none;
    color: var(--brand);
}
.schol-repayment__card--green h3::after {
    color: var(--brand-accent);
}

.schol-repayment__card--green h3 {
    width: 100%;
    text-align: center;
}

.schol-repayment__card--green h3::after {
    margin-inline: auto;
}

.schol-repayment__main {
    display: grid;
    gap: 0;
}

.schol-repayment__main > div:first-child {
    display: grid;
    gap: var(--space-l);
    padding: var(--space-l);
    padding-bottom: 0;
}

.schol-repayment__image {
    order: -1;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.schol-repayment__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.schol-repayment__cta {
    display: grid;
    justify-items: center;
    padding: var(--space-m);
    gap: var(--space-m);
    margin: 0 var(--space-l) var(--space-l);
    border-radius: 0.5rem;
    background: var(--surface-sunk);
    text-align: center;
}

.schol-repayment__cta h4 {
    font-size: var(--size-h5);
}

/* Director message */
.schol-message {
    background: var(--surface);
}

.schol-message__layout {
    display: grid;
    gap: var(--space-xl);
}

.schol-message figure {
    overflow: hidden;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
}

.schol-message figure > div {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.schol-message figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.schol-message figcaption {
    padding: 0.8rem var(--space-s);
    background: var(--bg);
    font-family: var(--font-heading);
    font-weight: 700;
}

.schol-message__copy {
    display: grid;
    gap: var(--space-m);
}

.schol-message__copy h3 {
    font-size: var(--size-h4);
}

/* Merits */
.schol-merits {
    background: #f7f7f7;
}

.schol-merits__grid {
    display: grid;
    gap: var(--space-xl);
}

.schol-merit {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr);
    align-items: center;
    gap: var(--space-xs);
}

.schol-merit__visual {
    position: relative;
    width: 6rem;
}

.schol-merit__visual > div {
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 50%;
}

.schol-merit__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.schol-merit__visual span {
    position: absolute;
    top: -38%;
    color: var(--brand-accent);
    font-family: var(--font-num);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 150%;
}

.schol-merit__copy {
    display: grid;
    gap: var(--space-m);
    width: 100%;
}

.schol-merit h3 {
    justify-self: start;
    font-size: var(--size-h4);
    text-align: left;
}

.schol-merit h3::after {
    color: var(--brand-accent);
    margin-inline: 0;
}

.schol-merit p {
    font-size: var(--schol-body-size);
}

/* Eligibility */
.schol-eligibility .schol-lead {
    text-align: left;
}

.schol-eligibility__grid {
    display: grid;
    align-items: stretch;
    gap: var(--space-l);
    max-width: var(--content-max);
    margin-inline: auto;
}

.schol-eligibility__card {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: var(--space-m);
    height: 100%;
    padding: var(--space-l);
    border-radius: 0.75rem;
}

.schol-eligibility__card--warm {
    background: var(--surface-sunk);
}
.schol-eligibility__card--cool {
    background: var(--surface-cool);
}

.schol-eligibility__card h3 {
    display: flex;
    align-items: center;
    gap: var(--space-xxs);
    height: 4rem;
    font-size: var(--size-h3);
    line-height: var(--leading);
    overflow: visible;
}

.schol-eligibility__icon {
    display: block;
    flex: 0 0 auto;
}

.schol-eligibility__card--warm .schol-eligibility__icon {
    width: 3.87519rem;
    height: 4rem;
    object-fit: contain;
}
.schol-eligibility__card--cool .schol-eligibility__icon {
    width: 4.25rem;
    height: 4rem;
    object-fit: contain;
}

.schol-eligibility__title {
    display: block;
    line-height: var(--leading);
}

.schol-eligibility__card--warm .schol-eligibility__title::after {
    color: var(--brand);
    margin-top: 0.5rem;
}
.schol-eligibility__card--cool .schol-eligibility__title::after {
    color: var(--brand-accent);
    margin-top: 0.5rem;
}

.schol-eligibility__card ul {
    padding-left: var(--space-m);
    list-style: disc;
}

/* Interview */
.schol-interview {
    --schol-interview-bg-height: 31.25rem;
    --schol-interview-bubble-width: 12.838rem;
    --schol-interview-bubble-lift: 6.805rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 6.25rem 0 4rem;
    background: var(--surface-sunk);
}

.schol-interview::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    height: var(--schol-interview-bg-height);
    background:
        image-set(
            url("../img/generated/scholarship/interview-bg-jpg/interview-bg-1800.avif")
                type("image/avif"),
            url("../img/generated/scholarship/interview-bg-jpg/interview-bg-1800.webp")
                type("image/webp"),
            url("../img/scholarship/interview-bg.jpg") type("image/jpeg")
        )
        center center / cover no-repeat;
    pointer-events: none;
}

.schol-interview::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    height: var(--schol-interview-bg-height);
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(7.5px);
    backdrop-filter: blur(7.5px);
    pointer-events: none;
}

.schol-interview .schol-wrap {
    position: relative;
    z-index: 1;
}

.schol-interview__card {
    display: grid;
    gap: var(--space-xl);
    margin-top: var(--schol-interview-bubble-lift);
    padding: var(--space-l);
    border: 1px solid var(--border-strong);
    border-radius: 0.75rem;
    background: var(--surface);
}

.schol-interview__visual {
    position: relative;
    padding-top: 0;
}

.schol-interview__bubble {
    position: absolute;
    z-index: 2;
    top: -60%;
    left: calc(var(--space-l) * -1);
    width: 12.838rem;
    height: 9.30513rem;
}

.schol-interview__image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 0.75rem;
}

.schol-interview__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.schol-interview__list {
    display: grid;
    gap: var(--space-xl);
}

.schol-interview__list article {
    display: grid;
    gap: var(--space-s);
}

.schol-interview__question {
    display: grid;
    gap: var(--space-xxxs);
    padding-bottom: var(--space-s);
    border-bottom: 1px dashed var(--brand);
}

.schol-interview__list .schol-question-label {
    color: var(--brand);
    font-family: var(--font-num);
    font-size: var(--schol-interview-label-size);
    font-weight: 500;
    line-height: var(--leading);
}

.schol-interview__list .schol-question-label::before {
    width: 0.4375rem;
    height: 0.4375rem;
}

.schol-interview__list h3 {
    color: var(--text);
    font-family: var(--font-heading);
    font-size: var(--schol-interview-question-size);
    font-weight: 700;
    line-height: var(--leading);
}

.schol-interview__list p {
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--schol-interview-answer-size);
    font-weight: 500;
    line-height: var(--leading);
}

.schol-question-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xxs);
    color: var(--brand);
    font-family: var(--font-num);
    font-size: 0.8rem;
    font-weight: 600;
}

.schol-question-label::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: currentColor;
}

.schol-faq {
    display: grid;
    max-width: 60rem;
    margin-inline: auto;
}

.schol-faq__item {
    padding: var(--space-m) 0;
    border-bottom: 1px dashed var(--border-strong);
}

.schol-faq__item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1.5rem;
    align-items: center;
    gap: var(--space-xxs);
    cursor: pointer;
    list-style: none;
    transition: opacity 0.2s ease;
}

.schol-faq__item summary:hover {
    opacity: 0.7;
}

.schol-faq__item summary::-webkit-details-marker {
    display: none;
}

.schol-faq__item summary .schol-question-label {
    color: var(--brand-accent);
    font-family: var(--font-heading);
    font-size: var(--schol-faq-label-size);
    font-weight: 700;
    line-height: var(--leading);
}

.schol-faq__question {
    display: grid;
    gap: var(--space-xxs);
    min-width: 0;
}

.schol-faq__question strong {
    color: var(--text);
    font-family: var(--font-heading);
    font-size: var(--schol-faq-question-size);
    font-weight: 700;
    line-height: var(--leading);
}

.schol-faq__item summary i {
    position: relative;
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    justify-self: end;
}

.schol-faq__item summary i::before,
.schol-faq__item summary i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 22.92%;
    width: 54.16%;
    height: 1px;
    background: var(--brand-accent);
}

.schol-faq__item summary i::after {
    transform: rotate(90deg);
}

.schol-faq__item[open] summary i::after {
    display: none;
}

.schol-faq__item > p {
    padding-top: var(--space-xs);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--schol-faq-answer-size);
    font-weight: 500;
    line-height: var(--leading);
}

/* Contact */
.schol-contact {
    position: relative;
    padding: var(--space-xxl) 0 5rem;
    color: var(--text);
    background: var(--brand);
}

.schol-contact .schol-accent {
    display: none;
}

.schol-form {
    display: grid;
    gap: var(--space-xl);
    width: min(100%, 40rem);
    margin-inline: auto;
}

.schol-instagram-cta {
    position: relative;
    left: 50%;
    display: grid;
    grid-template-areas:
        "main"
        "button"
        "note";
    grid-template-columns: 1fr;
    gap: var(--space-s);
    align-items: center;
    width: min(calc(100vw - 2rem), var(--content-max));
    margin: var(--space-l) auto var(--space-xl);
    padding: var(--space-m);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0.75rem 1.75rem rgba(63, 45, 31, 0.12);
    transform: translateX(-50%);
}

.schol-instagram-cta .mtk-instagram-cta__main,
.schol-instagram-cta .mtk-instagram-cta__note {
    margin: 0;
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--schol-small-size);
    line-height: 1.8;
}

.schol-instagram-cta .mtk-instagram-cta__main {
    grid-area: main;
    font-size: var(--size-medium);
    font-weight: 700;
    text-align: center;
}

.schol-instagram-cta .mtk-instagram-cta__main strong {
    color: #c13584;
    font-weight: 800;
}

.schol-instagram-cta .mtk-instagram-cta__mobile-break {
    display: block;
}

.schol-instagram-cta .mtk-instagram-cta__note {
    grid-area: note;
    font-weight: 500;
    text-align: left;
}

.schol-instagram-cta .mtk-instagram-cta__button {
    grid-area: button;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    width: 100%;
    min-height: 3.5rem;
    padding: var(--space-s);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-pill);
    color: #fff;
    background: #c13584;
    box-shadow: 0 0.45rem 1rem rgba(49, 31, 25, 0.25);
    font-family: var(--font-heading);
    font-size: var(--schol-small-size);
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.schol-instagram-cta .mtk-instagram-cta__button:visited,
.schol-instagram-cta .mtk-instagram-cta__button:focus-visible {
    color: #fff;
}

.schol-instagram-cta .mtk-instagram-cta__button img {
    flex: 0 0 auto;
    width: 1.5rem;
    height: 1.5rem;
    filter: brightness(0) invert(1);
}

.schol-instagram-cta .mtk-instagram-cta__button span {
    min-width: 0;
}

.schol-form .wpcf7-form {
    display: grid;
    gap: 1.25rem;
}

.schol-form label {
    display: grid;
    gap: 0.5rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}

.schol-form .recruit-form__field {
    display: grid;
    gap: 0.5rem;
}

.schol-form .recruit-form__field > label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    max-width: 100%;
    justify-self: start;
    white-space: nowrap;
}

.schol-form label > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    max-width: 100%;
    justify-self: start;
    font-weight: 700;
    white-space: nowrap;
}

.schol-form .wpcf7-form-control-wrap {
    display: block;
    min-width: 0;
}

.schol-form label > span:first-child em,
.schol-form em {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    justify-self: start;
    align-self: center;
    padding: 0 0.25rem;
    border-radius: 0.125rem;
    color: var(--text-on-dark);
    background: var(--brand-alt);
    font-size: var(--size-small);
    font-weight: 500;
    font-style: normal;
    line-height: 1.5;
    white-space: nowrap;
}

.schol-form input,
.schol-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 3.5rem;
    padding: 1rem;
    border: 1px solid var(--text);
    border-radius: 0.375rem;
    color: var(--text);
    background: var(--surface);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.schol-form input::placeholder,
.schol-form textarea::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.schol-form input.wpcf7-not-valid,
.schol-form textarea.wpcf7-not-valid {
    border-color: #b84a3a;
    background: #fff7f3;
    box-shadow: 0 0 0 0.1875rem rgba(184, 74, 58, 0.14);
}

.schol-form textarea {
    min-height: 7rem;
    border-radius: 0.5rem;
    resize: none;
}

.schol-form__submit,
.schol-form .wpcf7-submit {
    --submit-spinner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg fill='none' stroke='%23fff' stroke-linecap='round' stroke-width='3'%3E%3Cpath opacity='.25' d='M14 3a11 11 0 1 1 0 22 11 11 0 0 1 0-22Z'/%3E%3Cpath d='M25 14A11 11 0 0 0 14 3'%3E%3CanimateTransform attributeName='transform' dur='.8s' from='0 14 14' repeatCount='indefinite' to='360 14 14' type='rotate'/%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: min(100%, var(--button-max));
    margin: 1.75rem auto 0;
    padding: 1.5rem var(--space-l);
    border: 2px solid var(--surface);
    border-radius: var(--radius-pill);
    color: var(--text-on-dark);
    background: var(--brand-accent);
    box-shadow: 0 0 0.7rem rgba(0, 0, 0, 0.2);
    font-family: var(--font-heading);
    font-size: var(--size-medium);
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.schol-form .wpcf7-form.submitting .wpcf7-submit {
    color: transparent;
    background-image: var(--submit-spinner);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.75rem 1.75rem;
}

.schol-form .wpcf7-submit:disabled {
    cursor: progress;
    opacity: 0.72;
}

.schol-form .wpcf7-spinner {
    display: none;
}

.schol-form .wpcf7-not-valid-tip,
.schol-form .wpcf7-response-output {
    font-weight: 700;
}

.schol-form .wpcf7-not-valid-tip {
    margin-top: var(--space-xxs);
    padding: 0.45rem 0.6rem;
    border: 1px solid #e0a092;
    border-radius: 0.45rem;
    color: #733027;
    background: #fff0e9;
    font-size: var(--size-small);
    line-height: 1.6;
}

.schol-form.mtk-form-admin-notice {
    padding: var(--space-s);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 0.5rem;
    color: var(--text-on-dark);
    background: rgba(255, 255, 255, 0.12);
}

.schol-form .wpcf7-response-output {
    margin: var(--space-xs) 0 0;
    padding: var(--space-s) var(--space-m);
    border: 2px solid transparent;
    border-radius: 0.65rem;
    font-size: var(--size-medium);
    line-height: 1.7;
}

.schol-form .wpcf7 form.invalid .wpcf7-response-output,
.schol-form .wpcf7 form.unaccepted .wpcf7-response-output,
.schol-form .wpcf7 form.payment-required .wpcf7-response-output {
    color: #733027;
    background: #fff0e9;
    border-color: #e0a092;
}

.schol-form .wpcf7 form.sent .wpcf7-response-output {
    color: #284f46;
    background: #eefaf5;
    border-color: #86c8af;
}

.schol-form .wpcf7 form.failed .wpcf7-response-output,
.schol-form .wpcf7 form.aborted .wpcf7-response-output,
.schol-form .wpcf7 form.spam .wpcf7-response-output {
    color: #6f3d22;
    background: #fff5de;
    border-color: #dfbc67;
}

@media (hover: hover) {
    .schol-form__submit:hover,
    .schol-form .wpcf7-submit:hover {
        background: color-mix(in srgb, var(--brand-accent) 84%, #000);
        box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.22);
        transform: translateY(-0.125rem);
    }

    .schol-instagram-cta .mtk-instagram-cta__button:hover {
        color: #fff;
        background: #a82d73;
        filter: none;
        box-shadow: 0 0.7rem 1.4rem rgba(49, 31, 25, 0.3);
        transform: translateY(-0.125rem);
    }
}

.schol-icon-mail {
    position: relative;
    display: inline-block;
    width: 1.2rem;
    height: 0.85rem;
    border: 1px solid currentColor;
}

.schol-icon-mail::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
                35deg,
                transparent 48%,
                currentColor 49%,
                currentColor 53%,
                transparent 54%
            )
            left / 50% 100% no-repeat,
        linear-gradient(
                -35deg,
                transparent 48%,
                currentColor 49%,
                currentColor 53%,
                transparent 54%
            )
            right / 50% 100% no-repeat;
}

.schol-tuition .schol-lead,
#scholarship-plan .schol-lead {
    max-width: var(--content-max);
    text-align: left;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media (min-width: 48rem) {
    .schol {
        --schol-wave-height: 5.14063rem;
    }

    .schol-mobile-break {
        display: none;
    }

    .schol-desktop-break {
        display: inline;
    }

    .schol-desktop-title {
        display: inline;
    }

    .schol-mobile-title {
        display: none;
    }

    .schol-heading {
        margin-bottom: var(--space-xl);
    }

    .schol-hero__inner {
        padding: var(--space-xxxl) 0 7rem;
    }

    .schol-hero__image {
        top: -7.515rem; /* ~20px lower than the raw Figma value */
        left: calc(50% - 9.675rem);
        right: auto;
        width: 43.420795rem;
    }

    .schol-hero__copy {
        min-height: 23.3125rem;
        align-content: center;
        padding-top: 0;
    }

    .schol-overview {
        grid-template-columns: 9rem minmax(0, 1fr);
        grid-template-areas:
            "heading body"
            "button button";
        align-items: start;
        column-gap: var(--space-xl);
        row-gap: var(--space-s);
        padding: var(--space-l);
    }

    .schol-overview__heading {
        grid-area: heading;
        justify-items: start;
        text-align: left;
    }

    .schol-overview > p {
        grid-area: body;
    }
    .schol-overview .schol-button {
        grid-area: button;
    }

    .schol-instagram-cta {
        grid-template-areas:
            "main button"
            "note button";
        grid-template-columns: minmax(0, 1fr) auto;
        gap: var(--space-xs) var(--space-l);
        margin-block: var(--space-l) var(--space-xxl);
        padding: var(--space-l);
    }

    .schol-instagram-cta .mtk-instagram-cta__main {
        text-align: left;
    }

    .schol-instagram-cta .mtk-instagram-cta__mobile-break {
        display: none;
    }

    .schol-instagram-cta .mtk-instagram-cta__button {
        width: auto;
        padding-inline: var(--space-m);
        font-size: var(--size-medium);
    }

    .schol-career {
        gap: var(--space-xxl);
    }

    .schol-career__card {
        grid-template-columns: 1fr 1fr;
        min-height: 19rem;
    }

    .schol-career__copy {
        gap: 1.25rem;
        padding: var(--space-l);
    }

    .schol-career__title-row {
        display: block;
    }

    .schol-career__title-row h3 {
        text-align: left;
    }

    .schol-career__image {
        order: initial;
        aspect-ratio: 480 / 350;
        border-radius: 0 0.75rem 0.75rem 0;
    }

    .schol-career__card:nth-child(even) .schol-career__image {
        order: -1;
        border-radius: 0.75rem 0 0 0.75rem;
    }

    .schol-career__number {
        position: absolute;
        top: -2.095625rem;
        left: -2.625rem;
        width: 7.1875rem;
        height: 7.25rem;
        font-size: var(--schol-number-size);
    }

    .schol-career__card:nth-child(even) .schol-career__number {
        left: -2.625rem;
    }

    .schol-future {
        margin-top: var(--space-xxxl);
    }

    .schol-future ul {
        position: relative;
    }

    .schol-future ul::before,
    .schol-future ul::after {
        content: "";
        display: block;
        position: absolute;
        bottom: 10%;
        width: 10.84375rem;
        height: 11.5041875rem;
        background: url("../img/scholarship/future-decoration.svg") center /
            contain no-repeat;
    }

    .schol-future ul::before {
        right: 100%;
    }
    .schol-future ul::after {
        left: 100%;
        transform: scaleX(-1);
    }

    .schol-future__title::before,
    .schol-future__title::after {
        display: none;
    }

    .schol-tuition__box {
        display: block;
        padding: 0 11rem var(--space-l) var(--space-l);
    }

    .schol-tuition .schol-lead {
        text-align: center;
    }

    .schol-tuition__box h3 {
        margin-bottom: var(--space-m);
    }

    .schol-tuition__box > div {
        padding-right: 0;
    }

    .schol-tuition__icon {
        position: absolute;
        right: var(--space-l);
        bottom: var(--space-l);
    }

    .schol-burden .schol-wrap {
        padding-block: 7rem var(--space-xl);
    }

    .schol-burden__heading {
        justify-content: center;
        text-align: left;
    }

    .schol-plans {
        gap: var(--space-xl); /* Figma: heading↔cards = xxl */
        padding: var(--space-l);
    }

    .schol-plans__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .schol-plan-card {
        padding: var(--space-l);
    }

    .schol-plan-card__case {
        left: 1.25rem;
        width: 5rem;
    }

    .schol-common {
        padding: var(--space-l);
    }

    .schol-flow__layout {
        gap: var(--space-xl);
        grid-template-columns: 18rem minmax(0, 1fr);
        align-items: start;
    }

    .schol-flow__layout .schol-heading {
        justify-items: start;
        padding-top: var(--space-xxl);
        text-align: left;
    }

    .schol-flow__steps {
        padding: var(--space-xl) var(--space-l);
    }

    .schol-repayment__card {
        padding: var(--space-l);
        overflow: visible;
    }

    .schol-repayment .schol-lead,
    #scholarship-plan .schol-lead {
        max-width: 60rem;
        text-align: center;
    }

    .schol-repayment__main {
        grid-template-columns: 1fr 18.75rem;
        align-items: start;
        gap: 2.5rem;
    }

    .schol-repayment__main > div:first-child {
        padding: 0;
    }

    .schol-repayment__image {
        order: initial;
        border-radius: 0.75rem;
    }

    .schol-repayment__cta {
        margin: 0;
    }

    .schol-repayment__clinic-title {
        margin-inline: 0;
        text-align: left;
    }

    .schol-repayment__clinic-title::after {
        display: block;
    }

    .schol-repayment__card--yellow h3::after {
        display: block;
    }

    .schol-mobile-underline::after {
        display: none;
    }

    .schol-repayment__card--green h3 {
        text-align: left;
    }

    .schol-repayment__card--green h3::after {
        margin-inline: 0;
    }

    .schol-message__layout {
        grid-template-columns: 25rem 1fr;
        align-items: start;
        gap: var(--space-xl);
    }

    .schol-merits__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem var(--space-l);
    }

    .schol-merit {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .schol-merit__visual {
        position: relative;
        width: 13.75rem;
        height: 13.75rem;
        padding: 0.625rem;
    }

    .schol-merit__visual span {
        top: auto;
        bottom: 0;
        left: 0;
        width: auto;
        height: auto;
        line-height: 1;
    }

    .schol-merit__copy {
        justify-items: center;
    }

    .schol-merit h3 {
        justify-self: center;
        text-align: center;
    }

    .schol-merit h3::after {
        margin-inline: auto;
    }

    .schol-merit p {
        text-align: left;
    }

    .schol-eligibility__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .schol-eligibility__card {
        padding: var(--space-l);
    }

    .schol-eligibility .schol-lead {
        text-align: center;
    }

    .schol-interview {
        --schol-interview-bg-height: 31.25rem;
        padding-top: 12.5rem;
    }

    .schol-interview__card {
        grid-template-columns: 21.875rem 1fr;
        gap: var(--space-xl);
        margin-top: 0;
        padding: var(--space-l);
    }

    .schol-interview__visual {
        padding-top: var(--space-l);
    }

    .schol-interview__bubble {
        top: -17%;
        left: -20%;
        width: 15.66556rem;
        height: 11.3545rem;
    }

    .schol-contact {
        padding-block: var(--space-xxl) var(--space-xxxl);
    }

    .schol-contact .schol-lead {
        text-align: center;
    }
}

/* Figma crop-fill: any element carrying --crop-* positions its direct image child. */
[style*="--crop-l"] {
    position: relative;
    overflow: hidden;
}
[style*="--crop-l"] > .mtk-picture,
[style*="--crop-l"] > img {
    position: absolute;
    left: var(--crop-l, 0);
    top: var(--crop-t, 0);
    width: var(--crop-w, 100%);
    height: var(--crop-h, 100%);
    max-width: none;
    object-fit: var(--crop-fit, cover);
}

[style*="--crop-l"] > .mtk-picture {
    display: block;
}

[style*="--crop-l"] > .mtk-picture > img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: var(--crop-fit, cover);
}
