/* =========================================================
   DEARDEN2007 JOURNEY AND MEMORIAL PAGE
========================================================= */

:root {
    --journey-red: #df2027;
    --journey-blue: #3478f6;
    --journey-black: #030405;
    --journey-panel: #10141a;
    --journey-panel-light: #161b23;
    --journey-line: #303845;
    --journey-text: #f5f7fa;
    --journey-muted: #b5bdc9;
}

.journey-page {
    width: min(1420px, calc(100% - 48px));
    margin: 0 auto;
    padding: 45px 0 100px;
}

.journey-eyebrow {
    display: inline-block;

    color: #72a9ff;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* MEMORIAL HERO */

.memorial-hero {
    position: relative;
    padding: clamp(55px, 8vw, 110px) 30px 55px;
    text-align: center;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(36, 100, 232, 0.2),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(223, 32, 39, 0.18),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #080b10,
            #020304
        );

    border: 1px solid #303844;
    border-radius: 28px 28px 0 0;
}

.memorial-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );

    background-size: 45px 45px;
    pointer-events: none;
}

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

.memorial-hero h1 {
    margin: 22px 0 15px;

    color: #ffffff;

    font-size: clamp(48px, 7vw, 92px);
    line-height: 0.98;
    letter-spacing: -4px;
}

.memorial-hero h1 strong {
    display: block;

    color: var(--journey-red);

    text-shadow:
        0 0 30px rgba(223, 32, 39, 0.32);
}

.memorial-dates {
    margin: 20px 0;

    color: #d9dee6;

    font-size: clamp(18px, 2vw, 25px);
    font-style: italic;
}

.memorial-introduction {
    max-width: 900px;
    margin: 30px auto 0;

    color: #e4e7eb;

    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.8;
}

.memorial-note {
    display: inline-block;

    margin: 30px auto 0;
    padding: 11px 17px;

    color: #aeb8c7;

    font-size: 14px;

    background: rgba(9, 12, 17, 0.88);
    border: 1px solid #36404d;
    border-radius: 999px;
}

/* VIDEO */

.memorial-video-section {
    padding: clamp(35px, 5vw, 65px);

    background:
        linear-gradient(
            145deg,
            #11161d,
            #07090c
        );

    border: 1px solid #303844;
    border-top: 0;
    border-radius: 0 0 28px 28px;

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.5);
}

.memorial-video-heading {
    margin-bottom: 30px;
    text-align: center;
}

.memorial-video-heading h2 {
    margin: 12px 0 0;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 54px);
}

.video-frame {
    position: relative;

    width: min(1100px, 100%);
    aspect-ratio: 16 / 9;
    margin: 0 auto;

    overflow: hidden;

    background: #000;

    border: 2px solid #40516a;
    border-radius: 22px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.75),
        0 0 30px rgba(36, 100, 232, 0.16);
}

.video-frame iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}

.video-caption {
    max-width: 900px;
    margin: 26px auto 0;

    color: #aeb6c2;

    font-size: 16px;
    font-style: italic;
    line-height: 1.7;
    text-align: center;
}

/* INTRODUCTION */

.journey-introduction {
    max-width: 1000px;
    margin: 110px auto;
    text-align: center;
}

.journey-introduction h2 {
    margin: 18px 0 28px;

    color: #ffffff;

    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.journey-introduction h2 strong {
    color: var(--journey-red);
}

.journey-introduction p {
    color: var(--journey-muted);

    font-size: 20px;
    line-height: 1.85;
}

/* STORY CHAPTERS */

.journey-chapter {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(35px, 6vw, 85px);
    align-items: center;

    margin: 45px 0;
    padding: clamp(35px, 5vw, 70px);

    background:
        linear-gradient(
            145deg,
            var(--journey-panel-light),
            #090b0e
        );

    border: 1px solid var(--journey-line);
    border-radius: 25px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);
}

.journey-chapter-reverse {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.journey-photo img {
    display: block;

    width: 100%;
    max-height: 650px;

    object-fit: cover;
    object-position: center;

    border: 2px solid #3a6fd7;
    border-radius: 21px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.55),
        0 0 28px rgba(52, 120, 246, 0.18);
}

.chapter-number {
    color: #6fa5ff;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
}

.journey-story h2 {
    margin: 15px 0;

    color: #ffffff;

    font-size: clamp(36px, 4vw, 57px);
    line-height: 1.1;
}

.chapter-date {
    color: var(--journey-red);

    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
}

.journey-story p {
    color: #c1c8d2;

    font-size: 18px;
    line-height: 1.85;
}

/* SYMBOL CARDS */

.journey-symbol-card {
    padding: 38px;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(36, 100, 232, 0.18),
            transparent 65%
        ),
        #090c10;

    border: 1px solid #344052;
    border-radius: 22px;
}

.journey-symbol-card img {
    display: block;

    width: min(230px, 75%);
    margin: 0 auto 25px;

    border-radius: 50%;

    box-shadow:
        0 0 35px rgba(36, 100, 232, 0.22);
}

.journey-symbol-card blockquote {
    margin: 0;

    color: #e0e4e9;

    font-size: 21px;
    font-style: italic;
    line-height: 1.7;
}

.journey-date-card {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 390px;

    color: #ffffff;
    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(223, 32, 39, 0.2),
            transparent 60%
        ),
        #0a0c10;

    border: 1px solid #4f282c;
    border-radius: 22px;
}

.journey-date-card span {
    color: #b6bec9;

    font-size: 30px;
    font-weight: 900;
    letter-spacing: 5px;
}

.journey-date-card strong {
    color: var(--journey-red);

    font-size: clamp(90px, 10vw, 150px);
    line-height: 0.9;

    text-shadow:
        0 0 35px rgba(223, 32, 39, 0.35);
}

/* LOSS CHAPTER */

.journey-loss {
    border-top: 5px solid var(--journey-red);

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(223, 32, 39, 0.16),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #171114,
            #08090c
        );
}

.loss-date {
    padding: 50px 30px;
    text-align: center;

    background: rgba(6, 7, 9, 0.82);
    border: 1px solid #53282c;
    border-radius: 22px;
}

.loss-date span {
    color: #f0787c;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
}

.loss-date strong {
    display: block;

    margin: 20px 0;

    color: var(--journey-red);

    font-size: clamp(90px, 11vw, 160px);
    line-height: 0.9;

    text-shadow:
        0 0 40px rgba(223, 32, 39, 0.4);
}

.loss-date p {
    color: #c7cbd1;

    font-size: 17px;
    line-height: 1.7;
}

/* FATHERHOOD */

.fatherhood-card {
    border-color: #2d58ae;
}

.large-symbol {
    display: block;

    color: var(--journey-blue);

    font-size: clamp(100px, 12vw, 175px);
    font-weight: 900;
    line-height: 0.9;

    text-shadow:
        0 0 40px rgba(52, 120, 246, 0.4);
}

.fatherhood-card h3 {
    margin: 18px 0;

    color: #ffffff;

    font-size: 30px;
}

.fatherhood-card p {
    color: #b7c0cd;
    line-height: 1.7;
}

/* MISSION */

.journey-mission {
    margin-top: 110px;
    padding: clamp(45px, 7vw, 85px);

    text-align: center;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(52, 120, 246, 0.15),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(223, 32, 39, 0.14),
            transparent 32%
        ),
        #090b0e;

    border: 1px solid #344050;
    border-radius: 28px;
}

.journey-mission > h2 {
    margin: 17px 0 25px;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.05;
}

.journey-mission > h2 strong {
    color: var(--journey-red);
}

.journey-mission > p {
    max-width: 960px;
    margin: 0 auto;

    color: var(--journey-muted);

    font-size: 20px;
    line-height: 1.8;
}

.journey-mission-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;

    margin-top: 50px;
}

.journey-mission-grid article {
    min-height: 300px;
    padding: 35px;

    text-align: left;

    background:
        linear-gradient(
            145deg,
            #151a21,
            #090b0e
        );

    border: 1px solid #303946;
    border-radius: 19px;
}

.journey-mission-grid article:nth-child(odd) {
    border-top: 4px solid var(--journey-red);
}

.journey-mission-grid article:nth-child(even) {
    border-top: 4px solid var(--journey-blue);
}

.journey-mission-grid article > span {
    color: #6c7685;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
}

.journey-mission-grid h3 {
    margin: 16px 0;

    color: #ffffff;

    font-size: 28px;
}

.journey-mission-grid p {
    color: #b6bec9;

    font-size: 17px;
    line-height: 1.75;
}

/* FINAL MESSAGE */

.journey-final-message {
    display: grid;
    grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
    gap: clamp(35px, 6vw, 75px);
    align-items: center;

    margin-top: 55px;
    padding: clamp(42px, 6vw, 75px);

    background:
        linear-gradient(
            110deg,
            rgba(14, 49, 114, 0.92),
            rgba(10, 14, 22, 0.96) 48%,
            rgba(106, 12, 17, 0.92)
        );

    border: 1px solid #4c5c71;
    border-radius: 27px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45);
}

.journey-final-message > img {
    display: block;

    width: 100%;
    max-width: 290px;
    margin: 0 auto;

    border-radius: 50%;

    box-shadow:
        0 0 45px rgba(52, 120, 246, 0.24);
}

.journey-final-message h2 {
    margin: 15px 0;

    color: #ffffff;

    font-size: clamp(36px, 4vw, 59px);
    line-height: 1.08;
}

.journey-final-message p {
    color: #d1d6dd;

    font-size: 18px;
    line-height: 1.75;
}

.final-quote {
    color: #ffffff !important;

    font-size: clamp(27px, 3vw, 42px) !important;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
}

.journey-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 30px;
}

.journey-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 13px 24px;

    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.6px;

    border-radius: 10px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.journey-button:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.journey-button-red {
    background:
        linear-gradient(
            135deg,
            #ef3036,
            #9e0c11
        );

    border: 1px solid #ff555b;

    box-shadow:
        0 12px 30px rgba(223, 32, 39, 0.25);
}

.journey-button-blue {
    background:
        linear-gradient(
            135deg,
            #3e82fa,
            #173fa5
        );

    border: 1px solid #72a1ff;

    box-shadow:
        0 12px 30px rgba(52, 120, 246, 0.25);
}

/* RESPONSIVE */

@media (max-width: 950px) {

    .journey-chapter,
    .journey-chapter-reverse,
    .journey-final-message {
        grid-template-columns: 1fr;
    }

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

    .journey-photo {
        max-width: 650px;
        margin: 0 auto;
    }
}

@media (max-width: 650px) {

    .journey-page {
        width: min(100% - 28px, 1420px);
        padding-top: 20px;
    }

    .memorial-hero h1 {
        letter-spacing: -2px;
    }

    .journey-chapter,
    .journey-mission,
    .journey-final-message {
        padding: 32px 22px;
    }

    .journey-actions {
        flex-direction: column;
    }

    .journey-button {
        width: 100%;
    }
}

/* =========================================================
   COMPLETE JOURNEY ARCHIVE PREVIEW
========================================================= */

.journey-archive-preview {
    position: relative;

    margin-top: 120px;
    padding: clamp(45px, 7vw, 90px) 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(52, 120, 246, 0.2),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(223, 32, 39, 0.18),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #080b10,
            #020304
        );

    border: 1px solid #344050;
    border-radius: 30px;

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.55);
}

.archive-preview-heading {
    max-width: 1000px;
    margin: 0 auto 65px;
    padding: 0 30px;
    text-align: center;
}

.archive-preview-heading h2 {
    margin: 18px 0 25px;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.archive-preview-heading h2 strong {
    color: var(--journey-red);
}

.archive-preview-heading > p {
    color: #b9c1cd;

    font-size: 20px;
    line-height: 1.8;
}

.archive-warning {
    display: inline-block;

    margin-top: 15px;
    padding: 11px 18px;

    color: #d6dbe2 !important;

    font-size: 14px !important;

    background: rgba(15, 18, 24, 0.88);
    border: 1px solid #46505e;
    border-radius: 999px;
}

.timeline-controls {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    gap: 18px;
    align-items: center;

    padding: 0 25px;
}

.timeline-arrow {
    display: grid;
    place-items: center;

    width: 58px;
    height: 58px;

    color: #ffffff;

    font-size: 25px;
    font-weight: 900;

    cursor: pointer;

    background:
        linear-gradient(
            145deg,
            #1b4eaf,
            #10285c
        );

    border: 1px solid #5d8ff2;
    border-radius: 50%;

    box-shadow:
        0 0 24px rgba(52, 120, 246, 0.25);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.timeline-arrow:hover {
    transform: scale(1.08);

    background:
        linear-gradient(
            145deg,
            #e02b31,
            #811015
        );

    border-color: #ff6267;

    box-shadow:
        0 0 28px rgba(223, 32, 39, 0.3);
}

.journey-horizontal-timeline {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 40px;

    min-width: 0;
    padding: 125px 45px 65px;

    overflow-x: auto;
    overflow-y: visible;

    scroll-behavior: smooth;
    scroll-snap-type: x proximity;

    scrollbar-width: none;

    cursor: grab;
}

.journey-horizontal-timeline:active {
    cursor: grabbing;
}

.journey-horizontal-timeline::-webkit-scrollbar {
    display: none;
}

.journey-horizontal-timeline::before {
    content: "";

    position: absolute;
    top: 155px;
    left: 0;

    width: max(100%, 1700px);
    height: 5px;

    background:
        linear-gradient(
            90deg,
            #3478f6,
            #ffffff,
            #df2027
        );

    box-shadow:
        0 0 22px rgba(52, 120, 246, 0.25);
}

.timeline-record {
    position: relative;

    flex: 0 0 300px;

    min-height: 420px;

    color: #ffffff;
    text-decoration: none;

    scroll-snap-align: center;
}

.timeline-date {
    position: absolute;
    top: -105px;
    left: 50%;

    width: max-content;
    padding: 8px 13px;

    color: #dbe5f7;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;

    background: #11161e;
    border: 1px solid #394656;
    border-radius: 999px;

    transform: translateX(-50%);

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.timeline-dot {
    position: absolute;
    top: -22px;
    left: 50%;

    width: 28px;
    height: 28px;

    background: var(--journey-blue);
    border: 6px solid #080b10;
    border-radius: 50%;

    box-shadow:
        0 0 0 2px #6b9dff,
        0 0 26px rgba(52, 120, 246, 0.65);

    transform: translateX(-50%);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.timeline-record-red .timeline-dot,
.timeline-record-memorial .timeline-dot,
.timeline-record-court .timeline-dot {
    background: var(--journey-red);

    box-shadow:
        0 0 0 2px #ff6c72,
        0 0 26px rgba(223, 32, 39, 0.62);
}

.timeline-preview-card {
    position: relative;

    min-height: 360px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #161c24,
            #090c10
        );

    border: 1px solid #344050;
    border-radius: 20px;

    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.48);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.timeline-record:hover {
    z-index: 10;
}

.timeline-record:hover .timeline-preview-card {
    transform:
        translateY(-18px)
        scale(1.08);

    border-color: #6e9cff;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.65),
        0 0 35px rgba(52, 120, 246, 0.23);
}

.timeline-record-red:hover .timeline-preview-card,
.timeline-record-memorial:hover .timeline-preview-card,
.timeline-record-court:hover .timeline-preview-card {
    border-color: #ff565c;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.65),
        0 0 35px rgba(223, 32, 39, 0.23);
}

.timeline-record:hover .timeline-dot {
    transform:
        translateX(-50%)
        scale(1.35);
}

.timeline-record:hover .timeline-date {
    color: #ffffff;
    border-color: #739fff;

    transform:
        translateX(-50%)
        translateY(-8px);
}

.timeline-preview-image {
    height: 165px;
    overflow: hidden;
}

.timeline-preview-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}

.timeline-record:hover .timeline-preview-image img {
    transform: scale(1.08);
}

.timeline-preview-placeholder {
    display: grid;
    place-items: center;

    height: 165px;

    color: #9ec1ff;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 4px;

    background:
        radial-gradient(
            circle at center,
            rgba(52, 120, 246, 0.25),
            transparent 60%
        ),
        #0a101a;
}

.timeline-preview-placeholder.memorial,
.timeline-preview-placeholder.court {
    color: #ff9296;

    background:
        radial-gradient(
            circle at center,
            rgba(223, 32, 39, 0.24),
            transparent 60%
        ),
        #160a0d;
}

.timeline-preview-content {
    padding: 25px;
}

.timeline-record-type {
    color: #79a9ff;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.timeline-record-red .timeline-record-type,
.timeline-record-memorial .timeline-record-type,
.timeline-record-court .timeline-record-type {
    color: #ff797e;
}

.timeline-preview-content h3 {
    margin: 12px 0;

    color: #ffffff;

    font-size: 24px;
    line-height: 1.2;
}

.timeline-preview-content p {
    min-height: 90px;
    margin: 0 0 20px;

    color: #b5beca;

    font-size: 14px;
    line-height: 1.65;
}

.timeline-preview-content strong {
    color: #81afff;

    font-size: 12px;
    text-transform: uppercase;
}

.timeline-record-red .timeline-preview-content strong,
.timeline-record-memorial .timeline-preview-content strong,
.timeline-record-court .timeline-preview-content strong {
    color: #ff7c81;
}

.timeline-instructions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;

    margin: 25px 20px;

    color: #818c9b;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.open-complete-archive {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: min(680px, calc(100% - 40px));
    min-height: 65px;
    margin: 35px auto 0;
    padding: 15px 24px;

    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;

    background:
        linear-gradient(
            110deg,
            #163f9f,
            #111827 50%,
            #8e1016
        );

    border: 1px solid #5d718f;
    border-radius: 12px;

    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.42);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.open-complete-archive:hover {
    color: #ffffff;

    transform: translateY(-4px);

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.55),
        0 0 30px rgba(52, 120, 246, 0.18);
}

.open-complete-archive span {
    font-size: 26px;
}

/* Timeline responsive */

@media (max-width: 750px) {

    .timeline-controls {
        grid-template-columns: 45px minmax(0, 1fr) 45px;
        gap: 8px;
        padding: 0 8px;
    }

    .timeline-arrow {
        width: 45px;
        height: 45px;
    }

    .journey-horizontal-timeline {
        padding-right: 25px;
        padding-left: 25px;
    }

    .timeline-record {
        flex-basis: 260px;
    }
}