/*
 * i85.net — Behind the Network
 *
 * Page-specific component styling extracted from:
 * resources/themes/deluxe/views/components/behind-network.blade.php
 *
 * IMPORTANT:
 * Rules remain in their original order so the existing CSS cascade,
 * responsive behavior, and later overrides continue to work exactly
 * as they did while embedded in the Blade component.
 */

/* =========================================================
   EXTRACTED INLINE STYLE BLOCK 1
   Preserved in original cascade order.
   ========================================================= */

/* =========================================================
   BEHIND THE NETWORK — PAGE FOUNDATION
   ========================================================= */

.behind-network-page {
    --bn-accent: #7f8cff;
    --bn-accent-rgb: 127, 140, 255;
    --bn-cyan: #46d9ff;

    position: relative;
    overflow: hidden;

    margin-bottom: 32px;

    color: #f6f8ff;
}

.behind-network-page *,
.behind-network-page *::before,
.behind-network-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
   ========================================================= */

.bn-hero {
    position: relative;
    overflow: hidden;

    min-height: clamp(520px, 72vh, 760px);

    display: flex;
    align-items: flex-end;

    margin-bottom: 34px;

    border: 1px solid rgba(127, 140, 255, 0.32);
    border-radius: 26px;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(70, 217, 255, 0.16),
            transparent 34%
        ),
        #070a15;

    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.56),
        0 0 36px rgba(89, 104, 255, 0.14);
}

.bn-hero-placeholder {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;

    color: rgba(210, 220, 255, 0.34);

    background:
        linear-gradient(
            135deg,
            rgba(50, 62, 110, 0.24),
            rgba(5, 8, 18, 0.72)
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 70px,
            rgba(255, 255, 255, 0.018) 71px
        );
}

.bn-hero-placeholder i {
    font-size: clamp(4rem, 10vw, 8rem);
}

.bn-hero-placeholder span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bn-hero-shade {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(4, 6, 14, 0.02) 10%,
            rgba(4, 6, 14, 0.28) 48%,
            rgba(4, 6, 14, 0.96) 100%
        );
}

.bn-hero-content {
    position: relative;
    z-index: 2;

    width: min(800px, 100%);
    padding: clamp(28px, 6vw, 64px);
}

.bn-kicker,
.bn-eyebrow {
    color: var(--bn-cyan);

    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.bn-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 14px;
}

.bn-hero h1 {
    margin: 0;

    font-size: clamp(2.8rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.055em;

    text-shadow:
        0 10px 36px rgba(0, 0, 0, 0.72);
}

.bn-hero-lead {
    max-width: 680px;

    margin: 23px 0 0;

    color: rgba(226, 232, 249, 0.80);

    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
}

.bn-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 25px;
}

.bn-hero-pills span {
    padding: 8px 12px;

    border: 1px solid rgba(127, 140, 255, 0.26);
    border-radius: 999px;

    color: rgba(236, 240, 255, 0.78);
    background: rgba(13, 18, 35, 0.70);

    font-size: 0.75rem;
    font-weight: 750;
}

.bn-scroll-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 30px;

    color: #ffffff;
    text-decoration: none;

    font-weight: 800;

    transition:
        color 180ms ease,
        transform 180ms ease;
}

.bn-scroll-link:hover {
    color: var(--bn-cyan);
    transform: translateY(2px);
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.bn-section {
    position: relative;

    margin-top: 30px;
    padding: clamp(28px, 5vw, 56px);

    border: 1px solid rgba(127, 140, 255, 0.20);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at 85% 0%,
            rgba(127, 140, 255, 0.085),
            transparent 34%
        ),
        rgba(7, 10, 23, 0.82);

    box-shadow:
        0 20px 58px rgba(0, 0, 0, 0.34),
        inset 0 0 34px rgba(255, 255, 255, 0.015);
}

.bn-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 17px;

    margin-bottom: 32px;
}

.bn-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;

    border: 1px solid rgba(70, 217, 255, 0.26);
    border-radius: 13px;

    color: var(--bn-cyan);
    background: rgba(70, 217, 255, 0.055);

    font-size: 0.74rem;
    font-weight: 900;
}

.bn-section-heading h2,
.bn-split-copy h2 {
    margin: 5px 0 0;

    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.bn-section-intro {
    max-width: 680px;

    margin: -12px 0 28px;

    color: rgba(219, 226, 244, 0.70);

    font-size: 1.04rem;
    line-height: 1.7;
}


/* =========================================================
   PHILOSOPHY
   ========================================================= */

.bn-philosophy-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 6vw, 70px);
    align-items: center;
}

.bn-statement {
    max-width: 620px;

    color: #ffffff;

    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.bn-copy {
    color: rgba(220, 227, 245, 0.74);

    font-size: 1.04rem;
    line-height: 1.85;
}

.bn-copy p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FOUNDATION CARDS
   ========================================================= */

.bn-foundation-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px;
}

.bn-foundation-card {
    grid-column: span 2;

    min-height: 225px;
    padding: 24px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(28, 34, 60, 0.72),
            rgba(11, 14, 29, 0.78)
        );

    transition:
        transform 200ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease;
}

.bn-foundation-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.bn-foundation-card:hover {
    transform: translateY(-5px);

    border-color: rgba(70, 217, 255, 0.28);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.35),
        0 0 24px rgba(70, 217, 255, 0.08);
}

.bn-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 20px;

    border: 1px solid rgba(127, 140, 255, 0.28);
    border-radius: 15px;

    color: var(--bn-cyan);

    background:
        linear-gradient(
            145deg,
            rgba(127, 140, 255, 0.22),
            rgba(70, 217, 255, 0.07)
        );

    box-shadow:
        0 0 18px rgba(70, 217, 255, 0.08);

    font-size: 1.25rem;
}

.bn-foundation-card h3 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 1.12rem;
    font-weight: 850;
}

.bn-foundation-card p {
    margin: 0;

    color: rgba(211, 219, 239, 0.66);

    font-size: 0.92rem;
    line-height: 1.68;
}


/* =========================================================
   PHOTO PLACEHOLDERS
   ========================================================= */

.bn-feature-photo {
    position: relative;
}

.bn-photo-placeholder {
    min-height: 300px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;

    padding: 30px;

    border: 1px dashed rgba(127, 140, 255, 0.28);
    border-radius: 19px;

    color: rgba(210, 219, 246, 0.40);
    text-align: center;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(70, 217, 255, 0.08),
            transparent 40%
        ),
        rgba(4, 7, 17, 0.68);
}

.bn-photo-placeholder i {
    margin-bottom: 4px;

    color: rgba(70, 217, 255, 0.48);

    font-size: clamp(2.8rem, 7vw, 5rem);
}

.bn-photo-placeholder strong {
    color: rgba(236, 240, 255, 0.72);

    font-size: 1rem;
}

.bn-photo-placeholder span {
    max-width: 420px;

    font-size: 0.84rem;
    line-height: 1.55;
}

.bn-photo-placeholder-tall {
    min-height: 430px;
}

.bn-photo-caption {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-top: 18px;
}

.bn-caption-line {
    width: 48px;
    height: 2px;

    flex: 0 0 auto;

    background:
        linear-gradient(
            90deg,
            var(--bn-accent),
            var(--bn-cyan)
        );

    box-shadow:
        0 0 12px rgba(70, 217, 255, 0.45);
}

.bn-photo-caption p {
    margin: 0;

    color: rgba(216, 224, 243, 0.68);

    font-size: 0.9rem;
    line-height: 1.6;
}


/* =========================================================
   SPLIT STORY
   ========================================================= */

.bn-split-story {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(30px, 6vw, 72px);
    align-items: center;
}

.bn-split-copy p {
    color: rgba(216, 224, 243, 0.70);

    font-size: 1rem;
    line-height: 1.78;
}

.bn-inline-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 25px;
}

.bn-inline-facts span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 11px;

    border: 1px solid rgba(70, 217, 255, 0.16);
    border-radius: 999px;

    color: rgba(230, 236, 250, 0.78);
    background: rgba(70, 217, 255, 0.045);

    font-size: 0.78rem;
    font-weight: 750;
}

.bn-inline-facts i {
    color: var(--bn-cyan);
}


/* =========================================================
   GALLERY
   ========================================================= */

.bn-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.bn-gallery-grid .bn-photo-placeholder {
    min-height: 270px;
}


/* =========================================================
   TIMELINE
   ========================================================= */

.bn-timeline {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.bn-timeline::before {
    content: "";

    position: absolute;
    top: 13px;
    left: 5%;
    right: 5%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            rgba(127, 140, 255, 0.12),
            rgba(70, 217, 255, 0.70),
            rgba(127, 140, 255, 0.12)
        );
}

.bn-timeline-item {
    position: relative;

    padding-top: 40px;
}

.bn-timeline-marker {
    position: absolute;
    top: 6px;
    left: 0;
    z-index: 2;

    width: 16px;
    height: 16px;

    border: 3px solid #080b18;
    border-radius: 50%;

    background: var(--bn-cyan);

    box-shadow:
        0 0 0 1px rgba(70, 217, 255, 0.48),
        0 0 17px rgba(70, 217, 255, 0.60);
}

.bn-timeline-year {
    margin-bottom: 8px;

    color: var(--bn-cyan);

    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.bn-timeline-item h3 {
    margin: 0 0 9px;

    color: #ffffff;

    font-size: 1rem;
    font-weight: 850;
    line-height: 1.35;
}

.bn-timeline-item p {
    margin: 0;

    color: rgba(211, 220, 240, 0.62);

    font-size: 0.87rem;
    line-height: 1.65;
}


/* =========================================================
   CLOSING
   ========================================================= */

.bn-closing {
    position: relative;
    overflow: hidden;

    margin-top: 30px;
    padding: clamp(38px, 6vw, 72px) 28px;

    border: 1px solid rgba(127, 140, 255, 0.30);
    border-radius: 26px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(70, 217, 255, 0.15),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            rgba(18, 24, 48, 0.96),
            rgba(5, 8, 19, 0.98)
        );

    box-shadow:
        0 28px 78px rgba(0, 0, 0, 0.48),
        0 0 38px rgba(127, 140, 255, 0.14);
}

.bn-closing-glow {
    position: absolute;
    top: -60px;
    left: 50%;

    width: 420px;
    height: 180px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: rgba(70, 217, 255, 0.13);
    filter: blur(55px);
}

.bn-closing-content {
    position: relative;
    z-index: 2;
}

.bn-closing-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin-bottom: 20px;

    border: 1px solid rgba(70, 217, 255, 0.34);
    border-radius: 20px;

    color: var(--bn-cyan);
    background: rgba(70, 217, 255, 0.07);

    box-shadow:
        0 0 28px rgba(70, 217, 255, 0.16);

    font-size: 1.7rem;
}

.bn-closing h2 {
    margin: 14px 0 0;

    font-size: clamp(2.4rem, 7vw, 5.2rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.055em;
}

.bn-closing p {
    margin: 14px 0 0;

    color: rgba(222, 229, 246, 0.70);

    font-size: 1.05rem;
}

.bn-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 28px;
    padding: 13px 19px;

    border: 1px solid rgba(70, 217, 255, 0.45);
    border-radius: 13px;

    color: #ffffff;
    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            rgba(127, 140, 255, 0.95),
            rgba(70, 217, 255, 0.74)
        );

    box-shadow:
        0 12px 30px rgba(50, 84, 220, 0.28),
        0 0 24px rgba(70, 217, 255, 0.13);

    font-weight: 850;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

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

    box-shadow:
        0 18px 38px rgba(50, 84, 220, 0.36),
        0 0 30px rgba(70, 217, 255, 0.20);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {

    .bn-foundation-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bn-foundation-card,
    .bn-foundation-card:nth-child(4) {
        grid-column: auto;
    }

    .bn-foundation-card:last-child {
        grid-column: 1 / -1;
    }

    .bn-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bn-timeline::before {
        display: none;
    }

}

@media (max-width: 760px) {

    .bn-hero {
        min-height: 560px;
        border-radius: 20px;
    }

    .bn-hero-content {
        padding: 26px 21px 32px;
    }

    .bn-section {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .bn-philosophy-grid,
    .bn-split-story {
        grid-template-columns: 1fr;
    }

    .bn-gallery-grid {
        grid-template-columns: 1fr;
    }

    .bn-photo-placeholder,
    .bn-gallery-grid .bn-photo-placeholder {
        min-height: 230px;
    }

    .bn-photo-placeholder-tall {
        min-height: 300px;
    }

}

@media (max-width: 540px) {

    .bn-foundation-grid,
    .bn-timeline {
        grid-template-columns: 1fr;
    }

    .bn-foundation-card:last-child {
        grid-column: auto;
    }

    .bn-hero-pills {
        align-items: flex-start;
        flex-direction: column;
    }

    .bn-section-heading {
        gap: 12px;
    }

    .bn-section-number {
        min-width: 37px;
        height: 37px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .bn-foundation-card,
    .bn-scroll-link,
    .bn-primary-button {
        transition-duration: 1ms !important;
    }

}

/* =========================================================
   BEHIND THE NETWORK — REAL PHOTOGRAPHY
   ========================================================= */

.bn-hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

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

    filter:
        brightness(0.72)
        contrast(1.08)
        saturate(0.92);

    transform: scale(1.01);
}

.bn-story-image {
    display: block;

    width: 100%;
    min-height: 420px;
    max-height: 680px;

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

    border: 1px solid rgba(127, 140, 255, 0.24);
    border-radius: 19px;

    background: #050711;

    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.42),
        0 0 28px rgba(70, 217, 255, 0.07);
}

.bn-story-image-tall {
    min-height: 470px;
}

.bn-gallery-photo {
    position: relative;
    overflow: hidden;

    min-height: 310px;
    margin: 0;

    border: 1px solid rgba(127, 140, 255, 0.18);
    border-radius: 19px;

    background: #050711;

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.30);

    transition:
        transform 200ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease;
}

.bn-gallery-photo:hover {
    transform: translateY(-5px);

    border-color: rgba(70, 217, 255, 0.32);

    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.40),
        0 0 24px rgba(70, 217, 255, 0.08);
}

.bn-gallery-photo img {
    display: block;

    width: 100%;
    height: 310px;

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

    filter:
        brightness(0.88)
        contrast(1.06)
        saturate(0.96);

    transition:
        transform 320ms cubic-bezier(.16, 1, .3, 1),
        filter 220ms ease;
}

.bn-gallery-photo:hover img {
    transform: scale(1.035);

    filter:
        brightness(0.96)
        contrast(1.07)
        saturate(1.02);
}

.bn-gallery-photo figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;
    gap: 5px;

    padding: 52px 18px 17px;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(5, 8, 18, 0.94)
        );
}

.bn-gallery-photo figcaption strong {
    color: #ffffff;

    font-size: 1rem;
    font-weight: 850;
}

.bn-gallery-photo figcaption span {
    color: rgba(220, 228, 245, 0.70);

    font-size: 0.82rem;
    line-height: 1.45;
}

@media (max-width: 760px) {
    .bn-story-image,
    .bn-story-image-tall {
        min-height: 300px;
        max-height: 460px;
    }

    .bn-gallery-photo,
    .bn-gallery-photo img {
        min-height: 250px;
        height: 250px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bn-gallery-photo,
    .bn-gallery-photo img {
        transition-duration: 1ms !important;
    }
}


/* BEGIN BEHIND NETWORK — DUAL STORY PRESENTATION */

/* =========================================================
   TWO STORY CARDS
   ========================================================= */

.behind-network-page .bn-dual-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;

    margin-top: 30px;
}

.behind-network-page .bn-dual-story-grid > .bn-section {
    display: flex;
    flex-direction: column;

    height: 100%;
    margin-top: 0;
}

/* Keep headings compact inside the paired cards. */
.behind-network-page
.bn-dual-story-grid
.bn-section-heading {
    margin-bottom: 24px;
}


/* =========================================================
   INSIDE THE RACK
   Photo beside its explanatory caption.
   ========================================================= */

.behind-network-page
.bn-dual-story-grid
.bn-feature-photo {
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(170px, 0.92fr);
    gap: 22px;
    align-items: center;

    flex: 1 1 auto;
    max-width: none;
    margin: 0;
}

.behind-network-page
.bn-dual-story-grid
.bn-feature-photo
.bn-story-image {
    width: 100% !important;
    height: clamp(280px, 27vw, 400px) !important;
    min-height: 0 !important;
    max-height: 400px !important;

    padding: 7px;

    object-fit: contain !important;
    object-position: center !important;

    border: 1px solid rgba(127, 140, 255, 0.24);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(70, 217, 255, 0.055),
            transparent 58%
        ),
        #050711;

    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.38),
        0 0 24px rgba(70, 217, 255, 0.06);
}

.behind-network-page
.bn-dual-story-grid
.bn-feature-photo
.bn-photo-caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;

    margin: 0;
}

.behind-network-page
.bn-dual-story-grid
.bn-feature-photo
.bn-caption-line {
    width: 54px;
}

.behind-network-page
.bn-dual-story-grid
.bn-feature-photo
.bn-photo-caption p {
    font-size: 0.94rem;
    line-height: 1.72;
}


/* =========================================================
   PROTECTING YOUR WORLD
   Copy and photograph sit beside each other.
   ========================================================= */

.behind-network-page
.bn-dual-story-grid
.bn-split-story {
    display: grid;
    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(180px, 0.98fr);
    gap: 22px;
    align-items: center;

    flex: 1 1 auto;
}

.behind-network-page
.bn-dual-story-grid
.bn-split-story
.bn-story-image,
.behind-network-page
.bn-dual-story-grid
.bn-split-story
.bn-story-image-tall {
    display: block;

    width: 100% !important;
    height: clamp(280px, 27vw, 400px) !important;
    min-height: 0 !important;
    max-height: 400px !important;

    margin: 0;
    padding: 7px;

    object-fit: contain !important;
    object-position: center !important;

    border: 1px solid rgba(127, 140, 255, 0.24);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(70, 217, 255, 0.055),
            transparent 58%
        ),
        #050711;

    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.38),
        0 0 24px rgba(70, 217, 255, 0.06);
}

.behind-network-page
.bn-dual-story-grid
.bn-split-copy p {
    font-size: 0.93rem;
    line-height: 1.7;
}

.behind-network-page
.bn-dual-story-grid
.bn-inline-facts {
    gap: 7px;
    margin-top: 18px;
}

.behind-network-page
.bn-dual-story-grid
.bn-inline-facts span {
    padding: 7px 9px;
    font-size: 0.72rem;
}


/* =========================================================
   WORKSHOP — ORIGINAL PRESENTATION, SLIGHTLY TALLER
   ========================================================= */

.behind-network-page .bn-gallery-grid {
    align-items: stretch;
}

.behind-network-page .bn-gallery-photo {
    position: relative;
    display: block;
    overflow: hidden;

    min-height: 365px !important;
    height: 365px !important;
    margin: 0;

    border: 1px solid rgba(127, 140, 255, 0.18);
    border-radius: 19px;

    background: #050711;

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.30);

    transition:
        transform 200ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease;
}

.behind-network-page .bn-gallery-photo:hover {
    transform: translateY(-5px);

    border-color: rgba(70, 217, 255, 0.32);

    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.40),
        0 0 24px rgba(70, 217, 255, 0.08);
}

.behind-network-page .bn-gallery-photo img {
    display: block;

    width: 100% !important;
    height: 365px !important;
    min-height: 365px !important;
    max-height: 365px !important;

    padding: 0;

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

    background: #050711;

    filter:
        brightness(0.88)
        contrast(1.06)
        saturate(0.96);

    transition:
        transform 320ms cubic-bezier(.16, 1, .3, 1),
        filter 220ms ease;
}

.behind-network-page .bn-gallery-photo:hover img {
    transform: scale(1.025) !important;

    filter:
        brightness(0.96)
        contrast(1.07)
        saturate(1.02);
}

.behind-network-page .bn-gallery-photo figcaption {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;
    gap: 5px;

    min-height: 0;
    padding: 62px 18px 17px !important;

    border-top: 0;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(5, 8, 18, 0.95)
        ) !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

/*
 * Keep the two outer cards side by side on normal desktop
 * screens, but stack the internal content when each card
 * becomes too narrow.
 */
@media (max-width: 1180px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-feature-photo,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story {
        grid-template-columns: 1fr;
    }

    .behind-network-page
    .bn-dual-story-grid
    .bn-feature-photo
    .bn-story-image,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story
    .bn-story-image,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story
    .bn-story-image-tall {
        height: clamp(280px, 42vw, 410px) !important;
        max-height: 410px !important;
    }
}

@media (max-width: 900px) {
    .behind-network-page .bn-dual-story-grid {
        grid-template-columns: 1fr;
    }

    .behind-network-page
    .bn-dual-story-grid
    .bn-feature-photo,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story {
        grid-template-columns:
            minmax(0, 1.08fr)
            minmax(220px, 0.92fr);
    }
}

@media (max-width: 680px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-feature-photo,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story {
        grid-template-columns: 1fr;
    }

    .behind-network-page
    .bn-dual-story-grid
    .bn-feature-photo
    .bn-story-image,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story
    .bn-story-image,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story
    .bn-story-image-tall {
        height: clamp(270px, 78vw, 410px) !important;
        max-height: 410px !important;
        padding: 6px;
    }

    .behind-network-page .bn-gallery-photo,
    .behind-network-page .bn-gallery-photo img {
        min-height: 315px !important;
        height: 315px !important;
        max-height: 315px !important;
    }
}

/* END BEHIND NETWORK — DUAL STORY PRESENTATION */


/* =========================================================
   INSIDE THE RACK — MATCH PROTECTING YOUR WORLD
   ========================================================= */

.behind-network-page
.bn-dual-story-grid
.bn-feature-photo {
    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(180px, 0.98fr) !important;
}

/* Text on the left. */
.behind-network-page
.bn-dual-story-grid
.bn-feature-photo
.bn-photo-caption {
    order: 1;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;

    margin: 0;
}

/* Photograph on the right. */
.behind-network-page
.bn-dual-story-grid
.bn-feature-photo
.bn-story-image {
    order: 2;
}

/* Match the typography used by the neighboring story card. */
.behind-network-page
.bn-dual-story-grid
.bn-feature-photo
.bn-photo-caption p {
    margin: 0;

    color: rgba(216, 224, 243, 0.70);

    font-size: 0.93rem;
    line-height: 1.7;
}

/* Give the text a little more substance without changing markup. */
.behind-network-page
.bn-dual-story-grid
.bn-feature-photo
.bn-photo-caption p::before {
    content: "The physical systems behind i85.net are organized, maintained, and expanded in-house. ";

    color: rgba(255, 255, 255, 0.92);

    font-weight: 750;
}

/* Hide the repeated original opening sentence. */
.behind-network-page
.bn-dual-story-grid
.bn-feature-photo
.bn-photo-caption .bn-caption-line {
    width: 54px;
    margin-bottom: 2px;
}

@media (max-width: 1180px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-feature-photo {
        grid-template-columns: 1fr !important;
    }

    .behind-network-page
    .bn-dual-story-grid
    .bn-feature-photo
    .bn-photo-caption {
        order: 1;
    }

    .behind-network-page
    .bn-dual-story-grid
    .bn-feature-photo
    .bn-story-image {
        order: 2;
    }
}

@media (max-width: 900px) and (min-width: 681px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-feature-photo {
        grid-template-columns:
            minmax(0, 1.02fr)
            minmax(220px, 0.98fr) !important;
    }
}


/* =========================================================
   DUAL STORY CARDS — TOP ALIGNMENT AND TIGHTER SPACING
   ========================================================= */

/* Align both internal columns to the top. */
.behind-network-page
.bn-dual-story-grid
.bn-feature-photo,

.behind-network-page
.bn-dual-story-grid
.bn-split-story {
    align-items: start !important;
    gap: 16px !important;
}

/* Remove vertical centering from Inside the Rack text. */
.behind-network-page
.bn-dual-story-grid
.bn-feature-photo
.bn-photo-caption {
    justify-content: flex-start !important;
    align-self: start;
    gap: 10px !important;
    padding-top: 0 !important;
}

/* Keep Protecting Your World text at the top as well. */
.behind-network-page
.bn-dual-story-grid
.bn-split-copy {
    align-self: start;
    padding-top: 0 !important;
}

/* Tighten paragraph spacing in both cards. */
.behind-network-page
.bn-dual-story-grid
.bn-photo-caption p,

.behind-network-page
.bn-dual-story-grid
.bn-split-copy p {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

/* Reduce the space above the fact pills. */
.behind-network-page
.bn-dual-story-grid
.bn-inline-facts {
    margin-top: 10px !important;
}

/* Keep both photos pinned to the top of their columns. */
.behind-network-page
.bn-dual-story-grid
.bn-story-image,

.behind-network-page
.bn-dual-story-grid
.bn-story-image-tall {
    align-self: start;
    margin-top: 0 !important;
}

/* Slightly reduce card padding only for these two paired sections. */
.behind-network-page
.bn-dual-story-grid
> .bn-section {
    padding: clamp(24px, 3.2vw, 38px) !important;
}

@media (max-width: 680px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-feature-photo,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story {
        gap: 18px !important;
    }
}


/* =========================================================
   EXTRACTED INLINE STYLE BLOCK 2
   Preserved in original cascade order.
   ========================================================= */

/* =========================================================
   INSIDE THE RACK — FORCE TRUE TOP ALIGNMENT
   ========================================================= */

.behind-network-page
.bn-dual-story-grid
.bn-feature-photo {
    align-items: start !important;
}

.behind-network-page
.bn-dual-story-grid
.bn-feature-photo
.bn-story-image {
    align-self: start !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    top: auto !important;
    transform: none !important;
}

/* Ensure the text column also begins at the same top edge. */
.behind-network-page
.bn-dual-story-grid
.bn-feature-photo
.bn-photo-caption {
    align-self: start !important;
    justify-content: flex-start !important;

    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* =========================================================
   EXTRACTED INLINE STYLE BLOCK 3
   Preserved in original cascade order.
   ========================================================= */

/* Inside the Rack: pin the photograph itself to the top of its frame. */
.behind-network-page
.bn-dual-story-grid
.bn-feature-photo
.bn-story-image {
    object-position: center top !important;
}

/* =========================================================
   INSIDE THE RACK — USE THE SAME STRUCTURE AS PROTECTING
   ========================================================= */

.behind-network-page
.bn-dual-story-grid
.bn-inside-story {
    display: grid !important;
    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(180px, 0.98fr) !important;

    gap: 16px !important;
    align-items: start !important;
}

.behind-network-page
.bn-dual-story-grid
.bn-inside-story
.bn-split-copy {
    align-self: start !important;
    padding: 0 !important;
}

.behind-network-page
.bn-dual-story-grid
.bn-inside-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    margin-bottom: 18px;
}

.behind-network-page
.bn-dual-story-grid
.bn-inside-heading h2 {
    margin: 5px 0 0;

    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.behind-network-page
.bn-dual-story-grid
.bn-inside-story
.bn-story-image {
    align-self: start !important;

    width: 100% !important;
    height: clamp(280px, 27vw, 400px) !important;
    min-height: 0 !important;
    max-height: 400px !important;

    margin: 0 !important;
    padding: 7px;

    object-fit: contain !important;
    object-position: center top !important;
}

@media (max-width: 1180px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-inside-story {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 900px) and (min-width: 681px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-inside-story {
        grid-template-columns:
            minmax(0, 1.02fr)
            minmax(220px, 0.98fr) !important;
    }
}

@media (max-width: 680px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-inside-story {
        grid-template-columns: 1fr !important;
    }
}


/* BEGIN I85 EDITORIAL READABILITY */

/* =========================================================
   GENERAL READING TEXT
   Raise the minimum readable size across normal content.
   ========================================================= */

.behind-network-page
.bn-section:not(.bn-timeline-section) p {
    max-width: 58ch;

    font-size: clamp(1.08rem, 1.05vw, 1.22rem) !important;
    line-height: 1.82 !important;
}

/* Hero supporting copy should remain compact, but readable. */
.behind-network-page .bn-hero-content p {
    max-width: 52ch;

    font-size: clamp(1.05rem, 1vw, 1.17rem) !important;
    line-height: 1.72 !important;
}


/* =========================================================
   BUILT FOR THE LONG HAUL
   ========================================================= */

/*
 * The large statement remains unchanged. Supporting paragraphs
 * become editorial body copy rather than dashboard-sized text.
 */
.behind-network-page
.bn-section:first-of-type p {
    max-width: 52ch;

    font-size: clamp(1.14rem, 1.2vw, 1.3rem) !important;
    line-height: 1.86 !important;
}


/* =========================================================
   FOUNDATION CARDS
   ========================================================= */

.behind-network-page .bn-foundation-card h3,
.behind-network-page .bn-foundation-card strong {
    font-size: clamp(1.15rem, 1.15vw, 1.32rem) !important;
    line-height: 1.35 !important;
}

.behind-network-page .bn-foundation-card p {
    max-width: 48ch;

    font-size: clamp(1.02rem, 1vw, 1.14rem) !important;
    line-height: 1.72 !important;
}


/* =========================================================
   INSIDE THE RACK + PROTECTING YOUR WORLD
   ========================================================= */

.behind-network-page
.bn-dual-story-grid
.bn-split-copy p,

.behind-network-page
.bn-dual-story-grid
.bn-inside-story
.bn-split-copy p {
    max-width: 38ch;

    font-size: clamp(1.08rem, 1.04vw, 1.2rem) !important;
    line-height: 1.82 !important;
}

/* Improve separation between paragraphs without adding padding. */
.behind-network-page
.bn-dual-story-grid
.bn-split-copy p + p {
    margin-top: 14px !important;
}

/* The compact fact pills remain secondary, but easier to read. */
.behind-network-page
.bn-dual-story-grid
.bn-inline-facts span {
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
}


/* =========================================================
   WORKSHOP
   ========================================================= */

.behind-network-page .bn-workshop-section > p,
.behind-network-page .bn-gallery-grid + p {
    font-size: 1.08rem !important;
    line-height: 1.72 !important;
}

.behind-network-page .bn-gallery-photo figcaption strong {
    font-size: 1.12rem !important;
    line-height: 1.35 !important;
}

.behind-network-page .bn-gallery-photo figcaption span {
    font-size: 0.96rem !important;
    line-height: 1.52 !important;
}


/* =========================================================
   TIMELINE
   ========================================================= */

.behind-network-page .bn-timeline-year {
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
}

.behind-network-page .bn-timeline-item h3 {
    margin-bottom: 11px !important;

    font-size: clamp(1.2rem, 1.25vw, 1.42rem) !important;
    line-height: 1.36 !important;
}

.behind-network-page .bn-timeline-item p {
    max-width: 39ch;

    font-size: clamp(1.04rem, 1vw, 1.14rem) !important;
    line-height: 1.78 !important;
}


/* =========================================================
   CLOSING
   Preserve the existing large heading while improving only
   its supporting text slightly.
   ========================================================= */

.behind-network-page .bn-closing p {
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;

    font-size: clamp(1.06rem, 1.05vw, 1.18rem) !important;
    line-height: 1.78 !important;
}


/* =========================================================
   COMPACT LABELS
   Keep the visual hierarchy, but avoid microscopic text.
   ========================================================= */

.behind-network-page .bn-eyebrow,
.behind-network-page .bn-kicker {
    font-size: 0.82rem !important;
}

.behind-network-page .bn-hero-pills span {
    font-size: 0.87rem !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {
    .behind-network-page
    .bn-section:not(.bn-timeline-section) p,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-copy p,

    .behind-network-page
    .bn-dual-story-grid
    .bn-inside-story
    .bn-split-copy p {
        max-width: none;

        font-size: 1.05rem !important;
        line-height: 1.76 !important;
    }

    .behind-network-page .bn-foundation-card p,
    .behind-network-page .bn-timeline-item p {
        max-width: none;

        font-size: 1.02rem !important;
        line-height: 1.72 !important;
    }

    .behind-network-page .bn-timeline-item h3 {
        font-size: 1.24rem !important;
    }

    .behind-network-page .bn-gallery-photo figcaption strong {
        font-size: 1.06rem !important;
    }

    .behind-network-page .bn-gallery-photo figcaption span {
        font-size: 0.92rem !important;
    }
}

/* END I85 EDITORIAL READABILITY */


/* BEGIN I85 HERO EMPHASIS */

/* =========================================================
   HERO COMPOSITION
   ========================================================= */

.behind-network-page .bn-hero {
    min-height: clamp(560px, 76vh, 820px);
    align-items: center;
}

/*
 * Add contrast only behind the copy rather than darkening the
 * entire rack photograph.
 */
.behind-network-page .bn-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(3, 6, 15, 0.90) 0%,
            rgba(3, 6, 15, 0.74) 24%,
            rgba(3, 6, 15, 0.36) 43%,
            rgba(3, 6, 15, 0.08) 61%,
            transparent 76%
        );
}

.behind-network-page .bn-hero-shade {
    z-index: 1;
}

.behind-network-page .bn-hero-content {
    z-index: 3;

    width: min(900px, 72%);
    padding:
        clamp(38px, 6vw, 82px)
        clamp(34px, 6vw, 84px);

    transform: translateY(-28px);
}


/* =========================================================
   HERO TYPOGRAPHY
   ========================================================= */

.behind-network-page .bn-hero .bn-kicker {
    margin-bottom: 18px;

    font-size: clamp(0.92rem, 0.9vw, 1.05rem) !important;
    letter-spacing: 0.21em;
}

.behind-network-page .bn-hero h1 {
    max-width: 11ch;
    margin: 0 0 24px;

    font-size: clamp(3.4rem, 5.7vw, 5.4rem) !important;
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.055em;

    text-shadow:
        0 5px 28px rgba(0, 0, 0, 0.72),
        0 0 28px rgba(70, 217, 255, 0.08);
}

.behind-network-page .bn-hero-content > p {
    max-width: 36rem;
    margin: 0 0 28px;

    color: rgba(239, 243, 255, 0.88);

    font-size: clamp(1.22rem, 1.35vw, 1.46rem) !important;
    line-height: 1.78 !important;
}


/* =========================================================
   HERO PILLS
   ========================================================= */

.behind-network-page .bn-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;

    margin-top: 8px;
}

.behind-network-page .bn-hero-pills span {
    padding: 11px 16px;

    border: 1px solid rgba(127, 140, 255, 0.34);
    border-radius: 999px;

    color: rgba(247, 249, 255, 0.94);
    background: rgba(10, 15, 31, 0.68);

    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.22),
        inset 0 0 14px rgba(255, 255, 255, 0.018);

    font-size: clamp(0.92rem, 0.9vw, 1rem) !important;
    font-weight: 800;
}


/* =========================================================
   HERO LINK
   ========================================================= */

.behind-network-page .bn-hero-link {
    margin-top: 27px;

    font-size: 1rem;
    font-weight: 850;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
    .behind-network-page .bn-hero {
        align-items: flex-end;
    }

    .behind-network-page .bn-hero-content {
        width: min(780px, 100%);
        transform: none;
    }

    .behind-network-page .bn-hero::after {
        background:
            linear-gradient(
                180deg,
                transparent 10%,
                rgba(3, 6, 15, 0.30) 42%,
                rgba(3, 6, 15, 0.92) 100%
            );
    }

    .behind-network-page .bn-hero h1 {
        max-width: 12ch;

        font-size: clamp(3rem, 8vw, 4.6rem) !important;
    }
}

@media (max-width: 620px) {
    .behind-network-page .bn-hero {
        min-height: 620px;
    }

    .behind-network-page .bn-hero-content {
        padding: 34px 24px 38px;
    }

    .behind-network-page .bn-hero .bn-kicker {
        font-size: 0.82rem !important;
    }

    .behind-network-page .bn-hero h1 {
        margin-bottom: 18px;

        font-size: clamp(2.7rem, 13vw, 3.7rem) !important;
    }

    .behind-network-page .bn-hero-content > p {
        margin-bottom: 22px;

        font-size: 1.08rem !important;
        line-height: 1.68 !important;
    }

    .behind-network-page .bn-hero-pills {
        gap: 8px;
    }

    .behind-network-page .bn-hero-pills span {
        padding: 9px 12px;

        font-size: 0.82rem !important;
    }
}

/* END I85 HERO EMPHASIS */


/* BEGIN I85 FOUNDATION FIVE-COLUMN GRID */

/* Five equal cards across on full desktop. */
.behind-network-page .bn-foundation-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

/* Cancel the original span and centering rules. */
.behind-network-page .bn-foundation-card,
.behind-network-page .bn-foundation-card:nth-child(4),
.behind-network-page .bn-foundation-card:last-child {
    grid-column: auto !important;
}

/* Slightly tighten each card for the five-column presentation. */
.behind-network-page .bn-foundation-card {
    min-height: 250px;
    padding: 22px 18px;
}

.behind-network-page .bn-foundation-card h3 {
    overflow-wrap: anywhere;
}

/* Three across on smaller desktop and landscape tablet. */
@media (max-width: 1280px) {
    .behind-network-page .bn-foundation-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .behind-network-page .bn-foundation-card:nth-child(4),
    .behind-network-page .bn-foundation-card:nth-child(5) {
        grid-column: auto !important;
    }
}

/* Two across on tablets. */
@media (max-width: 900px) {
    .behind-network-page .bn-foundation-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .behind-network-page .bn-foundation-card:last-child {
        grid-column: 1 / -1 !important;
    }
}

/* One card per row on narrow mobile. */
@media (max-width: 540px) {
    .behind-network-page .bn-foundation-grid {
        grid-template-columns: 1fr !important;
    }

    .behind-network-page .bn-foundation-card:last-child {
        grid-column: auto !important;
    }
}

/* END I85 FOUNDATION FIVE-COLUMN GRID */


/* BEGIN I85 FINAL PHOTOGRAPHY POLISH */

/* =========================================================
   RACK + STORAGE DISPLAY FRAMES
   Preserve the complete photographs while making the unused
   side space feel like an intentional exhibit frame.
   ========================================================= */

.behind-network-page
.bn-dual-story-grid
.bn-story-image,

.behind-network-page
.bn-dual-story-grid
.bn-story-image-tall {
    padding: 10px !important;

    border:
        1px solid rgba(151, 170, 255, 0.30) !important;

    border-radius: 18px !important;

    background:
        radial-gradient(
            ellipse at 50% 46%,
            rgba(70, 217, 255, 0.12) 0%,
            rgba(62, 83, 145, 0.08) 35%,
            transparent 68%
        ),
        linear-gradient(
            145deg,
            #101728 0%,
            #080d19 48%,
            #111827 100%
        ) !important;

    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.42),
        0 0 26px rgba(70, 217, 255, 0.07),
        inset 0 0 0 1px rgba(255, 255, 255, 0.025),
        inset 0 0 34px rgba(93, 112, 205, 0.035) !important;
}

/*
 * A faint inner edge separates the photograph from the
 * surrounding frame without creating a harsh border.
 */
.behind-network-page
.bn-dual-story-grid
.bn-story-image {
    outline:
        1px solid rgba(255, 255, 255, 0.025);

    outline-offset: -10px;
}


/* =========================================================
   WORKSHOP CARDS
   ========================================================= */

.behind-network-page .bn-gallery-photo {
    border:
        1px solid rgba(151, 170, 255, 0.24) !important;

    background:
        linear-gradient(
            145deg,
            rgba(17, 24, 43, 0.98),
            rgba(5, 9, 19, 0.99)
        ) !important;

    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.38),
        0 0 24px rgba(70, 217, 255, 0.055),
        inset 0 0 0 1px rgba(255, 255, 255, 0.018) !important;
}

.behind-network-page .bn-gallery-photo:hover {
    border-color:
        rgba(70, 217, 255, 0.38) !important;

    box-shadow:
        0 25px 56px rgba(0, 0, 0, 0.48),
        0 0 30px rgba(70, 217, 255, 0.10),
        inset 0 0 0 1px rgba(255, 255, 255, 0.025) !important;
}


/* =========================================================
   WORKSHOP CAPTION OVERLAY
   ========================================================= */

.behind-network-page .bn-gallery-photo figcaption {
    gap: 7px !important;

    padding:
        112px 20px 21px !important;

    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(4, 7, 16, 0.18) 20%,
            rgba(4, 7, 16, 0.76) 58%,
            rgba(4, 7, 16, 0.97) 100%
        ) !important;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.90);
}

.behind-network-page
.bn-gallery-photo
figcaption strong {
    color: #ffffff !important;

    font-size:
        clamp(1.18rem, 1.15vw, 1.32rem) !important;

    font-weight: 880 !important;
    line-height: 1.28 !important;
    letter-spacing: -0.015em;
}

.behind-network-page
.bn-gallery-photo
figcaption span {
    max-width: 38ch;

    color:
        rgba(232, 238, 252, 0.86) !important;

    font-size:
        clamp(1rem, 0.96vw, 1.1rem) !important;

    line-height: 1.58 !important;
}


/* =========================================================
   CONSISTENT PHOTO RENDERING
   ========================================================= */

.behind-network-page
.bn-dual-story-grid
.bn-story-image,

.behind-network-page
.bn-gallery-photo img {
    filter:
        brightness(0.94)
        contrast(1.055)
        saturate(0.98) !important;
}

.behind-network-page
.bn-gallery-photo:hover img {
    filter:
        brightness(1)
        contrast(1.06)
        saturate(1.02) !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-story-image,

    .behind-network-page
    .bn-dual-story-grid
    .bn-story-image-tall {
        padding: 7px !important;
        outline-offset: -7px;
    }

    .behind-network-page
    .bn-gallery-photo
    figcaption {
        padding:
            92px 17px 17px !important;
    }

    .behind-network-page
    .bn-gallery-photo
    figcaption strong {
        font-size: 1.15rem !important;
    }

    .behind-network-page
    .bn-gallery-photo
    figcaption span {
        font-size: 0.98rem !important;
        line-height: 1.52 !important;
    }
}

/* END I85 FINAL PHOTOGRAPHY POLISH */


/* BEGIN I85 PORTRAIT STORY PHOTOS */

/* =========================================================
   TRUE PORTRAIT PRESENTATION
   Stop forcing portrait photos into landscape-shaped frames.
   ========================================================= */

.behind-network-page
.bn-dual-story-grid
.bn-inside-story,

.behind-network-page
.bn-dual-story-grid
.bn-split-story {
    grid-template-columns:
        minmax(0, 1fr)
        clamp(210px, 16vw, 265px) !important;

    gap: clamp(18px, 2vw, 28px) !important;
    align-items: start !important;
}

/*
 * Make the border hug the actual photograph.
 * No fixed landscape height and no side bars.
 */
.behind-network-page
.bn-dual-story-grid
.bn-inside-story
.bn-story-image,

.behind-network-page
.bn-dual-story-grid
.bn-split-story
.bn-story-image,
.behind-network-page
.bn-dual-story-grid
.bn-split-story
.bn-story-image-tall {
    display: block;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    justify-self: end;
    align-self: start !important;

    object-fit: initial !important;
    object-position: initial !important;

    border:
        1px solid rgba(151, 170, 255, 0.30) !important;

    border-radius: 16px !important;

    background:
        radial-gradient(
            ellipse at 50% 46%,
            rgba(70, 217, 255, 0.12) 0%,
            rgba(62, 83, 145, 0.08) 35%,
            transparent 68%
        ),
        linear-gradient(
            145deg,
            #101728 0%,
            #080d19 48%,
            #111827 100%
        ) !important;

    outline: 1px solid rgba(255, 255, 255, 0.025) !important;
    outline-offset: -8px !important;

    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.42),
        0 0 26px rgba(70, 217, 255, 0.07),
        inset 0 0 0 1px rgba(255, 255, 255, 0.025),
        inset 0 0 34px rgba(93, 112, 205, 0.035) !important;
}

/* Keep both text columns pinned to the top. */
.behind-network-page
.bn-dual-story-grid
.bn-inside-story
.bn-split-copy,

.behind-network-page
.bn-dual-story-grid
.bn-split-story
.bn-split-copy {
    align-self: start !important;
    min-width: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

/* When the outer cards become narrow, place the photo below. */
@media (max-width: 1180px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-inside-story,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story {
        grid-template-columns: 1fr !important;
    }

    .behind-network-page
    .bn-dual-story-grid
    .bn-inside-story
    .bn-story-image,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story
    .bn-story-image,
    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story
    .bn-story-image-tall {
        width: min(100%, 390px) !important;

        justify-self: center;
    }
}

/*
 * Once the two main cards stack, there is enough width to put
 * the portrait photo beside the text again.
 */
@media (max-width: 900px) and (min-width: 681px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-inside-story,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story {
        grid-template-columns:
            minmax(0, 1fr)
            clamp(220px, 32vw, 290px) !important;
    }

    .behind-network-page
    .bn-dual-story-grid
    .bn-inside-story
    .bn-story-image,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story
    .bn-story-image,
    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story
    .bn-story-image-tall {
        width: 100% !important;
        justify-self: end;
    }
}

@media (max-width: 680px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-inside-story,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story {
        grid-template-columns: 1fr !important;
    }

    .behind-network-page
    .bn-dual-story-grid
    .bn-inside-story
    .bn-story-image,

    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story
    .bn-story-image,
    .behind-network-page
    .bn-dual-story-grid
    .bn-split-story
    .bn-story-image-tall {
        width: min(100%, 360px) !important;
        justify-self: center;
    }
}

/* END I85 PORTRAIT STORY PHOTOS */


/* BEGIN I85 INSIDE RACK IMAGE SCALE */

/* Fine-tuned to visually match the Protecting Your World photo. */
.behind-network-page
.bn-dual-story-grid
.bn-inside-story
.bn-story-image {
    width: clamp(235px, 18vw, 290px) !important;

    height: clamp(295px, 21vw, 350px) !important;
    min-height: clamp(295px, 21vw, 350px) !important;
    max-height: 350px !important;

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

    justify-self: end !important;
    align-self: start !important;
}

.behind-network-page
.bn-dual-story-grid
.bn-inside-story {
    grid-template-columns:
        minmax(0, 1fr)
        clamp(235px, 18vw, 290px) !important;
}

@media (max-width: 1180px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-inside-story
    .bn-story-image {
        width: min(100%, 410px) !important;
        height: clamp(300px, 44vw, 390px) !important;
        min-height: 300px !important;
        max-height: 390px !important;

        justify-self: center !important;
    }
}

@media (max-width: 900px) and (min-width: 681px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-inside-story {
        grid-template-columns:
            minmax(0, 1fr)
            clamp(235px, 31vw, 290px) !important;
    }

    .behind-network-page
    .bn-dual-story-grid
    .bn-inside-story
    .bn-story-image {
        width: 100% !important;
        height: clamp(295px, 39vw, 350px) !important;
        min-height: 295px !important;
        max-height: 350px !important;

        justify-self: end !important;
    }
}

@media (max-width: 680px) {
    .behind-network-page
    .bn-dual-story-grid
    .bn-inside-story
    .bn-story-image {
        width: min(100%, 380px) !important;
        height: clamp(295px, 86vw, 390px) !important;
        min-height: 295px !important;
        max-height: 390px !important;

        justify-self: center !important;
    }
}

/* END I85 INSIDE RACK IMAGE SCALE */


/* BEGIN I85 FINAL DETAIL POLISH */


/* =========================================================
   HERO — FINAL POSITIONING
   ========================================================= */

@media (min-width: 981px) {
    .behind-network-page .bn-hero-content {
        transform: translateY(-52px) !important;
    }
}


/* =========================================================
   FOUNDATION ICONS
   More presence without making the cards feel oversized.
   ========================================================= */

.behind-network-page .bn-foundation-icon {
    width: 58px !important;
    height: 58px !important;

    border-width: 2px !important;

    background:
        radial-gradient(
            circle at 35% 25%,
            rgba(70, 217, 255, 0.16),
            transparent 56%
        ),
        rgba(70, 217, 255, 0.065) !important;

    box-shadow:
        0 0 28px rgba(70, 217, 255, 0.14),
        inset 0 0 18px rgba(255, 255, 255, 0.025) !important;
}

.behind-network-page .bn-foundation-icon i {
    font-size: 1.55rem !important;

    filter:
        drop-shadow(0 0 8px rgba(70, 217, 255, 0.30));
}


/* =========================================================
   TIMELINE — YEAR AND NODE EMPHASIS
   ========================================================= */

.behind-network-page .bn-timeline-year {
    margin-bottom: 10px !important;

    color: rgba(102, 224, 255, 0.98) !important;

    font-size: 0.94rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.17em !important;

    text-shadow:
        0 0 14px rgba(70, 217, 255, 0.18);
}

.behind-network-page .bn-timeline-marker {
    width: 18px !important;
    height: 18px !important;

    border-width: 3px !important;

    background:
        radial-gradient(
            circle at 35% 30%,
            #d8fbff,
            var(--bn-cyan) 38%,
            #2f9fd1 100%
        ) !important;

    box-shadow:
        0 0 0 2px rgba(70, 217, 255, 0.20),
        0 0 18px rgba(70, 217, 255, 0.72),
        0 0 34px rgba(70, 217, 255, 0.20) !important;
}

.behind-network-page .bn-timeline::before {
    top: 14px !important;
}


/* =========================================================
   PAGE END / FOOTER TRANSITION
   ========================================================= */

.behind-network-page {
    padding-bottom: 44px;
}

/* Hero/Foundation divider removed */

.behind-network-page .bn-closing {
    margin-bottom: -8px !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 760px) {
    .behind-network-page {
        padding-bottom: 12px;
    }

    /* Hero/Foundation divider removed */

    .behind-network-page .bn-foundation-icon {
        width: 54px !important;
        height: 54px !important;
    }

    .behind-network-page .bn-timeline-year {
        font-size: 0.86rem !important;
    }
}


/* END I85 FINAL DETAIL POLISH */


/* BEGIN I85 TIMELINE FUTURE ARROW */

/* Allow the arrow to extend slightly beyond the timeline. */
.behind-network-page .bn-timeline {
    position: relative;
    overflow: visible;
}

/* Extend the timeline connector toward the arrow. */
.behind-network-page .bn-timeline::before {
    right: 2px !important;
}

/* Small forward-pointing arrow at the end of the timeline. */
.behind-network-page .bn-timeline::after {
    content: "";

    position: absolute;
    top: 8px;
    right: -4px;

    width: 14px;
    height: 14px;

    border-top: 3px solid rgba(96, 224, 255, 0.94);
    border-right: 3px solid rgba(96, 224, 255, 0.94);

    transform: rotate(45deg);

    filter:
        drop-shadow(0 0 6px rgba(70, 217, 255, 0.68));

    pointer-events: none;
}

@media (max-width: 760px) {
    .behind-network-page .bn-timeline::after {
        display: none;
    }
}

/* END I85 TIMELINE FUTURE ARROW */


/* BEGIN I85 GENESIS TIMELINE ORIGIN */

/*
 * The Genesis photograph becomes the physical origin of the
 * timeline, complementing the future arrow at the far right.
 */
.behind-network-page .bn-timeline {
    grid-template-columns:
        minmax(120px, 128px)
        repeat(4, minmax(0, 1fr)) !important;

    column-gap: clamp(18px, 2vw, 30px) !important;
    overflow: visible !important;
}

/*
 * The timeline line begins underneath the right edge of the
 * photograph, creating the illusion that it emerges from it.
 */
.behind-network-page .bn-timeline::before {
    left: 118px !important;
    right: 2px !important;
}

.behind-network-page .bn-timeline-origin {
    position: relative;
    z-index: 4;

    align-self: start;

    width: 128px;
    height: 150px;

    margin: 2px 0 0;
    overflow: hidden;

    border: 2px solid rgba(255, 232, 175, 0.72);
    border-radius: 15px;

    background: #060a14;

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.48),
        0 0 10px rgba(255, 255, 255, 0.72),
        0 0 24px rgba(255, 232, 166, 0.50),
        0 0 48px rgba(255, 214, 115, 0.22),
        0 0 62px rgba(70, 217, 255, 0.10),
        inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.behind-network-page .bn-timeline-origin img {
    display: block;

    width: 100%;
    height: 100%;

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

    transform: none; /* cleaned: former scale(1.15) */

    filter:
        brightness(0.94)
        contrast(1.055)
        saturate(0.98);

    transition:
        filter 220ms ease;
}

.behind-network-page .bn-timeline-origin:hover img {
    filter:
        brightness(1.07)
        contrast(1.08)
        saturate(1.06);
}

/* A small illuminated connection where the line leaves the photo. */
.behind-network-page .bn-timeline-origin::after {
    content: "";

    position: absolute;
    top: 13px;
    right: -2px;

    width: 13px;
    height: 4px;

    border-radius: 999px;

    background: rgba(96, 224, 255, 0.94);

    box-shadow:
        0 0 8px rgba(70, 217, 255, 0.78),
        0 0 16px rgba(70, 217, 255, 0.28);
}


/* Preserve the existing compact timeline on smaller screens. */
@media (max-width: 900px) {
    .behind-network-page .bn-timeline {
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;
    }

    .behind-network-page .bn-timeline-origin {
        display: none;
    }

    .behind-network-page .bn-timeline::before {
        left: 8px !important;
    }
}


.behind-network-page .bn-timeline-origin:hover {
    border-color: rgba(255, 244, 205, 0.96);

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.48),
        0 0 13px rgba(255, 255, 255, 0.90),
        0 0 30px rgba(255, 232, 166, 0.68),
        0 0 58px rgba(255, 214, 115, 0.32),
        0 0 76px rgba(70, 217, 255, 0.14),
        inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

/* END I85 GENESIS TIMELINE ORIGIN */

/* BEGIN I85 WORKSHOP PHOTO CLEANUP V1 */

.behind-network-page .bn-gallery-photo {
    position: relative;
    overflow: hidden;

    height: 420px !important;
    min-height: 420px !important;
    margin: 0;

    border: 1px solid rgba(127, 140, 255, 0.18);
    border-radius: 19px;

    background: #050711;

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.30);

    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.behind-network-page .bn-gallery-photo:hover {
    transform: translateY(-3px);

    border-color: rgba(70, 217, 255, 0.32);

    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.40),
        0 0 24px rgba(70, 217, 255, 0.08);
}

.behind-network-page .bn-gallery-photo img {
    display: block;

    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    max-height: 420px !important;

    object-fit: cover !important;

    background: #050711;

    filter:
        brightness(0.94)
        contrast(1.055)
        saturate(0.98) !important;

    transform: none !important;

    transition:
        filter 220ms ease !important;
}

.behind-network-page .bn-gallery-photo:hover img {
    transform: none !important;

    filter:
        brightness(1)
        contrast(1.06)
        saturate(1.02) !important;
}

.behind-network-page
.bn-gallery-grid
.bn-gallery-photo:nth-child(1) img {
    object-position: center 42% !important;
}

.behind-network-page
.bn-gallery-grid
.bn-gallery-photo:nth-child(2) img {
    object-position: center 48% !important;
}

.behind-network-page
.bn-gallery-grid
.bn-gallery-photo:nth-child(3) img {
    object-position: center 18% !important;
}

.behind-network-page .bn-gallery-photo figcaption {
    padding: 72px 18px 18px !important;
}

@media (max-width: 680px) {
    .behind-network-page .bn-gallery-photo,
    .behind-network-page .bn-gallery-photo img {
        height: 360px !important;
        min-height: 360px !important;
        max-height: 360px !important;
    }

    .behind-network-page
    .bn-gallery-grid
    .bn-gallery-photo:nth-child(3) img {
        object-position: center 14% !important;
    }
}

/* END I85 WORKSHOP PHOTO CLEANUP V1 */

/* BEGIN I85 GENESIS IMAGE CLEANUP V1 */

/*
 * Render the original Genesis photograph at its natural scale.
 * The old scale(1.15) enlarged the image unnecessarily and
 * softened fine details inside the compact timeline frame.
 */
.behind-network-page .bn-timeline-origin img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

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

    transform: none !important;

    image-rendering: auto;

    filter:
        brightness(0.96)
        contrast(1.06)
        saturate(1) !important;

    transition:
        filter 220ms ease !important;
}

.behind-network-page .bn-timeline-origin:hover img {
    transform: none !important;

    filter:
        brightness(1.06)
        contrast(1.075)
        saturate(1.04) !important;
}

/* END I85 GENESIS IMAGE CLEANUP V1 */

/* BEGIN I85 FLOATING HOME BUTTON */

.behind-network-page .i85-floating-home {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 1200;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;
    padding: 0;

    border: 1px solid rgba(111, 229, 255, 0.82);
    border-radius: 50%;

    color: #f7fbff !important;

    background:
        radial-gradient(
            circle at 68% 20%,
            rgba(255, 212, 136, 0.14),
            transparent 34%
        ),
        radial-gradient(
            circle at 24% 24%,
            rgba(70, 217, 255, 0.22),
            transparent 44%
        ),
        linear-gradient(
            145deg,
            rgba(12, 20, 36, 0.985),
            rgba(4, 8, 17, 0.995)
        );

    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.50),
        0 0 0 1px rgba(70, 217, 255, 0.16),
        0 0 28px rgba(70, 217, 255, 0.26),
        0 0 42px rgba(255, 205, 126, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 0 22px rgba(70, 217, 255, 0.035);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    text-decoration: none !important;

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;

    animation:
        i85FloatingHomeBreathe 4.8s ease-in-out infinite;
}

.behind-network-page .i85-floating-home::before {
    content: "";

    position: absolute;
    inset: -5px;

    border-radius: 50%;
    pointer-events: none;

    border: 1px solid rgba(70, 217, 255, 0.08);

    box-shadow:
        0 0 18px rgba(70, 217, 255, 0.09);

    opacity: 0.75;
}

.behind-network-page .i85-floating-home:hover {
    transform: translateY(-3px);

    border-color: rgba(130, 239, 255, 0.88);

    color: #ffffff !important;

    background:
        radial-gradient(
            circle at 68% 20%,
            rgba(255, 215, 143, 0.18),
            transparent 36%
        ),
        radial-gradient(
            circle at 24% 24%,
            rgba(70, 217, 255, 0.30),
            transparent 46%
        ),
        linear-gradient(
            145deg,
            rgba(15, 27, 47, 0.99),
            rgba(5, 10, 20, 1)
        );

    box-shadow:
        0 20px 44px rgba(0, 0, 0, 0.56),
        0 0 0 1px rgba(70, 217, 255, 0.12),
        0 0 30px rgba(70, 217, 255, 0.28),
        0 0 52px rgba(255, 205, 126, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        inset 0 0 26px rgba(70, 217, 255, 0.05);

    animation-play-state: paused;
}

.behind-network-page .i85-floating-home:focus-visible {
    outline: 3px solid rgba(120, 232, 255, 0.78);
    outline-offset: 4px;
}

.behind-network-page .i85-floating-home .bi-house-door-fill {
    font-size: 1.38rem;

    color: rgba(255, 222, 162, 0.98);

    filter:
        drop-shadow(0 0 7px rgba(255, 202, 112, 0.28));
}

@keyframes i85FloatingHomeBreathe {
    0%,
    100% {
        box-shadow:
            0 16px 36px rgba(0, 0, 0, 0.50),
            0 0 0 1px rgba(70, 217, 255, 0.08),
            0 0 22px rgba(70, 217, 255, 0.14),
            0 0 38px rgba(255, 205, 126, 0.035),
            inset 0 1px 0 rgba(255, 255, 255, 0.07),
            inset 0 0 22px rgba(70, 217, 255, 0.035);
    }

    50% {
        box-shadow:
            0 16px 36px rgba(0, 0, 0, 0.50),
            0 0 0 1px rgba(70, 217, 255, 0.11),
            0 0 28px rgba(70, 217, 255, 0.21),
            0 0 44px rgba(255, 205, 126, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            inset 0 0 24px rgba(70, 217, 255, 0.045);
    }
}

@media (max-width: 680px) {
    .behind-network-page .i85-floating-home {
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));

        width: 54px;
        height: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .behind-network-page .i85-floating-home {
        animation: none !important;
        transition-duration: 1ms !important;
    }
}

/* END I85 FLOATING HOME BUTTON */

/* BEGIN I85 REMOVE FOUNDATION CHAPTER DIVIDER */

/*
 * Remove only the chapter divider rendered after
 * Built for the Long Haul and above The Foundation.
 */
.behind-network-page > .bn-section.bn-philosophy:not(:last-of-type)::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    box-shadow: none !important;
    filter: none !important;
}

/* END I85 REMOVE FOUNDATION CHAPTER DIVIDER */
