/* SS-UX-MOTION-002: intentionally limited to the homepage opening. */
.home-page .hero {
    --hero-drift: 0px;
    --hero-exit: 0;
    min-height: 740px;
    height: 100svh;
    isolation: isolate;
}

.home-page .hero-media,
.home-page .hero-poster,
.home-page .hero-video,
.home-page .hero-exit-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.home-page .hero-media {
    transform: translate3d(0, var(--hero-drift), 0) scale(1.035);
}

.home-page .hero-poster img,
.home-page .hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
}

.home-page .hero-video {
    opacity: 0;
    transition: opacity 350ms ease;
}

.home-page .hero.has-film .hero-video { opacity: var(--film-opacity, 0); transition: none; }

.home-page .hero-overlay {
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5,5,5,.92), rgba(5,5,5,.66) 30%, rgba(5,5,5,.1) 61%, transparent 85%),
        linear-gradient(0deg, #050505 0%, rgba(5,5,5,.35) 15%, transparent 42%),
        linear-gradient(180deg, rgba(5,5,5,.45), transparent 25%);
}

.home-page .hero-exit-shade {
    z-index: 1;
    background: #050505;
    opacity: var(--hero-exit);
}

.home-page .hero-content { padding-block: 150px 130px; }
.home-page .hero-copy { width: min(640px, 49%); }
.home-page .hero-motto { margin-bottom: 24px; }
.home-page .hero-motto span { width: 24px; }
.home-page .hero-motto p { font-size: 11px; letter-spacing: 2px; line-height: 1.7; }

.home-page .hero h1 {
    overflow: hidden;
    padding: .07em .03em .08em 0;
    margin-bottom: -.08em;
    font-size: clamp(108px, 11.5vw, 194px);
    line-height: .9;
    letter-spacing: -.025em;
}

.home-page .hero-title-reveal {
    display: block;
    animation: saint-title-open 950ms cubic-bezier(.16,1,.3,1) both;
}

.home-page .hero-creed {
    margin-top: 22px;
    font-size: 12px;
    letter-spacing: 3px;
    line-height: 1.8;
}

.home-page .hero-creed span { animation: saint-creed-light 800ms ease both; }
.home-page .hero-creed span:nth-child(2) { animation-delay: 120ms; }
.home-page .hero-creed span:nth-child(3) { animation-delay: 240ms; }
.home-page .hero-description { max-width: 430px; margin-top: 26px; font-size: 16px; line-height: 1.85; color: #c6c6c6; }
.home-page .hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.home-page .hero-actions .button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-width: 188px;
    font-size: 11px;
    letter-spacing: 1.5px;
}

.home-page .hero-actions .button::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: #fff;
    transform: translateY(102%);
    transition: transform 320ms cubic-bezier(.16,1,.3,1);
}

.home-page .hero-actions .button-light::before { background: #050505; }
.home-page .hero-actions .button:is(:hover, :focus-visible)::before { transform: translateY(0); }
.home-page .hero-actions .button-light:is(:hover, :focus-visible) { color: #fff; background: #fff; }
.home-page .hero-actions .button-outline:is(:hover, :focus-visible) { color: #050505; background: transparent; }
.home-page .hero-actions .button span { position: relative; }

.home-page .hero .scroll-mouse::after { animation: none; opacity: .8; }
.home-page .hero .scroll-indicator { bottom: 40px; }
.home-page .hero .scroll-indicator small { font-size: 10px; letter-spacing: 2px; }

.home-page .hero-playback {
    position: absolute;
    z-index: 3;
    right: max(28px, calc((100vw - 1500px) / 2));
    bottom: 32px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border: 1px solid #777;
    background: rgba(5,5,5,.75);
    color: #eee;
    font: 500 12px/1.3 "Montserrat", Arial, sans-serif;
    cursor: pointer;
    transition: border-color 200ms, background 200ms;
}

.home-page .hero-playback[hidden] { display: none; }
.home-page .hero-playback:is(:hover, :focus-visible) { border-color: #fff; background: #050505; }
.home-page .hero-playback-icon { width: 12px; height: 12px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.home-page .hero-playback[data-state="paused"] .hero-playback-icon { border: 6px solid transparent; border-left: 9px solid currentColor; width: 0; height: 0; }

.home-page .club-pillars { isolation: isolate; background: #050505; border-top-color: transparent; }
.home-page .pillar-starting-line { position: absolute; inset: 0 0 auto; height: 2px; overflow: hidden; background: #252525; }
.home-page .pillar-starting-line span { display: block; height: 100%; background: #e9e9e9; transform-origin: left; }
.home-page .club-pillars.motion-ready .pillar-starting-line span { transform: scaleX(.08); transition: transform 1100ms cubic-bezier(.16,1,.3,1); }
.home-page .club-pillars.line-crossed .pillar-starting-line span { transform: scaleX(1); }
.home-page .club-pillars .pillar-card { position: relative; min-height: 170px; transition: background 250ms; }
.home-page .club-pillars .pillar-card::after { content: ""; position: absolute; top: 28px; bottom: 28px; right: -1px; width: 1px; background: #aaa; transform: scaleY(0); transform-origin: top; transition: transform 700ms cubic-bezier(.16,1,.3,1); }
.home-page .club-pillars.line-crossed .pillar-card:not(:last-child)::after { transform: scaleY(1); }
.home-page .club-pillars .pillar-card:nth-child(2)::after { transition-delay: 120ms; }
.home-page .club-pillars .pillar-card h2 { letter-spacing: 2px; }
.home-page .club-pillars .pillar-card p { font-size: 12px; letter-spacing: .3px; line-height: 1.8; text-transform: none; color: #aaa; }

@media (hover: hover) and (pointer: fine) {
    .home-page .club-pillars .pillar-card:hover { background: #101010; }
}

@media (min-width: 761px) and (max-width: 1100px) {
    .home-page .hero-copy { width: min(610px, 65%); }
    .home-page .hero-overlay { background: linear-gradient(90deg, rgba(5,5,5,.94), rgba(5,5,5,.65) 42%, rgba(5,5,5,.12)), linear-gradient(0deg, #050505, transparent 35%); }
}

@media (max-width: 760px) {
    .home-page .hero { height: auto; min-height: 100svh; align-items: stretch; }
    .home-page .hero-media { height: clamp(480px, 78svh, 740px); transform: none; }
    .home-page .hero-poster img, .home-page .hero-video { object-position: center 44%; }
    .home-page .hero-overlay { background: linear-gradient(0deg, #050505 0%, #050505 24%, rgba(5,5,5,.8) 39%, transparent 65%), linear-gradient(180deg, rgba(5,5,5,.45), transparent 20%); }
    .home-page .hero-content { min-height: auto; padding-top: clamp(300px, 52svh, 470px); padding-bottom: 108px; width: calc(100% - 40px); }
    .home-page .hero-copy { width: 100%; }
    .home-page .hero-motto { gap: 10px; margin-bottom: 14px; }
    .home-page .hero-motto span { width: 18px; flex-shrink: 0; }
    .home-page .hero-motto p { font-size: 10px; letter-spacing: 1px; }
    .home-page .hero h1 { font-size: clamp(72px, 22vw, 124px); }
    .home-page .hero-creed { font-size: 11px; letter-spacing: 2px; margin-top: 14px; }
    .home-page .hero-description { font-size: 16px; margin-top: 20px; line-height: 1.75; }
    .home-page .hero-actions { margin-top: 24px; }
    .home-page .hero-actions .button { min-height: 50px; min-width: 0; width: 100%; }
    .home-page .hero-playback { bottom: 24px; right: 20px; }
    .home-page .club-pillars .pillar-card { min-height: 145px; padding: 26px 10px; }
    .home-page .club-pillars .pillar-card::after { display: none; }
    .home-page .club-pillars .pillar-card h2 { font-size: 30px; }
    .home-page .club-pillars .pillar-card p { font-size: 13px; }
}

@keyframes saint-title-open {
    from { transform: translateY(108%); }
    to { transform: translateY(0); }
}
@keyframes saint-creed-light {
    from { opacity: .4; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .hero *, .home-page .club-pillars * { animation: none !important; transition: none !important; }
    .home-page .hero-media { transform: none; }
    .home-page .hero-exit-shade { opacity: 0; }
    .home-page .hero-video, .home-page .hero-playback { display: none; }
    .home-page .club-pillars.motion-ready .pillar-starting-line span { transform: none; }
}
