.fy-page {
    --fy-wash: #D9D7FD;
    --fy-mid: #847EFC;
    --fy-violet: #6548DC;
    --fy-deep: #5623DC;
    --fy-ink: #26155C;
    background: #f7f6fb;
    color: #2c2640;
}

.fy-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(217, 215, 253, 0.95), transparent 32%),
        radial-gradient(circle at 88% 0%, rgba(132, 126, 252, 0.35), transparent 28%),
        linear-gradient(145deg, #26155C 0%, #3a2390 48%, #5623DC 100%);
    color: #fff;
}
.fy-hero-shape {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}
.fy-hero-shape-a { width: 28rem; height: 28rem; right: -8rem; top: -10rem; background: rgba(217, 215, 253, 0.16); }
.fy-hero-shape-b { width: 16rem; height: 16rem; left: -5rem; bottom: -6rem; background: rgba(132, 126, 252, 0.2); }
.fy-wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.fy-hero-copy { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.2rem, 5vw, 4rem); }
.fy-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.8rem;
    color: #D9D7FD;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.fy-kicker i { width: 1.6rem; height: 2px; background: #847EFC; }
.fy-hero h1 {
    max-width: 16ch;
    margin: 0;
    font-family: Poppins, sans-serif;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}
.fy-hero h1 span { display: block; color: #D9D7FD; }
.fy-lead { max-width: 38rem; margin: 1rem 0 0; color: rgba(255, 255, 255, 0.86); font-size: 1.02rem; line-height: 1.6; }
.fy-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.fy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}
.fy-btn-primary { background: #fff; color: #26155C; }
.fy-btn-primary:hover { background: #D9D7FD; }
.fy-btn-ghost { border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; }
.fy-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.fy-btn:focus-visible, .fy-chip:focus-visible, .fy-tab:focus-visible { outline: 2px solid #5623DC; outline-offset: 3px; }
.fy-highlights { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.fy-highlights li {
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 650;
}

.fy-main { padding: clamp(1.5rem, 4vw, 3rem) 0 4rem; }
.fy-section { margin-top: clamp(2rem, 5vw, 3.5rem); scroll-margin-top: 5.5rem; }
.fy-section h2 {
    margin: 0 0 0.35rem;
    color: var(--fy-ink);
    font-family: Poppins, sans-serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
}
.fy-intro { max-width: 40rem; margin: 0 0 1rem; color: #534d68; line-height: 1.55; }
.fy-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.8rem; }
.fy-stat, .fy-card, .fy-person, .fy-lab, .fy-resource {
    min-width: 0;
    border: 1px solid rgba(38, 21, 92, 0.08);
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(38, 21, 92, 0.05);
}
.fy-stat { padding: 1rem 1.05rem; }
.fy-stat strong { display: block; color: var(--fy-deep); font-family: Poppins, sans-serif; font-size: 1.7rem; line-height: 1; }
.fy-stat span { display: block; margin-top: 0.35rem; color: #534d68; font-size: 0.82rem; font-weight: 650; }
.fy-tabs, .fy-filters { display: flex; gap: 0.45rem; overflow-x: auto; padding-bottom: 0.2rem; scrollbar-width: thin; }
.fy-tab, .fy-chip {
    flex: 0 0 auto;
    min-height: 2.4rem;
    border: 1px solid rgba(86, 35, 220, 0.18);
    border-radius: 999px;
    background: #fff;
    color: var(--fy-ink);
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}
.fy-tab[aria-selected="true"], .fy-chip[aria-pressed="true"] { background: var(--fy-deep); border-color: var(--fy-deep); color: #fff; }
.fy-tools { display: grid; gap: 0.7rem; margin: 1rem 0; }
.fy-grid, .fy-people, .fy-labs, .fy-resources { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
.fy-card { display: flex; flex-direction: column; gap: 0.55rem; padding: 1rem; }
.fy-code { color: var(--fy-violet); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; }
.fy-card h3, .fy-person h3, .fy-lab h3, .fy-resource h3 { margin: 0; color: var(--fy-ink); font-size: 1.02rem; overflow-wrap: anywhere; }
.fy-badge {
    align-self: flex-start;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: var(--fy-wash);
    color: var(--fy-ink);
    font-size: 0.68rem;
    font-weight: 800;
}
.fy-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.fy-meta li { padding: 0.15rem 0.45rem; border-radius: 999px; background: #f4f2fb; color: #3d3658; font-size: 0.72rem; font-weight: 700; }
.fy-card p, .fy-person p, .fy-lab p, .fy-resource p { margin: 0; color: #534d68; font-size: 0.9rem; line-height: 1.45; }
.fy-link { align-self: flex-start; color: var(--fy-deep); font-size: 0.84rem; font-weight: 800; }
.fy-person { overflow: hidden; }
.fy-photo, .fy-fallback { width: 100%; aspect-ratio: 8 / 9; object-fit: cover; background: linear-gradient(145deg, var(--fy-wash), #fff); }
.fy-fallback { display: grid; place-items: center; color: var(--fy-deep); font-family: Poppins, sans-serif; font-size: 2rem; font-weight: 800; }
.fy-person-body, .fy-lab-body { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.9rem 1rem 1rem; }
.fy-person small, .fy-lab small { color: var(--fy-violet); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.fy-person ul, .fy-lab ul { margin: 0; padding-left: 1.05rem; color: #3d3658; font-size: 0.86rem; }
.fy-empty, .fy-error {
    margin: 0;
    padding: 1rem;
    border: 1px dashed rgba(101, 72, 220, 0.3);
    border-radius: 1rem;
    background: #fff;
    color: #534d68;
}
.fy-error button { margin-top: 0.6rem; }
.fy-skel { height: 7.5rem; border-radius: 1rem; background: linear-gradient(90deg, #eceaf8, #f8f7fd, #eceaf8); background-size: 200% 100%; animation: fy-shimmer 1.2s linear infinite; }
@keyframes fy-shimmer { to { background-position: -200% 0; } }
.fy-reveal { animation: fy-rise 0.55s ease both; }
@keyframes fy-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (min-width: 700px) {
    .fy-grid, .fy-people, .fy-labs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .fy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fy-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (hover: hover) {
    .fy-card, .fy-person, .fy-lab, .fy-resource { transition: transform 0.2s ease, box-shadow 0.2s ease; }
    .fy-card:hover, .fy-person:hover, .fy-lab:hover, .fy-resource:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(86, 35, 220, 0.12); }
}
@media (prefers-reduced-motion: reduce) {
    .fy-reveal, .fy-skel, .fy-card, .fy-person, .fy-lab, .fy-resource { animation: none; transition: none; }
    .fy-card:hover, .fy-person:hover, .fy-lab:hover, .fy-resource:hover { transform: none; }
}
