/* Global module - Three Phases (Authenticity Cycle page): Reveal, Explain (tinted band) and Develop in one section. */
.el-three-phases [id],
.el-three-phases[id] {
    scroll-margin-top: 24px;
}

/* Tinted section with faint arcs (Explain, Why a Cycle) */
.el-three-phases .el-method-tint {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f4f8fb, #eaf1f6);
}

.el-three-phases .el-method-tint::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -12%;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, transparent 0 58px, rgba(27, 58, 95, 0.05) 59px 60px);
    pointer-events: none;
}

.el-three-phases .el-method-tint .container {
    position: relative;
}

/* Centred header: eyebrow, h2, one line (el_method_head) */
.el-three-phases .el-method-head {
    max-width: 780px;
    margin: 0 auto clamp(32px, 3vw, 56px);
    text-align: center;
}

.el-three-phases .el-method-head h2 {
    margin: 0 0 14px;
}

.el-three-phases .el-method-intro {
    margin: 0;
    font-size: clamp(17px, calc(17px + 2 * (100vw - 1280px) / 640), 19px);
    color: var(--el-color-muted);
}

/* Small grey label, cards, card groups */
.el-three-phases .el-card-label {
    display: block;
    margin: 0 0 14px;
    font-family: var(--el-font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7c8b99;
}

.el-three-phases .el-method-card {
    padding: clamp(28px, 2.6vw, 48px);
    border: 1px solid #e3eaf0;
    border-radius: clamp(24px, 2.2vw, 40px);
    background: var(--el-color-white);
    box-shadow: 0 2px 10px rgba(12, 29, 39, 0.04);
}

.el-three-phases .el-method-card > :last-child {
    margin-bottom: 0;
}

.el-three-phases .el-method-card h3 {
    margin: 0 0 12px;
}

.el-three-phases .el-method-card p {
    margin: 0 0 16px;
    font-size: clamp(17px, calc(17px + 2 * (100vw - 1280px) / 640), 19px);
    color: var(--el-color-muted);
}

.el-three-phases .el-method-stack {
    display: grid;
    gap: clamp(16px, 1.6vw, 30px);
}

.el-three-phases .el-method-pair {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(16px, 1.6vw, 30px);
    align-items: stretch;
}

.el-three-phases .el-method-pair.is-even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Navy card with the faint "el" mark */
.el-three-phases .el-method-navy {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(32px, 3vw, 60px);
    border-radius: clamp(24px, 2.2vw, 40px);
    background: var(--el-color-blue-dark);
    color: var(--el-color-white);
}

.el-three-phases .el-method-navy::after {
    content: "el";
    position: absolute;
    top: -0.22em;
    right: 0.12em;
    font-family: var(--el-font-heading);
    font-size: clamp(200px, 16vw, 320px);
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.el-three-phases .el-method-navy > * {
    position: relative;
}

.el-three-phases .el-method-navy :is(h2, h3, h4) {
    margin: 0 0 18px;
    color: var(--el-color-white);
}

.el-three-phases .el-method-navy p {
    margin: 0 0 16px;
    font-size: clamp(17px, calc(17px + 2 * (100vw - 1280px) / 640), 19px);
    color: rgba(255, 255, 255, 0.86);
}

.el-three-phases .el-method-navy p:last-of-type {
    margin-bottom: 28px;
}

.el-three-phases .el-method-navy .btn {
    margin-top: auto;
}

.el-three-phases .el-method-navy .el-eyebrow {
    color: #f8a06f;
}

/* Photo, or a navy placeholder until one is picked */
.el-three-phases .el-method-media {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: clamp(20px, 1.8vw, 32px);
    background: radial-gradient(70% 90% at 90% 0%, rgba(241, 98, 42, 0.28), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(51, 121, 190, 0.35), transparent 60%), #0d2236;
}

.el-three-phases .el-method-media.is-tall {
    min-height: 340px;
    aspect-ratio: auto;
}

.el-three-phases .el-method-media img,
.el-three-phases .el-method-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.el-three-phases .el-method-ph {
    display: grid;
    place-items: center;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.el-three-phases .el-method-media-note {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    margin: 0;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(12, 29, 39, 0.72);
    font-size: 16px;
    font-weight: 500;
    color: var(--el-color-white);
    backdrop-filter: blur(6px);
}

/* Three Phases: one section, a block per phase (Explain on the tint) */
.el-three-phases .el-phase {
    position: relative;
}

/* Big orange 01 / 02 / 03 */
.el-three-phases .el-method-num {
    display: block;
    margin-bottom: 10px;
    font-family: var(--el-font-heading);
    font-size: clamp(30px, 2.4vw, 44px);
    line-height: 1;
    color: var(--el-color-orange);
}

.el-three-phases .el-method-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px clamp(20px, 2.4vw, 48px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.el-three-phases .el-method-three li {
    padding-top: 20px;
    border-top: 1px solid #d5dde4;
}

.el-three-phases .el-method-three p {
    margin: 0;
}

.el-three-phases .el-method-example {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 24px clamp(28px, 4vw, 80px);
    background: #f3f6f9;
    box-shadow: none;
}

.el-three-phases .el-method-example p {
    margin: 0;
}

.el-three-phases .el-method-example .el-method-example-lead {
    margin: 0 0 14px;
    font-weight: 600;
    color: var(--el-color-heading);
}

.el-three-phases .el-method-example-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.el-three-phases .el-method-example-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid #e3eaf0;
    border-radius: 14px;
    background: var(--el-color-white);
    font-size: 17px;
    color: var(--el-color-heading);
}

.el-three-phases .el-method-example-list li::before {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--el-color-orange);
}

.el-three-phases .el-method-shows-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 28px clamp(28px, 4vw, 80px);
}

.el-three-phases .el-method-shows-card .el-method-lead {
    margin: 0;
    font-size: clamp(18px, calc(18px + 4 * (100vw - 1280px) / 640), 22px);
    color: var(--el-color-heading);
}

.el-three-phases .el-method-shows {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.el-three-phases .el-method-shows-item {
    padding: 22px;
    border-radius: 18px;
    background: #f3f6f9;
}

.el-three-phases .el-method-shows-item .el-card-label {
    margin-bottom: 8px;
}

.el-three-phases .el-method-shows-item strong {
    display: block;
    font-family: var(--el-font-heading);
    font-size: clamp(20px, 1.35vw, 26px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--el-color-heading);
}

.el-three-phases .el-method-shows-item.is-accent {
    background: var(--el-color-blue-dark);
}

.el-three-phases .el-method-shows-item.is-accent .el-card-label {
    color: #a3adb7;
}

.el-three-phases .el-method-shows-item.is-accent strong {
    color: var(--el-color-white);
}

.el-three-phases .el-method-shows-arrow {
    width: 40px;
    height: 12px;
    background: var(--el-color-orange);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6h38M33 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6h38M33 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.el-three-phases .el-method-areas > h3 {
    margin-bottom: clamp(24px, 2.4vw, 44px);
}

.el-three-phases .el-method-cols {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px clamp(20px, 2vw, 40px);
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.el-three-phases .el-method-cols li {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.el-three-phases .el-method-cols-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a3adb7;
}

.el-three-phases .el-method-cols h4 {
    margin: 0 0 8px;
}

.el-three-phases .el-method-cols p {
    margin: 0;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
}

.el-three-phases .el-method-note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.el-three-phases .el-method-note .el-link-arrow {
    margin-top: auto;
}

.el-three-phases .el-method-develop {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 24px clamp(28px, 4vw, 80px);
}

.el-three-phases .el-method-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: el-pill;
}

.el-three-phases .el-method-pills li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #eef2f5;
    font-weight: 600;
    color: var(--el-color-blue-dark);
    counter-increment: el-pill;
}

.el-three-phases .el-method-pills li::before {
    content: counter(el-pill);
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--el-color-orange);
    font-size: 13px;
    color: var(--el-color-white);
}

.el-three-phases .el-method-stages > .el-card-label {
    margin-bottom: 24px;
}

.el-three-phases .el-method-stages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.4vw, 24px);
}

.el-three-phases .el-method-stage {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(24px, 2vw, 34px);
    border-radius: clamp(18px, 1.4vw, 26px);
    background: #f3f6f9;
}

.el-three-phases .el-method-stage-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.el-three-phases .el-method-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--el-color-blue-dark);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 500;
    color: var(--el-color-blue-dark);
}

.el-three-phases .el-method-stage:first-child .el-method-step-num {
    border-color: var(--el-color-orange);
    background: var(--el-color-orange);
    color: var(--el-color-white);
}

.el-three-phases .el-method-stage-tag {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7c8b99;
}

.el-three-phases .el-method-stage h4 {
    margin: 0 0 8px;
}

.el-three-phases .el-method-stage > p {
    margin: 0 0 18px;
    font-size: 17px;
}

.el-three-phases .el-method-stage .el-link-arrow {
    margin-top: auto;
}

/* Ticked list (same look as Feature Cards) */
.el-three-phases .el-method-checks {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    font-size: clamp(16px, calc(16px + 3 * (100vw - 1280px) / 640), 19px);
    line-height: 1.6;
}

.el-three-phases .el-method-checks li {
    position: relative;
    padding-left: 32px;
}

.el-three-phases .el-method-checks li + li {
    margin-top: 10px;
}

.el-three-phases .el-method-checks li::before {
    content: "";
    position: absolute;
    top: 0.45em;
    left: 2px;
    width: 16px;
    height: 12px;
    background: var(--el-color-orange);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1.5 6.5l4 4L14.5 1.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1.5 6.5l4 4L14.5 1.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.el-three-phases .el-method-stages-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: clamp(24px, 2.4vw, 40px);
}

@media (max-width: 991px) {
    .el-three-phases .el-method-pair,
    .el-three-phases .el-method-pair.is-even,
    .el-three-phases .el-method-example,
    .el-three-phases .el-method-shows-card,
    .el-three-phases .el-method-develop,
    .el-three-phases .el-method-stages-grid,
    .el-three-phases .el-method-cols {
        grid-template-columns: minmax(0, 1fr);
    }

    .el-three-phases .el-method-media,
    .el-three-phases .el-method-media.is-tall {
        min-height: 0;
        height: clamp(220px, 52vw, 380px);
        aspect-ratio: auto;
    }
}

@media (max-width: 767px) {
    .el-three-phases .el-method-three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .el-three-phases .el-method-shows {
        grid-template-columns: 1fr;
    }

    .el-three-phases .el-method-shows-arrow {
        justify-self: center;
        transform: rotate(90deg);
    }
}
