/* Base Reset */
a {
	text-decoration: none;
}

:root {
    --layout-max-width: 1440px;
    --layout-px: clamp(1.25rem, 4vw, 2.5rem);
	--pill-research-bg: #EDE3FA;
}

.container,
.team-container,
.partner-section__inner,
.card-container {
    width: 100%;
    max-width: var(--layout-max-width);
    margin-inline: auto;
    padding-inline: var(--layout-px);
}

/* Utility Classes */
.text-center {
	text-align: center;
}

/* Hero Section */
.about-hero-viewport {
	background-color: var(--primary-color);
	position: relative;
	min-height: 85vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding: 8rem 0 4rem 0;
	z-index: 1;
}

.about-title {
	font-family: "Otomanopee One Regular", sans-serif;
	font-size: clamp(2.5rem, 5vw, 4rem);
	color: var(--bg-white);
	line-height: 1.1;
	margin: 1.5rem 0;
	letter-spacing: -0.02em;
	text-align: left;
}

.highlight-yellow {
	color: var(--accent-yellow);
	font-family: "Gaegu", sans-serif;
	font-weight: 700;
}

.about-desc {
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.6;
	margin: 0 auto;
	max-width: 640px;
	font-weight: 300;
	text-align: left;
}

/* Science & Method Gallery */
.decoding-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	position: relative;
	z-index: 2;
}

.decoding-gallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;	
}

.decoding-col {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.decoding-col-offset {
	margin-top: 1.5rem;
}

.decoding-img {
	border-radius: 20px;
	overflow: hidden;
	width: 100%;
	position: relative;
}

.decoding-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	filter: grayscale(15%);
	transition: filter 0.4s ease, transform 0.6s ease;
}

.decoding-img:hover img {
	filter: grayscale(0%);
	transform: scale(1.05);
}

.img-tall {
	height: 40rem;
}

.img-short {
	height: 200px;
}

.decoding-stat-box {
	background-color: #1f2a26;
	border-radius: 20px;
	height: 160px;
	display: flex;
	align-items: center;
	overflow: hidden;
	box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.stat-sidebar {
	background-color: var(--accent-yellow);
	color: #232e2a;
	height: 100%;
	padding: 1rem 0.8rem;
	display: flex;
	align-items: center;
	justify-content: center;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 1px;
	text-align: center;
	line-height: 1.2;
}

.stat-number {
	font-family: "Otomanopee One Regular", sans-serif;
	font-size: 4rem;
	color: transparent;
	-webkit-text-stroke: 2px var(--bg-white);
	margin: auto;
	padding-right: 1rem;
}

.decoding-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.decoding-subheading {
	font-family: "Gaegu", sans-serif;
	background: rgba(254, 216, 77, 0.15);
	color: var(--accent-yellow);
	border: 1px solid rgba(254, 216, 77, 0.3);
	padding: 0.4rem 1.2rem;
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}

.decoding-tabs {
	display: flex;
	gap: 1.5rem;
	margin: 1.5rem 0 2rem 0;
	align-items: center;
}

.decoding-tab {
	color: var(--bg-white);
	font-weight: 600;
	font-size: 1rem;
	padding: 0.6rem 1.2rem;
	cursor: pointer;
	border-radius: 50px;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.decoding-tab:hover {
	color: var(--accent-yellow);
}

.decoding-tab.active {
	color: var(--accent-yellow);
	border: 2px dashed var(--accent-yellow);
}

.decoding-check-list {
	list-style: none;
	padding: 0;
	margin: 2rem 0 2.5rem 0;
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

.decoding-check-list li {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: var(--bg-white);
	font-weight: 600;
	font-size: 1.05rem;
}

.decoding-check-list i {
	color: var(--accent-yellow);
	font-size: 1.4rem;
}

.decoding-btn {
	background-color: var(--accent-yellow);
	color: #232e2a;
	padding: 1rem 2.5rem;
	border-radius: 50px;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 0.95rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.decoding-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(230, 137, 51, 0.25);
}

/* Why We Exist */
.about-narrative-section {
	background-color: var(--bg-light);
	padding: 7rem 0;
}

.narrative-intro {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.narrative-intro .section-title {
	color: var(--text-dark);
	margin: 1.25rem 0 1.5rem;
}

.about-narrative-lead {
	font-size: 1.3rem;
	line-height: 1.65;
	color: var(--text-dark);
	font-weight: 500;
}

.narrative-contrast {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 2rem;
	max-width: 980px;
	margin: 4rem auto 0;
}

.contrast-card {
	background: var(--bg-white);
	border-radius: 24px;
	padding: 2.75rem 2rem;
	text-align: center;
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contrast-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-dark);
}

.contrast-card--school {
	background: var(--primary-color);
}

.contrast-card--school .contrast-card__title, .contrast-card--school .contrast-card__desc {
	color: rgba(255, 255, 255, 0.8);
}

.contrast-card--school .contrast-card__stat {
	color: var(--accent-yellow);
}

.contrast-card__icon {
	font-size: 1.75rem;
	color: var(--color-gold);
	margin-bottom: 1rem;
	display: block;
}

.contrast-card--school .contrast-card__icon {
	color: var(--accent-yellow);
}

.contrast-card__stat {
	display: block;
	font-family: "Otomanopee One Regular", sans-serif;
	font-size: 3rem;
	line-height: 1;
	color: var(--color-forest);
	margin-bottom: 0.75rem;
}

.contrast-card__suffix {
	font-size: 1.75rem;
}

.contrast-card__title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0.75rem;
}

.contrast-card__desc {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #4a5568;
}

.contrast-divider {
	display: flex;
	align-items: center;
	justify-content: center;
}

.contrast-divider__badge {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--accent-yellow);
	color: var(--color-forest);
	font-family: "Gaegu", sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-sm);
}

.about-narrative-pullquote {
	max-width: 720px;
	margin: 3.5rem auto 0;
	text-align: center;
	font-family: "Gaegu", sans-serif;
	font-size: 1.65rem;
	line-height: 1.5;
	color: var(--color-forest);
	font-weight: 700;
}


/* Our Philosophy */
.about-philosophy-section {
	background-color: var(--bg-color, #f7f4e9);
	padding: 7rem 0;
	text-align: center;
}

.about-philosophy-section .section-title {
	color: var(--text-dark);
	margin: 1.25rem auto 2rem;
	max-width: 700px;
}

.about-philosophy-lead {
	max-width: 760px;
	margin: 0 auto;
	font-size: 1.3rem;
	line-height: 1.7;
	color: #4a5568;
}

/* Journey   */
.about-narrative-section {
    background-color: #faf8f5;
    padding: 5rem 0;
    color: #112e51;
    overflow: hidden;
    position: relative;
}

.rj-container {   
    margin: 0 auto;
    padding: 0 2rem;
}

.rj-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

/* Typography */
.rj-header {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.rj-title {
    font-family: 'Caveat', cursive, sans-serif; 
    font-size: 2.5rem;
    color: #112e51;
    margin: 0;
    line-height: 1.1;
}

.rj-underline {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    max-width: 250px;
}

.text-yellow {
    color: #f4b73f;
}

/* Timeline Setup */
.rj-timeline-wrapper {
    position: relative;
    padding-left: 30px; 
}

.story-rail {
    position: absolute;
    left: 28px;
    top: 40px; 
    bottom: 60px; 
    width: 2px;
    border-left: 2px dashed #cbd5e1;
    z-index: 1;
}

.story-rail__fill {
    position: absolute;
    top: 0;
    left: -2px;
    width: 2px;
    background-color: #a3e6d2; 
    height: 0%;
    z-index: 2;
}

.rj-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 3;
}

.rj-beat {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0; 
    transform: translateY(30px);
}

/* Timeline Dots */
.rj-dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    left: -28px; 
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rj-dot.is-active {
    transform: scale(1.15);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.rj-dot--yellow { background-color: #fef3c7; color: #d97706; }
.rj-dot--green { background-color: #d1fae5; color: #059669; }
.rj-dot--blue { background-color: #e0f2fe; color: #0284c7; }
.rj-dot--gold { background-color: #f4b73f; color: #fff; }

.rj-icon-text {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Timeline Content */
.rj-beat-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
	text-align: justify;
}

.rj-beat-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #000000;
    margin: 0;
	text-align: justify;
}

.rj-philosophy-card {
    background-color: #fdfaf3;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-top: 1rem;
    border: 1px solid #f8eedc;
}

.rj-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* Right Column Images */
.rj-image-wrapper {
    position: relative;
    width: 100%;
    padding-right: 2rem;
}

.rj-main-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 40px 120px 40px 120px; 
    
    object-fit: cover;
}

.rj-badge-overlay {
    position: absolute;
    top: -30px;
    right: -20px;
    width: 280px;
    z-index: 10;
}

.rj-badge-bg {
    width: 100%;
    height: auto;
    display: block;
}

.rj-badge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-3deg);
    width: 80%;
    color: #fff;
    font-family: 'Caveat', cursive, sans-serif;
    font-size: 0.85rem;
    line-height: 1.3;
}

.rj-badge-text p {
    margin: 0;
}

.rj-heart-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

/* Features Grid */
.rj-philosophy-card {
    background-color: #fdfaf3;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #f8eedc;
    margin-top: -1rem; 
    flex: 1; 
}
/* Features Grid - 5 Columns */
.rj-features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

/* Base Feature Layout */
.rj-feature {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #f8eedc;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.rj-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.rj-feature::after {
    display: none !important;
}

.rj-feature:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #f0e4d4; 
}

/* Icon Container */
.rj-f-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Font Awesome Icon Styling */
.rj-f-icon i {
    font-size: 1.4rem;
    color: #112e51;
    display: block;
}

/* Unique Icon Background Colors */
.icon-bg-yellow { background-color: #fcecd2; }
.icon-bg-green  { background-color: #e5efe5; }
.icon-bg-blue   { background-color: #dce8f1; }
.icon-bg-peach  { background-color: #fae1d1; }
.icon-bg-purple { background-color: #ebdff0; }

/* Typography */
.rj-f-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    color: #112e51;
}

.rj-f-text p {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

/* Bottom Banner */
.rj-bottom-banner {
    background-color: var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--accent-yellow);
}

.rj-bottom-banner p {
    margin: 0;
    font-size: 1.1rem;
}

.rj-banner-heart {
    width: 24px;
    height: 24px;
    color: #112e51;
}

/* Evidence Heading */
.about-evidence-section .section-title {
	color: var(--bg-white);
	max-width: 640px;
	margin: 1.25rem 0 3rem;
}

/* Partners */
.about-partners-section {
	background-color: var(--bg-color, #f7f4e9);
	padding: 7rem 0;
}

.about-partners-section .section-title {
	color: var(--text-dark);
	margin: 1.25rem auto 3.5rem;
	max-width: 760px;
}

.partner-context-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.partner-context-card {
	background: var(--bg-light);
	border-radius: 20px;
	padding: 2.5rem 1.5rem;
	text-align: center;
}

.partner-context-logo {
	max-height: 48px;
	width: auto;
	margin: 0 auto 1rem;
	filter: grayscale(100%);
}

.partner-context-desc {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text-dark);
}

/* Evidence & Impact Metrics */
.evidence-bubble-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.evidence-bubbles-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	max-width: 550px;
	margin: 0 auto;
}

.metric-bubble {
	position: absolute;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(5px);
	transition: transform 0.4s ease, background 0.4s ease;
}

.metric-bubble:hover {
	transform: scale(1.05);
	background: rgba(255, 255, 255, 0.08);
}

.bubble-lg {
	width: 45%;
	height: 45%;
	top: 0;
	left: 0;
	border: 2px solid var(--color-gold, #e68933);
}

.bubble-md {
	width: 40%;
	height: 40%;
}

.bubble-sm {
	width: 38%;
	height: 38%;
}

.bubble-bottom-left {
	bottom: 0;
	left: 10%;
	border: 2px solid var(--color-gold, #e68933);
}

.bubble-bottom-right {
	bottom: 15%;
	right: 0;
	border: 2px solid var(--color-gold, #e68933);
}

.bubble-solid {
	width: 25%;
	height: 25%;
	background: #e0f2fe;
	border: none;
	top: 37%;
	left: 37%;
	z-index: 2;
	box-shadow: 0 15px 30px rgb(239 249 255 / 10%);
}

.bubble-solid:hover {
	background: #e0f2fe;
}

.solid-text {
	color: var(--primary-color);
	font-weight: 800;
	font-size: 0.85rem;
	line-height: 1.2;
}

.bubble-content .metric-value-wrap {
	font-size: 3rem;
	font-weight: 700;
	color: var(--bg-white);
	line-height: 1;
	margin-bottom: 0.5rem;
	display: flex;
	justify-content: center;
	align-items: baseline;
}

.bubble-content .metric-desc {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 1.4;
	margin: 0;
}

.evidence-content-side {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.evidence-header-row {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
}

.evidence-line {
	width: 80px;
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	margin-top: 1.125rem;
	flex-shrink: 0;
	background-color: var(--accent-yellow);
}

.evidence-title {
	font-size: 1.6rem;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.5;
	font-weight: 400;
	margin: 0;
	text-align: left;
}

.highlight-text {
	font-weight: 700;
	color: var(--bg-white);
	letter-spacing: 0.5px;
}

.evidence-text-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

.evidence-col-text {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #e0f2fe;
	margin: 0;
	text-align: left;
}

/* Team Profiles & Timeline */
.corner-accent {
	position: absolute;
	bottom: -20px;
	left: -20px;
	width: 80px;
	height: 80px;
	background-color: transparent;
	border: 4px solid var(--accent-yellow);
	border-radius: 16px;
	z-index: -1;
}
.timeline-section .section-title{
	margin: 1.25rem 0 1rem;
}

.timeline-section .team-title-divider{
	margin: 0 0 2rem 0;
}

.timeline-section {
	padding: 8rem 1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: var(--bg-color, #f7f4e9);
	position: relative;
	z-index: 2;
}

.card-container {
	display: flex;
	flex-direction: column;
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
}

.top-row {
	display: flex;
	width: 100%;
	margin: 2rem 0 0 0;
}

.scrubber-cell {
	flex: 1.2;
	padding: 0 40px 1rem 0;
	display: flex;
	align-items: flex-end;
	position: relative;
	z-index: 1;
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent 0%, black 10%, black 85%, transparent 100%);
	-webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 85%, transparent 100%);
}

.badges-cell {
	flex: 0.8;
	background-color: var(--accent-yellow);
	border-radius: 30px 30px 0 0;
	padding: 2.5rem 2.5rem 1.5rem 2.5rem;
	position: relative;
}

.badges-cell::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: -30px;
	width: 30px;
	height: 30px;
	background-color: var(--bg-color, #f7f4e9);
	border-bottom-right-radius: 30px;
	box-shadow: 15px 15px 0 15px var(--accent-yellow);
	pointer-events: none;
}

.bottom-row {
	display: flex;
	background-color: var(--accent-yellow);
	border-radius: 30px 0 30px 30px;
	padding: 1.5rem;
	gap: 2rem;
	position: relative;
	z-index: 1;
}

.image-cell {
	flex: 1.2;
	position: relative;
}

.image-cell img {
	width: 100%;
	height: 350px;
	object-fit: cover;
	border-radius: 25px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.text-cell {
	flex: 0.8;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding-top: 1rem;
}

.scrubber {
	position: relative;
	width: 100%;
	height: 90px;
	display: flex;
	align-items: flex-end;
}

.years-container {
	display: flex;
	align-items: flex-end;
	gap: 65px;
	position: absolute;
	left: 20px;
	bottom: 0;
	height: 100%;
	padding: 0;
	z-index: 2;
}

.scrubber-line {
	position: absolute;
	bottom: 6px;
	left: 20px;
	height: 1.5px;
	background-color: #232e2a;
	z-index: 1;
}

.year-point {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	cursor: pointer;
	position: relative;
	z-index: 2;
	width: 40px;
	flex-shrink: 0;
	gap: 12px;
	padding-bottom: 0px;
}

.text-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	height: 50px;
	justify-content: flex-end;
}

.year-label {
	font-weight: 600;
	font-size: 1.05rem;
	color: #232e2a;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	line-height: 1;
}

.floating-text {
	font-size: 0.75rem;
	font-weight: 600;
	color: #385042;
	white-space: nowrap;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.year-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background-color: #232e2a;
	border: 1.5px solid var(--primary-color);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	z-index: 2;
}

.year-point.active .year-label {
	color: var(--text-dark);
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.year-point.active .floating-text {
	opacity: 1;
	max-height: 20px;
}

.year-point.active .year-dot {
	background-color: var(--line-color);
	border-width: 4px;
	transform: scale(1.1);
}

.badges-wrapper {
	display: flex;
	gap: 12px;
	margin-bottom: 1.5rem;
	position: relative;
	z-index: 2;
}

.badge {
	background-color: white;
	padding: 0.5rem 1.25rem;
	border-radius: 20px;
	font-weight: 700;
	font-size: 0.9rem;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	color: var(--text-dark);
}

.label {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
	color: #4a5568;
	margin-bottom: 0.5rem;
	line-height: 1.4;
}

.title {
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 1.5rem;
	line-height: 1.2;
	letter-spacing: -0.5px;
}

.divider {
	border: none;
	height: 1px;
	background-color: rgba(0,0,0,0.1);
	margin-bottom: 1.5rem;
	width: 100%;
}

.subtitle {
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--text-dark);
}
/* Teams*/
.team-section {
	padding: clamp(4rem, 6vw, 6rem) 2rem clamp(4.5rem, 7vw, 6.5rem);
	background: var(--bg-light);
	--pill-leadership-bg: #DCEFE1;
	--pill-leadership-text: #1F7A4C;
	--pill-tech-bg: #DCEAFB;
	--pill-tech-text: #1D5FA8;
	--pill-research-bg: #EDE3FA;
	--pill-research-text: #6D3FC2;
	--pill-trainee-bg: #FCE9D2;
	--pill-trainee-text: #B5680B;
	--team-card-radius: 22px;
}

.team-container {
	display: flex;
	flex-direction: column;
	margin: 0 auto;
	justify-content: center;
    align-items: center;
}

.team-eyebrow {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	background: rgba(254, 216, 77, 0.15);
	color: #d97706;
	border: 1px solid rgba(254, 216, 77, 0.3);
    padding: 0.4rem 1.2rem;
	margin-bottom: 0.75rem;
	border-radius: 50px;
}

.team-title {
	text-align: center;
	font-size: clamp(1.8rem, 3.5vw, 2.5rem);
	font-weight: 700;
	color: var(--primary-color);
	margin: 0;
}

.team-title-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin: 1rem 0;
	color: var(--color-forest, #26362C);
}

.team-title-divider__line {
	width: 48px;
	height: 1px;
	background: rgba(38, 54, 34, 0.35);
}

.team-subtitle {
	max-width: 640px;
	margin: 0 auto clamp(2.75rem, 4vw, 3.5rem);
	text-align: center;
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--text-muted);
}

.team-tier-label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 2rem;
	color: var(--color-forest, #26362C);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.team-tier-label__line {
	width: 64px;
	height: 1px;
	background: rgba(38, 54, 34, 0.25);
}

/* Base grid — auto-fit keeps every tier balanced regardless of how many
   people are added or removed later, without hardcoding column counts. */
.team-grid {
	display: grid;
	gap: clamp(1.25rem, 2vw, 1.75rem);
	margin-bottom: clamp(2.75rem, 4vw, 3.5rem);
}

.team-grid--leadership {
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.team-grid--directory {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Card Container with Slide Overlay Constraints */
.team-card {
	background: var(--bg-white);
	border-radius: var(--team-card-radius);
	padding: 1.75rem;
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
	position: relative;
	overflow: hidden;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover,
.team-card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.09);
}

.team-card--featured {
	padding: 2.25rem;
	gap: 1.75rem;
}

.team-card--featured::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	width: 100%;
	height: 4px;
	background: var(--pill-leadership-text);
}

.team-card__portrait {
	flex: 0 0 128px;
	width: 128px;
	height: 148px;
	overflow: hidden;	
	display: flex;
	align-items: center;
	justify-content: center;
}

.team-card--featured .team-card__portrait {
	flex-basis: 156px;
	width: 156px;
	height: 180px;
}

.team-card__portrait img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.team-card__body {
	flex: 1;
	min-width: 0;
}

.team-card__pill {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 0.3rem 0.75rem;
	border-radius: 50px;
	margin-bottom: 0.75rem;
	background: var(--pill-leadership-bg);
	color: var(--pill-leadership-text);
}

.team-card[data-tier="tech"] .team-card__pill {
	background: var(--pill-tech-bg);
	color: var(--pill-tech-text);
}

.team-card[data-tier="research"] .team-card__pill {
	background: var(--pill-research-bg);
	color: var(--pill-research-text);
}

.team-card[data-tier="trainee"] .team-card__pill {
	background: var(--pill-trainee-bg);
	color: var(--pill-trainee-text);
}

.team-card__name {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--primary-color);
	margin: 0 0 0.2rem;
}

.team-card--featured .team-card__name {
	font-size: 1.4rem;
}

.team-card__role {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-forest, #26362C);
	margin: 0 0 0.75rem;
}

/* Teaser / Short Bio styling */
.team-card__short-bio {
	font-size: 0.92rem;
	line-height: 1.6;
	color: #232a2a;
	margin: 0 0 1.25rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	overflow: hidden;
}

.team-card--featured .team-card__short-bio {
	-webkit-line-clamp: 4;
	line-clamp: 4;
}

/* Trigger Button */
.team-card__toggle {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--color-forest, #26362C);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	transition: color 0.2s ease;
}

.team-card__toggle:hover,
.team-card__toggle:focus-visible {
	color: var(--primary-color);
	outline-offset: 4px;
}

/* Slide-Up Overlay System */
.team-card__overlay {
	position: absolute;
	inset: 0;
	background: var(--bg-white);
	z-index: 10;
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	transform: translateY(101%);
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.6s;
	border-radius: var(--team-card-radius);
	visibility: hidden;
}

.team-card.is-profile-open .team-card__overlay {
	transform: translateY(0);
	visibility: visible;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

.team-card__overlay-header {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.team-card__overlay-avatar {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--pill-leadership-bg);
}

.team-card[data-tier="tech"] .team-card__overlay-avatar {
	background: var(--pill-tech-bg);
}

.team-card[data-tier="research"] .team-card__overlay-avatar {
	background: var(--pill-research-bg);
}

.team-card[data-tier="trainee"] .team-card__overlay-avatar {
	background: var(--pill-trainee-bg);
}

.team-card__overlay-heading {
	flex: 1;
	min-width: 0;
}

.team-card__overlay-heading .team-card__name,
.team-card__overlay-heading .team-card__role {
	margin: 0;
}

.team-card__overlay-heading .team-card__name {
	font-size: 1.1rem;
}

.team-card__close {
	background: rgba(0, 0, 0, 0.04);
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--text-dark);
	transition: background 0.2s ease;
	flex-shrink: 0;
	margin-inline-start: auto;
}

.team-card__close:hover,
.team-card__close:focus-visible {
	background: rgba(0, 0, 0, 0.1);
}

.team-card__overlay-content {
	overflow-y: auto;
	flex-grow: 1;
	padding-right: 0.5rem;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.team-card__overlay-content::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.team-card__overlay-content p {
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--primary-color);
	margin-top: 0;
	margin-bottom: 1rem;
}

.team-closing {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: var(--bg-white);
	border-radius: 16px;
	padding: 1.5rem 2rem;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
	color: var(--color-forest, #26362C);
}

.team-closing svg {
	flex-shrink: 0;
}

.team-closing p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #232a2a;
}

/* Utility Classes */
.text-white {
	color: var(--bg-white);
}
/* Where We Work */
.about-geography-section {
	background-color: #faf8f5;
	padding: 8rem 0;
}

.about-geography-grid {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 5rem;
	align-items: center;	
	margin: 0 auto;
}

.about-geography-intro {
	max-width: 500px;
}

.about-geography-intro .section-title {
	color: var(--text-dark);
	margin: 1.25rem 0 1.5rem;
	line-height: 1.2;
}

.about-geography-copy {
	font-size: 1.1rem;
	line-height: 1.75;
	color: #4a5568;
	margin-bottom: 2rem;
}

.geography-highlight {
	border-left: 3px solid var(--accent-yellow);
	padding-left: 1.5rem;
	margin-bottom: 2.5rem;
}

.geography-highlight p {
	font-size: 1.05rem;
	color: var(--text-dark);
	font-weight: 500;
	line-height: 1.6;
	margin: 0;
	text-align: left;
}

.geography-btn {
	display: inline-block;
	background-color: var(--primary-color);
	color: var(--accent-yellow);
	padding: 0.8rem 1.8rem;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.geography-btn:hover {
	transform: translateY(-2px);
	background-color: #1a2320;
}

.geography-cards-wrapper {
	position: relative;
	width: 100%;
}

.geography-card-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	position: relative;
	z-index: 2;
}

.geography-card:nth-child(even) {
	transform: translateY(45px) !important;
}

.geography-card {
	background: var(--bg-white);
	border-radius: 16px;
	padding: 2.5rem 2rem;
	text-align: left;
	box-shadow: 0 10px 30px rgba(0,0,0,0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	border: 1px solid var(--primary-color);
}

.geography-card:nth-child(odd):hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-dark);
}

.geography-card:nth-child(even):hover {
	transform: translateY(39px);
	box-shadow: var(--shadow-dark);
}

.geography-card__icon-wrapper {
	width: 55px;
	height: 55px;
	background-color: rgba(230, 137, 51, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.geography-card__icon {
	font-size: 1.4rem;
	color: var(--color-gold);
}

.geography-card__title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0.75rem;
}

.geography-card__desc {
	font-size: 0.95rem;
	color: #4a5568;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	flex-grow: 1;
}

.geography-card__link {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--text-dark);
	text-decoration: none;
	transition: color 0.2s ease;
}

.geography-card__link:hover {
	color: var(--color-gold);
}

/* How We Work */
.about-people-section {	
	--p: 10px; 	
	background-color: var(--primary-color);
	width: 100%;
	max-width: calc(var(--layout-max-width) - (var(--layout-px) * 2));	
	min-height: 230px; 
	margin: 6rem auto;
	display: flex;
	align-items: center;
	padding: 3rem 5rem calc(3rem + var(--p)) 5rem; 
	position: relative;
	border-radius: 24px 24px 25px 25px; 
	border: 4px solid var(--color-gold, #e68933); 	
	filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

.people-banner-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 4rem;
	width: 100%;
}

.people-text-content {
	flex: 1;
	max-width: 65%;
}

.people-title {
	font-family: "Otomanopee One Regular", sans-serif;
	font-size: 2.2rem;
	color: var(--color-gold, #e68933);
	margin-bottom: 2rem;
}

.people-copy {
	color: #ffffff;
	font-size: 1.1rem;
	line-height: 1.65;
	margin: 0;
	opacity: 0.9;
}

.people-image-wrapper {
	flex: 0 0 450px; 
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.people-image-wrapper img {
	width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.4));
	transform-origin: center;
	animation: turtleFloat 4s ease-in-out infinite;
}
@keyframes turtleFloat {
	0% {
		transform: translateY(0) rotate(0deg);
	}
	50% {
		transform: translateY(-12px) rotate(3deg);
	}
	100% {
		transform: translateY(0) rotate(0deg);
	}
}

/* Join The Work */
:root {
  --color-bg: #fbf1e2;
  --color-dark: #1f2b22;
  --color-white: #ffffff;
  --color-gold: #e6a13c;
  --color-text-dark: #17211a;
  --color-text-body: #667085;
  --color-text-body-dark: #cfd8d2;
  --color-pill-bg: #fbe3b8;
  --color-pill-text: #d9822b;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  margin: 0;
  background: var(--color-bg);
  font-family: var(--font-body);
}

.partner-section {
  padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 5vw, 4rem);
}

.partner-section__inner {  
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.partner-copy {
  flex: 1 1 200px;
  min-width: 280px;
  transition: flex-basis 0.3s ease;
}

.partner-copy__eyebrow {
  display: inline-block;
  padding: 0.5em 1.1em;
  border-radius: 999px;
  background: var(--color-pill-bg);
  color: var(--color-pill-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.partner-copy__heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  color: var(--primary-color);
  font-weight: 700;
}

.partner-copy__body {
  margin: 0;
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #000;
  transition: max-width 0.3s ease;
}

.hex-triangle {
  --hex-w: clamp(260px, 20vw, 230px);
  --hex-h: calc(var(--hex-w) * 1.1547);
  --hex-gap: 14px;

  flex: 0 1 480px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: flex-basis 0.3s ease;
  margin: 0 auto;
}

.hex-row {
  display: flex;
  gap: var(--hex-gap);
}

.hex-row--bottom {
  margin-top: calc((var(--hex-h) * -0.25) + (var(--hex-gap) * 0.87));
  transition: margin-top 0.3s ease, gap 0.3s ease;
}

.hex-card {
  position: relative;
  display: block;
  width: var(--hex-w);
  aspect-ratio: 1 / 1.1547;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  text-decoration: none;
  transition: transform 0.25s ease, filter 0.25s ease, width 0.3s ease;
  filter: drop-shadow(0 6px 14px rgba(31, 43, 34, 0.12));
}

.hex-card:hover,
.hex-card:focus-visible {
  transform: translateY(-6px);
  filter: drop-shadow(0 16px 28px rgba(31, 43, 34, 0.22));
  outline: none;
}

.hex-card--dark {
  background: var(--color-dark);
}

.hex-card--light {
  background: var(--color-white);
}

.hex-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30% 16%;
  gap: 0.5rem;
}

.hex-card__icon {
  width: clamp(28px, 3.4vw, 36px);
  height: clamp(28px, 3.4vw, 36px);
  color: var(--color-gold);
}

.hex-card__icon svg {
  width: 100%;
  height: 100%;
}

.hex-card__title {
  margin: 0;
  font-size: clamp(0.92rem, 1.3vw + 0.5rem, 1.1rem);
  line-height: 1.3;
  font-weight: 700;
}

.hex-card__text {
  margin: 0;
  font-size: clamp(0.74rem, 0.6vw + 0.55rem, 0.85rem);
  line-height: 1.4;
}

.hex-card--dark .hex-card__title {
  color: var(--color-white);
}

.hex-card--dark .hex-card__text {
  color: var(--color-text-body-dark);
}

.hex-card--light .hex-card__title {
  color: var(--color-text-dark);
}

.hex-card--light .hex-card__text {
  color: var(--color-text-body);
}

/* Tag Pill Component */
.tag-pill {
	background: rgba(254, 216, 77, 0.15);
	color: #d97706;
	border: 1px solid rgba(254, 216, 77, 0.3);
	padding: 0.4rem 1.2rem;
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}

/* Layout Container */
.container {
	width: 100%;	
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	text-align: center;
}

/* Responsive Media Queries */
@media (max-width: 1240px) {
	.container {
		max-width: 100%;
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}
}

@media (max-width: 992px) {
	.decoding-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.decoding-gallery {
		max-width: 600px;
		margin: 0 auto;
	}

	.evidence-bubble-layout {
		grid-template-columns: 1fr;
		gap: 4rem;
	}

	.evidence-bubbles-wrapper {
		max-width: 450px;
	}

	.about-hero-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.about-desc {
		max-width: 100%;
	}

	.about-image-wrapper {
		aspect-ratio: 16/9;
		border-radius: 24px;
	}

	.corner-accent {
		display: none;
	}

	.container {
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.about-geography-grid {
		grid-template-columns: 1fr;
		gap: 4rem;
	}

	.about-geography-intro {
		max-width: 100%;
	}

	.geography-card-grid {
		gap: 1.5rem;
	}

	.about-story-grid, .about-geography-grid, .about-cta-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.about-story-sticky {
		position: static;
	}

	.method-steps, .partner-context-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.rj-grid {
        grid-template-columns: 1fr;
    }
    .rj-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .rj-image-wrapper {
        padding-right: 0;
        margin-top: 2rem;
    }
	
	.team-card {
		flex-direction: column;
	}
	.partner-copy__body {
		max-width: 100%;
	}
}

@media (max-width: 900px) {
	.detail-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.detail-image-stage {
		aspect-ratio: 1 / 1;
		max-width: 280px;
		margin: 0 auto;
	}

	.hww-card {
		flex-direction: column;
		padding: 3rem 2rem;
		transform: none;
		margin: 2rem 1rem;
	}

	.hww-content {
		transform: none;
		width: 100%;
		text-align: center;
	}

	.hww-copy {
		max-width: 100%;
	}

	.hww-actions {
		justify-content: center;
	}

	.hww-illustration {
		position: relative;
		right: 0;
		bottom: 0;
		width: 75%;
		margin: 3rem auto 0;
		transform: none;
	}

	.team-section {
		padding-inline: 1.25rem;
	}

	.team-grid {
		gap: 1.25rem;
	}

	.team-grid--leadership {
		grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	}

	.team-card {
		padding: 1.35rem;
		gap: 1rem;
		transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.team-card--featured {
		padding: 1.6rem;
		gap: 1.25rem;
	}

	.team-card__portrait {
		flex: 0 0 92px;
		width: 92px;
		height: 108px;
	}

	.team-card--featured .team-card__portrait {
		flex-basis: 108px;
		width: 108px;
		height: 126px;
	}

	.team-card__name {
		font-size: 1.1rem;
	}

	.team-card--featured .team-card__name {
		font-size: 1.2rem;
	}

	.team-card__overlay-content p {
		font-size: 0.85rem;
	}

	.team-closing {
		flex-direction: column;
		text-align: center;
	}

	.about-people-section {
		--p: 35px;
		min-height: auto;
		padding: 3rem 2.5rem calc(3rem + var(--p)) 2.5rem;
		border-radius: 16px 16px 0 0;
	}
	
	.people-banner-content {
		flex-direction: column-reverse;
		text-align: center;
		gap: 2.5rem;
	}

	.people-text-content {
		max-width: 100%;
	}

	.people-title {
		font-size: 1.9rem;
	}
	
	.people-image-wrapper {
		flex: 0 0 180px; 
	}

	.partner-section__inner {
		flex-direction: column;
		text-align: center;
	}

	.partner-copy__body {
		max-width: none;
		margin-inline: auto;
	}
}

@media (max-width: 768px) {
	.top-row {
		flex-direction: row;
	}

	.scrubber-cell {
		padding: 0 0 1rem 0;
		mask-image: linear-gradient(to right, transparent 0%, black 10%, black 60%, transparent 100%);
		-webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 60%, transparent 100%);
	}

	.year-point.active .year-label {
		font-size: 1.35rem;
	}

	.year-point.active .floating-text {
		font-size: 0.7rem;
	}

	.badges-cell {
		border-radius: 20px 20px 0 0;
		padding: 1.5rem 1rem 1rem 1rem;
		flex: 0 0 auto;
	}

	.badges-cell::before {
		display: block;
		left: -20px;
		width: 20px;
		height: 20px;
		border-bottom-right-radius: 20px;
		box-shadow: 15px 15px 0 15px var(--accent-yellow);
	}

	.badges-wrapper {
		flex-direction: column;
		align-items: flex-end;
	}

	.bottom-row {
		flex-direction: column;
		border-radius: 20px 0 20px 20px;
		gap: 1.5rem;
	}

	.image-cell img {
		height: 250px;
	}

	.text-cell {
		padding-top: 0;
	}

	.year-badge {
		position: relative;
		top: auto;
		right: auto;
		left: auto;
		display: flex;
		margin: 0 auto 1rem auto;
		width: fit-content;
		align-self: center;
	}

	.badge-parent-container {
		text-align: center;
		align-items: center;
	}

	.container {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.geography-card-grid {
		grid-template-columns: 1fr;
	}

	.geography-card:nth-child(even), .geography-card:nth-child(even):hover {
		transform: translateY(0) !important;
	}

	.geography-card:hover {
		transform: translateY(-6px);
	}

	.rj-features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .rj-badge-overlay {
        width: 220px;
        right: 0;
    }
    .rj-badge-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
	.decoding-gallery {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.decoding-col-offset {
		margin-top: 0;
	}

	.img-tall, .img-short, .decoding-stat-box {
		height: 250px;
	}

	.decoding-tabs {
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	.evidence-text-columns {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.evidence-header-row {
		flex-direction: column;
		gap: 1rem;
	}

	.evidence-line {
		display: none;
	}

	.bubble-content .metric-value-wrap {
		font-size: 2rem;
	}

	.solid-text {
		font-size: 0.7rem;
	}

	.method-steps, .partner-context-grid, .geography-card-grid, .join-triangle-grid {
		grid-template-columns: 1fr;
	}

	.join-card--apex {
		grid-column: 1;
	}
}

@media (max-width: 600px) {
	.team-grid {
		grid-template-columns: 1fr;
	}

	.team-card {
		flex-direction: column;
		align-items: center;
		text-align: left;
		padding: 1.5rem;
		gap: 1.25rem;
	}

	.team-card__portrait {
		flex: 0 0 140px;
		width: 140px;
		height: 160px;
	}

	.team-card--featured {
		padding: 1.5rem;
	}

	.team-card--featured .team-card__portrait {
		flex-basis: 150px;
		width: 150px;
		height: 172px;
	}

	.team-card__body {
		width: 100%;
	}

	.hex-triangle {
		--hex-w: clamp(220px, 62vw, 300px);
	}

	.hex-row--top,
	.hex-row--bottom {
		flex-direction: column;
		align-items: center;
	}

	.hex-row--bottom {
		margin-top: var(--hex-gap);
	}
}

@media (max-width: 480px) {
	.container {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.rj-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
  .hex-card,
  .hex-row--bottom,
  .hex-triangle,
  .partner-copy,
  .partner-copy__body {
    transition: none;
  }

  .team-card,
  .team-card__overlay {
    transition: none;
  }

  .team-card:hover,
  .team-card:focus-within {
    transform: none;
  }
}