/* ==========================================================================
   Consortium LP  (page-consortium.php)
   Design: Figma "LP updated after comments 29/07" — 1440px artboard
   ========================================================================== */

:root {
    --c-navy: #000c63;
    --c-ink: #2b2b2b;
    --c-cream: #fff5e9;
}

body.page-template-page-consortium {
    background: #fff;
}

.consortium {
    overflow-x: clip;
}

.consortium *,
.consortium *::before,
.consortium *::after {
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

#top .header {
    /* theme positions the burger panel from this var — keep it in sync
       with the shorter consortium bar or a gap opens under the header */
    --headerNav: 60px;
    height: 60px;
    background: #acafc4ad;
}

#top .header .header-inner {
    max-width: 1315px;
    height: 60px;
    padding: 0 50px;
    /* theme turns this white while the burger menu is open, which hides
       the white logo and the close icon — keep the bar showing through */
    background-color: transparent;
}

#top .header .header-inner::before {
    background: transparent;
}

#top .header .header-logo a.logo,
#top .header .header-logo a.logo:hover {
    display: block;
    line-height: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

#top .header .header-logo img {
    display: block;
    width: 130px;
    height: 42px;
}

#top .header .main-menu > li > .menu-item-inner,
#top .header .main-menu > li > .menu-item-inner .avia-menu-text {
    color: var(--c-cream);
    font-weight: 400;
    text-transform: none;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

#top .header .main-menu > li:not(.search-icon):not(.menu-button) > .menu-item-inner:hover,
#top .header .main-menu > li:not(.search-icon):not(.menu-button) > .menu-item-inner:hover .avia-menu-text {
    color: var(--c-navy);
}

#top .header .main-menu > li.search-icon > .menu-item-inner {
    border: 1px solid var(--c-cream);
    border-radius: 99px;
    padding: 9px 34px;
}

#top .header .main-menu > li.search-icon > .menu-item-inner:hover {
    background: var(--c-navy);
    border-color: var(--c-navy);
}

#top .header .main-menu > li.search-icon > .menu-item-inner:hover,
#top .header .main-menu > li.search-icon > .menu-item-inner:hover .avia-menu-text {
    color: #fff;
}

#top .header .main-menu > li.search-icon > .menu-item-inner::before,
#top .header .main-menu > li.search-icon > .menu-item-inner span::before {
    display: none;
}

#top .header .main-menu > li.menu-button > .menu-item-inner .avia-menu-text {
    display: inline-block;
    background: #ff6324;
    color: #fff;
    border-radius: 99px;
    padding: 9px 34px;
    line-height: 1.42;
    transition: background-color .25s ease, color .25s ease;
}

#top .header .main-menu > li.menu-button > .menu-item-inner:hover .avia-menu-text {
    background: var(--c-navy);
    color: #fff;
}

#top .header .burger-box,
#top .header .burger-box::before,
#top .header .burger-box::after {
    background: #ffffff;
}

/* open state: theme hides the middle bar so the other two form an X —
   without this the white middle bar stays and it reads as an asterisk */
html.burger-is-active #top .header .burger-box {
    background: transparent;
}

/* Theme pulls the logo out of flow below 1200px — keep it inside the bar */
@media only screen and (max-width: 1200px) {
    #top .header .header-inner {
        justify-content: space-between;
    }

    #top .header .header-inner .header-logo {
        position: static;
        display: flex;
        align-items: center;
        width: auto;
        max-width: none;
        height: auto;
        margin: 0;
    }

    #top .header .header-inner .header-logo a.logo {
        position: static;
        display: block;
        width: auto;
        height: auto;
        line-height: 0;
    }
}

/* --------------------------------------------------------------------------
   Shared button
   -------------------------------------------------------------------------- */

.consortium .c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-navy);
    border: 1px solid var(--c-navy);
    border-radius: 99px;
    padding: 25px 50px;
    color: var(--c-cream);
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 1.528vw, 22px);
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease;
}

.consortium .c-btn:hover,
.consortium .c-btn:focus {
    background: #ff6324;
    border-color: #ff6324;
    color: #fff;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.consortium .c-hero {
    margin: 0;
    padding: 0;
}

/* Figma: full-bleed 1440x827. The 1440x992 backdrop is laid in at natural
   proportions and clipped by the panel — it has already faded to white there. */
.consortium .c-hero__panel {
    position: relative;
    aspect-ratio: 1440 / 827;
    background: #fff url('../img/consortium/hero-bg-full.jpg') top center / 100% auto no-repeat;
}

/* Decorative ripple circles ------------------------------------------------ */

.consortium .c-hero__circle {
    position: absolute;
    z-index: 1;
    display: block;
    pointer-events: none;
}

.consortium .c-hero__circle img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Percentages are of the full-bleed panel — Figma 1440x827, hero at 0,0 */

/* left cluster — anchored on the large circle, Figma 111,301 / 231 */
.consortium .c-hero__circle--left {
    left: 7.708%;
    top: 36.397%;
    width: 19.304%;
    aspect-ratio: 417 / 359;
}

/* top-right single circle — Figma 1177,126 / 160x160 */
.consortium .c-hero__circle--small {
    left: 81.736%;
    top: 15.236%;
    width: 11.111%;
    aspect-ratio: 1;
}

/* right cluster — Figma 935,375 / 497x403 */
.consortium .c-hero__circle--right {
    left: 64.931%;
    top: 45.345%;
    width: 34.514%;
    aspect-ratio: 755 / 617;
}

/* Content ------------------------------------------------------------------ */

.consortium .c-hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* Figma: title box 1106px wide at y=212 in a full-bleed 1440 hero */
    padding: 14.722% 11.597% 0;
}

.consortium .c-hero__title {
    margin: 0;
    padding: 0;
    /* Figma text box — the font stops growing at 80px, so cap the measure
       too, otherwise the line break drifts on wide screens */
    max-width: 1106px;
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(34px, 5.556vw, 80px);
    line-height: 1.2;
    letter-spacing: 0;
    color: var(--c-ink);
    text-transform: none;
}

.consortium .c-hero__subtitle {
    margin: 1.882% 0 0;
    /* Figma 662px of 1440 — scales with the hero, capped at the design width */
    max-width: min(662px, 46%);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: clamp(17px, 1.736vw, 25px);
    line-height: 1.2;
    color: var(--c-ink);
}

.consortium .c-hero__content .c-btn {
    margin-top: 2.824%;
}

/* --------------------------------------------------------------------------
   Members
   -------------------------------------------------------------------------- */

/* 1114px of content + 20px gutters */
.consortium .c-container {
    max-width: 1154px;
    margin: 0 auto;
    padding: 0 20px;
}

/* The full-bleed hero now carries the spacing the old inset panel left to this section */
.consortium .c-members {
    padding-top: 6px;
}

.consortium .c-members__title {
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(30px, 2.778vw, 40px);
    line-height: 1.15;
    color: var(--c-ink);
    text-align: center;
    text-transform: none;
}

.consortium .c-members__intro {
    max-width: 547px;
    margin: 17px auto 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.6;
    color: var(--c-ink);
    text-align: center;
}

.consortium .c-members__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 41px;
    margin: 148px 0 0;
    padding: 0;
    list-style: none;
}

.consortium .c-members__cell {
    margin: 0;
    padding: 0;
    list-style: none;
}

.consortium .c-members__cell::before {
    display: none;
}

.consortium .c-member {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 344 / 171.75;
    margin: 0;
    padding: 0;
    background: #f5faff;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease;
}

.consortium .c-member--static {
    cursor: default;
}

.consortium button.c-member:hover,
.consortium button.c-member:focus-visible {
    background: #eaf2ff;
    transform: translateY(-2px);
}

.consortium button.c-member:focus {
    outline: none;
}

.consortium button.c-member:focus-visible {
    outline: 2px solid var(--c-navy);
    outline-offset: 3px;
}

.consortium .c-member__logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 71.3%;
    max-height: 74.6%;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   Member modal
   -------------------------------------------------------------------------- */

.consortium .c-modal[hidden] {
    display: none;
}

.consortium .c-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.consortium .c-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .85);
    border: 0;
}

.consortium .c-modal__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 841px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 26px 25px 50px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 125px rgba(0, 0, 0, .15);
}

.consortium .c-modal__close {
    align-self: flex-start;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0 0 -12px -6px;
    padding: 0;
    background: none;
    border: 0;
    color: #2b2b2b;
    cursor: pointer;
    opacity: .75;
    transition: opacity .2s ease;
}

.consortium .c-modal__close:hover {
    opacity: 1;
    background: none;
}

.consortium .c-modal__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 726px;
}

.consortium .c-modal__logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 60%;
    max-height: 90px;
    object-fit: contain;
}

.consortium .c-modal__text {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.02em;
    color: #000;
    text-align: center;
}

.consortium .c-modal__text p {
    margin: 0 0 15px;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.consortium .c-modal__text p:last-child {
    margin-bottom: 0;
}

.consortium .c-modal__text a {
    color: inherit;
    text-decoration: underline;
}

body.c-modal-open {
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Defining, validating, and governing
   -------------------------------------------------------------------------- */

.consortium .c-defining {
    padding-top: 55px;
}

.consortium .c-defining__inner {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 94px;
    max-width: 1099px;
    margin: 0 auto;
}

.consortium .c-defining__media {
    position: relative;
    flex: 0 1 468px;
    width: 468px;
    max-width: 100%;
    aspect-ratio: 468 / 597;
    border-radius: 10px;
    overflow: hidden;
}

.consortium .c-defining__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ripple overlay — Figma 250,2753 / 144px inside a 468x597 photo */
.consortium .c-defining__circle {
    position: absolute;
    left: 15.918%;
    top: 66.75%;
    width: 31.41%;
    aspect-ratio: 1;
    pointer-events: none;
}

.consortium .c-defining__circle img {
    display: block;
    width: 100%;
    height: 100%;
}

.consortium .c-defining__content {
    flex: 0 1 537px;
    min-width: 0;
}

@media only screen and (max-width: 767px) {
    .consortium .c-defining__content {
        flex: 1;
        min-width: 0;
    }
}

.consortium .c-defining__title {
    max-width: 409px;
    margin: 0;
    padding: 0;
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(30px, 2.778vw, 40px);
    line-height: 1.15;
    color: var(--c-ink);
    text-align: left;
    text-transform: none;
}

.consortium .c-defining__text {
    margin-top: 24px;
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.6;
    letter-spacing: 0.02em;
    color: var(--c-ink);
}

.consortium .c-defining__text p {
    margin: 0 0 1em;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
}

.consortium .c-defining__text p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   How we aim to work together
   -------------------------------------------------------------------------- */

.consortium .c-how {
    padding-top: 155px;
}

.consortium .c-how .c-container {
    padding-left: 55px;
}

.consortium .c-how__title {
    max-width: 638px;
    margin: 0;
    padding: 0;
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(30px, 2.778vw, 40px);
    line-height: 1.15;
    color: var(--c-ink);
    text-align: left;
    text-transform: none;
}

.consortium .c-how__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    margin-top: 33px;
}

.consortium .c-how__steps {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 638px;
    display: flex;
    flex-direction: column;
    gap: 52px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.consortium .c-how__step {
    margin: 0;
    padding: 0;
    list-style: none;
}

.consortium .c-how__step::before,
.consortium .c-how__step::marker {
    display: none;
    content: none;
}

.consortium .c-how__step-title {
    margin: 0 0 14px;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: clamp(22px, 1.736vw, 25px);
    line-height: 1.2;
    color: #ff6324;
    text-align: left;
    text-transform: none;
}

.consortium .c-how__step-text {
    max-width: 576px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.6;
    color: var(--c-ink);
}

.consortium .c-how__step-text p {
    margin: 0 0 1em;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.consortium .c-how__step-text p:last-child {
    margin-bottom: 0;
}

/* ripple cluster — Figma 871,3246 / 454x534 */
.consortium .c-how__visual {
    flex: 0 0 454px;
    max-width: 454px;
}

.consortium .c-how__visual img {
    display: block;
    width: 100%;
    height: auto;
}

/* --------------------------------------------------------------------------
   Testimonials slider
   -------------------------------------------------------------------------- */

.consortium .c-quotes {
    padding-top: 128px;
}

.consortium .c-quotes__inner {
    max-width: 1284px;
    margin: 0 auto;
}

.consortium .c-quotes__slider {
    position: relative;
    max-width: 1104px;
    margin: 0 auto;
}

.consortium .c-quotes__swiper {
    background: #fff;
    border-radius: 10px;
    box-shadow: 10px 8px 15.6px rgba(255, 99, 36, .07);
    overflow: hidden;
}

.consortium .c-quotes__swiper .swiper-wrapper {
    align-items: stretch;
}

.consortium .c-quote {
    display: flex;
    align-items: stretch;
    min-height: 590px;
    height: auto;
}

.consortium .c-quote__media {
    flex: 0 0 395px;
    max-width: 395px;
    overflow: hidden;
}

.consortium .c-quote__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consortium .c-quote__body {
    flex: 0 1 532px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    margin-left: 60px;
    padding: 19px 0;
}

.consortium .c-quote__text {
    max-width: 498px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.6;
    color: var(--c-ink);
    font-style: normal;
    quotes: none;
}

.consortium .c-quote__text p {
    margin: 0 0 1em;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.consortium .c-quote__text p:last-child {
    margin-bottom: 0;
}

.consortium .c-quote__rule {
    display: block;
    width: 503px;
    max-width: 100%;
    height: 1px;
    background: #7e85b1;
}

/* Attribution row: name on the left, member logo flush with the rule's right edge */
.consortium .c-quote__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 503px;
    max-width: 100%;
}

.consortium .c-quote__meta .c-quote__name {
    min-width: 0;
}

.consortium .c-quote__logo {
    flex: 0 0 auto;
    margin-left: auto;
}

.consortium .c-quote__logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.consortium .c-quote__name {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(22px, 2.083vw, 30px);
    line-height: 1.15;
    color: var(--c-navy);
}

.consortium .c-quote__role {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.6;
    color: rgba(43, 43, 43, .4);
}

/* Arrows -------------------------------------------------------------------- */

.consortium .c-quotes__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 44px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--c-navy);
    cursor: pointer;
    opacity: .85;
    transition: opacity .2s ease;
}

.consortium .c-quotes__arrow:hover {
    opacity: 1;
    background: none;
}

.consortium .c-quotes__arrow.swiper-button-disabled {
    opacity: .3;
    cursor: default;
}

.consortium .c-quotes__arrow--prev {
    left: -82px;
}

.consortium .c-quotes__arrow--next {
    right: -82px;
}

/* Dots ---------------------------------------------------------------------- */

.consortium .c-quotes__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    margin-top: 39px;
}

.consortium .c-quotes__dots .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    margin: 0;
    background: transparent;
    border: 1px solid var(--c-navy);
    border-radius: 50%;
    opacity: 1;
    cursor: pointer;
    transition: background-color .2s ease;
}

.consortium .c-quotes__dots .swiper-pagination-bullet-active {
    background: var(--c-navy);
}

/* --------------------------------------------------------------------------
   Aidoc: the technology partner
   -------------------------------------------------------------------------- */

.consortium .c-partner {
    padding-top: 141px;
}

.consortium .c-partner__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 70px;
}

.consortium .c-partner__content {
    flex: 0 1 522px;
    min-width: 0;
}

.consortium .c-partner__title {
    max-width: 510px;
    margin: 0;
    padding: 0;
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(30px, 2.778vw, 40px);
    line-height: 1.15;
    color: var(--c-ink);
    text-align: left;
    text-transform: none;
}

.consortium .c-partner__text {
    margin-top: 46px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.6;
    color: var(--c-ink);
}

.consortium .c-partner__text p {
    margin: 0 0 21px;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.consortium .c-partner__text p:last-child {
    margin-bottom: 0;
}

.consortium .c-partner__text strong,
.consortium .c-partner__text b {
    font-weight: 700;
}

/* right column — Figma images 522x212, 43px apart, 54px below the title top */
.consortium .c-partner__media {
    flex: 0 0 522px;
    max-width: 522px;
    display: flex;
    flex-direction: column;
    gap: 43px;
    margin-top: 54px;
}

.consortium .c-partner__figure {
    aspect-ratio: 522 / 212;
    border-radius: 10px;
    overflow: hidden;
}

.consortium .c-partner__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Final CTA + footer
   -------------------------------------------------------------------------- */

#top .c-final {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 259px 0 28px;
    background: #fff url('../img/consortium/footer-bg.jpg') center bottom / 100% 100% no-repeat;
    text-align: center;
}

#top .c-final *,
#top .c-final *::before,
#top .c-final *::after {
    box-sizing: border-box;
}

#top .c-final__circle {
    position: absolute;
    z-index: 0;
    display: block;
    pointer-events: none;
}

#top .c-final__circle img {
    display: block;
    width: 100%;
    height: auto;
}

/* Figma: left cluster clipped at the canvas edge, 410x427 from y 5877 */
#top .c-final__circle--left {
    left: -3px;
    top: 241px;
    width: 410px;
}

/* Figma: right cluster clipped at the canvas edge, 359x441 from y 5761 */
#top .c-final__circle--right {
    right: -3px;
    top: 125px;
    width: 359px;
}

#top .c-final__body {
    position: relative;
    z-index: 1;
    max-width: 1114px;
    margin: 0 auto;
    padding: 0 20px;
}

#top .c-final__title {
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(30px, 2.778vw, 40px);
    line-height: 1.15;
    color: var(--c-ink);
    text-align: center;
    text-transform: none;
}

#top .c-final__text {
    max-width: 585px;
    margin: 22px auto 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.6;
    color: var(--c-ink);
    text-align: center;
}

#top .c-final__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-top: 34px;
}

#top .c-final .c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
    padding: 25px 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 1.528vw, 22px);
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease;
}

/* "Follow updates on the Consortium" is hidden until a destination URL exists.
   The link is kept in the page settings — drop `display: none` to bring it back. */
#top .c-final .c-btn--primary {
    display: none;
    background: var(--c-navy);
    border: 1px solid var(--c-navy);
    color: var(--c-cream);
}

#top .c-final .c-btn--primary:hover,
#top .c-final .c-btn--primary:focus {
    background: #ff6324;
    border-color: #ff6324;
    color: #fff;
    text-decoration: none;
}

#top .c-final .c-btn--outline {
    background: transparent;
    border: 1px solid var(--c-navy);
    color: var(--c-navy);
    padding: 25px 79px;
}

#top .c-final .c-btn--outline:hover,
#top .c-final .c-btn--outline:focus {
    background: var(--c-navy);
    color: #fff;
    text-decoration: none;
}

#top .c-final__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 173px;
    padding: 0 47px;
}

#top .c-final__note {
    max-width: 707px;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
    text-align: left;
}

#top .c-final__logo {
    flex: none;
    display: block;
    line-height: 0;
    border: 0;
    background: none;
}

#top .c-final__logo img {
    display: block;
    width: 314px;
    height: auto;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media only screen and (max-width: 1100px) {
    .consortium .c-members__grid {
        margin-top: 80px;
        gap: 24px;
    }

    .consortium .c-defining {
        padding-top: 100px;
    }

    .consortium .c-defining__inner {
        gap: 48px;
    }

    .consortium .c-how {
        padding-top: 110px;
    }

    .consortium .c-how__inner {
        gap: 40px;
    }

    .consortium .c-how__visual {
        flex: 0 1 380px;
    }

    .consortium .c-quotes {
        padding-top: 120px;
    }

    .consortium .c-quotes__inner {
        padding: 0 20px;
    }

    .consortium .c-quotes__arrow--prev {
        left: 6px;
    }

    .consortium .c-quotes__arrow--next {
        right: 6px;
    }

    .consortium .c-quotes__arrow {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, .88);
        border-radius: 50%;
    }

    .consortium .c-quotes__arrow:hover {
        background: #fff;
    }

    .consortium .c-quote__body {
        flex: 1 1 auto;
        margin-left: 40px;
        padding-right: 40px;
    }

    .consortium .c-quote__media {
        flex: 0 1 340px;
    }

    .consortium .c-partner {
        padding-top: 120px;
    }

    .consortium .c-partner__inner {
        gap: 40px;
    }

    .consortium .c-partner__media {
        flex: 0 1 440px;
    }

    #top .c-final {
        margin-top: 80px;
        padding-top: 180px;
    }

    #top .c-final__circle--left {
        width: 300px;
        top: 200px;
    }

    #top .c-final__circle--right {
        width: 260px;
        top: 100px;
    }

    #top .c-final__bottom {
        margin-top: 120px;
        padding: 0 24px;
    }

    #top .c-final__logo img {
        width: 220px;
    }
}

@media only screen and (max-width: 767px) {
    .consortium .c-members {
        padding-top: 72px;
    }

    .consortium .c-members__grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 40px;
        gap: 14px;
    }

    .consortium .c-modal {
        padding: 12px;
    }

    .consortium .c-modal__dialog {
        gap: 24px;
        padding: 18px 18px 32px;
        max-height: calc(100vh - 24px);
    }

    .consortium .c-modal__logo {
        max-width: 70%;
        max-height: 64px;
    }

    .consortium .c-modal__text {
        font-size: 13px;
    }

    .consortium .c-defining {
        padding-top: 64px;
    }

    .consortium .c-defining__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }

    .consortium .c-defining__media {
        flex: none;
        width: 100%;
    }

    .consortium .c-defining__title {
        max-width: none;
        font-size: 30px;
    }

    .consortium .c-defining__text {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.35;
    }

    .consortium .c-how {
        padding-top: 64px;
    }

    .consortium .c-how .c-container {
        padding-left: 20px;
    }

    .consortium .c-how__title {
        font-size: 30px;
    }

    .consortium .c-how__inner {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-top: 24px;
    }

    .consortium .c-how__steps {
        gap: 32px;
        max-width: none;
        width: 100%;
    }

    .consortium .c-how__step-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .consortium .c-how__step-text {
        font-size: 15px;
        line-height: 1.35;
        max-width: none;
    }

    .consortium .c-how__visual {
        display: none;
    }

    .consortium .c-quotes {
        padding-top: 64px;
    }

    .consortium .c-quotes__inner {
        padding: 0 16px;
    }

    .consortium .c-quote {
        flex-direction: column;
        min-height: 0;
    }

    .consortium .c-quote__media {
        flex: none;
        max-width: none;
        aspect-ratio: 395 / 340;
    }

    .consortium .c-quote__body {
        flex: none;
        margin: 0;
        padding: 24px 20px 32px;
        gap: 12px;
    }

    .consortium .c-quote__text,
    .consortium .c-quote__rule {
        max-width: none;
        width: 100%;
    }

    .consortium .c-quote__text {
        font-size: 15px;
        line-height: 1.35;
    }

    .consortium .c-quote__name {
        font-size: 22px;
    }

    .consortium .c-quote__role {
        font-size: 15px;
    }

    .consortium .c-quotes__arrow {
        top: 22%;
    }

    .consortium .c-quotes__dots {
        margin-top: 24px;
    }

    .consortium .c-partner {
        padding-top: 64px;
    }

    .consortium .c-partner__inner {
        flex-direction: column;
        gap: 32px;
    }

    .consortium .c-partner__content,
    .consortium .c-partner__media {
        flex: none;
        max-width: none;
        width: 100%;
    }

    .consortium .c-partner__media {
        margin-top: 0;
        gap: 20px;
    }

    .consortium .c-partner__title {
        max-width: none;
        font-size: 30px;
    }

    .consortium .c-partner__text {
        margin-top: 24px;
        font-size: 15px;
        line-height: 1.35;
    }

    .consortium .c-partner__text p {
        margin-bottom: 16px;
    }

    #top .c-final {
        margin-top: 56px;
        padding: 0;
        /* padding: 90px 0 0;
        background-image: url(../img/consortium/footer-mobile-bg-new.png);
        background-repeat: no-repeat;
        background-position: top center;
        background-size: 100% auto; */
    }

    /*04_08 start*/
    #top .c-final__body {
        background-image: url(../img/consortium/footer-mobile-bg-new.png);
        padding: 100px 20px 94px;
        z-index: 999999;
        background-repeat: no-repeat;
        background-position: 0 bottom;
        background-size: 100% auto;
    }
    /*04_08 end*/

    #top .c-final__circle {
        display: none;
    }

    #top .c-final__title {
        font-size: 30px;
    }

    #top .c-final__text {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.35;
    }

    #top .c-final__actions {
        margin-top: 28px;
        gap: 16px;
        width: 100%;
    }

    #top .c-final .c-btn,
    #top .c-final .c-btn--outline {
        width: 100%;
        padding: 24px;
        font-size: 16px;
    }

    #top .c-final .c-btn--outline {
        background: #fff;
    }

    #top .c-final__bottom {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        /* margin-top: 80px; */
        padding: 32px 16px 28px;
        background: var(--c-navy);
        margin-top: 0;
    }

    #top .c-final__note {
        font-size: 9px;
        color: #fff;
        text-align: center;
        font-weight: 400;
        line-height: 1.6;
        max-width: 90%;
    }

    #top .c-final__logo img {
        width: 180px;
    }
}

@media only screen and (max-width: 1100px) {
    .consortium .c-btn {
        padding: 18px 34px;
    }
}

@media only screen and (max-width: 767px) {
    #top .header {
        --headerNav: 36px;
    }

    #top .header,
    #top .header .header-inner {
        height: 36px;
    }

    #top .header .header-inner {
        padding: 0 16px;
    }

    #top .header .header-logo img {
        width: 64px;
        height: 21px;
    }

    .consortium .c-hero {
        padding: 0;
    }

    .consortium .c-hero__panel {
        aspect-ratio: auto;
        border: 0;
        background-image: url(../img/consortium/hero-mobile-bg.png?v=3);
        background-size: 100% auto;
        background-position: top center;
        padding: 24vw 0 64px;
    }

    .consortium .c-hero__content {
        position: static;
        padding: 0 20px;
    }

    .consortium .c-hero__title {
        font-size: 34px;
    }

    .consortium .c-hero__subtitle {
        margin-top: 16px;
        max-width: none;
        font-size: 17px;
    }

    .consortium .c-hero__content .c-btn {
        margin-top: 28px;
        padding: 24px 30px;
        font-size: 16px;
    }

    .consortium .c-hero__circle {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
    .consortium .is-reveal,
    #top .c-final.is-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .7s ease-out, transform .7s ease-out;
        will-change: opacity, transform;
    }

    .consortium .is-reveal.is-visible,
    #top .c-final.is-reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   Members modal — entry animation
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
    .consortium .c-modal:not([hidden]) .c-modal__backdrop {
        animation: c-modal-fade .25s ease-out both;
    }

    .consortium .c-modal:not([hidden]) .c-modal__dialog {
        animation: c-modal-in .32s cubic-bezier(.2, .7, .3, 1) both;
    }
}

@keyframes c-modal-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes c-modal-in {
    from { opacity: 0; transform: translateY(18px) scale(.985); }
    to   { opacity: 1; transform: none; }
}
