/* ==========================================================================
   MEDINFO 2027 | Header, mobile menu and page loader (final)
   Header: Ice Split. Mobile menu: Navy Columns. Loader: Columns.
   Needs assets/js/mi-header.js. Load after medinfo.css.
   Class prefixes: mih (header), mim (mobile menu), mil (loader),
   so nothing else on the site is affected.
   ========================================================================== */


/* ##########################################################################
   1. HEADER
   ########################################################################## */

.mih {
    --mih-navy: #12305c;
    --mih-navy-deep: #0c2447;
    --mih-blue: #1c4e9b;
    --mih-blue-mid: #2c79c4;
    --mih-cyan: #2f97d4;
    --mih-ease: cubic-bezier(.2, .7, .2, 1);
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.mih *,
.mih *::before,
.mih *::after { box-sizing: border-box; }

.mih a { text-decoration: none; }
.mih ul { list-style: none; margin: 0; padding: 0; }
.mih button { font: inherit; cursor: pointer; }

/* ---------- Header shell: fixed over the banner ---------- */
.mih {
    --mih-h: 104px;
    --mih-logo: 80px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.mih.is-scrolled { --mih-h: 80px; --mih-logo: 58px; }

.mih__wrap {
    width: 100%;
    max-width: 1600px;
    margin-inline: auto;
    padding-inline: clamp(16px, 2.6vw, 40px);
}

.mih__bar-in {
    display: flex;
    align-items: center;
    gap: clamp(16px, 1.8vw, 32px);
    height: var(--mih-h);
    transition: height .5s var(--mih-ease), background-color .5s ease, box-shadow .5s ease, border-color .5s ease;
}

.mih__logo { flex: 0 0 auto; display: block; line-height: 0; }

.mih__logo img {
    display: block;
    width: auto;
    height: var(--mih-logo);
    max-width: none;
    transition: height .5s var(--mih-ease);
}

/* Main menu */
.mih__nav { position: relative; margin-inline: auto; }

.mih__menu { position: relative; z-index: 1; display: flex; align-items: center; gap: 2px; }

.mih__menu a {
    --mih-lp: clamp(10px, .95vw, 17px);
    position: relative;
    display: block;
    padding: 11px var(--mih-lp);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .005em;
    white-space: nowrap;
    transition: color .3s ease;
}

/* Right side: Follow Us, CTA, burger */
.mih__actions { display: flex; align-items: center; gap: clamp(10px, .9vw, 16px); flex: 0 0 auto; }

.mih-follow { display: flex; align-items: center; gap: 12px; }

.mih-follow__label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mih-soc { display: flex; align-items: center; gap: 8px; }

.mih-soc a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    transition: color .35s ease, background .35s ease, border-color .35s ease, transform .45s var(--mih-ease), box-shadow .45s ease;
}

.mih-soc svg { display: block; width: 16px; height: 16px; fill: currentColor; }

/* CTA: Submit Your Abstract (the banner's register button reuses this style, see .mih-cta--banner) */
.mih-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    padding: 0 6px 0 20px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
    transition: transform .45s var(--mih-ease), box-shadow .45s ease, background-position .6s var(--mih-ease), background-color .35s ease, color .35s ease;
}

.mih-cta__ico {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    transition: transform .45s var(--mih-ease), background .35s ease, color .35s ease;
}

.mih-cta svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mih-cta:hover .mih-cta__ico { transform: translateX(3px); }

/* Banner button ("Register for the Congress"): same style and hover as the header button, a little larger */
.mih-cta--banner {
    --mih-navy: #12305c;
    --mih-navy-deep: #0c2447;
    --mih-blue: #1c4e9b;
    --mih-blue-mid: #2c79c4;
    --mih-cyan: #2f97d4;
    --mih-ease: cubic-bezier(.2, .7, .2, 1);
    height: 56px;
    gap: 16px;
    padding: 0 7px 0 26px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    text-decoration: none;
}

.mih-cta--banner .mih-cta__ico { width: 42px; height: 42px; }
.mih-cta--banner svg { width: 18px; height: 18px; }

@media (max-width: 575.98px) {
    .mih-cta--banner { height: 52px; padding-left: 22px; font-size: 15px; }
    .mih-cta--banner .mih-cta__ico { width: 38px; height: 38px; }
}

/* Burger (phones only, below 768px) */
.mih__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0 0 0 14px;
    border: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease;
}

.mih__burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: width .35s var(--mih-ease); }
.mih__burger span:nth-child(2) { width: 13px; }
.mih__burger:hover span:nth-child(2) { width: 20px; }

/* ---------- Responsive ---------- */
/* 1200px and up: one row with logo, menu, Follow Us and the button */
@media (max-width: 1599.98px) {
    .mih { --mih-logo: 66px; }
    .mih.is-scrolled { --mih-logo: 54px; }
    .mih__wrap { padding-inline: clamp(16px, 1.7vw, 40px); }
    .mih__bar-in { gap: 18px; }
    .mih__menu a { font-size: 15px; --mih-lp: clamp(8px, .68vw, 12px); }
}

/* 768 to 1199px: no burger. Two rows: logo | Follow Us + button, then the full menu centred */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .mih { --mih-logo: 60px; }
    .mih.is-scrolled { --mih-logo: 48px; }
    .mih__bar-in {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "logo . actions" "nav nav nav";
        align-items: center;
        row-gap: 4px;
        height: auto;
        padding-block: 12px 8px;
    }
    .mih.is-scrolled .mih__bar-in { padding-block: 8px 4px; }
    .mih__logo { grid-area: logo; }
    .mih__nav { grid-area: nav; justify-self: center; margin: 0; }
    .mih__actions { grid-area: actions; }
    .mih__menu a { font-size: 15px; --mih-lp: clamp(10px, 1.4vw, 16px); }
}

/* Phones only (below 768px): the menu, Follow Us and the button move into the mobile menu */
@media (max-width: 767.98px) {
    .mih { --mih-h: 84px; }
    .mih.is-scrolled { --mih-h: 70px; }
    .mih__nav,
    .mih__actions .mih-follow,
    .mih__actions .mih-cta { display: none; }
    .mih__actions { margin-left: auto; }
    .mih__burger { display: inline-flex; }
}

@media (max-width: 575.98px) {
    .mih { --mih-h: 76px; --mih-logo: 50px; }
    .mih.is-scrolled { --mih-h: 66px; --mih-logo: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .mih * { transition-duration: 0s !important; transition-delay: 0s !important; }
}


/* ---------- Ice Split look ----------
   A light ice-white bar with the navy logo and menu. On the right, a navy
   block with a slanted edge (and a fine cyan line beside it) holds Follow Us
   and the Submit Your Abstract button. A cyan dot appears under the menu item
   you point at. The banner's register button (.mih-cta--banner) shares the
   button style. */

.mih--4 .mih__bar {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(250, 252, 255, .95) 0%, rgba(237, 244, 252, .94) 100%);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    backdrop-filter: blur(18px) saturate(1.5);
    border-bottom: 1px solid rgba(18, 48, 92, .08);
    box-shadow: 0 10px 30px -14px rgba(12, 36, 71, .25);
    transition: background .5s ease, box-shadow .5s ease;
}

.mih--4.is-scrolled .mih__bar { background: linear-gradient(90deg, rgba(250, 252, 255, .98) 0%, rgba(237, 244, 252, .98) 100%); box-shadow: 0 14px 34px -14px rgba(12, 36, 71, .32); }

/* Menu with a cyan dot */
.mih--4 .mih__menu a { color: var(--mih-navy); }

.mih--4 .mih__menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--mih-cyan);
    transform: scale(0);
    transition: transform .4s var(--mih-ease);
}

.mih--4 .mih__menu a:hover,
.mih--4 .mih__menu a:focus-visible { color: var(--mih-blue); outline: none; }
.mih--4 .mih__menu a:hover::after,
.mih--4 .mih__menu a:focus-visible::after { transform: scale(1); }

/* Navy action block with a slanted edge, running to the right edge of the screen */
.mih--4 .mih__actions {
    position: relative;
    z-index: 0;
    align-self: stretch;
    padding-left: 50px;
    color: #fff;
}

.mih--4 .mih__actions::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: -100vw;
    background:
        radial-gradient(60% 140% at 0% 0%, rgba(47, 151, 212, .32) 0%, rgba(47, 151, 212, 0) 60%),
        linear-gradient(115deg, var(--mih-navy) 0%, var(--mih-navy-deep) 55%);
    clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%);
}

.mih--4 .mih__actions::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: -9px;
    width: 34px;
    background: linear-gradient(180deg, #7fd4f5 0%, var(--mih-cyan) 100%);
    clip-path: polygon(30px 0, 33px 0, 3px 100%, 0 100%);
}

/* Follow Us on navy */
.mih--4 .mih__actions .mih-follow { flex-direction: column; align-items: center; gap: 7px; margin-right: 4px; }
.mih--4 .mih-follow__label { font-size: 10px; letter-spacing: .22em; color: rgba(255, 255, 255, .62); margin-right: -.22em; }
.mih--4 .mih__actions .mih-soc { gap: 6px; }

.mih--4 .mih__actions .mih-soc a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .24);
}

.mih--4 .mih__actions .mih-soc svg { width: 13px; height: 13px; }
.mih--4 .mih__actions .mih-soc a:hover { color: var(--mih-navy); background: #fff; border-color: #fff; transform: translateY(-2px); }

/* CTA (header button and banner button) */
.mih--4 .mih-cta,
.mih-cta--banner {
    color: #fff;
    border-radius: 12px;
    background: linear-gradient(105deg, var(--mih-cyan) 0%, var(--mih-blue-mid) 55%, var(--mih-blue) 100%) 0 0 / 170% 100%;
    box-shadow: 0 12px 26px -12px rgba(47, 151, 212, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.mih--4 .mih-cta__ico,
.mih-cta--banner .mih-cta__ico { border-radius: 9px; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .24); }
.mih--4 .mih-cta:hover,
.mih-cta--banner:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(47, 151, 212, .95), inset 0 1px 0 rgba(255, 255, 255, .25); }
.mih--4 .mih-cta:hover .mih-cta__ico,
.mih-cta--banner:hover .mih-cta__ico { background: #fff; color: var(--mih-blue); }

/* Burger on navy */
.mih--4 .mih__burger { border-radius: 12px; color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.mih--4 .mih__burger:hover { background: rgba(255, 255, 255, .16); }

@media (max-width: 1599.98px) {
    .mih--4 .mih__actions { padding-left: 46px; }
}

@media (max-width: 767.98px) {
    .mih--4 .mih__actions { padding-left: 42px; }
}


/* ##########################################################################
   2. MOBILE MENU (phones, below 768px): Navy Columns
   Full screen. Five navy-to-blue columns drop in from the top, the links
   rise in large type, and the columns lift away again on close.
   ########################################################################## */

.mim {
    --mim-navy: #12305c;
    --mim-navy-deep: #0c2447;
    --mim-blue: #1c4e9b;
    --mim-blue-mid: #2c79c4;
    --mim-cyan: #2f97d4;
    --mim-ease: cubic-bezier(.2, .7, .2, 1);
    --mim-swift: cubic-bezier(.76, 0, .24, 1);
    position: fixed;
    inset: 0;
    z-index: 1001;
    visibility: hidden;
    pointer-events: none;
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
    /* stays visible until its closing animation has finished (--mim-out) */
    transition: visibility 0s linear var(--mim-out, .6s);
}

.mim.is-open { visibility: visible; pointer-events: auto; transition: none; }

.mim *,
.mim *::before,
.mim *::after { box-sizing: border-box; }

.mim a { text-decoration: none; }
.mim ul { list-style: none; margin: 0; padding: 0; }
.mim button { font: inherit; cursor: pointer; }

/* ---------- Shared parts ---------- */
.mim__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mim__logo { display: block; line-height: 0; }
.mim__logo img { display: block; width: auto; height: 50px; max-width: none; }

.mim__close {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    color: inherit;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.mim__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .45s var(--mim-ease); }
.mim__close:hover svg { transform: rotate(90deg); }

.mim__btn svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mim__btns { display: grid; gap: 10px; }

.mim__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: .01em;
    transition: transform .4s var(--mim-ease), background .35s ease, color .35s ease, box-shadow .4s ease, background-position .6s var(--mim-ease);
}

.mim__btn-ico {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    transition: transform .4s var(--mim-ease), background .35s ease, color .35s ease;
}

.mim__btn:hover .mim__btn-ico { transform: translateX(3px); }

.mim__follow { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.mim__follow-label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mim__soc { display: flex; align-items: center; gap: 8px; }

.mim__soc a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    transition: color .35s ease, background .35s ease, border-color .35s ease, transform .45s var(--mim-ease);
}

.mim__soc a:hover { transform: translateY(-2px); }
.mim__soc svg { display: block; width: 16px; height: 16px; fill: currentColor; }

/* ---------- Navy Columns look (the same columns as the page loader) ---------- */
.mim--1 { --mim-out: 1.05s; color: #fff; }

.mim--1 .mim__cols { position: absolute; inset: 0; display: flex; }

.mim--1 .mim__cols span {
    flex: 1 1 0;
    height: 100%;
    margin-right: -1px;
    transform: translateY(-101%);
    transition: transform .7s var(--mim-swift);
}

.mim--1 .mim__cols span:nth-child(1) { background: #0c2447; transition-delay: .5s; }
.mim--1 .mim__cols span:nth-child(2) { background: #12305c; transition-delay: .44s; }
.mim--1 .mim__cols span:nth-child(3) { background: #173f7e; transition-delay: .38s; }
.mim--1 .mim__cols span:nth-child(4) { background: #1c4e9b; transition-delay: .32s; }
.mim--1 .mim__cols span:nth-child(5) { background: #2569b3; transition-delay: .26s; margin-right: 0; }

.mim--1.is-open .mim__cols span { transform: none; }
.mim--1.is-open .mim__cols span:nth-child(1) { transition-delay: 0s; }
.mim--1.is-open .mim__cols span:nth-child(2) { transition-delay: .06s; }
.mim--1.is-open .mim__cols span:nth-child(3) { transition-delay: .12s; }
.mim--1.is-open .mim__cols span:nth-child(4) { transition-delay: .18s; }
.mim--1.is-open .mim__cols span:nth-child(5) { transition-delay: .24s; }

.mim--1 .mim__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    padding: 16px 24px 26px;
}

.mim--1 .mim__head,
.mim--1 .mim__btns,
.mim--1 .mim__follow {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .5s var(--mim-ease);
}

.mim--1.is-open .mim__head { opacity: 1; transform: none; transition-delay: .4s; }
.mim--1.is-open .mim__btns { opacity: 1; transform: none; transition: opacity .5s ease .78s, transform .7s var(--mim-ease) .78s; }
.mim--1.is-open .mim__follow { opacity: 1; transform: none; transition: opacity .5s ease .86s, transform .7s var(--mim-ease) .86s; }

.mim--1 .mim__close { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .04); }
.mim--1 .mim__close:hover { color: var(--mim-navy); background: #fff; border-color: #fff; }

.mim--1 .mim__nav { margin-top: clamp(16px, 4.5vh, 44px); }
.mim--1 .mim__nav li { overflow: hidden; }

.mim--1 .mim__nav a {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 0;
    color: #fff;
    font-size: clamp(25px, 7.2vw, 33px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    transform: translateY(110%);
    transition: transform .3s ease, color .3s ease;
}

.mim--1.is-open .mim__nav a { transform: none; transition: transform .75s var(--mim-ease), color .3s ease; }
.mim--1.is-open .mim__nav li:nth-child(1) a { transition-delay: .36s, 0s; }
.mim--1.is-open .mim__nav li:nth-child(2) a { transition-delay: .42s, 0s; }
.mim--1.is-open .mim__nav li:nth-child(3) a { transition-delay: .48s, 0s; }
.mim--1.is-open .mim__nav li:nth-child(4) a { transition-delay: .54s, 0s; }
.mim--1.is-open .mim__nav li:nth-child(5) a { transition-delay: .6s, 0s; }
.mim--1.is-open .mim__nav li:nth-child(6) a { transition-delay: .66s, 0s; }

.mim--1 .mim__num {
    min-width: 24px;
    padding-top: .55em;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .08em;
    color: #8fd0f5;
}

.mim--1 .mim__lbl { transition: transform .45s var(--mim-ease); }
.mim--1 .mim__nav a:hover { color: #bfe6fb; }
.mim--1 .mim__nav a:hover .mim__lbl { transform: translateX(8px); }

.mim--1 .mim__btns { margin-top: 30px; }

.mim--1 .mim__btn {
    height: 56px;
    padding: 0 6px 0 24px;
    border-radius: 999px;
    color: var(--mim-navy);
    background: #fff;
    box-shadow: 0 16px 32px -18px rgba(3, 14, 34, .8);
}

.mim--1 .mim__btn-ico { width: 44px; height: 44px; color: #fff; background: linear-gradient(135deg, var(--mim-cyan), var(--mim-blue)); }
.mim--1 .mim__btn:hover { background: #e9f5fd; transform: translateY(-2px); }

.mim--1 .mim__follow { margin-top: auto; padding-top: 28px; }
.mim--1 .mim__follow-label { color: rgba(255, 255, 255, .66); }
.mim--1 .mim__soc a { border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.mim--1 .mim__soc a:hover { color: var(--mim-navy); background: #fff; border-color: #fff; }

/* ---------- Small phones ---------- */
@media (max-width: 575.98px) {
    .mim__logo img { height: 46px; }
}

@media (max-height: 640px) {
    .mim--1 .mim__nav a { font-size: 24px; padding: 6px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .mim,
    .mim * { transition-duration: .01s !important; transition-delay: 0s !important; }
}


/* ##########################################################################
   3. PAGE LOADER: Columns
   Five navy-to-blue columns. "MEDINFO 2027" rises letter by letter, the
   dates fade in, then the columns lift away from left to right.
   ########################################################################## */

.mil {
    --mil-navy: #12305c;
    --mil-navy-deep: #0c2447;
    --mil-blue: #1c4e9b;
    --mil-blue-mid: #2c79c4;
    --mil-cyan: #2f97d4;
    --mil-ease: cubic-bezier(.2, .7, .2, 1);
    --mil-swift: cubic-bezier(.76, 0, .24, 1);
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    overflow: hidden;
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
    /* Safety net: the loader hides itself after 9 seconds even if JavaScript does not run */
    animation: mil-failsafe .4s ease 9s forwards;
}

.mil *,
.mil *::before,
.mil *::after { box-sizing: border-box; }

.mil__in { position: relative; z-index: 2; text-align: center; padding: 0 20px; }

html.mil-lock,
html.mil-lock body { overflow: hidden; }

@keyframes mil-failsafe { to { opacity: 0; visibility: hidden; } }
@keyframes mil-rise { to { transform: none; } }
@keyframes mil-fade-up { to { opacity: 1; transform: none; } }

/* The date line under the name */
.mil__sub {
    margin-top: 18px;
    font-size: clamp(13px, 1.05vw, 17px);
    font-weight: 500;
    letter-spacing: .06em;
    opacity: 0;
    transform: translateY(10px);
    animation: mil-fade-up .8s var(--mil-ease) 1.15s forwards;
}

/* ---------- Columns look ---------- */
.mil--1 { color: #fff; background: transparent; }

.mil--1 .mil__cols { position: absolute; inset: 0; display: flex; }

.mil--1 .mil__cols span {
    flex: 1 1 0;
    height: 100%;
    margin-right: -1px; /* no hairline gaps between columns */
    transition: transform .85s var(--mil-swift);
}

.mil--1 .mil__cols span:nth-child(1) { background: #0c2447; }
.mil--1 .mil__cols span:nth-child(2) { background: #12305c; }
.mil--1 .mil__cols span:nth-child(3) { background: #173f7e; }
.mil--1 .mil__cols span:nth-child(4) { background: #1c4e9b; }
.mil--1 .mil__cols span:nth-child(5) { background: #2569b3; margin-right: 0; }

.mil--1 .mil__title {
    font-size: clamp(48px, 7.2vw, 124px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.025em;
    white-space: nowrap;
}

.mil--1 .mil__word { display: inline-block; overflow: hidden; padding: .06em .03em .08em; vertical-align: top; }

.mil--1 .mil__ch {
    display: inline-block;
    transform: translateY(118%);
    animation: mil-rise .8s var(--mil-ease) forwards;
    animation-delay: calc(.2s + var(--i) * .06s);
}

.mil--1 .mil__sub { color: rgba(255, 255, 255, .82); }

/* Exit */
.mil--1 .mil__in { transition: opacity .35s ease, transform .5s var(--mil-ease); }
.mil--1.is-done .mil__in { opacity: 0; transform: translateY(-14px); }
.mil--1.is-done .mil__cols span { transform: translateY(-101%); }
.mil--1.is-done .mil__cols span:nth-child(1) { transition-delay: .22s; }
.mil--1.is-done .mil__cols span:nth-child(2) { transition-delay: .3s; }
.mil--1.is-done .mil__cols span:nth-child(3) { transition-delay: .38s; }
.mil--1.is-done .mil__cols span:nth-child(4) { transition-delay: .46s; }
.mil--1.is-done .mil__cols span:nth-child(5) { transition-delay: .54s; }

@media (max-width: 575.98px) {
    .mil--1 .mil__title { font-size: clamp(54px, 17vw, 78px); }
    .mil--1 .mil__word { display: block; }
    .mil--1 .mil__word + .mil__word { margin: -.06em 0 0; }
    .mil--1 .mil__sub { margin-top: 14px; }
}

/* ---------- Reduced motion: a short, calm fade ---------- */
@media (prefers-reduced-motion: reduce) {
    .mil * { animation-duration: .01s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
    .mil,
    .mil * { transition-duration: .35s !important; transition-delay: 0s !important; }
}
