/* Featured Makers — Presentation-style page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #040304;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.loading {
    overflow: hidden;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #040304;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    width: auto;
    max-width: 400px;
    height: auto;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

.loader-bar {
    width: 100%;
    max-width: 400px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: #fff;
    width: 0%;
    animation: loadProgress 2s ease-in-out forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Header */
.fm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(4, 3, 4, 0.06);
}

.fm-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fm-logo img {
    height: 4.5rem;
    width: auto;
    object-fit: contain;
    display: block;
}

.fm-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.fm-nav a {
    color: #040304;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: opacity 0.2s;
}

.fm-nav a:hover {
    opacity: 0.7;
}

.fm-cta {
    padding: 0.5rem 1rem;
    background: #040304;
    color: #fff !important;
    border-radius: 8px;
}

.fm-cta:hover {
    opacity: 0.9 !important;
}

/* Hero — full viewport impact */
.fm-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(160deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.fm-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.fm-hero-content {
    max-width: 640px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fm-hero-label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
}

.fm-hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3.5rem, 10vw, 6.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.fm-hero-tagline {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    max-width: 420px;
}

.fm-hero-visual {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease forwards 0.6s;
}

.fm-hero-card {
    padding: 2rem 2.5rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
}

.fm-hero-card-text {
    font-family: 'Syne', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.9);
}

/* Intro section */
.fm-intro {
    padding: 6rem 2rem;
    background: #fff;
}

.fm-intro-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.fm-section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: #040304;
    margin-bottom: 1.5rem;
    padding-bottom: 0.08em;
}

.fm-intro-body {
    font-size: 1.25rem;
    color: #676967;
    line-height: 1.75;
}

/* Pillars — three columns */
.fm-pillars {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
}

.fm-pillars-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.fm-section-title--light {
    color: #040304;
    text-align: center;
    margin-bottom: 3rem;
}

.fm-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.fm-pillar {
    padding: 2.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(4, 3, 4, 0.06);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.fm-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 3, 4, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fm-pillar:hover::before {
    opacity: 1;
}

.fm-pillar:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(4, 3, 4, 0.15);
}

.fm-pillar-num,
.fm-pillar h3,
.fm-pillar p {
    position: relative;
    z-index: 1;
}

.fm-pillar-num {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #040304;
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 1rem;
}

.fm-pillar h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #040304;
    margin-bottom: 0.75rem;
}

.fm-pillar p {
    font-size: 1rem;
    color: #676967;
    line-height: 1.7;
}

/* How it works */
.fm-how {
    padding: 6rem 2rem;
    background: #fff;
}

.fm-how-inner {
    max-width: 640px;
    margin: 0 auto;
}

.fm-how-list {
    list-style: none;
    counter-reset: step;
}

.fm-how-list li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    color: #252021;
    line-height: 1.7;
}

.fm-how-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #040304;
    opacity: 0.4;
}

.fm-how-list li strong {
    color: #040304;
}

/* Application form */
.fm-application {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #fff 0%, #f7f7f7 100%);
}

.fm-application-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 4rem;
    align-items: start;
}

.fm-application-copy {
    position: sticky;
    top: 7rem;
}

.fm-application-label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #676967;
    margin-bottom: 1rem;
}

.fm-application-text {
    font-size: 1.125rem;
    color: #676967;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.fm-application-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(4, 3, 4, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(4, 3, 4, 0.08);
}

.fm-form-section-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.125rem;
    line-height: 1.2;
    color: #040304;
    margin: 2rem 0 1rem;
}

.fm-form-section-title:first-child {
    margin-top: 0;
}

.fm-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.fm-form-row,
.fm-form-fieldset,
.fm-confirmation {
    margin-bottom: 1.25rem;
}

.fm-form-row label,
.fm-form-fieldset legend {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #252021;
    margin-bottom: 0.5rem;
}

.fm-form-row input,
.fm-form-row textarea {
    width: 100%;
    border: 1px solid rgba(4, 3, 4, 0.15);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font: inherit;
    color: #040304;
    background: #fbfbfb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fm-form-row textarea {
    resize: vertical;
    min-height: 120px;
}

.fm-form-row input:focus,
.fm-form-row textarea:focus {
    outline: none;
    border-color: #040304;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(4, 3, 4, 0.08);
}

.fm-form-fieldset {
    border: 0;
    padding: 0;
}

.fm-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.fm-checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(4, 3, 4, 0.1);
    border-radius: 12px;
    background: #fbfbfb;
    color: #252021;
    font-weight: 600;
}

.fm-choice-stack {
    display: grid;
    gap: 0.75rem;
}

.fm-choice-stack label,
.fm-confirmation {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(4, 3, 4, 0.1);
    border-radius: 12px;
    background: #fbfbfb;
    color: #252021;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
}

.fm-checkbox-grid input,
.fm-choice-stack input,
.fm-confirmation input {
    accent-color: #040304;
    flex: 0 0 auto;
    margin-top: 0.25rem;
}

.fm-submit-button {
    display: inline-block;
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    background: #040304;
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.fm-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(4, 3, 4, 0.18);
}

.fm-submit-button:active {
    transform: translateY(0);
}

.fm-submit-button:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
    box-shadow: none;
}

.fm-form-note {
    margin-top: 0.875rem;
    color: #676967;
    font-size: 0.875rem;
    text-align: center;
}

.fm-form-status {
    min-height: 1.5rem;
    margin-top: 1rem;
    color: #040304;
    font-weight: 700;
    text-align: center;
}

/* CTA section */
.fm-cta-section {
    padding: 6rem 2rem;
    background: #040304;
    color: #fff;
    text-align: center;
}

.fm-cta-inner {
    max-width: 560px;
    margin: 0 auto;
}

.fm-cta-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.fm-cta-text {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.fm-cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #fff;
    color: #040304;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.fm-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(4, 3, 4, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.fm-cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.fm-cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
}

/* Footer */
.fm-footer {
    padding: 3rem 2rem;
    background: #0a0a0a;
    color: rgba(255,255,255,0.7);
    text-align: center;
}

.fm-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.fm-footer-logo img {
    height: 2rem;
    width: auto;
    display: inline-block;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.fm-footer-contact {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.fm-footer-contact a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.fm-footer-contact a:hover {
    text-decoration: underline;
}

.fm-footer-copy {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations for grid items */
.fm-pillar {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fm-pillar.visible {
    opacity: 1;
    transform: translateY(0);
}

.fm-pillar:nth-child(1).visible {
    transition-delay: 0.1s;
}

.fm-pillar:nth-child(2).visible {
    transition-delay: 0.2s;
}

.fm-pillar:nth-child(3).visible {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 968px) {
    .fm-hero {
        flex-direction: column;
        text-align: center;
        padding: 5rem 1.5rem 3rem;
    }

    .fm-hero-content {
        margin-bottom: 2rem;
    }

    .fm-hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .fm-hero::before {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
    }

    .fm-pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .fm-header,
    .fm-intro,
    .fm-pillars,
    .fm-how,
    .fm-application,
    .fm-cta-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .fm-application-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .fm-application-copy {
        position: static;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .fm-nav {
        gap: 1rem;
    }

    .fm-nav .fm-cta {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .fm-hero-card {
        padding: 1.5rem;
    }

    .fm-hero-card-text {
        font-size: 1rem;
    }

    .fm-logo img {
        height: 3.375rem;
    }

    .fm-application-card {
        padding: 1.25rem;
    }

    .fm-form-grid,
    .fm-checkbox-grid {
        grid-template-columns: 1fr;
    }
}
