.ocf-hero {
    position: relative;
    min-height: min(760px, calc(100vh - 4.5rem));
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--ocf-bg);
}

.ocf-hero__media,
.ocf-hero__shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ocf-hero__media {
    opacity: 0.08;
}

.ocf-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ocf-hero__shade {
    background: var(--ocf-bg);
    opacity: var(--media-overlay-opacity);
}

.ocf-section-sample--original-hero .ocf-hero__media {
    opacity: 0.24;
}

.ocf-section-sample--original-hero .ocf-hero__shade {
    opacity: 0.72;
}

.ocf-section-sample--original-hero .ocf-hero,
.ocf-section-sample--left-no-form-hero .ocf-hero {
    min-height: min(700px, calc(100vh - 4.5rem));
}

.ocf-section-sample--centered-hero .ocf-hero__media {
    opacity: 0.18;
}

.ocf-section-sample--centered-hero .ocf-hero__shade {
    opacity: 0.78;
}

.ocf-section-sample--centered-hero .ocf-hero--centered_band {
    min-height: min(700px, calc(100vh - 4.5rem));
}

.ocf-section-sample--centered-hero .ocf-hero--centered_band .ocf-hero__grid {
    grid-template-columns: minmax(0, 980px);
}

.ocf-section-sample--centered-hero .ocf-hero__content {
    max-width: 980px;
}

.ocf-section-sample--left-no-form-hero .ocf-hero__media {
    opacity: 0.24;
}

.ocf-section-sample--left-no-form-hero .ocf-hero__shade {
    opacity: 0.72;
}

.ocf-section-sample--left-no-form-hero .ocf-hero--split_no_form .ocf-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.ocf-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    padding-block: var(--section-pad);
}

.ocf-hero__content { max-width: 720px; }
.ocf-hero__rating {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: var(--ocf-label);
    font-size: var(--text-sm);
    line-height: 1;
}
.ocf-hero__stars {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    line-height: 1;
}
.ocf-hero__stars svg {
    display: block;
    width: 1em;
    height: 1em;
}
.ocf-hero__title span { display: block; }
.ocf-hero__text { max-width: 58ch; margin: 1.25rem 0 0; color: var(--ocf-body); font-size: var(--text-lg); }
.ocf-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.ocf-hero__form { align-self: stretch; display: flex; align-items: center; }
.ocf-hero--split_no_form .ocf-hero__grid,
.ocf-hero--single_column .ocf-hero__grid,
.ocf-hero--centered_band .ocf-hero__grid,
.ocf-hero--compact_emergency .ocf-hero__grid { grid-template-columns: minmax(0, 780px); }

.ocf-hero--centered_band,
.ocf-hero--compact_emergency {
    min-height: 0;
}

.ocf-hero--centered_band .ocf-hero__grid {
    justify-content: center;
    padding-block: clamp(4rem, 10vw, 7rem);
    text-align: center;
}

.ocf-hero--centered_band .ocf-hero__content,
.ocf-hero--centered_band .ocf-hero__text {
    margin-inline: auto;
}

.ocf-hero--centered_band .ocf-hero__rating,
.ocf-hero--centered_band .ocf-hero__actions,
.ocf-hero--compact_emergency .ocf-hero__rating,
.ocf-hero--compact_emergency .ocf-hero__actions {
    justify-content: center;
}

.ocf-hero--compact_emergency .ocf-hero__grid {
    justify-content: center;
    padding-block: clamp(2.75rem, 7vw, 4.75rem);
    text-align: center;
}

.ocf-hero--compact_emergency .ocf-hero__media {
    display: none;
}

.ocf-hero--compact_emergency .ocf-hero__rating {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--ocf-border);
    background: var(--ocf-bg-alt);
}

.ocf-hero--compact_emergency .ocf-hero__text {
    margin-inline: auto;
}

.ocf-section-index__header {
    padding-block: clamp(2rem, 6vw, 4rem);
    border-bottom: 1px solid var(--ocf-border-light);
    background: var(--ocf-bg-alt);
}

.ocf-section-index__header .eyebrow a {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.ocf-section-directory {
    background: var(--ocf-bg);
}

.ocf-section-directory__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ocf-section-directory__item {
    display: grid;
    gap: 0.65rem;
    min-height: 12rem;
    border: var(--card-border-width) solid var(--card-border-color);
    background: var(--ocf-bg);
    padding: clamp(1.25rem, 3vw, 1.75rem);
}

.ocf-section-directory__label {
    color: var(--ocf-heading);
    font-size: var(--text-xl);
    font-weight: 700;
}

.ocf-section-directory__description {
    color: var(--ocf-body);
}

.ocf-section-directory__meta {
    align-self: end;
    color: var(--ocf-label);
    font-size: var(--text-sm);
    font-weight: 700;
}

.ocf-section-sample {
    border-bottom: 1px solid var(--ocf-border-light);
}

.ocf-section-sample__label {
    padding-block: 0.75rem;
    border-block: 1px solid var(--ocf-border-light);
    background: var(--ocf-bg);
    color: var(--ocf-label);
    font-size: var(--text-sm);
}

.ocf-section-sample__label .container-global {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ocf-section-sample__label code {
    border: 1px solid var(--ocf-border);
    padding: 0.2rem 0.45rem;
    background: var(--ocf-bg-alt);
    color: var(--ocf-heading);
    font-size: var(--text-xs);
}

.sf-hero {
    position: relative;
    overflow: hidden;
    background: var(--ocf-bg);
}

.sf-hero h2 {
    margin: 0;
    color: inherit;
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: clamp(2.2rem, 5.4vw, 4.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sf-hero p {
    margin: 1rem auto 0;
    max-width: 42rem;
    color: currentColor;
    font-size: var(--text-lg);
    line-height: 1.45;
    opacity: 0.78;
}

.sf-hero__button,
.sf-hero__text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    border: 2px solid currentColor;
    padding: 0.75rem 1.35rem;
    color: inherit;
    font-size: var(--text-sm);
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
}

.sf-hero__button--dark {
    background: #202020;
    color: #fff;
    border-color: #202020;
}

.sf-hero__button--ghost {
    background: transparent;
}

.sf-hero__text-link {
    min-height: auto;
    border: 0;
    padding-inline: 0;
}

.sf-hero__actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.75rem;
}

.sf-hero__content {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, 860px);
    margin-inline: auto;
    text-align: center;
}

.sf-hero--center-media {
    min-height: min(860px, calc(100vh - 4.5rem));
    display: grid;
    place-items: center;
    background: #686868;
    color: #fff;
}

.sf-hero__media-mark {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(0, 0, 0, 0.2);
}

.sf-hero__media-mark span {
    position: relative;
    width: 18rem;
    aspect-ratio: 1.42;
    border: 1.25rem solid currentColor;
    border-radius: 1.6rem;
}

.sf-hero__media-mark span::before,
.sf-hero__media-mark span::after {
    content: "";
    position: absolute;
}

.sf-hero__media-mark span::before {
    left: 12%;
    right: 12%;
    bottom: 16%;
    height: 45%;
    background: currentColor;
    clip-path: polygon(0 100%, 34% 35%, 54% 62%, 76% 18%, 100% 100%);
}

.sf-hero__media-mark span::after {
    top: 18%;
    left: 20%;
    width: 2.6rem;
    aspect-ratio: 1;
    border-radius: 999px;
    background: currentColor;
}

.sf-hero__down {
    position: absolute;
    left: 50%;
    bottom: 2.2rem;
    width: 1.25rem;
    height: 1.25rem;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    color: #fff;
    transform: translateX(-50%) rotate(45deg);
}

.sf-hero--dark-stack {
    min-height: 42rem;
    display: grid;
    place-items: center;
    background: #050505;
    color: #fff;
}

.sf-hero--split {
    min-height: 38rem;
    display: grid;
    align-items: center;
    padding-block: clamp(4rem, 9vw, 7rem);
}

.sf-hero__split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.sf-hero--split-reverse .sf-hero__split-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.sf-hero__copy {
    max-width: 42rem;
}

.sf-hero__copy h2 {
    letter-spacing: 0.02em;
}

.sf-hero__copy p {
    margin-inline: 0;
    color: var(--ocf-body);
}

.sf-hero__copy .sf-hero__actions {
    justify-content: flex-start;
}

.sf-hero__block {
    min-height: clamp(20rem, 38vw, 34rem);
    background: #3d3d3d;
    background-position: center;
    background-size: cover;
    filter: grayscale(1);
    opacity: 0.72;
}

.sf-hero--poster {
    min-height: 48rem;
    display: grid;
    place-items: center;
    padding: clamp(2rem, 6vw, 5rem);
    background: #8f8f8f;
    color: #fff;
}

.sf-hero__poster-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: grayscale(1);
    opacity: 0.26;
}

.sf-hero__poster-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    text-align: center;
}

.sf-hero--poster-left {
    place-items: center stretch;
    background: #111;
}

.sf-hero--poster-left .sf-hero__poster-panel {
    text-align: left;
}

.sf-hero--poster-left .sf-hero__poster-panel p {
    margin-inline: 0;
}

.sf-hero--poster-left .sf-hero__button {
    margin-top: 1.75rem;
}

.sf-hero--interior {
    padding-block: clamp(4rem, 9vw, 7rem);
    background: var(--ocf-bg-alt);
    text-align: center;
}

.sf-hero--interior h2 {
    font-size: clamp(1.75rem, 4vw, 3.2rem);
}

.sf-hero--interior p {
    margin-top: 0.6rem;
    font-size: var(--text-sm);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sf-hero--interior-dark {
    background: #111;
    color: #fff;
}

@media (max-width: 900px) {
    .ocf-hero { min-height: auto; }
    .ocf-hero__grid { grid-template-columns: 1fr; }
    .ocf-section-directory__grid {
        grid-template-columns: 1fr;
    }
    .sf-hero__split-grid,
    .sf-hero--split-reverse .sf-hero__split-grid {
        grid-template-columns: 1fr;
    }
    .sf-hero__block {
        min-height: 18rem;
    }
}

@media (max-width: 640px) {
    .ocf-section-sample__label .container-global {
        align-items: flex-start;
        flex-direction: column;
    }
}
