/* ── Hero ────────────────────────────────────────────────────
   Figma: desktop 1397:12062, mobile 1397:11807.
   ─────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 730px;
    padding: 0 var(--pad-x);
    background: var(--color-beamwood);
    color: var(--color-on-dark);
    overflow: hidden;
}

.hero__media,
.hero__media::after {
    position: absolute;
    inset: 0;
}

/* Darkens the left, where the words are. */
.hero__media::after {
    content: "";
    background: linear-gradient(117.69deg, rgba(0, 0, 0, 0.7) 21.99%, rgba(0, 0, 0, 0) 66.45%);
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image--mobile {
    display: none;
}

/* Over the picture, shown once it is playing (no black frame first) */
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity var(--transition);
}

.hero__video.is-playing {
    opacity: 1;
}

.hero__inner {
    position: relative;
    width: 100%;
    max-width: var(--site-max-w);
    margin: 0 auto;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 792px;
}

.hero__tagline {
    font-family: var(--font-heading);
    font-size: 22px;
    font-style: italic;
    line-height: 1.2;
    color: #FFFFFF;
}

/* Dining / in front of the tagline: back to the parent page */
.hero__crumb {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

.hero__crumb:hover {
    color: var(--color-ochre);
}

.hero__crumb-sep {
    margin: 0 0.4em;
}

.hero__words {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero__title {
    font-size: 132px;
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -3.3px;
}

/* Desktop, 80–132px: Georgia sized for display Fraunces until it loads
   (fonts.css). The collections' 68px keeps the everyday one. */
@media (min-width: 1025px) {
    .hero__title {
        font-family: var(--font-display);
    }

    .hero--collection .hero__title {
        font-family: var(--font-heading);
    }
}

.hero__title em {
    font-style: normal;
    color: var(--color-candle-wax);
}

.hero__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 566px;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0.08px;
}

/* An *italic* word in the text, e.g. the "Eight" of Junior Suites */
.hero__text em {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--color-candle-wax);
}


/* Tablet and mobile — 1024px and below (Figma mobile frame) */
@media (max-width: 1024px) {
    .hero {
        min-height: 558px;
    }

    .hero__media::after {
        background: linear-gradient(89.72deg, rgba(0, 0, 0, 0.7) 15.1%, rgba(0, 0, 0, 0) 107.1%);
    }

    .hero__content {
        gap: 20px;
        max-width: 360px;
    }

    .hero__tagline {
        font-size: 18px;
        line-height: 1.3;
    }

    /* The heading's lines are set by the field; they run a touch wide, as in Figma. */
    .hero__title {
        font-size: 48px;
        line-height: 1;
        letter-spacing: -0.72px;
        white-space: pre-wrap;
    }

    /* Home: no set lines on tablet and mobile; the heading just wraps. */
    .hero--home .hero__title {
        white-space: normal;
    }

    .hero--home .hero__title br {
        display: none;
    }

    .hero__text {
        line-height: 1.55;
        letter-spacing: 0.04px;
    }
}

@media (max-width: 767px) {
    /* The home hero: the whole first screen under the header (60px), on the
       visible height with the browser's bars showing (svh); the booking
       widget comes after it. */
    .home .hero--home {
        min-height: calc(100svh - var(--header-h, 60px));
    }

    .hero__image--mobile {
        display: block;
    }

    .hero__image--desktop {
        display: none;
    }
}


/* ── Page style (Stay and the other inside pages) ────────────
   Figma: desktop 1366:66491, mobile 1366:66242.
   ─────────────────────────────────────────────────────────── */
.hero--page {
    min-height: 551px;
    padding: var(--pad-y) var(--pad-x);
}

.hero--page .hero__content,
.hero--page .hero__words {
    gap: 28px;
}

.hero--page .hero__content {
    max-width: 760px;
}

.hero--page .hero__title {
    font-size: 100px;
    letter-spacing: -2.5px;
}

.hero--page .hero__text {
    max-width: none;
}

@media (max-width: 1024px) {
    .hero--page {
        min-height: 393px;
    }

    .hero--page .hero__content {
        gap: 12px;
    }

    .hero--page .hero__words {
        gap: 16px;
    }

    /* Longer headings than the home page's: they wrap rather than run off */
    .hero--page .hero__title {
        font-size: 48px;
        letter-spacing: -0.72px;
        white-space: normal;
    }
}


/* ── Collection style (Junior Suites, Luxury Suites) ─────────
   Figma: desktop 1366:65180, mobile in 1366:65438. The
   breadcrumb inside, the heading beside the text.
   ─────────────────────────────────────────────────────────── */
.hero--collection {
    min-height: 351px;
    padding: var(--pad-y) var(--pad-x);
}

.hero--collection .hero__media::after {
    background: linear-gradient(124.74deg, rgba(0, 0, 0, 0.8) 24.72%, rgba(0, 0, 0, 0) 90.01%);
}

.hero--collection .hero__content {
    max-width: none;
}

/* Darker, for the words over a bright picture (Luxury Suites, for
   contrast). The Figma's stops, black for its burgundy. */
.hero--collection.hero--deep .hero__media::after {
    background: linear-gradient(75deg, rgba(0, 0, 0, 0.8) -14.23%, rgba(20, 13, 12, 0.8) 54.84%, rgba(0, 0, 0, 0) 138.4%);
}

.hero--collection .hero__words {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

.hero--collection .hero__title {
    flex: 0 0 auto;
    font-size: 68px;
    line-height: 0.94;
    letter-spacing: -1.02px;
}

.hero--collection .hero__text {
    flex: 0 1 908px;
    max-width: none;
}

@media (max-width: 1024px) {
    .hero--collection {
        min-height: 0;
    }

    .hero--collection .hero__media::after {
        background: rgba(0, 0, 0, 0.56);
    }

    .hero--collection.hero--deep .hero__media::after {
        background: rgba(20, 13, 12, 0.8);
    }

    .hero--collection .hero__content {
        gap: 16px;
    }

    .hero--collection .hero__words {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hero--collection .hero__title {
        font-size: 32px;
        line-height: 1.06;
        letter-spacing: -0.32px;
    }

    .hero--collection .hero__text {
        flex: none;
        gap: 12px;
        font-size: 14px;
        line-height: 1.55;
    }
}


/* ── Dine style (Dining, Menus, Private Dining) ──────────────
   Figma: Dining 1366:71182, mobile 1366:71531. As the page
   style (which shares its black wash), with a button under the words. Each
   page's own wash (they differ a little) is in its template's
   CSS; this is the Dining page's.
   ─────────────────────────────────────────────────────────── */
.hero--dine {
    min-height: 551px;
    padding: var(--pad-y) var(--pad-x);
}

.hero--page .hero__media::after,
.hero--dine .hero__media::after {
    background: linear-gradient(124.74deg, rgba(0, 0, 0, 0.8) 24.72%, rgba(0, 0, 0, 0) 90.01%);
}

.hero--dine .hero__content {
    gap: 24px;
    max-width: 820px;
}

.hero--dine .hero__tagline {
    color: var(--color-candle-wax);
}

.hero--dine .hero__words {
    gap: 24px;
}

.hero--dine .hero__title {
    font-size: 100px;
    letter-spacing: -2.5px;
    color: var(--color-canvas);
}

.hero--dine .hero__text {
    max-width: 750px;
    color: var(--color-candle-wax);
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* View menus: phones and tablets only (Private Dining) */
.hero__secondary--phones {
    display: none;
}

@media (max-width: 1024px) {
    .hero--dine {
        min-height: 393px;
        padding: 77px var(--pad-x);
    }

    /* Two black washes (no burgundy anywhere: the Dining page's, made
       black throughout). */
    .hero--page .hero__media::after,
    .hero--dine .hero__media::after {
        background:
            linear-gradient(68.48deg, rgba(0, 0, 0, 0.8) -61.37%, rgba(0, 0, 0, 0.8) 35.06%, rgba(0, 0, 0, 0) 116.14%),
            linear-gradient(89.61deg, rgba(0, 0, 0, 0.7) 15.1%, rgba(0, 0, 0, 0) 107.1%);
    }

    .hero--dine .hero__content {
        gap: 12px;
        max-width: 560px;
    }

    .hero--dine .hero__tagline {
        color: #FFFFFF;
    }

    .hero--dine .hero__words {
        gap: 16px;
    }

    .hero--dine .hero__title {
        font-size: 48px;
        line-height: 1;
        letter-spacing: -0.72px;
        white-space: normal;
        color: var(--color-on-dark);
    }

    .hero--dine .hero__text {
        color: var(--color-on-dark);
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 12px;
    }

    .hero__button {
        justify-content: center;
    }

    .hero__secondary,
    .hero__secondary--phones {
        display: inline-flex;
        align-self: center;
    }
}


/* ── Split style (Vacancies, a role) ─────────────────────────
   Figma: Vacancies 1529:18784, role detail 1533:1013. The heading
   on the left, the words and the button on the right, over a
   blurred texture; a role's facts in a row under them.
   ─────────────────────────────────────────────────────────── */
.hero--split {
    min-height: 325px;
    padding: 112px var(--pad-x) 64px;
}

.hero--split .hero__media::after {
    content: none;
}

.hero--split .hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 549px);
    grid-template-areas:
        "crumbs crumbs"
        "title text"
        "title actions"
        "facts facts";
    align-items: start;
    gap: 24px 64px;
    max-width: none;
}

.hero--split .hero__words {
    display: contents;
}

/* Careers / Vacancies, across the top */
.hero--split .breadcrumb {
    grid-area: crumbs;
    margin-bottom: 8px;
}

.hero--split .hero__title {
    grid-area: title;
    font-size: 80px;
    line-height: 1;
    letter-spacing: -1.2px;
}

.hero--split .hero__title em {
    font-style: italic;
    color: inherit;
}

.hero--split .hero__text {
    grid-area: text;
    max-width: none;
    color: var(--color-candle-wax);
}

.hero--split .hero__actions {
    grid-area: actions;
}

.hero--split .hero__button {
    width: 246px;
}

/* Department, Contract, Hours, Pay, Location */
.hero__facts {
    grid-area: facts;
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 24px 48px;
    margin: 40px 0 0;
}

.hero__fact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero__fact-label {
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 4.48px;
    text-transform: uppercase;
    color: var(--color-canvas);
}

.hero__fact-value {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0.08px;
    color: var(--color-candle-wax);
}

@media (max-width: 1024px) {
    .hero--split {
        min-height: 0;
        padding: var(--pad-y) var(--pad-x);
    }

    .hero--split .hero__content {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "crumbs"
            "title"
            "text"
            "actions"
            "facts";
        gap: 20px;
    }

    .hero--split .hero__title {
        font-size: 48px;
        letter-spacing: -0.72px;
    }

    .hero--split .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero--split .hero__button {
        width: 100%;
    }

    .hero__facts {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 20px;
    }
}

/* Split: the button copper on the texture, not white */
.hero--split .hero__button.button--inverse {
    --bg:         var(--color-copper);
    --bg-hover:   #9A4627;
    --bg-pressed: #7F3A20;
    color: var(--color-on-dark);
}
