/* Clear hero artwork and interactive motion layer. */
.inner-hero,
[data-page="company"] .inner-hero,
[data-page="journey"] .inner-hero,
[data-page="kamigumi"] .inner-hero,
[data-page="csr"] .inner-hero {
    isolation: isolate;
    overflow: hidden;
    color: #000;
    background: #fff;
}

.inner-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -3%;
    background: var(--hero-image) center / cover no-repeat;
    transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0) scale(1.045);
    transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
    animation: innerHeroDrift 14s ease-in-out infinite alternate;
}

.inner-hero-content {
    position: relative;
    z-index: 3;
    width: min(700px, 62%);
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 54px rgba(12, 31, 69, .14);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

[data-page="company"] .inner-hero-content,
[data-page="kamigumi"] .inner-hero-content {
    width: min(660px, 54%);
}

[data-page="journey"] .inner-hero-content {
    width: min(820px, calc(100% - 56px));
}

.hero-page-badge,
.hero-partner-mark {
    z-index: 4;
}

[data-page="cfs"] .inner-hero::before {
    display: none;
}

@media (max-width: 1000px) {

    .inner-hero-content,
    [data-page="company"] .inner-hero-content,
    [data-page="kamigumi"] .inner-hero-content {
        width: min(650px, 68%);
    }
}

@media (max-width: 680px) {

    .inner-hero,
    [data-page="company"] .inner-hero,
    [data-page="kamigumi"] .inner-hero {
        align-items: flex-end;
        color: #000;
        background: #eef2f6;
    }

    .inner-hero-content,
    [data-page="company"] .inner-hero-content,
    [data-page="kamigumi"] .inner-hero-content,
    [data-page="journey"] .inner-hero-content {
        width: 100%;
        padding: 22px;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .inner-hero::after {
        inset: -2%;
        background-position: 62% center;
    }
}

/* Journey alignment correction: homepage rhythm + animated visual timeline. */
[data-page="journey"] .inner-container {
    width: min(1240px, calc(100% - 56px));
}

[data-page="journey"] .inner-section {
    padding: 50px 0;
}

[data-page="journey"] .inner-hero {
    min-height: 530px;
}

[data-page="journey"] .inner-hero-content {
    width: min(700px, 62%);
}

[data-page="journey"] .journey-story-section::before,
[data-page="journey"] .journey-people-section::before {
    display: none;
}

[data-page="journey"] .journey-timeline-section {
    overflow: hidden;
    background: #f7f9fc;
}

[data-page="journey"] .journey-chapter-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

[data-page="journey"] .journey-chapter-head .section-heading {
    margin-bottom: 22px;
}

[data-page="journey"] .journey-era-filter {
    position: relative;
    top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
    margin: 0 0 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

[data-page="journey"] .journey-era-filter button {
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #dfe4ea;
    border-radius: 5px;
    background: #fff;
    font-size: 11px;
}

[data-page="journey"] .journey-era-filter button span {
    display: inline;
    margin: 0 0 0 5px;
    font-size: 9px;
}

[data-page="journey"] .journey-era-filter button.active {
    border-color: #ed1c24;
    background: #ed1c24;
}

[data-page="journey"] .journey-milestone-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 72px 1fr;
    gap: 22px 0;
    padding: 8px 0 18px;
}

[data-page="journey"] .journey-milestone-grid::before,
[data-page="journey"] .journey-milestone-grid::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
}

[data-page="journey"] .journey-milestone-grid::before {
    background: #dfe4ea;
}

[data-page="journey"] .journey-milestone-grid::after {
    bottom: auto;
    height: var(--journey-progress, 0%);
    background: #ed1c24;
    box-shadow: 0 0 14px rgba(237, 28, 36, .22);
    transition: height .18s linear;
}

[data-page="journey"] .journey-milestone-card,
[data-page="journey"] .journey-milestone-card.journey-feature {
    position: relative;
    grid-column: 1;
    width: 100%;
    min-height: 0;
    overflow: visible;
    align-self: start;
    border: 1px solid #e1e6ec;
    border-radius: 9px;
    background: #fff;
    box-shadow: none;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

[data-page="journey"] .journey-milestone-card:nth-child(even) {
    grid-column: 3;
}

[data-page="journey"] .journey-milestone-card:nth-child(odd) {
    grid-column: 1;
}

[data-page="journey"] .journey-milestone-card:hover,
[data-page="journey"] .journey-milestone-card.is-passed {
    transform: translateY(-3px);
    border-color: rgba(237, 28, 36, .45);
    box-shadow: 0 12px 28px rgba(12, 31, 69, .08);
}

[data-page="journey"] .journey-milestone-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 29px;
    right: -44px;
    width: 14px;
    height: 14px;
    border: 5px solid #f7f9fc;
    border-radius: 50%;
    background: #cfd6df;
    box-shadow: 0 0 0 1px #cfd6df;
    transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}

[data-page="journey"] .journey-milestone-card:nth-child(even)::before {
    right: auto;
    left: -44px;
}

[data-page="journey"] .journey-milestone-card.is-passed::before,
[data-page="journey"] .journey-milestone-card details[open]+* {
    background: #ed1c24;
}

[data-page="journey"] .journey-milestone-card.is-passed::before {
    background: #ed1c24;
    box-shadow: 0 0 0 1px #ed1c24, 0 0 0 7px rgba(237, 28, 36, .1);
    transform: scale(1.08);
}

[data-page="journey"] .journey-milestone-card>i {
    display: none;
}

[data-page="journey"] .journey-milestone-card details {
    padding: 22px 24px;
}

[data-page="journey"] .journey-milestone-card summary span {
    margin-bottom: 6px;
    font-size: 10px;
}

[data-page="journey"] .journey-milestone-card summary h3 {
    font-size: 18px;
    line-height: 1.3;
}

[data-page="journey"] .journey-milestone-card summary h3::after {
    top: -4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

[data-page="journey"] .journey-milestone-card details p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.65;
}

[data-page="journey"] .journey-milestone-card.journey-accent,
[data-page="journey"] .journey-milestone-card.journey-final {
    color: inherit;
    background: #fff;
    border-color: #e1e6ec;
}

[data-page="journey"] .journey-milestone-card.journey-final summary span {
    color: #ed1c24;
}

[data-page="journey"] .journey-milestone-card.journey-final summary h3,
[data-page="journey"] .journey-milestone-card.journey-final details p {
    color: #000;
}

[data-page="journey"] .journey-milestone-card:first-child {
    min-height: 0;
    color: inherit;
    background: #fff;
    border: 1px solid #e1e6ec;
}

[data-page="journey"] .journey-milestone-card:first-child summary span {
    color: #ed1c24;
}

[data-page="journey"] .journey-milestone-card:first-child summary h3 {
    color: #000;
    font-size: 18px;
}

[data-page="journey"] .journey-milestone-card:first-child p {
    color: #58667a;
}

[data-page="journey"] .journey-milestone-card:first-child summary h3::after {
    background: #f2f4f7;
    color: #ed1c24;
}

[data-page="journey"] .journey-milestone-card.journey-feature::after {
    content: "";
    display: block;
    width: 100%;
    height: 190px;
    border-radius: 0 0 8px 8px;
    background: var(--milestone-image, url('../generated/inner-pages/journey/foundation-2006.webp')) center / cover no-repeat;
}

/* [data-page="journey"] .journey-milestone-card.journey-feature:nth-of-type(6)::after,
[data-page="journey"] .journey-milestone-card.journey-feature:nth-of-type(10)::after {
    --milestone-image: url('../generated/inner-pages/journey-capability-growth.webp');
} */

[data-page="journey"] .journey-milestone-card.journey-feature:nth-of-type(13)::after {
    --milestone-image: url('../generated/inner-pages/journey/digital-yard.webp');
}

[data-page="journey"] .journey-milestone-card.journey-feature:nth-of-type(17)::after {
    --milestone-image: url('../generated/inner-pages/journey/community-people.webp');
}

[data-page="journey"] .journey-milestone-card.journey-feature:nth-of-type(20)::after {
    --milestone-image: url('../generated/inner-pages/journey/responsible-energy.webp');
}

[data-page="journey"] .journey-milestone-card.journey-final::after {
    --milestone-image: url('../generated/inner-pages/journey-evolution.webp');
}

[data-page="journey"] .journey-closing-section {
    background: #fff;
}

[data-page="journey"] .journey-closing .inner-quote {
    border-radius: 5px;
}

@media (max-width: 760px) {
    [data-page="journey"] .inner-container {
        width: min(100% - 36px, 1240px);
    }

    [data-page="journey"] .inner-hero {
        min-height: 460px;
    }

    [data-page="journey"] .inner-hero-content {
        width: 100%;
    }

    [data-page="journey"] .journey-chapter-head {
        align-items: start;
        flex-direction: column;
        gap: 0;
    }

    [data-page="journey"] .journey-result-count {
        margin: -10px 0 18px;
    }

    [data-page="journey"] .journey-era-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -4px 34px;
        padding: 4px;
    }

    [data-page="journey"] .journey-era-filter button {
        flex: 0 0 auto;
    }

    [data-page="journey"] .journey-milestone-grid {
        grid-template-columns: 34px 1fr;
        gap: 14px 0;
    }

    [data-page="journey"] .journey-milestone-grid::before,
    [data-page="journey"] .journey-milestone-grid::after {
        left: 8px;
        transform: none;
    }

    [data-page="journey"] .journey-milestone-card,
    [data-page="journey"] .journey-milestone-card.journey-feature,
    [data-page="journey"] .journey-milestone-card:nth-child(even),
    [data-page="journey"] .journey-milestone-card:nth-child(odd) {
        grid-column: 2;
    }

    [data-page="journey"] .journey-milestone-card::before,
    [data-page="journey"] .journey-milestone-card:nth-child(even)::before {
        top: 25px;
        right: auto;
        left: -33px;
    }

    [data-page="journey"] .journey-milestone-card.journey-feature::after {
        height: 170px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inner-hero::after {
        animation: none;
        transform: none;
        transition: none;
    }
}

/* Compact inner-page rhythm: avoid oversized rows and unused vertical space. */
.inner-section {
    padding: 50px 0;
}

.inner-section .section-heading {
    margin-bottom: 26px;
}

.inner-split {
    gap: 40px;
}

.inner-media>img {
    height: 390px;
}

.inner-logo-panel {
    min-height: 300px;
}

.inner-cta {
    padding: 48px 0;
}

.equipment-page-grid {
    align-items: start;
    gap: 18px;
}

.equipment-page-card {
    align-self: start;
}

.equipment-page-card p {
    min-height: 0;
    margin-bottom: 14px;
}

[data-page="equipment"] .equipment-page-card:first-child {
    grid-column: span 8;
    grid-row: auto;
}

[data-page="equipment"] .equipment-page-card:nth-child(n+3) {
    grid-column: span 3;
}

[data-page="equipment"] .equipment-page-card:first-child>img {
    height: 270px;
}

[data-page="equipment"] .equipment-page-card:not(:first-child)>img {
    height: 220px;
}

[data-page="equipment"] .inner-page-main>.inner-section:nth-of-type(3) {
    padding-block: 42px;
}

[data-page="company"] .inner-media>img,
/*[data-page="journey"] .inner-page-main > .inner-section:nth-of-type(2) .inner-media > img { height: 410px; }*/
[data-page="journey"] .inner-timeline article {
    min-height: 116px;
}

[data-page="journey"] .inner-timeline details {
    width: 100%;
}

[data-page="journey"] .inner-timeline summary {
    cursor: pointer;
    list-style: none;
}

[data-page="journey"] .inner-timeline summary::-webkit-details-marker {
    display: none;
}

[data-page="journey"] .inner-timeline summary span {
    display: block;
    margin-bottom: 5px;
    color: #ed1c24;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .45px;
    text-transform: uppercase;
}

[data-page="journey"] .inner-timeline summary h3 {
    position: relative;
    padding-right: 26px;
}

[data-page="journey"] .inner-timeline summary h3::after {
    content: "+";
    position: absolute;
    right: 0;
    top: -2px;
    color: #ed1c24;
    font-size: 21px;
    font-weight: 500;
}

[data-page="journey"] .inner-timeline details[open] summary h3::after {
    content: "−";
}

[data-page="journey"] .inner-timeline details p+p {
    margin-top: 9px;
}

.journey-support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.journey-support-panel {
    padding: 30px;
    border: 1px solid #e1e6ec;
    border-top: 3px solid #ed1c24;
    border-radius: 9px;
    background: #fff;
}

.journey-support-panel h3 {
    margin: 0;
    color: #000;
    font-size: 20px;
}

.journey-support-panel>p {
    margin: 12px 0 0;
    color: #596778;
    font-size: 13px;
    line-height: 1.7;
}

.journey-closing {
    max-width: 900px !important;
    margin-bottom: 0 !important;
}

.journey-closing>p {
    font-size: 13px;
    line-height: 1.75;
}

.journey-closing>p+p {
    margin-top: 10px;
}

.journey-closing .inner-quote {
    text-align: left;
}

[data-page="leadership"] .inner-page-main>.inner-section:nth-of-type(3) .inner-info-card {
    min-height: 180px;
}

[data-page="why"] .inner-page-main>.inner-section:nth-of-type(2) .inner-info-card {
    min-height: 155px;
}

[data-page="csr"] .csr-initiatives-section .csr-feature-main {
    min-height: 460px;
}

[data-page="csr"] .csr-initiatives-section .csr-photo-grid img {
    /*height: 107px;*/
}

[data-page="cfs"] .inner-hero,
[data-page="equipment"] .inner-hero,
[data-page="kamigumi"] .inner-hero {
    min-height: 510px;
}

[data-page="company"] .inner-hero {
    min-height: 530px;
}

[data-page="csr"] .inner-hero {
    min-height: 540px;
}

/* Journey editorial bento — inspired by the reference's rhythm, in Saurashtra's light brand system. */
[data-page="journey"] .inner-page-main {
    background: #fff;
}

[data-page="journey"] .inner-container {
    width: min(1180px, calc(100% - 48px));
}

.journey-editorial-hero {
    padding: 34px 0 58px;
    background: #f4f5f7;
}

.journey-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    grid-template-rows: 430px 152px;
    gap: 14px;
}

.journey-hero-copy,
.journey-hero-image,
.journey-hero-fact,
.journey-hero-years {
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
}

.journey-hero-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 4vw, 52px);
    background: #f7d8d9;
}

.journey-hero-copy::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .42;
    pointer-events: none;
    background: repeating-radial-gradient(ellipse at 95% 0%, transparent 0 28px, rgba(237, 28, 36, .13) 29px 30px);
}

.journey-hero-copy>* {
    position: relative;
    z-index: 1;
}

.journey-hero-copy .inner-breadcrumb {
    margin: 0 0 18px;
    color: #526077;
}

.journey-hero-copy .inner-kicker {
    margin: 0 0 13px;
    color: #ed1c24;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.journey-hero-copy h1 {
    max-width: 560px;
    margin: 0;
    color: #000;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 760;
    letter-spacing: -2.4px;
    line-height: .98;
}

.journey-hero-copy>p:not(.inner-breadcrumb):not(.inner-kicker) {
    max-width: 520px;
    margin: 18px 0 0;
    color: #45536a;
    font-size: 15px;
    line-height: 1.58;
}

.journey-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 15px;
}

.journey-hero-actions a {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 13px 18px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .25s ease, background .25s ease;
}

.journey-hero-actions a:hover {
    transform: translateY(-2px);
    background: #ed1c24;
}

.journey-hero-actions span {
    color: #4d5970;
    font-size: 12px;
}

.journey-hero-actions strong {
    display: block;
    color: #000;
    font-size: 18px;
}

.journey-hero-image {
    position: relative;
    grid-row: span 1;
}

.journey-hero-image img,
.journey-people-photo img,
.journey-energy-photo img,
.journey-future-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.journey-hero-image:hover img,
.journey-people-photo:hover img,
.journey-energy-photo:hover img,
.journey-future-image:hover img {
    transform: scale(1.035);
}

.journey-hero-image figcaption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    width: min(290px, calc(100% - 36px));
    padding: 15px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    color: #536076;
}

.journey-hero-image figcaption strong {
    flex: none;
    color: #ed1c24;
    font-size: 24px;
}

.journey-hero-image figcaption span {
    font-size: 12px;
    line-height: 1.45;
}

.journey-hero-fact {
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    border: 1px solid #e1e5eb;
    background: #fff;
}

.journey-hero-fact span {
    display: grid;
    place-items: center;
    width: 48px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ed1c24;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.journey-hero-fact p {
    margin: 0;
    color: #000;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.35;
}

.journey-hero-years {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 25px 30px;
    background: #000;
    color: #fff;
}

.journey-hero-years strong {
    font-size: 27px;
}

.journey-hero-years i {
    height: 1px;
    background: linear-gradient(90deg, #ed1c24, rgba(255, 255, 255, .65));
}

.journey-hero-years span {
    grid-column: 1 / -1;
    color: #cdd4e2;
    font-size: 12px;
    letter-spacing: .3px;
}

.journey-story-section {
    position: relative;
    overflow: hidden;
}

.journey-story-section::before,
.journey-people-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), rgba(12, 31, 69, .05) calc(20% - 1px) 20%);
}

.journey-story-grid {
    position: relative;
    display: grid;
    grid-template-columns: .9fr 1.15fr .72fr;
    gap: clamp(34px, 5vw, 72px);
    align-items: start;
}

.journey-story-heading h2,
.journey-people-intro h2 {
    margin: 8px 0 0;
    color: #000;
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.03;
    letter-spacing: -1.8px;
}

.journey-story-copy p {
    margin: 0;
    color: #526077;
    font-size: 15px;
    line-height: 1.78;
}

.journey-story-copy p+p {
    margin-top: 17px;
}

.journey-story-card {
    padding: 26px;
    border-radius: 22px;
    background: #f4f5f7;
}

.journey-story-card span {
    display: block;
    color: #ed1c24;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.journey-story-card strong {
    display: block;
    margin-top: 5px;
    color: #000;
    font-size: 21px;
}

.journey-story-card p {
    margin: 7px 0 0;
    color: #5b687d;
    font-size: 12px;
    line-height: 1.55;
}

.journey-story-card i {
    display: block;
    height: 1px;
    margin: 20px 0;
    background: #d7dce4;
}

.journey-timeline-section {
    background: #f4f5f7;
}

.journey-chapter-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

.journey-chapter-head .section-heading {
    margin-bottom: 20px;
}

.journey-result-count {
    margin-bottom: 25px;
    color: #657086;
    font-size: 12px;
}

.journey-era-filter {
    position: sticky;
    z-index: 6;
    top: 72px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin: 0 0 18px;
    padding: 7px;
    border: 1px solid #e0e4e9;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 12px 30px rgba(12, 31, 69, .07);
    backdrop-filter: blur(12px);
}

.journey-era-filter button {
    min-height: 52px;
    padding: 9px 13px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #000;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.journey-era-filter button span {
    display: block;
    margin-top: 2px;
    color: #7d8798;
    font-size: 9px;
    font-weight: 650;
}

.journey-era-filter button:hover {
    transform: translateY(-1px);
    background: #f6f7f9;
}

.journey-era-filter button.active {
    background: #ed1c24;
    color: #fff;
}

.journey-era-filter button.active span {
    color: rgba(255, 255, 255, .78);
}

.journey-milestone-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.journey-milestone-card {
    position: relative;
    grid-column: span 4;
    min-height: 190px;
    overflow: hidden;
    border: 1px solid #dfe4ea;
    border-radius: 20px;
    background: #fff;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, opacity .25s ease;
}

.journey-milestone-card:hover {
    z-index: 2;
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(12, 31, 69, .1);
}

.journey-milestone-card.journey-feature {
    grid-column: span 8;
}

.journey-milestone-card.journey-accent {
    background: #f7d8d9;
    border-color: #f2c0c2;
}

.journey-milestone-card:first-child {
    min-height: 350px;
    color: #fff;
    background: linear-gradient(90deg, rgba(12, 31, 69, .9), rgba(12, 31, 69, .25)), url('../generated/inner-pages/journey/foundation-2006.webp') center / cover no-repeat;
    border: 0;
}

.journey-milestone-card:first-child summary span,
.journey-milestone-card:first-child summary h3,
.journey-milestone-card:first-child p {
    color: #fff;
}

.journey-milestone-card:first-child summary h3 {
    font-size: 31px;
}

.journey-milestone-card:first-child summary h3::after {
    background: #fff;
    color: #ed1c24;
}

.journey-milestone-card[data-era="future"].journey-feature:first-of-type {
    background: #fff;
}

.journey-milestone-card[hidden] {
    display: none !important;
}

.journey-milestone-card>i {
    position: absolute;
    top: 25px;
    right: 25px;
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ed1c24;
    box-shadow: 0 0 0 7px rgba(237, 28, 36, .1);
}

.journey-milestone-card>div {
    height: 100%;
}

.journey-milestone-card details {
    width: 100%;
    height: 100%;
    padding: 28px;
}

.journey-milestone-card details[open] {
    min-height: 100%;
}

.journey-milestone-card summary {
    cursor: pointer;
    list-style: none;
}

.journey-milestone-card summary::-webkit-details-marker {
    display: none;
}

.journey-milestone-card summary span {
    display: block;
    margin-bottom: 13px;
    color: #ed1c24;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .65px;
    text-transform: uppercase;
}

.journey-milestone-card summary h3 {
    position: relative;
    margin: 0;
    padding-right: 45px;
    color: #000;
    font-size: 20px;
    line-height: 1.25;
}

.journey-milestone-card summary h3::after {
    content: "+";
    position: absolute;
    right: 0;
    top: -7px;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #f2f4f7;
    color: #ed1c24;
    font-size: 19px;
    font-weight: 500;
}

.journey-milestone-card details[open] summary h3::after {
    content: "−";
}

.journey-milestone-card details p {
    max-width: 720px;
    margin: 17px 0 0;
    color: #58667a;
    font-size: 13px;
    line-height: 1.67;
}

.journey-milestone-card details p+p {
    margin-top: 9px;
}

.journey-milestone-card.journey-final {
    color: #fff;
    background: #000;
    border-color: #000;
}

.journey-milestone-card.journey-final summary span,
.journey-milestone-card.journey-final summary h3,
.journey-milestone-card.journey-final details p {
    color: #fff;
}

.journey-milestone-card.journey-final summary h3::after {
    background: #fff;
}

.journey-people-section {
    position: relative;
    overflow: hidden;
}

.journey-people-intro {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: end;
    margin-bottom: 34px;
}

.journey-people-intro>p {
    max-width: 570px;
    margin: 0 0 5px;
    color: #526077;
    font-size: 15px;
    line-height: 1.75;
}

.journey-people-bento {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 185px;
    gap: 14px;
}

.journey-people-photo,
.journey-energy-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
}

.journey-people-photo {
    grid-column: span 7;
    grid-row: span 2;
}

.journey-people-card {
    grid-column: span 5;
    grid-row: span 2;
    background: #f7d8d9;
}

.journey-community-card {
    grid-column: span 5;
    grid-row: span 2;
}

.journey-energy-photo {
    grid-column: span 7;
    grid-row: span 2;
}

.journey-support-panel {
    padding: 30px;
    border: 0;
    border-radius: 24px;
    background: #f4f5f7;
}

.journey-support-panel>span {
    color: #ed1c24;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.journey-support-panel h3 {
    margin: 8px 0 0;
    font-size: 26px;
    line-height: 1.15;
}

.journey-support-panel>p {
    font-size: 13px;
}

.journey-support-panel .inner-checks {
    margin-top: 16px;
}

.journey-support-panel .inner-checks li {
    font-size: 12px;
    line-height: 1.5;
}

.journey-energy-photo figcaption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    max-width: 260px;
    padding: 17px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
}

.journey-energy-photo figcaption strong {
    color: #ed1c24;
    font-size: 24px;
}

.journey-energy-photo figcaption span {
    margin-top: 4px;
    color: #526077;
    font-size: 11px;
    line-height: 1.45;
}

.journey-future-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    grid-template-rows: auto 110px;
    gap: 14px;
}

.journey-future-image {
    position: relative;
    grid-row: span 2;
    min-height: 540px;
    overflow: hidden;
    border-radius: 24px;
}

.journey-future-image>span {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 11px;
    font-weight: 850;
}

.journey-future-copy {
    padding: clamp(30px, 4vw, 54px);
    border-radius: 24px;
    background: #fff;
}

.journey-future-copy h2 {
    margin: 8px 0 19px;
    color: #000;
    font-size: clamp(34px, 3.5vw, 49px);
    line-height: 1.03;
    letter-spacing: -1.5px;
}

.journey-future-copy>p:not(.inner-red-label) {
    color: #526077;
    font-size: 13px;
    line-height: 1.75;
}

.journey-future-copy .inner-quote {
    margin-top: 22px;
    text-align: left;
}

.journey-future-grid>aside {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 24px 30px;
    border-radius: 24px;
    background: #ed1c24;
    color: #fff;
}

.journey-future-grid>aside span {
    flex: none;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.journey-future-grid>aside strong {
    max-width: 310px;
    font-size: 17px;
    line-height: 1.3;
}

@media (max-width: 1000px) {

    [data-page="equipment"] .equipment-page-card:first-child,
    [data-page="equipment"] .equipment-page-card:nth-child(n+3) {
        grid-column: span 6;
    }

    .journey-hero-grid {
        grid-template-rows: 455px 145px;
    }

    .journey-hero-copy h1 {
        font-size: 43px;
    }

    .journey-story-grid {
        grid-template-columns: 1fr 1fr;
    }

    .journey-story-card {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 7px 20px;
    }

    .journey-story-card i {
        display: none;
    }

    .journey-milestone-card {
        grid-column: span 6;
    }

    .journey-milestone-card.journey-feature {
        grid-column: span 6;
    }

    .journey-era-filter {
        overflow-x: auto;
        grid-template-columns: repeat(5, minmax(145px, 1fr));
    }

    .journey-people-photo,
    .journey-energy-photo {
        grid-column: span 6;
    }

    .journey-people-card,
    .journey-community-card {
        grid-column: span 6;
    }
}

@media (max-width: 680px) {
    .inner-section {
        padding: 42px 0;
    }

    .inner-split {
        gap: 28px;
    }

    .inner-media>img,
    [data-page="company"] .inner-media>img,
    [data-page="journey"] .inner-page-main>.inner-section:nth-of-type(2) .inner-media>img {
        height: 290px;
    }

    [data-page="equipment"] .equipment-page-card:first-child {
        grid-column: auto;
    }

    [data-page="equipment"] .equipment-page-card:first-child>img,
    [data-page="equipment"] .equipment-page-card:not(:first-child)>img {
        height: 215px;
    }

    [data-page="csr"] .csr-initiatives-section .csr-feature-main {
        min-height: 390px;
    }

    [data-page="csr"] .csr-initiatives-section .csr-photo-grid img {
        height: 145px;
    }

    .journey-support-grid {
        grid-template-columns: 1fr;
    }

    [data-page="journey"] .inner-container {
        width: min(100% - 28px, 1180px);
    }

    .journey-editorial-hero {
        padding: 18px 0 34px;
    }

    .journey-hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 300px 122px;
        gap: 10px;
    }

    .journey-hero-copy {
        grid-column: 1 / -1;
        padding: 32px 25px;
        border-radius: 20px;
    }

    .journey-hero-copy .inner-breadcrumb {
        margin-bottom: 20px;
    }

    .journey-hero-copy h1 {
        font-size: 39px;
        letter-spacing: -1.8px;
    }

    .journey-hero-copy>p:not(.inner-breadcrumb):not(.inner-kicker) {
        font-size: 14px;
    }

    .journey-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .journey-hero-image {
        grid-column: 1 / -1;
    }

    .journey-hero-image figcaption {
        right: 12px;
        bottom: 12px;
    }

    .journey-hero-fact {
        padding: 18px 16px;
        grid-template-columns: 38px 1fr;
        gap: 9px;
    }

    .journey-hero-fact span {
        width: 34px;
    }

    .journey-hero-fact p {
        font-size: 12px;
    }

    .journey-hero-years {
        padding: 18px 16px;
        gap: 8px;
    }

    .journey-hero-years strong {
        font-size: 17px;
    }

    .journey-hero-years span {
        font-size: 9px;
    }

    .journey-story-grid,
    .journey-people-intro,
    .journey-future-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .journey-story-heading h2,
    .journey-people-intro h2 {
        font-size: 38px;
    }

    .journey-story-card {
        grid-column: auto;
        display: block;
    }

    .journey-story-card i {
        display: block;
    }

    .journey-chapter-head {
        align-items: start;
        flex-direction: column;
        gap: 0;
    }

    .journey-result-count {
        margin: -12px 0 18px;
    }

    .journey-era-filter {
        top: 64px;
        margin-inline: -4px;
        grid-template-columns: repeat(5, minmax(135px, 1fr));
        border-radius: 14px;
    }

    .journey-era-filter button {
        min-height: 48px;
    }

    .journey-milestone-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .journey-milestone-card,
    .journey-milestone-card.journey-feature {
        grid-column: auto;
        min-height: 0;
    }

    .journey-milestone-card:first-child {
        min-height: 330px;
    }

    .journey-milestone-card details {
        padding: 24px;
    }

    .journey-milestone-card summary h3 {
        font-size: 18px;
    }

    .journey-people-intro {
        margin-bottom: 26px;
    }

    .journey-people-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .journey-people-photo,
    .journey-energy-photo,
    .journey-people-card,
    .journey-community-card {
        grid-column: auto;
        grid-row: auto;
    }

    .journey-people-photo,
    .journey-energy-photo {
        min-height: 310px;
    }

    .journey-support-panel {
        padding: 25px;
    }

    .journey-future-image {
        grid-row: auto;
        min-height: 330px;
    }

    .journey-future-copy {
        padding: 28px 24px;
    }

    .journey-future-grid>aside {
        padding: 22px;
    }
}