/* ============================================================
   Careers.razor.css  —  FDE Careers page (scoped CSS isolation)
   Ashley orange / white / cream scheme, matched to site.css tokens.
   ============================================================ */

.careers {
    --ashley-orange: #eb8e38;
    --ashley-orange-hi: #F68C2C;
    --ashley-orange-dk: #d47a2e;
    --ashley-orange-dkr: #c26a22;
    --ashley-gold: #c8a96b;
    --ashley-cream: #f8f5ef;
    --ashley-cream-dp: #f4efe5;
    --ashley-border: #d9d2c5;
    --ashley-text: #2f2f2f;
    --ashley-ink: #1a1a1a;
    --ashley-muted: #6b6b6b;
    --ashley-white: #ffffff;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --pill: 999px;
    --shadow: 0 10px 25px rgba(47, 47, 47, .08);
    --shadow-sm: 0 2px 10px rgba(47, 47, 47, .06);
    --max: 1200px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ashley-text);
    line-height: 1.6;
    background: #fff;
}
    /* ------------------------ Smooth anchor scroll ------------------------ */
    .careers [id] {
        scroll-margin-top: -60px; /* eats the section's 76px top padding */
    }

    .careers h1, .careers h2, .careers h3, .careers h4 {
        font-family: Arial, Helvetica, sans-serif;
        color: var(--ashley-ink);
        margin: 0 0 .5rem;
        line-height: 1.2;
        border: none;
    }

.container {
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: 24px;
}

/* ---------------------------- Buttons ---------------------------- */
.btn {
    display: inline-block;
    padding: 13px 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.btn--primary {
    background: var(--ashley-orange);
    color: #fff;
}

    .btn--primary:hover {
        background: var(--ashley-orange-dk);
        color: #fff;
    }

.btn--ghost {
    border-color: var(--ashley-orange);
    color: var(--ashley-orange);
    background: #fff;
}

    .btn--ghost:hover {
        background: #fff8f2;
        color: var(--ashley-orange-dk);
        border-color: var(--ashley-orange-dk);
    }

.btn--dark {
    background: var(--ashley-ink);
    color: #fff;
}

    .btn--dark:hover {
        background: #444;
    }

/* ---------------------------- Eyebrow ---------------------------- */
.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ashley-gold);
    margin-bottom: 12px;
}

.eyebrow--dark {
    color: var(--ashley-orange);
}

/* ------------------------------ Hero ------------------------------ */
.hero {
    position: relative;
    min-height: 66vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfaf7 0%, var(--ashley-cream-dp) 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #f4efe5 0%, #e8ddca 100%);
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 48%, rgba(255,255,255,.45) 100%);
}

.hero__inner {
    position: relative;
    max-width: var(--max);
    margin-inline: auto;
    padding: 88px 24px;
    width: 100%;
}

.hero__title {
    color: var(--ashley-orange);
    font-size: clamp(30px, 5vw, 54px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero__sub {
    color: var(--ashley-text);
    font-size: clamp(15px, 1.4vw, 18px);
    max-width: 620px;
    margin-bottom: 28px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ------------------------- Value proposition ------------------------- */
.valueprop {
    background: transparent;
    margin-top: -56px;
    position: relative;
    z-index: 2;
    padding-inline: 24px;
    max-width: var(--max);
    margin-inline: auto;
}

.valueprop__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid var(--ashley-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.pillar {
    background: #fff;
    padding: 34px 26px;
    border-right: 1px solid #eee6d8;
}

    .pillar:last-child {
        border-right: none;
    }

.pillar__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff3e7;
    color: var(--ashley-orange);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
}

.pillar__title {
    font-size: 17px;
    font-weight: 700;
}

.pillar__copy {
    font-size: 14px;
    color: var(--ashley-muted);
    margin: 0;
}

/* ----------------------------- Sections ----------------------------- */
.section {
    padding: 76px 0;
}

.section--light {
    background: var(--ashley-cream);
}

.section--dark {
    background: #fff;
}

.section--accent {
    background: linear-gradient(180deg, #fff 0%, #fffaf4 100%);
    border-top: 1px solid var(--ashley-border);
    border-bottom: 1px solid var(--ashley-border);
}

.section__head {
    margin-bottom: 44px;
    max-width: 780px;
}

.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.section__title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--ashley-orange);
}

.section__sub {
    font-size: 16px;
    color: var(--ashley-text);
    margin: 10px 0 0;
}

.section__sub--dark {
    color: var(--ashley-text);
}

.subhead {
    font-size: 20px;
    font-weight: 700;
    color: var(--ashley-ink);
    margin: 52px 0 22px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ashley-orange);
    display: inline-block;
}

.subhead--flush {
    margin-top: 0;
}

/* --------------------------- Compensation --------------------------- */
.comp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.comp__card {
    background: #fff;
    border: 1px solid var(--ashley-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.comp__img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    background: linear-gradient(135deg, #f4efe5, #e0d5c1);
}

.comp__body {
    padding: 28px;
}

.comp__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ashley-orange);
}

.comp__lede {
    margin: 8px 0 20px;
    color: var(--ashley-text);
    font-size: 15px;
}

.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .checklist li {
        position: relative;
        padding-left: 26px;
        margin-bottom: 10px;
        font-size: 15px;
    }

        .checklist li::before {
            content: "";
            position: absolute;
            left: 0;
            top: .5em;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--ashley-orange);
        }

/* ------------------------------ Cards ------------------------------ */
.cards {
    display: grid;
    gap: 24px;
}

.cards--3 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: #fff;
    border: 1px solid var(--ashley-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s;
}

    .card:hover {
        border-color: var(--ashley-orange);
        box-shadow: 0 4px 16px rgba(232, 124, 30, .12);
    }

.card__img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    background: linear-gradient(135deg, #f4efe5, #e0d5c1);
}

.card__body {
    padding: 22px;
}

.card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ashley-ink);
}

.card__copy {
    font-size: 14px;
    color: var(--ashley-muted);
    margin: 0;
}

/* ------------------------------ Chips ------------------------------ */
.chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.chip {
    border: 1px solid var(--ashley-border);
    border-radius: var(--pill);
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ashley-orange);
    background: #fff8f2;
}

/* --------------------------- Ashley Cares --------------------------- */
.cares {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    margin-top: 48px;
    align-items: start;
}

.cares__intro p {
    color: var(--ashley-text);
    font-size: 15px;
}

.cares__img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-top: 20px;
    background: linear-gradient(135deg, #f4efe5, #e0d5c1);
}

.cares__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 26px;
}

.cares__item {
    background: var(--ashley-cream);
    border-left: 3px solid var(--ashley-orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 18px;
}

    .cares__item h4 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .cares__item p {
        font-size: 14px;
        color: var(--ashley-muted);
        margin: 0;
    }

/* ------------------------------ Growth ------------------------------ */
.growth {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.growth__img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #f4efe5, #e0d5c1);
}

.growth__list {
    display: grid;
    gap: 18px;
}

.growth__item {
    background: #fff;
    border: 1px solid var(--ashley-border);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
}

    .growth__item h4 {
        font-size: 16px;
        font-weight: 700;
        color: var(--ashley-orange);
        margin-bottom: 5px;
    }

    .growth__item p {
        font-size: 14px;
        color: var(--ashley-muted);
        margin: 0;
    }

/* ---------------------------- Stat band ---------------------------- */
.statband {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 52px;
    background: #fff;
    border: 1px solid var(--ashley-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.stat {
    padding: 30px 22px;
    text-align: center;
    border-right: 1px solid #eee6d8;
}

    .stat:last-child {
        border-right: none;
    }

.stat__num {
    display: block;
    font-size: 38px;
    font-weight: 700;
    color: var(--ashley-orange);
    line-height: 1;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 13px;
    color: var(--ashley-muted);
}

/* ------------------------------ Awards ------------------------------ */
.awards {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 44px;
    align-items: center;
}

.awards__badge {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.awards__body p {
    max-width: 640px;
    margin-bottom: 24px;
    font-size: 16px;
}

.awards__body strong {
    color: var(--ashley-ink);
}

/* ---------------------------- Testimonials ---------------------------- */
.quote {
    background: #fff;
    border: 1px solid var(--ashley-border);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    margin: 0;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.quote__avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    display: block;
    border: 3px solid var(--ashley-orange);
    background: #f4efe5;
}

.quote__text {
    font-size: 15px;
    font-style: italic;
    color: var(--ashley-text);
    margin: 0 0 16px;
}

.quote__meta {
    display: block;
}

.quote__name {
    display: block;
    font-weight: 700;
    color: var(--ashley-orange);
    font-size: 15px;
}

.quote__role {
    display: block;
    font-size: 13px;
    color: var(--ashley-muted);
}

/* -------------------------------- CTA -------------------------------- */
.cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #F28E31, #F28E31);
}

.cta__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #F28E31;
}

.cta__scrim {
    position: absolute;
    inset: 0;
    background: #F28E31;
}

.cta__inner {
    position: relative;
    max-width: 820px;
    margin-inline: auto;
    padding: 76px 24px;
    text-align: center;
}

.cta h2.cta__title {
    color: #fff;
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 700;
}

.cta__sub {
    color: #fff;
    font-size: 16px;
    margin-bottom: 28px;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.cta .btn--primary,
.cta .btn--ghost {
    background: #F28E31;
    border-color: #fff;
    color: #fff;
}

    .cta .btn--primary:hover,
    .cta .btn--ghost:hover {
        background: #F28E31;
        color: #fff;
        border-color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(0,0,0,.2);
    }
/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 992px) {
    .valueprop__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillar:nth-child(2) {
        border-right: none;
    }

    .comp {
        grid-template-columns: 1fr;
    }

    .cards--3 {
        grid-template-columns: 1fr 1fr;
    }

    .cares, .growth {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .cares__list {
        grid-template-columns: 1fr 1fr;
    }

    .statband {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .growth__img {
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 48px 0;
    }

    .hero {
        min-height: auto;
    }

    .hero__inner {
        padding: 56px 16px;
    }

    .hero__title {
        font-size: 26px;
    }

    .hero__sub {
        font-size: 14px;
    }

    .valueprop {
        margin-top: 0;
        padding-inline: 16px;
    }

    .valueprop__grid {
        grid-template-columns: 1fr;
    }

    .pillar {
        border-right: none;
        border-bottom: 1px solid #eee6d8;
    }

        .pillar:last-child {
            border-bottom: none;
        }

    .container {
        padding-inline: 16px;
    }

    .cards--3 {
        grid-template-columns: 1fr;
    }

    .cares__list {
        grid-template-columns: 1fr;
    }

    .statband {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid #eee6d8;
    }

        .stat:last-child {
            border-bottom: none;
        }

    .awards {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 24px;
    }

    .comp__body, .card__body {
        padding: 20px 18px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    .hero__actions, .cta__actions {
        flex-direction: column;
    }

    .cta__inner {
        padding: 48px 16px;
    }

    .subhead {
        margin: 36px 0 18px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 22px;
    }

    .section__title {
        font-size: 22px;
    }

    .comp__img, .card__img {
        height: 165px;
    }

    .quote {
        padding: 24px 18px;
    }
}
/* Add breathing room between Events and Employee Recognition */
.careers #culture .cards--3 {
    margin-bottom: 42px;
}
    .careers #culture .cards--3 + .subhead {
        margin-top: 0;
    }