.ccr-layout {
    --ccr-gutter: clamp(16px, 4vw, 56px);
    --ccr-overlap: clamp(96px, 11vw, 160px);
    --ccr-hairline: color-mix(in srgb, var(--ccr-dark) 10%, transparent);
    display: block;
    width: 100%;
    color: var(--ccr-dark);
    font-family: var(--ccr-sans);
}

.ccr-layout *,
.ccr-layout *::before,
.ccr-layout *::after {
    box-sizing: border-box;
}

.ccr-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: calc(var(--ccr-header-h, 104px) * -1);
    padding: calc(var(--ccr-header-h, 104px) + clamp(56px, 8vw, 112px)) var(--ccr-gutter) calc(var(--ccr-overlap) + clamp(48px, 5vw, 80px));
    overflow: hidden;
    background: var(--ccr-dark);
    color: var(--ccr-white);
    text-align: center;
    isolation: isolate;
}

.ccr-hero.has-image {
    min-height: clamp(540px, 74vh, 780px);
}

.ccr-hero--single {
    justify-content: flex-end;
}

.ccr-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.ccr-layout img.ccr-hero__img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
}

.ccr-hero.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(202deg, color-mix(in srgb, var(--ccr-dark) 52%, transparent) 0%, var(--ccr-dark) 100%);
}

.ccr-hero__inner {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.ccr-crumbs {
    margin: 0 0 22px;
}

.ccr-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ccr-crumbs__item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    color: var(--ccr-on-dark-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .3px;
}

.ccr-crumbs__item:not(:last-child)::after {
    content: "";
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    margin: 0 12px 0 10px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    opacity: .7;
    transform: rotate(45deg);
}

.ccr-layout .ccr-crumbs a {
    color: var(--ccr-on-dark);
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.ccr-layout .ccr-crumbs a:hover,
.ccr-layout .ccr-crumbs a:focus-visible {
    color: var(--ccr-white);
    text-decoration: underline;
    text-decoration-color: var(--ccr-accent);
    text-underline-offset: 4px;
}

.ccr-crumbs__item[aria-current] span {
    display: block;
    max-width: min(46ch, 62vw);
    overflow: hidden;
    color: var(--ccr-accent);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ccr-layout p.ccr-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: var(--ccr-accent);
    font-family: var(--ccr-serif);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.ccr-hero__eyebrow::before,
.ccr-hero__eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: color-mix(in srgb, var(--ccr-accent) 55%, transparent);
}

.ccr-layout .ccr-hero__eyebrow a {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.ccr-layout .ccr-hero__eyebrow a:hover,
.ccr-layout .ccr-hero__eyebrow a:focus-visible {
    color: var(--ccr-white);
}

.ccr-layout h1.ccr-hero__title {
    margin: 18px 0 0;
    color: var(--ccr-white);
    font-family: var(--ccr-serif);
    font-size: clamp(44px, 6.6vw, 96px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: 0;
    text-wrap: balance;
}

.ccr-hero--single h1.ccr-hero__title {
    font-size: clamp(38px, 5.4vw, 76px);
    line-height: 1.08;
}

.ccr-layout h1.ccr-hero__title > span:not(.ccr-nowrap) {
    color: var(--ccr-cream);
}

.ccr-hero__desc {
    max-width: 620px;
    margin: 22px auto 0;
    color: var(--ccr-on-dark);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

.ccr-hero__desc p {
    margin: 0;
}

.ccr-hero__desc p + p {
    margin-top: 10px;
}

.ccr-layout p.ccr-hero__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    margin: 24px 0 0;
    color: var(--ccr-on-dark);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .3px;
}

.ccr-hero__meta > * + *::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 14px 0 0;
    border-radius: 50%;
    background: var(--ccr-accent);
    vertical-align: middle;
}

.ccr-panel {
    position: relative;
    z-index: 1;
    max-width: calc(1420px + var(--ccr-gutter) * 2);
    margin: calc(var(--ccr-overlap) * -1) auto 0;
    padding: 0 var(--ccr-gutter) clamp(80px, 9vw, 140px);
}

.ccr-sheet {
    padding: clamp(32px, 6vw, 88px) clamp(20px, 6vw, 88px);
    border-radius: var(--ccr-radius-lg);
    background: var(--ccr-white);
    box-shadow: var(--ccr-shadow-soft);
}

.ccr-page__shop {
    padding: clamp(28px, 3.4vw, 48px) var(--ccr-gutter) clamp(72px, 8vw, 120px);
}

@media (max-width: 767px) {
    .ccr-hero.has-image {
        min-height: 480px;
    }

    .ccr-hero__desc {
        font-size: 16px;
    }

    .ccr-layout p.ccr-hero__meta {
        font-size: 13px;
    }

    .ccr-crumbs {
        margin-bottom: 16px;
    }

    .ccr-crumbs__item {
        font-size: 12px;
    }

    .ccr-crumbs__item[aria-current]:nth-child(n+3):not(.ccr-crumbs__item--page) {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .ccr-crumbs__item:has(+ .ccr-crumbs__item[aria-current]:nth-child(n+3):not(.ccr-crumbs__item--page))::after {
        display: none;
    }

    .ccr-layout .ccr-crumbs a {
        display: inline-block;
        padding-block: 3px;
    }

    .ccr-sheet {
        border-radius: 22px;
    }
}
