/* ==========================================================================
   Blue Diamond Society — page section styles
   Hero, page hero, impact, timeline, partners marquee, press row, sister tags.
   Background images are set on the sections in Divi, not here.
   ========================================================================== */

:root {
	--navy: #101A5C;
	--blue: #2340D6;
	--blue-2: #3B5BFF;
	--sky: #EEF2FF;
	--sun: #FFC83D;
	--pink: #E8388F;
	--ink: #0D1230;
	--muted: #5A6185;
	--line: #E3E6F3;
	--white: #fff;
	--radius: 18px;
	--wrap: 1200px;
	--display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--body: "Source Sans 3", system-ui, sans-serif;
}

/* ---------- Hero ---------- */
.hero {
	background: var(--navy);
	color: #fff;
	overflow: hidden;
	min-height: 640px;
	display: flex;
	align-items: center;
}
.hero-bg {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	opacity: .32;
	filter: grayscale(.3);
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--navy) 25%, rgba(16, 26, 92, .55) 65%, rgba(16, 26, 92, .2));
}
.diamond-ring {
	position: absolute;
	right: -230px;
	top: 50%;
	width: 620px;
	height: 620px;
	transform: translateY(-50%) rotate(45deg);
	border: 70px solid var(--sun);
	border-radius: 40px;
	opacity: .75;
}
.diamond-sm {
	position: absolute;
	width: 70px;
	height: 70px;
	background: var(--pink);
	transform: rotate(45deg);
	border-radius: 10px;
	opacity: .75;
}
.hero .wrap {
	position: relative;
	z-index: -2;
	padding-top: 90px;
	padding-bottom: 110px;
	width: 100%;
}
.hero .eyebrow { color: var(--sun); }
.hero h1 {
	font-size: clamp(52px, 8vw, 104px);
	text-transform: uppercase;
	max-width: 820px;
	margin: 18px 0 24px;
}
.hero h1 em {
	font-style: normal;
	color: var(--sun);
}
.hero p.lead {
	font-size: 21px;
	max-width: 560px;
	color: #DCE2FF;
	margin-bottom: 36px;
}
.hero .actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}
.hero-badge {
	position: absolute;
	right: 24px;
	bottom: -1px;
	z-index: 3;
	background: #fff;
	color: var(--ink);
	border-radius: var(--radius) var(--radius) 0 0;
	padding: 18px 24px;
	display: flex;
	gap: 16px;
	align-items: center;
	max-width: 420px;
	box-shadow: 0 -10px 40px rgba(0, 0, 0, .15);
}
.hero-badge img {
	width: 64px;
	height: 64px;
	border-radius: 12px;
	object-fit: cover;
}
.hero-badge b {
	font-family: var(--display);
	font-size: 20px;
	line-height: 1.1;
	display: block;
}
.hero-badge small {
	color: var(--muted);
	font-size: 14px;
}

/* ---------- Impact ---------- */
.impact::before {
	content: "";
	position: absolute;
	left: -120px;
	bottom: -160px;
	width: 360px;
	height: 360px;
	border: 50px solid rgba(255, 255, 255, .08);
	transform: rotate(45deg);
	border-radius: 30px;
}

/* ---------- Partners ---------- */
.partners {
	padding: 0 0 100px;
	text-align: center;
}
.partners h4 {
	font-family: var(--body);
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 28px;
}
.marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.track {
	display: flex;
	gap: 16px;
	width: max-content;
	animation: scroll 40s linear infinite;
}
.marquee:hover .track { animation-play-state: paused; }
.chip {
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 18px 28px;
	font-weight: 700;
	color: var(--navy);
	white-space: nowrap;
	font-size: 17px;
}
@keyframes scroll {
	to { transform: translateX(-50%); }
}

/* ---------- Timeline ---------- */
.timeline {
	display: flex;
	gap: 0;
	overflow-x: auto;
	padding-bottom: 20px;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}
.tl {
	flex: 0 0 260px;
	scroll-snap-align: start;
	padding: 5px 28px 0 5px;
	position: relative;
}
.tl::before {
	content: "";
	position: absolute;
	top: 13px;
	left: 0;
	right: 0;
	height: 2px;
	background: rgba(255, 255, 255, .2);
}
.tl .dot {
	width: 28px;
	height: 28px;
	background: var(--sun);
	transform: rotate(45deg);
	border-radius: 6px;
	position: relative;
	margin-bottom: 26px;
	border: 6px solid var(--navy);
	box-shadow: 0 0 0 2px var(--sun);
}
.tl .yr {
	font-family: var(--display);
	font-size: 48px;
	font-weight: 800;
	color: var(--sun);
	line-height: 1;
}
.tl p {
	font-size: 16px;
	color: #DCE2FF;
	margin-top: 10px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	background: var(--navy);
	color: #fff;
	overflow: hidden;
	padding: 110px 0 0;
}
.page-hero .bg {
	position: absolute;
	inset: 0;
	background-position: center 30%;
	background-size: cover;
	opacity: .28;
}
.page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(16, 26, 92, .6), var(--navy) 92%);
}
.page-hero .wrap {
	position: relative;
	z-index: 2;
}
.crumbs {
	font-size: 14px;
	color: #C9D1FF;
	display: flex;
	gap: 10px;
	margin-bottom: 22px;
}
.crumbs a:hover { color: var(--sun); }
.page-hero h1 {
	font-size: clamp(56px, 9vw, 120px);
	text-transform: uppercase;
	line-height: .92;
}
.page-hero h1 em {
	font-style: normal;
	color: var(--sun);
}
.page-hero .lead {
	font-size: 22px;
	max-width: 640px;
	color: #DCE2FF;
	margin: 24px 0 0;
}
.page-hero .ring {
	position: absolute;
	right: -120px;
	top: 40px;
	width: 420px;
	height: 420px;
	border: 56px solid var(--sun);
	transform: rotate(45deg);
	border-radius: 34px;
	z-index: 1;
	opacity: .9;
}

/* ---------- Press ---------- */
.press {
	margin-top: 70px;
	text-align: center;
}
.press h4 {
	font-family: var(--body);
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 24px;
}
.press-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px 36px;
}
.press-row span {
	font-family: Georgia, serif;
	font-size: 24px;
	color: var(--navy);
	opacity: .7;
	transition: .2s;
}
.press-row span:hover { opacity: 1; }

/* ---------- Sister organisations ---------- */
.sis-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	color: #fff;
}
.sis-tags span {
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 15px;
	font-weight: 600;
}
.sis-tags span.more {
	background: var(--sun);
	color: var(--ink);
	border-color: var(--sun);
}
