.cocoon-hero {
    position:relative;
	height:100svh;
    overflow:hidden;
}

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

.cocoon-hero .desktop-video{
    display:block;
}

.cocoon-hero .mobile-video{
    display:none;
}

.cocoon-hero__eyebrow  {
    font-size: 1rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--cocoon-gold);
    font-weight: 700 !important;
    margin-block-end: 0px;
}

.cocoon-hero__eyebrow span {
	margin: 0 4px;
}

.cocoon-hero__title {
    max-width: clamp(650px, 7.5vw, 680px);
    margin: 0 0 24px;
    color: var(--cocoon-sand);
    font-family: "Playfair Display", serif;
    font-size: clamp(4.5rem, 7.5vw, 7rem);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: -0.035em;
}

.cocoon-hero__subtitle {
    max-width: 540px !important;
    margin: 0;
    color: var(--cocoon-sand);
    font-family: "PT Sans", sans-serif;
    line-height: 1.65;
    max-width: 46ch !important;
}

.cocoon-hero .cocoon-content {
    position: absolute;
    inset: 0;
    z-index: 3;

    width: min(1180px, calc(100% - 64px));
    height: 100%;
    margin: 0 auto;
    padding: 0 0 clamp(120px, 13vh, 145px);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.cocoon-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
}

.cocoon-hero__scroll {
    appearance: none;
    position: absolute;
    left: 50%;
    bottom: 80px;
    z-index: 100;
    width: 60px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--cocoon-sand);
    font-size: 30px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transform: translateX(-50%);
}

.cocoon-overlay1 {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(248, 243, 234, 0.88) 0%,
            rgba(248, 243, 234, 0.64) 38%,
            rgba(248, 243, 234, 0.20) 72%,
            rgba(248, 243, 234, 0.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(248, 243, 234, 0.76) 0%,
            rgba(248, 243, 234, 0.18) 58%,
            transparent 100%
        );

    pointer-events: none;
}

.cocoon-hero__scroll:hover,
.cocoon-hero__scroll:focus {
    color: var(--cocoon-gold);
    background: transparent;
    box-shadow: none;
}

.cocoon-hero__scroll span {
    display: block;
    animation: arrow-fade-down 2s infinite;
}
/* Make image heroes fill the complete viewport */
.cocoon-hero__picture {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.cocoon-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

@media(max-width:1210px){
	.cocoon-hero__title {
		max-width: clamp(510px, 7.5vw, 600px);
    }
}
@media(max-width:550px){
	.cocoon-hero__title {
		max-width: clamp(510px, 7.5vw, 600px);
    }
}
@media(max-width:768px){
    .cocoon-hero .desktop-video{
        display:none;
    }
    .cocoon-hero .mobile-video{
        display:block;
    }
	.cocoon-hero{
		height:100svh;
		min-height:100svh;
	}
	.cocoon-hero .cocoon-content {
        width: calc(100% - 40px);
        padding-bottom: 100px;
    }
	
    .cocoon-hero__eyebrow  {
		font-size: 1rem;
		letter-spacing: .24em;
		text-transform: uppercase;
		color: var(--cocoon-gold);
		font-weight: 700;
	}

    .cocoon-hero__eyebrow span {
        margin: 0 4px;
    }

    .cocoon-hero__title {
		max-width: clamp(510px, 7.5vw, 600px);
        margin-bottom: 10px;
        font-size: clamp(3.25rem, 16vw, 4.5rem);
        line-height: 0.96;
    }

    .cocoon-hero__subtitle {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.55;
    }
}

@keyframes arrow-fade-down {
    0% {
        transform: translateY(-12px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

/* General page without a hero */

.treatment-page--general.treatment-page--no-hero
.treatment-navigation {
	padding-top: 120px;
}

@media (max-width: 767px) {
	.treatment-page--general.treatment-page--no-hero
	.treatment-navigation {
		padding-top: 95px;
	}
}
