/* Fullscreen hero with poster image (or looping video), softly darkened. */

.site-hero {
    position: relative;
    min-height: var(--site-hero-min-h);
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    color: #FAF7F2;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
}

.site-hero--section {
    min-height: var(--site-hero-min-h-inner);
}

.site-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Two-layer veil: soft linear top-to-bottom + a radial pool that darkens the
   centre where the display title sits. Guarantees legibility on any photo. */
.site-hero__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 50% 50%,
            rgba(20, 18, 15, 0.55) 0%,
            rgba(20, 18, 15, 0.35) 45%,
            rgba(20, 18, 15, 0.15) 75%,
            rgba(20, 18, 15, 0) 100%),
        linear-gradient(180deg,
            rgba(20, 18, 15, 0.45) 0%,
            rgba(20, 18, 15, 0.20) 45%,
            rgba(20, 18, 15, 0.65) 100%);
    z-index: -1;
}

.site-hero__inner {
    position: relative;
    text-align: center;
    padding-inline: var(--space-5);
    max-width: 960px;
    color: #FAF7F2;
    animation: hero-rise 900ms var(--ease-out) both;
}

.site-hero__eyebrow {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(14px, 1.6vw, 20px);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: inherit;
    opacity: 0.95;
    margin: 0 0 var(--space-5);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.site-hero__title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(48px, 8vw, 120px);
    line-height: 1.02;
    letter-spacing: -0.005em;
    color: inherit;
    margin: 0;
    text-shadow:
        0 2px 24px rgba(0, 0, 0, 0.55),
        0 1px 3px rgba(0, 0, 0, 0.35);
}

.site-hero--section .site-hero__title {
    font-weight: 400;
    letter-spacing: 0.02em;
    font-size: clamp(40px, 6vw, 88px);
}

.site-hero__sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.4;
    color: inherit;
    margin: var(--space-5) 0 0;
    opacity: 0.95;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.site-hero__cta {
    margin-block-start: clamp(var(--space-6), 4vw, var(--space-7));
    background: rgba(250, 247, 242, 0.92);
    color: var(--color-text);
    border-color: rgba(250, 247, 242, 0.92);
}

.site-hero__cta:hover {
    background: transparent;
    color: var(--color-bg);
    border-color: var(--color-bg);
}

/* Scroll hint for landing hero */
.site-hero__scroll {
    position: absolute;
    inset-block-end: var(--space-6);
    inset-inline-start: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 60px;
    color: currentColor;
    opacity: 0.9;
}

.site-hero__scroll-line {
    width: 1px;
    height: 60px;
    background: currentColor;
    animation: hero-line 2.2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes hero-line {
    0%, 100% { transform: scaleY(0.2); opacity: 0.4; }
    50%      { transform: scaleY(1);   opacity: 1; }
}

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
    .site-hero { min-height: 90vh; }
    .site-hero__title { text-wrap: balance; }
}
