/*
 * Page-level styles that don't yet warrant their own stylesheet.
 * Home's hero stub and the generic placeholder page live here for Phase 1;
 * expect this file to split apart as Phase 2 builds out real pages.
 */

/* Homepage hero slider (PRD §D) ------------------------------------------ */
/* Sizing lives on .hero-slider (the viewport); each .hero-slide stacks
   absolutely inside it so slides can cross-fade without layout shift. */

.hero-slider {
    position: relative;
    min-height: 620px;
    height: 78svh;
    max-height: 720px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-slider { min-height: 600px; height: 72svh; max-height: none; }
}

@media (min-width: 1024px) {
    .hero-slider { min-height: 620px; height: 78vh; max-height: 820px; }
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow);
}

.hero-slide[data-active] {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide picture,
.hero-slide__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide__image {
    object-fit: cover;
    object-position: 58% center;
}

.hero-slide__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17,17,17,0) 40%, rgba(17,17,17,0.68) 100%);
}

@media (min-width: 1024px) {
    .hero-slide__scrim {
        background: linear-gradient(90deg, rgba(17,17,17,0.78) 0%, rgba(17,17,17,0.2) 55%, rgba(17,17,17,0) 78%);
    }
}

.hero-slide__content-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
}

@media (min-width: 1024px) {
    .hero-slide__content-wrap { align-items: center; }
}

.hero-slide__content {
    max-width: 560px;
    color: var(--color-cream);
    padding-block: var(--space-7);
}

.hero-slide__content h1 {
    color: var(--color-cream);
    margin-bottom: var(--space-3);
}

.hero-slide__eyebrow {
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: var(--fs-caption);
    color: var(--color-cream);
    opacity: 0.85;
    margin-bottom: var(--space-2);
}

.hero-slide__copy {
    color: rgba(255, 246, 232, 0.85);
    margin-bottom: var(--space-5);
}

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(17,17,17,0.4);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

@media (min-width: 1024px) {
    .hero-slider__arrow { display: inline-flex; }
}

.hero-slider__arrow:hover { background: rgba(17,17,17,0.65); }
.hero-slider__arrow--prev { left: var(--space-5); }
.hero-slider__arrow--next { right: var(--space-5); }

.hero-slider__dots {
    position: absolute;
    bottom: var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-2);
    z-index: 5;
}

@media (min-width: 1024px) {
    .hero-slider__dots { bottom: var(--space-6); }
}

.hero-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.5);
    transition: background var(--transition-fast), width var(--transition-fast);
}

.hero-slider__dot[aria-current="true"] {
    background: #fff;
    width: 22px;
}

/* Generic placeholder page ------------------------------------------------ */

.placeholder-page {
    padding-block: var(--space-9);
    text-align: center;
}

.placeholder-page__eyebrow {
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: var(--fs-caption);
    color: var(--color-purple);
    margin-bottom: var(--space-2);
}

.placeholder-page p {
    margin-inline: auto;
}
