/* Jaipur Engineers faculty / mentor profiles
   Purpose-built for the mentor directory and profile pages.
   Keeps the existing Jaipur Engineers orange identity while using a distinct editorial layout. */

.je-faculty-page {
    --je-orange: #f26522;
    --je-orange-dark: #d94e0d;
    --je-ink: #111827;
    --je-ink-soft: #3f4756;
    --je-cream: #fff8f3;
    --je-line: #e9e5e1;
    --je-night: #101318;
    --je-card: #ffffff;
    background: #fff;
    color: var(--je-ink);
}
.je-faculty-page img { max-width: 100%; }
.je-faculty-shell { overflow: hidden; }
.je-faculty-grid-bg {
    position: absolute;
    inset: 0;
    opacity: .24;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000 10%, transparent 90%);
}
.je-faculty-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: var(--je-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.je-faculty-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}
.je-faculty-breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 34px;
    color: rgba(255,255,255,.65);
    font-size: 13px;
}
.je-faculty-breadcrumb a { color: #fff; }
.je-faculty-breadcrumb a:hover { color: #ff9a65; }

.je-faculty-hero {
    position: relative;
    padding: 54px 0 84px;
    background:
        radial-gradient(circle at 78% 18%, rgba(242,101,34,.28), transparent 34%),
        linear-gradient(135deg, #101318 0%, #171b22 55%, #0f1115 100%);
    color: #fff;
}
.je-portrait-wrap { position: relative; max-width: 430px; margin: 0 auto 28px; }
.je-portrait-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #262b33;
    box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.je-portrait-frame::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 1;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 20px;
}
.je-portrait-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 1122 / 1402;
    object-fit: cover;
}
.je-portrait-note {
    position: absolute;
    z-index: 3;
    right: -24px;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 220px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,.23);
    border-radius: 15px;
    background: rgba(20,24,30,.84);
    box-shadow: 0 16px 35px rgba(0,0,0,.24);
    backdrop-filter: blur(14px);
}
.je-portrait-note strong,
.je-portrait-note small { display: block; }
.je-portrait-note strong { color: #fff; font-size: 13px; line-height: 1.35; }
.je-portrait-note small { margin-top: 2px; color: rgba(255,255,255,.64); font-size: 11px; }
.je-live-dot {
    flex: 0 0 11px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--je-orange);
    box-shadow: 0 0 0 5px rgba(242,101,34,.16);
}
.je-mentor-intro { padding-left: 54px; position: relative; z-index: 2; }
.je-mentor-intro .je-faculty-kicker { color: #ff8b50; }
.je-mentor-intro h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.045em;
}
.je-role {
    margin: 18px 0 20px;
    color: #ff8b50;
    font-size: 21px;
    font-weight: 800;
}
.je-summary {
    max-width: 720px;
    margin-bottom: 24px;
    color: rgba(255,255,255,.75);
    font-size: 17px;
    line-height: 1.8;
}
.je-skill-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.je-skill-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 6px 11px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: inherit;
    font-size: 12px;
    font-weight: 700;
}
.je-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 31px; }
.je-faculty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
    line-height: 1.2;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.je-faculty-btn:hover { transform: translateY(-2px); }
.je-faculty-btn-primary {
    background: var(--je-orange);
    color: #fff;
    box-shadow: 0 13px 28px rgba(242,101,34,.22);
}
.je-faculty-btn-primary:hover { background: var(--je-orange-dark); color: #fff; }
.je-faculty-btn-ghost {
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.04);
    color: #fff;
}
.je-faculty-btn-ghost:hover { background: rgba(255,255,255,.09); color: #fff; }
.je-faculty-btn-light { background: #fff; color: var(--je-ink); }
.je-faculty-btn-light:hover { color: var(--je-orange-dark); }
.je-profile-note {
    max-width: 650px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.48);
    font-size: 11px;
    line-height: 1.55;
}

.je-faculty-section { padding: 88px 0; }
.je-faculty-section-white { background: #fff; }
.je-section-heading { margin-bottom: 34px; }
.je-section-heading h2 {
    margin: 0 0 14px;
    color: var(--je-ink);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.03em;
}
.je-section-heading p {
    max-width: 680px;
    margin: 0;
    color: #626b78;
    font-size: 16px;
    line-height: 1.75;
}
.je-heading-center { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.je-heading-center .je-faculty-kicker { justify-content: center; }
.je-sticky-heading { position: sticky; top: 110px; padding-right: 36px; }
.je-focus-list { border-top: 1px solid var(--je-line); }
.je-focus-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    align-items: start;
    padding: 25px 0;
    border-bottom: 1px solid var(--je-line);
}
.je-focus-item span {
    color: var(--je-orange);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}
.je-focus-item p {
    margin: 0;
    color: #252b34;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.55;
}

.je-method-section { background: var(--je-cream); }
.je-method-card {
    position: relative;
    min-height: 260px;
    margin-bottom: 24px;
    padding: 28px 24px;
    border: 1px solid #f0e2d7;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(44,27,16,.06);
}
.je-method-number {
    display: inline-flex;
    margin-bottom: 38px;
    color: var(--je-orange);
    font-size: 13px;
    font-weight: 900;
}
.je-method-card h3 { margin-bottom: 11px; color: var(--je-ink); font-size: 21px; }
.je-method-card p { margin: 0; color: #626b78; font-size: 14px; line-height: 1.7; }

.je-course-links { border-top: 1px solid var(--je-line); }
.je-course-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 4px;
    border-bottom: 1px solid var(--je-line);
    color: var(--je-ink);
    font-size: 17px;
    font-weight: 800;
}
.je-course-links a i { color: var(--je-orange); transition: transform .2s ease; }
.je-course-links a:hover { color: var(--je-orange-dark); }
.je-course-links a:hover i { transform: translateX(4px); }
.je-mentor-cta {
    margin-left: 34px;
    padding: 34px;
    border-radius: 22px;
    background: var(--je-night);
    color: #fff;
    box-shadow: 0 22px 45px rgba(17,19,24,.18);
}
.je-mentor-cta .je-faculty-kicker { color: #ff8b50; }
.je-mentor-cta h2 { color: #fff; font-size: 30px; line-height: 1.15; }
.je-mentor-cta p { margin-bottom: 24px; color: rgba(255,255,255,.68); line-height: 1.7; }

.je-related-section { background: #f6f7f9; }
.je-related-card {
    display: block;
    height: 100%;
    margin-bottom: 25px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    color: var(--je-ink);
    box-shadow: 0 13px 34px rgba(17,24,39,.07);
}
.je-related-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center 24%;
}
.je-related-card > div { padding: 22px 22px 24px; }
.je-related-card span { color: var(--je-orange); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.je-related-card h3 { margin: 6px 0 14px; color: var(--je-ink); font-size: 24px; }
.je-related-card strong { color: #5b6470; font-size: 13px; }
.je-related-card:hover strong { color: var(--je-orange-dark); }

.je-directory-hero {
    position: relative;
    padding: 58px 0 76px;
    background:
        radial-gradient(circle at 85% 15%, rgba(242,101,34,.30), transparent 28%),
        linear-gradient(135deg, #101318, #171b22);
    color: #fff;
}
.je-directory-hero h1 {
    max-width: 930px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.01;
    letter-spacing: -.045em;
}
.je-directory-hero p { max-width: 820px; margin: 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.75; }
.je-directory-hero .je-faculty-kicker { color: #ff8b50; }
.je-directory-stat {
    position: relative;
    z-index: 2;
    margin-left: auto;
    width: 190px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(12px);
}
.je-directory-stat strong { display: block; color: #fff; font-size: 52px; line-height: 1; }
.je-directory-stat span { display: block; margin-top: 9px; color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.45; }
.je-directory-section { background: #f7f7f8; }
.je-directory-card {
    height: calc(100% - 28px);
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid #eceef1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(17,24,39,.06);
    transition: transform .24s ease, box-shadow .24s ease;
}
.je-directory-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px rgba(17,24,39,.11); }
.je-directory-image { position: relative; display: block; overflow: hidden; background: #e9eaec; }
.je-directory-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center 24%;
    transition: transform .35s ease;
}
.je-directory-card:hover .je-directory-image img { transform: scale(1.025); }
.je-directory-image > span {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 11px;
    border-radius: 9px;
    background: rgba(17,19,24,.88);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}
.je-directory-content { padding: 23px; }
.je-directory-content h2 { margin: 0 0 6px; font-size: 26px; line-height: 1.15; }
.je-directory-content h2 a { color: var(--je-ink); }
.je-directory-content > p { margin-bottom: 16px; color: var(--je-orange-dark); font-size: 14px; font-weight: 800; }
.je-directory-content .je-skill-cloud { margin-bottom: 19px; }
.je-directory-content .je-skill-cloud span { border-color: #e7e8eb; background: #f7f7f8; color: #454d59; }
.je-profile-link { color: var(--je-ink); font-size: 13px; font-weight: 900; }
.je-profile-link i { margin-left: 5px; color: var(--je-orange); transition: transform .2s ease; }
.je-profile-link:hover { color: var(--je-orange-dark); }
.je-profile-link:hover i { transform: translateX(4px); }
.je-directory-bottom { padding: 58px 0; background: #fff4ec; border-top: 1px solid #f1dfd2; }
.je-directory-bottom h2 { margin: 0 0 9px; color: var(--je-ink); font-size: 34px; letter-spacing: -.02em; }
.je-directory-bottom p { margin: 0; color: #626b78; line-height: 1.65; }

.je-empty-state { max-width: 720px; margin: 80px auto; padding: 48px; text-align: center; border-radius: 24px; background: #f7f7f8; }
.je-empty-state h1 { color: var(--je-ink); }

@media (max-width: 991px) {
    .je-faculty-hero { padding-top: 34px; }
    .je-mentor-intro { padding: 26px 0 0; }
    .je-sticky-heading { position: static; padding-right: 0; }
    .je-mentor-cta { margin: 40px 0 0; }
    .je-directory-stat { margin: 30px 0 0; }
}
@media (max-width: 767px) {
    .je-faculty-section { padding: 62px 0; }
    .je-faculty-hero { padding-bottom: 58px; }
    .je-faculty-breadcrumb { margin-bottom: 24px; }
    .je-portrait-wrap { max-width: 360px; }
    .je-portrait-note { right: 10px; bottom: 14px; min-width: 195px; }
    .je-mentor-intro h1 { font-size: 46px; }
    .je-role { font-size: 18px; }
    .je-summary { font-size: 15px; }
    .je-hero-actions .je-faculty-btn { width: 100%; }
    .je-focus-item { grid-template-columns: 42px 1fr; }
    .je-focus-item p { font-size: 16px; }
    .je-method-card { min-height: auto; }
    .je-related-card img,
    .je-directory-image img { aspect-ratio: 16/11; }
    .je-directory-hero { padding-top: 38px; }
    .je-directory-hero h1 { font-size: 43px; }
    .je-directory-bottom .je-faculty-btn { margin-top: 24px; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .je-faculty-page *, .je-faculty-page *::before, .je-faculty-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
