:root {
    --bricks-color-jeqrxz: #08334f;
    --bricks-color-rcobdv: #ffffff;
    --bricks-color-liczzk: #000000;
    --bricks-color-eitdgj: #3698cc;
    --bricks-color-xpxmji: #08334f;
    --bricks-color-rfdboq: #0d1e2c;
    --bricks-color-opdvly: #142b3d;
    --bricks-color-ovuszo: #1f4159;
    --bricks-color-vbvxux: #d36915;
    --bricks-color-vgdawj: #f08030;
    --bricks-color-htmsyf: #f0f5f8;
    --bricks-color-pogsga: #d8e8f0;
    --bricks-color-ujxheb: #c0d8e8;
}

/* Adding the text selection color */
::selection {
    background-color: #3698CC;
    color: var(--bricks-color-rcobdv);
}

::-moz-selection {
    background-color: #3698CC;
    color: var(--bricks-color-rcobdv);
}

.brxe-button {
  transition: transform 0.1s ease, background-color 0.1s ease;
  position: relative;
  transform: translate(0, 0) scale(1);
  will-change: transform;
}

.brxe-button:active {
  transform: scale(0.90);
}

/* .text-highlight {
    background: linear-gradient(to top, color-mix(in srgb, var(--bricks-color-vbvxux) 90%, transparent) 40%, transparent 40%) !important;
    padding: 0 2px !important;
} */

.text-highlight {
    color: var(--bricks-color-vgdawj);
    padding: 0 2px !important;
}

.text-highlight-dark {
    color: var(--bricks-color-rfdboq);
    padding: 0 2px !important;
}

.text-highlight-blue {
    color: var(--bricks-color-eitdgj);
    padding: 0 2px !important;
}

.text-highlight-navy {
    color: var(--bricks-color-xpxmji);
    padding: 0 2px !important;
}

.mega-menu-container {
    display: flex;
    gap: 32px;
    width: 100%;
}

.mega-menu-sidebar {
    flex: 0 0 260px;
    min-width: 260px;
    border-right: 1px solid var(--bricks-color-ovuszo);
    min-height: 100vh;
}

.mega-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mega-menu-parent-item {
    display: flex;
    align-items: center;
    gap: 0;
    background: transparent;
    border-bottom: 1px solid var(--bricks-color-ovuszo);
    color: var(--bricks-color-rcobdv);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.mega-menu-parent-item:hover {
    text-decoration: none;
}

.mega-menu-parent-item.active {
    background: var(--bricks-color-xpxmji);
}

.mega-menu-parent-item.active .mega-menu-parent-subtext {
    color: var(--bricks-color-fvpnio);
}

.mega-menu-parent-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    flex: 1;
    color: var(--bricks-color-rcobdv);
    text-decoration: none;
    font-size: 18px;
    line-height: 1.2;
    transition: all 0.2s ease;
}

.mega-menu-parent-link:hover {
    background: var(--bricks-color-xpxmji);
    text-decoration: none;
}

.mega-menu-parent-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.mega-menu-parent-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-menu-parent-title {
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.2;
}

.mega-menu-parent-subtext {
    font-size: 12px;
    line-height: 1.4;
    color: var(--bricks-color-fvpnio);
}

.mega-menu-content {
    display: flex;
    position: relative;
    padding: 40px 0px;
    justify-content: center;
    width: 100%;
}

.mega-menu-panel {
    display: none;
    width: 100%;
}

.mega-menu-panel.active {
    display: flex;
    width: 100%;
    justify-content: center;
}

.mega-menu-shortcode-content {
    width: 100%;
}

.mega-menu-panel-wrapper {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 32px;
    width: 100%;
    max-width: 1400px;
}

.mega-menu-panel-left {
    flex: 0 0 50%;
    width: 50%;
    padding: 20px 0;
    position: relative;
    max-height: calc(90vh - 150px);
}

.mega-menu-panel-right {
    flex: 0 0 50%;
    width: 50%;
    max-height: calc(90vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu-hero-image {
    width: 85%;
    /* max-width: 420px; */
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.mega-menu-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-left: 22px;
    margin-bottom: 20px;
}

.mega-menu-hero-title {
    font-size: 34px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--bricks-color-vbvxux);
}

.basic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 16px;
    text-decoration: none;
    gap: 0;
    padding: 4px 0;
    border-radius: 0;
    color: var(--bricks-color-rcobdv);
    background-color: transparent;
    transition: color 0.2s ease;
}

.basic-btn i {
    width: 0;
    opacity: 0;
    overflow: hidden;
    margin-left: 0;
    transform: translateX(-6px);
    transition:
        width 0.25s ease,
        opacity 0.2s ease,
        margin-left 0.25s ease,
        transform 0.25s ease;
}

.basic-btn::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: var(--bricks-color-rcobdv);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.basic-btn:hover {
    text-decoration: none;
    color: var(--bricks-color-rcobdv);
}

.basic-btn:hover i {
    width: 1em;
    opacity: 1;
    margin-left: 8px;
    transform: translateX(0);
}

.basic-btn:hover::after {
    transform: scaleX(1);
}

.mega-menu-hero-title-first {
    color: var(--bricks-color-rcobdv);
}

.mega-menu-children-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega-menu-parent-item:has(.mega-menu-parent-link:hover) .mega-menu-expand-btn:not(:hover) {
    background: transparent;
}

.mega-menu-parent-item:has(.mega-menu-expand-btn:hover) .mega-menu-parent-link:not(:hover) {
    background: transparent;
}

.mega-menu-expand-btn {
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-left: 1px solid var(--bricks-color-ovuszo);
    color: var(--bricks-color-rcobdv);
    padding: 18px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.mega-menu-expand-btn:hover,
.mega-menu-expand-btn.active {
    background: var(--bricks-color-xpxmji);
    color: var(--bricks-color-vbvxux);
}

.mega-menu-child-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 700px;
    gap: 10px;
    padding: 18px 22px;
    background: var(--bricks-color-rfdboq);
    border: 1px solid var(--bricks-color-rfdboq);
    border-radius: 0;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.mega-menu-child-item:hover {
    transform: translateX(2px);
    background: var(--bricks-color-xpxmji);
    border: 1px solid var(--bricks-color-xpxmji);
    text-decoration: none;
}

.mega-menu-child-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}


.mega-menu-child-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-menu-int-icon {
    display: none;
    transition: all 0.2s ease;
}

.mega-menu-child-item:hover .mega-menu-int-icon {
    display: block;
}

.mega-menu-int-icon i {
    font-size: 16px;
}

.mega-menu-child-title {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--bricks-color-fvpnio);
}

.mega-menu-child-subtext {
    font-size: 15px;
    line-height: 1.4;
    color: var(--bricks-color-fvpnio);
}

/* Laptop responsiveness */
@media (max-width: 1440px) {
    .mega-menu-sidebar {
        flex: 0 0 230px;
        min-width: 230px;
    }

    .mega-menu-parent-link {
        font-size: 16px;
        padding: 16px 18px;
    }

    .mega-menu-parent-title {
        font-size: 16px;
    }

    .mega-menu-parent-subtext {
        font-size: 11px;
    }

    .mega-menu-hero-title {
        font-size: 24px;
    }

    .mega-menu-child-title {
        font-size: 18px;
    }

    .mega-menu-child-subtext {
        font-size: 14px;
    }

    .basic-btn, .job-pill {
        font-size: 15px;
    }
}

@media (max-width: 1200px) {
    .mega-menu-container {
        gap: 24px;
    }

    .mega-menu-panel-wrapper {
        gap: 24px;
    }

    .mega-menu-parent-link {
        font-size: 15px;
        padding: 14px 16px;
    }

    .mega-menu-parent-title {
        font-size: 15px;
    }

    .mega-menu-hero-title {
        font-size: 22px;
    }

    .mega-menu-child-item {
        padding: 16px 18px;
    }

    .mega-menu-child-title {
        font-size: 17px;
    }

    .mega-menu-child-subtext {
        font-size: 13px;
    }

    .basic-btn, .job-pill {
        font-size: 15px;
    }
}

.mega-menu-shortcode-content {
    display: flex;
    width: 100%;
    justify-content: center;
}

.mega-menu-panel-wrapper.no-hero .mega-menu-panel-left {
    flex: 0 0 100%;
    width: 100%;
    max-height: none;
}

.mega-menu-panel-wrapper.no-hero .mega-menu-children-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 1200px) {
    .mega-menu-panel-wrapper.no-hero .mega-menu-children-grid {
        grid-template-columns: 1fr 1fr;
    }
}




/*Results for Aaron's Cohesion Assessement*/
@media screen and (max-width: 800px) {
    .results-small-container {
        width: 49% !important;
    }
}

@media screen and (max-width: 500px) {
    .results-small-container {
        width: 100% !important;
    }
}

.download-results-btn {
    margin-top: 15px;
    background-color: var(--bricks-color-vbvxux);
    padding: 12px 18px;
    color: var(--bricks-color-rcobdv);
}


.results-small-container {
    padding: 25px 20px;
    width: calc(100% - 10px);
    border: solid 1px var(--bricks-color-ovuszo);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: space-between;
}

.results-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}

.results-head {
    color: var(--bricks-color-rcobdv);
    font-size: 28px;
    margin-bottom: 15px;
}

.results-small-head {
    color: var(--bricks-color-rcobdv);
    font-size: 22px;
}

.results-content {
    color: var(--bricks-color-rcobdv);
}

.results-number {
    color: var(--bricks-color-rcobdv);
    font-size: 20px;
}


/* Animation Styles */
:root {
    --fade-duration: 300ms;
    --fade-distance: 45px;
    --fade-scale: 0.96;
    --fade-blur: 10px;
}

.fade-in-view {
    opacity: 0 !important;
    transform: translateY(var(--fade-distance)) scale(var(--fade-scale)) !important;
    filter: blur(var(--fade-blur)) !important;
    transition:
        opacity var(--fade-duration) ease,
        transform var(--fade-duration) ease,
        filter var(--fade-duration) ease !important;
    will-change: opacity, transform, filter;
}

.fade-in-view.is-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    filter: blur(0) !important;
}

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

    .fade-in-view,
    .fade-in-view.is-visible {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}

/* Styling got gravoty forms lets talk form */
#field_55_7 {
    --gc-accent: #d36915;
    --gc-box: #142B3D;
    --gc-box-border: #1f4159;
    --gc-text: #ffffff;
}

#field_55_7 .gfield_checkbox {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#field_55_7 .gfield_checkbox .gchoice {
    display: flex;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

#field_55_7 .gfield_checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

#field_55_7 .gfield_checkbox label {
    display: flex !important;
    flex: 1 1 auto;
    width: 100% !important;
    max-width: none !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    min-height: 110px;
    margin: 0;
    padding: 28px 22px;
    border: 2px solid var(--gc-box-border);
    border-radius: 0px;
    background: var(--gc-box);
    color: var(--gc-text);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .12s ease;
}

#field_55_7 .gfield_checkbox label:hover {
    border-color: var(--gc-accent);
    background: linear-gradient(rgba(211, 105, 21, .22), rgba(211, 105, 21, .22)), var(--gc-box);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
    transform: translateY(-2px);
}

#field_55_7 .gfield_checkbox input:focus-visible+label {
    outline: 2px solid var(--gc-accent);
    outline-offset: 2px;
}

#field_55_7 .gfield_checkbox input:checked+label {
    border-color: var(--gc-accent);
    background: linear-gradient(rgba(211, 105, 21, .42), rgba(211, 105, 21, .42)), var(--gc-box);
    box-shadow: 0 8px 22px rgba(211, 105, 21, .28);
}

#field_55_7 .gfield_checkbox input:checked+label::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gc-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}

@media (max-width: 1024px) {
    #field_55_7 .gfield_checkbox {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #field_55_7 .gfield_checkbox label {
        min-height: 88px;
        padding: 22px 18px;
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    #field_55_7 .gfield_checkbox label {
        min-height: 72px;
        padding: 18px 16px;
    }
}

/* JS animation */
.circular-animation {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.circular-animation>canvas.circular-animation-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.circular-animation>*:not(.circular-animation-canvas) {
    position: relative;
    z-index: 2;
}

.circular-animation-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.circular-animation> :not(canvas) {
    position: relative;
    z-index: 2;
}

.circular-animation::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 45%, rgba(13, 30, 44, 0) 25%, rgba(13, 30, 44, 0.88) 100%);
}

/* Values Animation — same pattern as .circular-animation */
.values-animation {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.values-animation>canvas.values-animation-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.values-animation> :not(canvas) {
    position: relative;
    z-index: 2;
}

.values-animation::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 45%, rgba(13, 30, 44, 0) 25%, rgba(13, 30, 44, 0.88) 100%);
}

/* Summit Animation — same pattern as .circular-animation */
.summit-animation {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.summit-animation>canvas.summit-animation-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.summit-animation> :not(canvas) {
    position: relative;
    z-index: 2;
}

.summit-animation::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 45%, rgba(13, 30, 44, 0) 25%, rgba(13, 30, 44, 0.88) 100%);
}

/* Shield Animation — same pattern as .circular-animation */
.shield-animation {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.shield-animation>canvas.shield-animation-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.shield-animation> :not(canvas) {
    position: relative;
    z-index: 2;
}

.shield-animation::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 45%, rgba(13, 30, 44, 0) 25%, rgba(13, 30, 44, 0.88) 100%);
}

/* Lattice Animation — same pattern as .circular-animation */
.lattice-animation {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.lattice-animation>canvas.lattice-animation-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.lattice-animation> :not(canvas) {
    position: relative;
    z-index: 2;
}

.lattice-animation::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 45%, rgba(13, 30, 44, 0) 25%, rgba(13, 30, 44, 0.88) 100%);
}

.story-animation {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.story-animation>canvas.story-animation-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
}

.story-animation> :not(canvas) {
	position: relative;
	z-index: 2;
}

.story-animation::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(ellipse at 50% 45%, rgba(13, 30, 44, 0) 25%, rgba(13, 30, 44, 0.88) 100%);
}

.horizon-story-timeline {
	position: relative;
	width: 100%;
	background: var(--bricks-color-rfdboq);
	color: var(--bricks-color-rcobdv);
	border-radius: 0;
	overflow: visible;
}

.horizon-story-timeline * {
	box-sizing: border-box;
}

.horizon-story-sticky {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	background: var(--bricks-color-rfdboq);
	border-radius: 0;
}

.horizon-story-timeline-nav {
	position: relative;
	z-index: 5;
	width: 100%;
	padding: 38px clamp(16px, 3vw, 48px) 22px;
	background: var(--bricks-color-rfdboq);
	overflow: hidden;
	border-radius: 0;
}

.horizon-story-progress-track {
	position: absolute;
	left: clamp(16px, 3vw, 48px);
	right: clamp(16px, 3vw, 48px);
	top: 47px;
	height: 2px;
	background: rgba(216, 232, 240, 0.35);
	z-index: 1;
	border-radius: 0;
}

.horizon-story-progress-fill {
	width: 0%;
	height: 100%;
	background: var(--bricks-color-vgdawj);
	will-change: width;
	border-radius: 0;
}

.horizon-story-dots {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0;
	width: 100%;
	overflow: visible;
	padding-bottom: 8px;
}

.horizon-story-dot {
	position: relative;
	display: inline-flex;
	flex: 1 1 0;
	min-width: 0;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bricks-color-pogsga);
	cursor: pointer;
	border-radius: 0;
	appearance: none;
	-webkit-appearance: none;
}

.horizon-story-dot-marker {
	display: block;
	width: 18px;
	height: 18px;
	background: var(--bricks-color-rfdboq);
	border: 2px solid var(--bricks-color-pogsga);
	border-radius: 0;
	transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.horizon-story-dot-date {
	display: block;
	max-width: 100%;
	font-size: clamp(10px, 0.85vw, 13px);
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	color: var(--bricks-color-pogsga);
	transition: color 200ms ease;
}

.horizon-story-dot:hover .horizon-story-dot-marker,
.horizon-story-dot:focus-visible .horizon-story-dot-marker,
.horizon-story-dot.is-active .horizon-story-dot-marker {
	background: var(--bricks-color-vgdawj);
	border-color: var(--bricks-color-vgdawj);
	transform: scale(1.15);
}

.horizon-story-dot:hover .horizon-story-dot-date,
.horizon-story-dot:focus-visible .horizon-story-dot-date,
.horizon-story-dot.is-active .horizon-story-dot-date {
	color: var(--bricks-color-rcobdv);
}

.horizon-story-viewport {
	position: relative;
	width: 100%;
	height: calc(100vh - 94px);
	overflow: hidden;
	border-radius: 0;
}

.horizon-story-track {
	display: flex;
	width: 100%;
	height: 100%;
	will-change: transform;
}

.horizon-story-panel {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	min-width: 100%;
	height: 100%;
	border-radius: 0;
	overflow: hidden;
	scroll-margin-top: 0;
}

.horizon-story-panel-inner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
	width: 100%;
	height: 100%;
	padding: clamp(32px, 5vw, 72px);
	border-radius: 0;
}

.horizon-story-content {
	max-width: 680px;
	will-change: transform, opacity;
}

.horizon-story-date {
	display: inline-block;
	margin-bottom: 18px;
	padding: 8px 12px;
	background: var(--bricks-color-vbvxux);
	color: var(--bricks-color-rcobdv);
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	border-radius: 0;
}

.horizon-story-title {
	margin: 0 0 18px;
	color: var(--bricks-color-rcobdv);
	font-size: clamp(34px, 5vw, 46px);
}

.horizon-story-description p {
	margin-top: 0;
}

.horizon-story-description p:last-child {
	margin-bottom: 0;
}

.horizon-story-button-wrap {
	margin-top: 28px;
}

.horizon-story-button.brxe-button.horizon-btn {
	border-radius: 0;
}

.horizon-story-media {
	position: relative;
	min-height: 420px;
	display: grid;
	align-items: center;
}

.horizon-story-primary-media {
	position: relative;
	z-index: 1;
	width: 100%;
	background: var(--bricks-color-opdvly);
	border: 1px solid rgba(216, 232, 240, 0.18);
	border-radius: 0;
	overflow: hidden;
	will-change: transform;
}

.horizon-story-main-image,
.horizon-story-video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 0;
}

.horizon-story-video {
	background: var(--bricks-color-liczzk);
	pointer-events: none;
}

.horizon-story-secondary-media {
	position: absolute;
	right: -18px;
	bottom: -28px;
	z-index: 2;
	width: min(42%, 280px);
	border: 8px solid var(--bricks-color-rfdboq);
	background: var(--bricks-color-opdvly);
	border-radius: 0;
	will-change: transform;
}

.horizon-story-secondary-image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0;
}

.horizon-story-empty {
	padding: 32px;
	background: var(--bricks-color-htmsyf);
	color: var(--bricks-color-rfdboq);
	border-radius: 0;
}

@media (max-width: 1100px) {
	.horizon-story-panel-inner {
		grid-template-columns: 1fr;
		overflow-y: auto;
	}

	.horizon-story-media {
		min-height: auto;
	}

	.horizon-story-secondary-media {
		position: relative;
		right: auto;
		bottom: auto;
		width: 100%;
		margin-top: 18px;
		border-width: 0;
	}

	.horizon-story-secondary-image {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 700px), (prefers-reduced-motion: reduce) {
	.horizon-story-timeline {
		height: auto !important;
		min-height: 0;
		overflow: visible;
	}

	.horizon-story-sticky {
		position: relative;
		top: auto;
		height: auto;
		overflow: visible;
	}

	.horizon-story-viewport {
		height: auto;
		overflow: visible;
	}

	.horizon-story-track {
		display: block;
		width: 100%;
		height: auto;
		transform: none !important;
		will-change: auto;
	}

	.horizon-story-panel {
		display: block;
		width: 100%;
		min-width: 0;
		height: auto;
		min-height: auto;
		overflow: visible;
		scroll-margin-top: 20px;
		border-bottom: 1px solid rgba(216, 232, 240, 0.18);
	}

	.horizon-story-panel-inner {
		display: grid;
		grid-template-columns: 1fr;
		gap: 28px;
		height: auto;
		min-height: auto;
		padding: 56px 20px;
		overflow: visible;
	}

	.horizon-story-content {
		max-width: 100%;
		transform: none !important;
		opacity: 1 !important;
		will-change: auto;
	}

	.horizon-story-media {
		min-height: auto;
	}

	.horizon-story-primary-media,
	.horizon-story-secondary-media {
		transform: none !important;
		will-change: auto;
	}

	.horizon-story-primary-media {
		width: 100%;
	}

	.horizon-story-secondary-media {
		position: relative;
		right: auto;
		bottom: auto;
		width: 100%;
		margin-top: 18px;
		border-width: 0;
	}

	.horizon-story-secondary-image {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 700px) {
	.horizon-story-timeline-nav {
		display: none;
	}

	.horizon-story-title {
		font-size: clamp(32px, 10vw, 48px);
	}

	.horizon-story-description {
		font-size: 17px;
	}
}

/* Venn Animation — same isolation pattern as .circular-animation */
.venn-animation {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.venn-animation>canvas.venn-animation-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.venn-animation> :not(canvas) {
    position: relative;
    z-index: 2;
}

.venn-animation::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 50%, rgba(13, 30, 44, 0) 38%, rgba(13, 30, 44, 0.72) 100%);
}

/* Text layer sits above the canvas + gradient.
   NOTE: selector is more specific than `.venn-animation > :not(canvas)`
   so it is not forced back to position:relative. */
.venn-animation>.venn-animation-labels {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

/* Each region label — positioned by JS (left/top/max-width inline) */
.venn-region {
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: "Roboto", system-ui, sans-serif;
    color: #F0F5F8;
    text-shadow: 0 1px 10px rgba(13, 30, 44, 0.95), 0 0 2px rgba(13, 30, 44, 0.9);
    pointer-events: auto;
}

.venn-region-title {
    font-weight: 500;
    font-size: clamp(13px, 1.25vw, 17px);
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.venn-region-sub {
    font-weight: 300;
    font-size: clamp(10px, 0.95vw, 12.5px);
    line-height: 1.4;
    color: #C0D8E8;
    margin-top: 3px;
}

/* Overlap + center regions read a touch smaller and tighter */
.venn-region-ab .venn-region-title,
.venn-region-bc .venn-region-title,
.venn-region-ac .venn-region-title {
    font-size: clamp(11px, 1vw, 13.5px);
    color: #D8E8F0;
}

/* The triple-overlap label is the headline of the diagram */
.venn-region-abc .venn-region-title {
    font-weight: 700;
    font-size: clamp(13px, 1.3vw, 18px);
    color: #F08030;
}

.market img {
    object-fit: cover;
    height: 250px;
}

/* Overlay Grid */
.dotgrid-overlay {
    position: relative; /* anchors the overlay */
  }
  
  /* dot layer + dashed guides */
  .dotgrid-overlay::before,
  .dotgrid-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 30%;            /* only the left 30% */
    pointer-events: none;  /* never block clicks */
    z-index: 1;            /* sits over the background */
  }
  
  /* dots */
  .dotgrid-overlay::before {
    background-image: radial-gradient(#1f4159 1px, transparent 1.4px);
    background-size: 22px 22px;
    animation: dotgrid-breathe 7s ease-in-out infinite;
  }
  
  /* faint vertical dashed guide lines */
  .dotgrid-overlay::after {
    background-image: repeating-linear-gradient(
      to bottom,
      #1f4159 0px,
      #1f4159 6px,
      transparent 6px,
      transparent 14px
    );
    background-size: 1px 100%;
    background-repeat: repeat-x;
    -webkit-mask-image: repeating-linear-gradient(to right, #000 0 1px, transparent 1px 88px);
            mask-image: repeating-linear-gradient(to right, #000 0 1px, transparent 1px 88px);
    animation: dotgrid-breathe 9s ease-in-out infinite;
  }
  
  /* keep your real content above the overlay */
  .dotgrid-overlay > * {
    position: relative;
    z-index: 2;
  }
  
  @keyframes dotgrid-breathe {
    0%, 100% { opacity: 0.35; }
    50%      { opacity: 1; }
  }

  /* Solid Left */
  .dotgrid-overlay-solid {
    position: relative;
  }
  
  .dotgrid-overlay-solid::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 30%;
    pointer-events: none;
    z-index: 0;
    background-image:
      linear-gradient(#1f4159, #1f4159),                                          /* SOLID @ 88px */
      repeating-linear-gradient(to bottom, #1f4159 0 6px, transparent 6px 14px),  /* dashed @ 0   */
      repeating-linear-gradient(to bottom, #1f4159 0 6px, transparent 6px 14px),  /* dashed @ 176 */
      repeating-linear-gradient(to bottom, #1f4159 0 6px, transparent 6px 14px),  /* dashed @ 264 */
      repeating-linear-gradient(to bottom, #1f4159 0 6px, transparent 6px 14px),  /* dashed @ 352 */
      repeating-linear-gradient(to bottom, #1f4159 0 6px, transparent 6px 14px),  /* dashed @ 440 */
      repeating-linear-gradient(to bottom, #1f4159 0 6px, transparent 6px 14px),  /* dashed @ 528 */
      radial-gradient(rgba(31,65,89,0.4) 1.3px, transparent 1.6px);              /* dots @ .4 */
    background-size:
      1px 100%,
      1px 100%, 1px 100%, 1px 100%, 1px 100%, 1px 100%, 1px 100%,
      22px 22px;
    background-repeat:
      no-repeat,
      no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat,
      repeat;
    background-position:
      88px 0,
      0 0, 176px 0, 264px 0, 352px 0, 440px 0, 528px 0,
      0 0;
    animation: dotgrid-breathe 8s ease-in-out infinite;
  }
  
  @keyframes dotgrid-breathe {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 1; }
  }