/**
 * @file
 * F-Skill Homepage — Anonymous landing page styles.
 *
 * Uses the same design tokens as fskill-feed.html:
 *   DM Sans + Fraunces, teal/amber palette, light/dark mode.
 */

/* ═══════════════════════════════════════
   EDGE-TO-EDGE + HIDE DEFAULT FOOTER
   This CSS only loads on the homepage (via the
   fskill_homepage library), so these rules are
   safely scoped and won't affect other pages.
   ═══════════════════════════════════════ */

/* Hide the default Drupal/Aristotle footer */
.site-footer,
.bottom-footer,
.page-footer,
footer.site-footer {
    display: none !important;
}

/* Make homepage content fill full width */
.fskill-hp {
    width: 100%;
}

/* Remove body/page-main/container constraints for edge-to-edge layout.
   Targets the /fskill-home route (body.page-fskill-home) AND
   the front-page slider (body.anonymous-slider) since both can serve
   the homepage.  */
body.page-fskill-home,
body.anonymous-slider {
    padding: 0 !important;
}

body.page-fskill-home>.dialog-off-canvas-main-canvas,
body.anonymous-slider>.dialog-off-canvas-main-canvas {
    padding: 0 !important;
}

/* Override the .container that Drupal wraps around page.content */
body.page-fskill-home .page-main,
body.page-fskill-home .page-main>.container,
body.page-fskill-home .page-main>.container>.row,
body.page-fskill-home .page-main>.container>.row>[class*="col-"] {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Footer edge-to-edge */
.fhp-footer {
    width: 100% !important;
    max-width: none !important;
}


/* ═══════════════════════════════════════
   TOKENS
   ═══════════════════════════════════════ */
.fskill-hp {
    --bg: #F2EFE9;
    --surface: #FFFFFF;
    --surface-2: #F5F3EE;
    --surface-3: #EDEAE3;
    --border: #E4E0D8;
    --border-strong: #C8C2B8;
    --text-1: #1A1714;
    --text-2: #55504A;
    --text-3: #9A948D;
    --teal: #1B7A6E;
    --teal-dim: #EAF4F2;
    --teal-mid: #B8D8D4;
    --amber: #C47C2B;
    --amber-dim: #FBF3E8;
    --red: #C0392B;
    --blue: #2563EB;
    --green: #16A34A;
    --overlay: rgba(26, 23, 20, 0.5);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --nav-h: 64px;
}

[data-theme="dark"] .fskill-hp {
    --bg: #0F0F0E;
    --surface: #1A1918;
    --surface-2: #222120;
    --surface-3: #2A2927;
    --border: #2E2C2A;
    --border-strong: #44423E;
    --text-1: #F0EDE7;
    --text-2: #A8A29C;
    --text-3: #68625C;
    --teal: #3DBDAD;
    --teal-dim: #192C2A;
    --teal-mid: #2A4844;
    --amber: #E09440;
    --amber-dim: #2A1F12;
    --red: #E05A4A;
    --blue: #60A5FA;
    --green: #4ADE80;
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Also apply dark mode to the footer (outside .fskill-hp but on the same page) */
[data-theme="dark"] .fhp-footer {
    --bg: #0F0F0E;
    --surface: #1A1918;
    --surface-2: #222120;
    --border: #2E2C2A;
    --text-1: #F0EDE7;
    --text-2: #A8A29C;
    --text-3: #68625C;
    --teal: #3DBDAD;
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
.fskill-hp,
.fskill-hp *,
.fskill-hp *::before,
.fskill-hp *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.fskill-hp {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-1);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
}

.fskill-hp a {
    color: inherit;
    text-decoration: none;
}

.fskill-hp img {
    max-width: 100%;
    display: block;
}

.fhp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.fhp-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    height: var(--nav-h);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 32px;
    gap: 16px;
    transition: background 0.3s, border-color 0.3s;
}

.fhp-logo {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--text-1);
    flex-shrink: 0;
}

.fhp-logo sup {
    font-size: 0.4rem;
    letter-spacing: 0.12em;
    vertical-align: super;
    color: var(--teal);
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}

.fhp-nav-links {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.fhp-nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-2);
    transition: all 0.15s;
}

.fhp-nav-link:hover {
    color: var(--text-1);
    background: var(--surface-2);
}

.fhp-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.fhp-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-1);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}

.fhp-btn-ghost:hover {
    background: var(--surface-2);
}

.fhp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    font-family: inherit;
    color: white;
    background: var(--teal);
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px color-mix(in srgb, var(--teal) 25%, transparent);
}

.fhp-btn-primary:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--teal) 35%, transparent);
}

.fhp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    font-family: inherit;
    color: var(--teal);
    background: transparent;
    border: 1.5px solid var(--teal);
    cursor: pointer;
    transition: all 0.2s;
}

.fhp-btn-outline:hover {
    background: var(--teal);
    color: white;
    transform: translateY(-1px);
}

.fhp-btn-lg {
    padding: 13px 28px;
    font-size: 15px;
    border-radius: var(--radius);
}

.fhp-theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.15s;
    position: relative;
}

.fhp-theme-toggle:hover {
    background: var(--surface-2);
}

.fhp-sun,
.fhp-moon {
    position: absolute;
    transition: opacity 0.2s, transform 0.3s;
}



.fhp-mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.fhp-mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-1);
    border-radius: 2px;
    transition: all 0.2s;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.fhp-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
}

.fhp-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.fhp-hero-text {
    animation: fhpFadeUp 0.6s ease both;
}

.fhp-hero-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: var(--text-1);
    margin-bottom: 20px;
}

.fhp-hero-accent {
    background: linear-gradient(135deg, var(--teal), color-mix(in srgb, var(--teal) 60%, var(--amber)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fhp-hero-sub {
    font-size: 16.5px;
    color: var(--text-2);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.fhp-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.fhp-hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fhp-trust-avatars {
    display: flex;
}

.fhp-trust-ava {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2.5px solid var(--surface);
    margin-left: -8px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.fhp-trust-ava:first-child {
    margin-left: 0;
}

.fhp-trust-ava--placeholder {
    background: var(--teal-dim);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.fhp-trust-text {
    font-size: 12.5px;
    color: var(--text-3);
}

.fhp-trust-text strong {
    color: var(--teal);
}

/* Floating profile grid */
.fhp-hero-visual {
    animation: fhpFadeUp 0.6s 0.15s ease both;
}

.fhp-floating-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 400px;
    margin-left: auto;
}

.fhp-float-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 12px;
    text-align: center;
    box-shadow: var(--shadow);
    animation: fhpFloatUp 0.5s ease both;
    transition: transform 0.3s, box-shadow 0.3s;
}

.fhp-float-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.fhp-float-ava {
    width: 52px;
    height: 52px;
    margin: 0 auto 8px;
    position: relative;
}

.fhp-float-ava img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.fhp-float-ava-ph {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-dim), var(--amber-dim));
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid var(--border);
}

.fhp-float-verified {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    background: var(--teal);
    color: white;
    border-radius: 50%;
    border: 2px solid var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 900;
}

.fhp-float-name {
    display: block;
    font-weight: 700;
    font-size: 12.5px;
    color: var(--text-1);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fhp-float-role {
    display: block;
    font-size: 10.5px;
    color: var(--text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hero decorative shapes */
.fhp-hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.fhp-hero-shape--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, color-mix(in srgb, var(--teal) 6%, transparent), transparent 70%);
    top: -100px;
    right: -150px;
}

.fhp-hero-shape--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, color-mix(in srgb, var(--amber) 8%, transparent), transparent 70%);
    bottom: -50px;
    left: -100px;
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.fhp-section {
    padding: 80px 0;
}

.fhp-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.fhp-section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal);
    background: var(--teal-dim);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.fhp-section-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 900;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    letter-spacing: -0.025em;
    color: var(--text-1);
    margin-bottom: 12px;
}

.fhp-section-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--teal), color-mix(in srgb, var(--teal) 50%, var(--amber)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fhp-section-sub {
    font-size: 15px;
    color: var(--text-3);
    max-width: 520px;
    margin: 0 auto;
}

.fhp-section-cta {
    text-align: center;
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════
   ACTIVITY FEED
   ═══════════════════════════════════════ */
.fhp-activity-section {
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 0;
    overflow: hidden;
    /* Hide horizontal scrollbar */
}

.fhp-activity-slider {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 20px 0;
    /* CSS snap scrolling setup */
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.fhp-activity-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.fhp-activity-track {
    display: flex;
    gap: 24px;
    padding: 0 max(24px, calc((100vw - 1180px) / 2));
}

.fhp-activity-card {
    scroll-snap-align: center;
    flex: 0 0 340px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.fhp-activity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--text-1) 6%, transparent);
}

.fhp-activity-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fhp-activity-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--surface-2);
}

.fhp-activity-meta {
    display: flex;
    flex-direction: column;
}

.fhp-activity-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.fhp-activity-time {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-3);
}

.fhp-activity-text {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-2);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fhp-activity-media {
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 180px;
    background: var(--surface-2);
    margin-top: 4px;
}

.fhp-activity-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fhp-activity-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.fhp-action-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-3);
}

.fhp-action-item svg {
    opacity: 0.7;
}

/* ═══════════════════════════════════════
   VALUE PROPOSITIONS
   ═══════════════════════════════════════ */
.fhp-values {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.fhp-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fhp-value-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    animation: fhpFadeUp 0.5s ease both;
}

.fhp-value-card:nth-child(1) {
    animation-delay: 0.05s;
}

.fhp-value-card:nth-child(2) {
    animation-delay: 0.12s;
}

.fhp-value-card:nth-child(3) {
    animation-delay: 0.19s;
}

.fhp-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal-mid);
}

.fhp-value-card--featured {
    background: linear-gradient(135deg, var(--teal-dim), color-mix(in srgb, var(--amber-dim) 30%, var(--teal-dim)));
    border-color: var(--teal-mid);
}

.fhp-value-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.fhp-value-icon--learn {
    background: var(--teal-dim);
    color: var(--teal);
}

.fhp-value-icon--share {
    background: var(--amber-dim);
    color: var(--amber);
}

.fhp-value-icon--connect {
    background: color-mix(in srgb, var(--blue) 10%, var(--surface));
    color: var(--blue);
}

.fhp-value-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.fhp-value-desc {
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 18px;
    line-height: 1.65;
}

.fhp-value-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fhp-value-features li {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    padding-left: 20px;
    position: relative;
}

.fhp-value-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 800;
    font-size: 12px;
}

/* ═══════════════════════════════════════
   BRANDS
   ═══════════════════════════════════════ */
.fhp-brand-strip {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.fhp-brand-logo-card {
    width: 160px;
    height: 80px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: all 0.2s;
}

.fhp-brand-logo-card:hover {
    border-color: var(--teal-mid);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.fhp-brand-logo-card img {
    max-height: 40px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(0.4);
    transition: filter 0.2s;
}

.fhp-brand-logo-card:hover img {
    filter: grayscale(0);
}

.fhp-brand-logo-text {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-2);
    text-align: center;
}

/* ═══════════════════════════════════════
   COURSES SECTION
   ═══════════════════════════════════════ */
.fhp-courses-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 3), 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.fhp-course-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.fhp-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--text-1) 8%, transparent);
}

.fhp-course-card:hover .fhp-course-media img {
    transform: scale(1.05);
}

.fhp-course-media {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--surface-2);
}

.fhp-course-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fhp-course-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fhp-course-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 12px;
    line-height: 1.3;
}

.fhp-course-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.fhp-course-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-3);
}

.fhp-course-action {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.fhp-course-card:hover .fhp-course-action {
    gap: 10px;
}

/* ═══════════════════════════════════════
   TALENT GRID
   ═══════════════════════════════════════ */
.fhp-talent-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.fhp-talent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.fhp-talent-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.25s;
    animation: fhpFadeUp 0.4s ease both;
    cursor: pointer;
}

.fhp-talent-card:hover {
    border-color: var(--teal-mid);
    background: var(--teal-dim);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.fhp-talent-ava {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    position: relative;
}

.fhp-talent-ava img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--border);
    transition: border-color 0.2s, transform 0.2s;
}

.fhp-talent-card:hover .fhp-talent-ava img {
    border-color: var(--teal);
    transform: scale(1.05);
}

.fhp-talent-ava-ph {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-dim), var(--amber-dim));
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    border: 2.5px solid var(--border);
}

.fhp-talent-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: var(--teal);
    color: white;
    border-radius: 50%;
    border: 2.5px solid var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fhp-talent-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-1);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fhp-talent-role {
    font-size: 12px;
    color: var(--text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ═══════════════════════════════════════
   JOBS
   ═══════════════════════════════════════ */
.fhp-jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.fhp-job-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.25s;
    animation: fhpFadeUp 0.4s ease both;
}

.fhp-job-card:hover {
    border-color: var(--teal-mid);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.fhp-job-top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.fhp-job-brand-ava {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--teal-dim), var(--amber-dim));
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.fhp-job-meta {
    flex: 1;
    min-width: 0;
}

.fhp-job-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-1);
    margin-bottom: 3px;
}

.fhp-job-company {
    font-size: 13px;
    color: var(--text-3);
}

.fhp-job-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.fhp-job-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-3);
    background: var(--surface-2);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.fhp-job-apply {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--teal);
    border: 1.5px solid var(--teal);
    transition: all 0.2s;
}

.fhp-job-apply:hover {
    background: var(--teal);
    color: white;
}

.fhp-empty-jobs {
    text-align: center;
    padding: 48px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.fhp-empty-jobs svg {
    margin: 0 auto 16px;
}

.fhp-empty-jobs h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.fhp-empty-jobs p {
    font-size: 14px;
    color: var(--text-3);
}

/* ═══════════════════════════════════════
   STATS
   ═══════════════════════════════════════ */
.fhp-stats-section {
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--teal) 8%, var(--bg)),
            color-mix(in srgb, var(--amber) 6%, var(--bg)));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
}

.fhp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.fhp-stat {
    text-align: center;
    padding: 20px;
}

.fhp-stat-number {
    display: block;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 6px;
}

.fhp-stat-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════
   CTA
   ═══════════════════════════════════════ */
.fhp-cta-section {
    padding: 80px 0;
}

.fhp-cta-card {
    background: linear-gradient(135deg, var(--text-1) 0%, color-mix(in srgb, var(--text-1) 85%, var(--teal)) 100%);
    border-radius: var(--radius-lg);
    padding: 72px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fhp-cta-inner {
    position: relative;
    z-index: 2;
}

.fhp-cta-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 900;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.025em;
    color: white;
    margin-bottom: 16px;
}

.fhp-cta-sub {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 540px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.fhp-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fhp-btn-white {
    background: white;
    color: var(--text-1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.fhp-btn-white:hover {
    background: var(--surface-2);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.fhp-cta-section .fhp-btn-ghost {
    color: rgba(255, 255, 255, 0.8);
}

.fhp-cta-section .fhp-btn-ghost:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.fhp-cta-shape {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--teal) 15%, transparent), transparent 70%);
    pointer-events: none;
}

/* ═══════════════════════════════════════
   FOOTER (edge-to-edge)
   ═══════════════════════════════════════ */
.fhp-footer {
    width: 100%;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 48px 0 0;
    margin: 0;
}

.fhp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 32px;
}

.fhp-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.fhp-logo--footer {
    display: inline-block;
    margin-bottom: 10px;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--text-1);
}

.fhp-logo--footer sup {
    font-size: 0.4rem;
    letter-spacing: 0.12em;
    vertical-align: super;
    color: var(--teal);
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}

.fhp-footer-tagline {
    font-size: 13px;
    color: var(--text-3);
}

.fhp-footer-heading {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-3);
    margin-bottom: 14px;
}

.fhp-footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fhp-footer-col a {
    font-size: 13.5px;
    color: var(--text-2);
    text-decoration: none;
    transition: color 0.15s;
}

.fhp-footer-col a:hover {
    color: var(--teal);
}

.fhp-footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    font-size: 12.5px;
    color: var(--text-3);
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes fhpFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fhpFloatUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1100px) {
    .fhp-hero-inner {
        gap: 40px;
    }

    .fhp-brands-slider {
        max-width: 800px;
    }

    .fhp-courses-grid {
        --columns: 2;
    }
}

@media (max-width: 900px) {
    .fhp-nav-links {
        display: none;
    }

    .fhp-mobile-menu-btn {
        display: flex;
    }

    .fhp-nav--open {
        flex-wrap: wrap;
        height: auto;
        padding-bottom: 16px;
    }

    .fhp-nav--open .fhp-nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        order: 10;
        gap: 2px;
        margin-top: 8px;
    }

    .fhp-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fhp-hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .fhp-hero-actions {
        justify-content: center;
    }

    .fhp-hero-trust {
        justify-content: center;
    }

    .fhp-hero-visual {
        order: -1;
    }

    .fhp-floating-grid {
        max-width: 320px;
        margin: 0 auto;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .fhp-float-card {
        padding: 12px 8px;
    }

    .fhp-value-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .fhp-talent-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fhp-talent-grid {
        --columns: 1;
    }

    .fhp-courses-grid {
        --columns: 1;
    }

    .fhp-jobs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .fhp-jobs-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .fhp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fhp-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 560px) {
    .fhp-hero {
        padding: 48px 0 64px;
    }

    .fhp-section {
        padding: 56px 0;
    }

    .fhp-nav {
        padding: 0 16px;
    }

    .fhp-container {
        padding: 0 16px;
    }

    .fhp-floating-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fhp-float-card:nth-child(n+5) {
        display: none;
    }

    .fhp-talent-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .fhp-talent-card {
        padding: 16px 10px;
    }

    .fhp-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .fhp-stat {
        padding: 12px;
    }

    .fhp-cta-card {
        padding: 48px 24px;
    }

    .fhp-footer-grid {
        grid-template-columns: 1fr;
    }

    .fhp-brand-strip {
        gap: 12px;
    }

    .fhp-brand-logo-card {
        width: 130px;
        height: 64px;
        padding: 12px;
    }
}

/* ── Scrollbar ── */
.fskill-hp ::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.fskill-hp ::-webkit-scrollbar-track {
    background: transparent;
}

.fskill-hp ::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 4px;
}