/*
Theme Name: Lead Transplant
Author: Hazel
Author URI: https://hazelsw.com
Description: A custom theme built for Lead Transplant
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--color-background: #fff;
	--color-foreground: #020617;
	--color-accent: #66c1d9;
	--color-muted: #e2e8f0;
	--color-muted-foreground: #64748b;
	--background-gradient: linear-gradient(
		135deg,
		var(--color-foreground) -1.9%,
		rgba(0, 165, 198, 1) 91.8%
	);
	--section-padding-lg: 8rem 0;
	--section-padding-md: 6rem 0;
	--section-padding-sm: 4rem 0;
	--section-padding-xs: 2rem 0;
}

html {
	font-size: 16px;
}

body {
	background: #eff5fa;
	color: var(--color-foreground);
	width: 100%;
	height: 100%;
	overscroll-behavior: none;
	font-family: 'Inter', Helvetica, sans-serif;
}

ul {
	list-style: none;
}
a {
	color: inherit;
}
button,
a {
	cursor: pointer;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	text-wrap: pretty;
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
	font-weight: normal;
}

.font-highlight {
	font-family: 'Instrument Serif', serif;
	font-style: italic;
	letter-spacing: 0.025em;
}

.text-bg-highlight {
	color: inherit;
	background-color: transparent;
	display: inline-block;
	background-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='40' height='8' viewBox='0 0 40 8'><path d='M0 4C5 2.5 10 6 15 4C20 2 25 5.5 30 3.5C35 2 40 4.5 40 4' stroke='%2366c1d9' stroke-width='2.5' stroke-linecap='round' fill='none'/><path d='M0 4.2C8 2.8 12 5.8 20 4.2C28 2.6 32 5.6 40 4.2' stroke='%2366c1d9' stroke-width='1.2' stroke-linecap='round' fill='none'/><path d='M0 4.1C6 3 14 5.2 22 4.1C30 3 38 5.1 40 4.1' stroke='%2366c1d9' stroke-width='0.6' stroke-linecap='round' fill='none'/></svg>");
	background-repeat: repeat-x;
	background-position: bottom;
	background-size: 40px 8px;
	padding-bottom: 2px;
}

.container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;

	@media (max-width: 1024px) {
		padding: 0 1rem;
	}
}

.container-sm {
	width: 100%;
	max-width: 672px;
	margin: 0 auto;
	padding: 0 1.5rem;

	@media (max-width: 1024px) {
		padding: 0 1rem;
	}
}

.btn {
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	border-radius: 2rem;
	border: none;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
	letter-spacing: -0.025em;
	font-family: 'Inter', Helvetica, sans-serif;
	text-wrap: nowrap;
}

.btn-primary {
	color: white;
	background: var(--background-gradient);
}

.btn-primary svg {
	color: var(--color-accent);
	background-color: white;
}

.btn-secondary {
	background-color: var(--color-foreground);
	color: var(--color-background);
}

.btn-secondary svg {
	color: var(--color-foreground) !important;
	background-color: var(--color-background) !important;
}

.btn svg {
	width: 24px;
	height: 24px;
	padding: 4px;
	overflow: visible;
	transition: transform 0.3s ease-in-out;
	background: var(--color-background);
	border-radius: 100%;
	flex-shrink: 0;
	border: none;
}

.btn:hover svg {
	transform: rotate(90deg);
}

.btn-dark {
	background-color: var(--color-background);
	color: var(--color-foreground);
}

.btn-dark svg {
	background: var(--background-gradient);
	color: var(--color-background);
}

.section-header {
	margin-bottom: 6rem;

	@media (max-width: 768px) {
		margin-bottom: 4rem;
	}
}

.section-header h2,
.section-header h1 {
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.025em;
	font-size: 2.25rem;
	max-width: 672px;

	@media (max-width: 1024px) {
		font-size: 1.875rem;
	}
}

.section-badge {
	font-size: 0.75rem;
	position: relative;
	letter-spacing: -0.025em;
	padding-left: 1rem;
	width: fit-content;
	border-radius: 2rem;
	margin: 0 auto 1rem auto;
	font-weight: 300;
}

.section-badge::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%); /* center vertically */
	width: 6px; /* circle size */
	height: 6px;
	border-radius: 50%;
	background: var(--background-gradient);
	filter: blur(1px);
}

.floating-btn {
	position: fixed;
	top: 0;
	left: 0;
	transition: transform 0.1s linear;
	padding: 0.5rem 1rem;
	background-color: var(--color-background);
	color: var(--color-foreground);
	border-radius: 2rem;
	box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
	font-size: 0.875rem;
	letter-spacing: -0.025em;
	font-family: 'Inter', Helvetica, sans-serif;
}

.floating-btn > span {
	display: flex;
	align-items: center;
	gap: 2rem;
	transform: scale(0);
	transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-btn svg {
	width: 24px;
	height: 24px;
	padding: 6px;
	background: var(--color-foreground);
	color: var(--color-background);
	border-radius: 100%;
}

.floating-btn.visible {
	opacity: 1;
}

.floating-btn.visible > span {
	transform: scale(1);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

@media (max-width: 768px) {
	.md-only {
		display: none;
	}
}

.text-reveal {
	display: block;
	overflow: hidden;
	padding: 0 1px;
}

.text-reveal > span {
	display: inline-block;
	transform: translateY(100%);
}

.custom-cursor {
	position: fixed;
	top: 0;
	left: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	pointer-events: none;
	transform: translate(-50%, -50%);
	background-color: var(--color-muted);
	transition: transform 0.1s ease-out;
	z-index: 9999;
}

@media (max-width: 768px) {
	.custom-cursor {
		display: none;
	}
}

.custom-cursor.hidden {
	display: none;
}

.page-section {
	padding: var(--section-padding-sm);
}

.page-content p {
	margin-bottom: 0.5rem;
}

.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
	margin: 2rem 0 0.75rem 0;
}

.wp-block-separator {
	border-top: 0.5px solid var(--color-muted-foreground);
	margin: 3rem auto;
	max-width: 672px;
}

.container-single {
	max-width: 576px;
	margin: 0 auto;
}

ul.checklist {
	list-style: none !important;
	padding: 0;
}

.center {
	max-width: fit-content;
	margin: 0 auto;
}

ul.checklist li {
	position: relative;
	padding-left: 32px; /* make room for icon */
}

ul.checklist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300A86B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21.801 10A10 10 0 1 1 17 3.335'/><path d='m9 11 3 3L22 4'/></svg>")
		no-repeat center center;
	background-size: contain;
}

.curved-underline {
	display: inline-block;
	background-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='50' height='10' viewBox='0 0 50 10' fill='none'><path d='M1 5C10 10 20 0 30 5C40 10 50 0 59 5' stroke='%2366c1d9' stroke-width='2' stroke-linecap='round'/></svg>");
	background-repeat: repeat-x;
	background-position: bottom;
	background-size: 50px 10px;
	padding-bottom: 5px;
}

.hero-section {
	height: calc(100svh - var(--header-height) - 1rem);
    margin: 0 1rem 1rem 1rem;
    border-radius: 1rem;
    background: var(--background-gradient);
    padding-top: 4rem;
    padding-bottom: 4rem;
    color: white;
    position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

h1 {
    margin-bottom: 0.5rem;
}

.sub-h1 {
    color: var(--color-muted);
    font-weight: 300;
    letter-spacing: -0.025em;
    margin-top: -1rem;
}

@media (max-width: 768px) {
    .sub-h1 {
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }
}

.hero-section .container {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    height: 100%;
    gap: 1rem;
	max-height: 680px;
}

.hero-section .container > div:nth-child(1) {
    grid-column: span 8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 8rem;

    @media (max-width: 1024px) {
        grid-column: span 12;
        gap: 0;
    }
}

.hero-section .container > div:nth-child(1) a {
    width: fit-content;
}

.hero-section .container > div:nth-child(2) {
    grid-column: span 4;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;

    @media (max-width: 1024px) {
        display: none;
    }
}

.hero-main-content {
    width: 100%;
}

.hero-badge {
    max-width: 100%;
    position: relative;
    font-size: 0.75rem;
    border-radius: 2rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    height: 32px;
    padding-right: 1rem;
    padding-left: 4.5rem;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;

    @media (max-width: 768px) {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .md-only {
        display: none;
    }
}

.hero-badge > span:first-of-type {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0.25rem;
    border-radius: 2rem;
    font-weight: 500;
    background-color: var(--color-background);
    color: var(--color-foreground);
    padding: 0 0.5rem;
}

.hero-badge > span:first-of-type > span {
    background: var(--background-gradient); 
    -webkit-background-clip: text;        
    -webkit-text-fill-color: transparent;  
    background-clip: text;                  
    color: transparent; 
}

.hero-description {
    color: #f3f4f6;
    max-width: 576px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.625;
    font-weight: 300;

    @media (max-width: 1024px) {
        font-size: 1rem;
    }
}

.hero-testimonial {
    width: 80%;
}

.hero-testimonials-container {
    margin-top: 2rem;
}

.hero-testimonials-container > div:nth-child(even) {
    margin-left: auto;
}

.hero-testimonials-container > div:last-child {
    @media (max-width: 1280px) {
        display: none;
    }
}

/* Hide desktop testimonials on mobile */
.hero-testimonials-container {
    @media (max-width: 1024px) {
        display: none;
    }
}

/* Mobile Testimonials Carousel */
.hero-mobile-testimonials {
    display: block;
    margin: 2rem 0;
    overflow: hidden;
    
    @media (min-width: 1025px) {
        display: none;
    }
}

.mobile-testimonials-track {
    display: flex;
    animation: infiniteScroll 16s linear infinite;
}

.hero-mobile-testimonials .hero-testimonial {
    min-width: 300px;
    flex-shrink: 0;
    margin-right: 1rem;
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-316px * 3));
    }
}

.hero-mobile-testimonials .testimonial-text {
    font-size: 0.75rem;
    line-height: 1.4;
    text-wrap: balance;
}

.hero-mobile-testimonials .testimonial-details h3 {
    font-size: 0.6875rem;
    margin: 0;
}

.hero-mobile-testimonials .testimonial-details p {
    font-size: 0.625rem;
    margin: 0;
}

.hero-mobile-testimonials .testimonial-image-container {
    width: 24px;
    height: 24px;
}

/* Pause animation on hover */
.hero-mobile-testimonials:hover .mobile-testimonials-track {
    animation-play-state: paused;
}

.partners-section {
    padding: var(--section-padding-lg);

    @media (max-width: 1024px) {
        padding: var(--section-padding-md);
    }
}

.partners-section h2 {
    text-align: center;
    margin: 0 auto;
}

.partners-carousel {
    max-width: 672px;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
    position: relative;
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    mask: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.partners-track {
    display: flex;
    animation: scroll-infinite 20s linear infinite;
    width: calc(200%);
    will-change: transform;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    aspect-ratio: 5/4;
    overflow: hidden;
    position: relative;
    opacity: 0.6;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 5));
    }
}

.specialties-section {
    background-color: var(--color-foreground);
    border-radius: 1rem;
    margin: 1rem;
    color: white;
    padding: var(--section-padding-lg);

    @media (max-width: 1024px) {
        padding: var(--section-padding-md);
    }
}

.specialties-section h2 {
    text-align: center;
    margin: 0 auto;
}

.specialties-list li {
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid var(--color-muted);
}

.specialties-list li:last-child {
    border-bottom: 1px solid var(--color-muted);
}

.specialties-list li .hover-bg {
    position: absolute;
    inset: 0;
    background-color: white;
    width: 100%;
    height: 100%;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.specialties-list li:hover .hover-bg {
    transform: translateY(0);
}

.specialties-list li:hover .hover-bg {
    opacity: 1;
}

.specialties-list li a {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
    display: block;
    mix-blend-mode: exclusion;
}

.specialties-list li a h3 {
    font-weight: 400;
    color: var(--color-muted);
    font-size: 2.25rem;
    letter-spacing: -0.025em;
}

@media (max-width: 768px) {
    .specialties-list li a h3 {
        font-size: 1.5rem;
    }
}


.about-section {
    padding: var(--section-padding-sm);
}

.view-all-specialties-link {
    margin: 4rem auto 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    font-family: "Instrument Serif", serif;
    font-style: italic;
    letter-spacing: 0.025em;
}

.view-all-specialties-link svg {
    width: 16px;
    height: 16px;
}

.about-section p {
    line-height: 1.625;
    letter-spacing: -0.025em;
    font-size: 3rem;
    text-wrap: balance;
    text-align: center;

    @media (max-width: 1024px) {
        font-size: 1.5rem;
    }
}

.about-section .letter {
    will-change: opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.services-section {
    background-color: var(--color-foreground);
    border-radius: 1rem;
    margin: 1rem;
    color: white;
    padding: var(--section-padding-lg);

    @media (max-width: 1024px) {
        padding: var(--section-padding-md);
    }
}

.services-section h2 {
    text-align: center;
    margin: 0 auto;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1024px;

    @media (max-width: 1024px) {
        flex-direction: column;
        align-items: center;
    }
}

.services-container > div {
    flex: 1;
    background-color: var(--color-background);
    color: var(--color-foreground);
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    will-change: transform, opacity;
    max-width: 400px;

    @media (max-width: 1024px) {
        padding: 2rem;
    }
}

.services-container > div:nth-child(2) {
    z-index: 1;
}

.services-container > div h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
}

.services-container > div p {
    margin-bottom: 2rem;
    line-height: 1.625;
    letter-spacing: -0.025em;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.service-link {
    margin-top: auto;
}

.view-all-services-link {
    margin: 4rem auto 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    font-family: "Instrument Serif", serif;
    font-style: italic;
    letter-spacing: 0.025em;
}

.view-all-services-link svg {
    width: 16px;
    height: 16px;
}

.testimonials-section {
    padding: var(--section-padding-lg);

    @media (max-width: 1024px) {
        padding: var(--section-padding-md);
    }
}

.testimonials-section header h2 {
    text-align: center;
    margin: 0 auto;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;

    @media (max-width: 1024px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
}

.testimonials-column:nth-child(even) {
    flex-direction: column-reverse;
}

.testimonials-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-video {
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    overflow: hidden;
    position: relative;
    filter: grayscale();
    aspect-ratio: 2/3;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: filter 0.3s ease-in-out;
    flex-shrink: 0;

    @media (max-width: 1024px) {
        justify-content: end;
    }
}

.testimonial-video:hover {
    filter: grayscale(0);
}

.testimonial-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 90%);
    pointer-events: none;
    border-radius: 1rem 1rem 0 0;

    @media (max-width: 1024px) {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 90%);
    }
}

.testimonial-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-quote {
    flex: 1;
    background-color: white;
    color: var(--color-muted-foreground);
    padding: 1.5rem;
    font-size: 0.875rem;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote > div, .testimonial-video > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
    position: relative;

    @media (max-width: 1024px) {
        flex-direction: column;
        align-items: start;
    }
}

.testimonial-video .testimonial-details h3 {
    color: white;
}

.testimonial-video .testimonial-details p {
    color: var(--color-muted);
}

.testimonial-text {
    margin-bottom: 1rem;
    line-height: 1.625;
}

.testimonial-image-container {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.testimonial-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-highlight {
    background-color: var(--color-accent);
    color: var(--color-foreground)
}

.testimonial-details h3 {
    font-size: 0.875rem;
    color: var(--color-foreground);
    font-weight: 500;

    @media (max-width: 1024px) {
        font-size: 0.75rem;
    }
}

.testimonial-details p {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);

    @media (max-width: 1024px) {
        font-size: 0.625rem;
    }
}

.process-section {
    padding: var(--section-padding-lg);

    @media (max-width: 1024px) {
        padding: var(--section-padding-md);
    }
}

.process-section .section-badge {
    margin-left: 0;
    margin-right: 0;
}

.process-container {
    display: flex;
    position: relative;
    height: 300svh;
}

.progress-bar-container {
    position: sticky;
    top: var(--header-height);
    height: calc(100svh - var(--header-height));
    padding: 4rem 0;
}

.progress-bar {
    height: 100%;
    width: 0.5rem;
    border-radius: 1rem;
    overflow: hidden;
    background-color: var(--color-muted);
    z-index: -2;
}

.progress {
    height: 100%;
    width: 100%;
    background: var(--background-gradient);
    will-change: transform;
    transform-origin: top center;
}

.progress-circle {
    position: absolute;
    top: 3.5rem;
    left: -150%;
    width: 2rem;
    aspect-ratio: 1 / 1;
    background: var(--background-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
}

.progress-circle > span {
    width: 200%;
    height: 200%;
    background-color: var(--color-accent);
    opacity: 0.1;
    position: absolute;
    z-index: -1;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}

.progress-circle svg {
    height: 16px;
    width: 16px;
    color: white;
}

.process-steps {
    flex: 1;
    position: sticky;
    top: var(--header-height);
    height: calc(100svh - var(--header-height));
    padding: 4rem 0 4rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;

    @media (max-width: 768px) {
        padding: 4rem 0 4rem 1rem;
    }
}

.process-steps > li {
    font-size: 4.5rem;
    opacity: 0;
    line-height: 1;
    display: flex;
    gap: 4rem;
    align-items: center;
    transition: opacity 0.3s ease-out;
    color: var(--color-foreground);
    will-change: opacity;

    @media (max-width: 768px) {
        font-size: 1.5rem;
        gap: 2rem;
    }
}

.step-number {
    font-family: "Instrument Serif", serif;
    font-style: italic;
}

.metrics-section {
    background-color: var(--color-foreground);
    border-radius: 1rem;
    margin: 1rem;
    color: white;
    padding: var(--section-padding-lg);

    @media (max-width: 1024px) {
        padding: var(--section-padding-md);
    }
}

.metrics-section .section-header h2 {
    margin: 0 auto;
    text-align: center;
    max-width: 672px;
}

.metrics-container {
    display: flex;
    justify-content: center;
    gap: 8rem;

    @media (max-width: 1024px) {
        flex-direction: column;
        gap: 4rem;
    }
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 50px;

    @media (max-width: 768px) {
        margin-top: 0;
    }
}

.metric-label {
    font-weight: 300;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.metric-value {
    letter-spacing: -0.025em;
    font-size: 4.5rem;
    color: var(--color-muted);
    line-height: 1;
    opacity: 0.6;
    
}
/* Page Section Block Styles */
.page-section {
	padding: var(--section-padding-sm);
}

.page-section.bg-dark {
	background-color: var(--color-foreground);
	border-radius: 1rem;
	margin: 1rem;
	color: white;
	padding: var(--section-padding-lg);
}

.page-section.bg-light {
	background-color: var(--color-background);
	border-radius: 1rem;
	margin: 1rem;
	padding: var(--section-padding-lg);
}

@media (max-width: 1024px) {
	.page-section.bg-dark,
	.page-section.bg-light {
		padding: var(--section-padding-md);
	}
}


.services-archive .services-section-archive {
    padding: var(--section-padding-sm);
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.services-archive .services-section-archive .section-header {
    position: sticky;
    top: var(--header-height);
    height: fit-content;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-bottom: 0;

    @media (max-width: 1024px) {
        position: static;
    }
}

.services-archive .services-section-archive .section-header .section-badge {
    margin-left: 0;
}

.services-archive .services-section-archive .section-header p {
    margin-top: 2rem;
    line-height: 1.625;
    max-width: 672px;
    font-weight: 300;
    letter-spacing: -0.025em;
    opacity: 0.9;
    font-size: 1.125rem;
}

.services-archive .services-section-archive .container {
    display: flex;
    gap: 4rem;

    @media (max-width: 1024px) {
        flex-direction: column;
    }
}

.services-archive .services-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.services-archive .service-item {
    padding: 3rem;
    background-color: white;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    cursor: none;
}

.services-archive .service-item h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
}

.services-archive .service-item p {
    margin-bottom: 2rem;
    line-height: 1.625;
    letter-spacing: -0.025em;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.services-archive .service-tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.services-archive .service-tags > div {
    font-size: 0.875rem;
    border-radius: 2rem;
    background-color: var(--color-foreground);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Instrument Serif", serif;
    font-style: italic;
    height: 32px;
    padding: 0 1rem;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    letter-spacing: 0.025em;
}

.specialties-archive .specialties-section-archive {
    padding: var(--section-padding-sm);
}

.specialties-archive .specialties-section-archive .section-header {
    margin-bottom: 6rem;

    @media (max-width: 768px) {
        margin-bottom: 4rem;
    }
}

.specialties-archive .specialties-section-archive .section-header .section-badge {
    margin-left: 0;
}

.specialties-archive .specialties-section-archive .section-header p {
    margin-top: 2rem;
    line-height: 1.625;
    max-width: 672px;
    font-weight: 300;
    letter-spacing: -0.025em;
    opacity: 0.9;
    font-size: 1.125rem;
}

.specialties-archive .specialties-list li {
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid var(--color-muted-foreground);
}

.specialties-archive .specialties-list li:last-child {
    border-bottom: 1px solid var(--color-muted-foreground);
}

.specialties-archive .specialties-list li .hover-bg {
    position: absolute;
    inset: 0;
    background-color: var(--color-foreground);
    width: 100%;
    height: 100%;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.specialties-archive .specialties-list li:hover .hover-bg {
    transform: translateY(0);
    opacity: 1;
}

.specialties-archive .specialties-list li a {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
    display: block;
    mix-blend-mode: exclusion;
}

.specialties-archive .specialties-list li a h3 {
    font-weight: 400;
    color: var(--color-muted);
    margin: 0;
    font-size: 2.25rem;
    letter-spacing: -0.025em;

    @media (max-width: 768px) {
        font-size: 1.5rem;
    }
}