/* HERO */

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: #0f172a;
}

.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 40s ease-in-out infinite alternate;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    display: flex;
    align-items: flex-end;
    padding-bottom: 72px;
}

.hero-copy {
    max-width: none;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-brand {
    font-family: Oswald, sans-serif;
    letter-spacing: 4px;
    font-size: 28px;
    margin-bottom: 10px;
    opacity: 0.85;
}

.hero h1 {
    margin: 0 0 18px;
    font-family: Oswald, sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    line-height: 0.97;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero h2 {
    margin: 0 0 18px;
    font-family: Oswald, sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.95;
}

.hero p {
    margin: 0 0 24px;
    max-width: 600px;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-lead {
    font-size: 1.1rem;
    margin-bottom: 10px;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-sub {
    font-size: 1rem;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.8);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: white;
    color: #111827;
}

.btn-primary:hover {
    background: #f3f4f6;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: white;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* STATEMENT */

.statement {
    padding: 92px 0 86px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.statement-inner {
    max-width: 760px;
}

.statement-kicker {
    margin-bottom: 14px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.statement-inner h2 {
    margin: 0 0 16px;
    font-family: Oswald, sans-serif;
    font-size: clamp(2.2rem, 4.4vw, 3.8rem);
    line-height: 1.03;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.statement-inner p {
    margin: 0;
    max-width: 620px;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--muted);
}

/* GENERAL SECTIONS */

.section {
    padding: 76px 0;
}

.section-top-tight {
    padding-top: 0;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-header h2 {
    margin: 0 0 8px;
    font-family: Oswald, sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1;
    font-weight: 500;
}

.section-header p {
    margin: 0;
    color: var(--muted);
    max-width: 720px;
}

/* MODULES */

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.module-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 26px;
    text-decoration: none;
    color: var(--text);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
}

.module-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--bg-soft);
    font-size: 1.7rem;
    margin-bottom: 18px;
}

.module-card h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    line-height: 1.2;
}

.module-card p {
    margin: 0;
    color: var(--muted);
}

.module-meta {
    margin-top: auto;
    padding-top: 20px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
}

.module-coming {
    opacity: 0.88;
}

.module-coming .module-meta {
    color: #9ca3af;
}

/* FEATURED */

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.featured-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
}

.featured-image {
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(135deg, rgba(31, 122, 79, 0.22), rgba(31, 122, 79, 0.06)),
        url('/assets/img/M32.webp') center/cover no-repeat;
}

.featured-body {
    padding: 20px 20px 22px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.featured-body h3 {
    margin: 0 0 8px;
    font-size: 1.18rem;
    line-height: 1.25;
}

.featured-body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
}

/* ABOUT */

.about-section {
    padding-top: 82px;
}

.about-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
}

.about-card,
.numbers-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
}

.about-card h2 {
    margin: 0 0 12px;
    font-family: Oswald, sans-serif;
    font-size: 2.1rem;
    font-weight: 500;
    line-height: 1;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.number-box {
    background: #f9fafb;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
}

.number-box strong {
    display: block;
    font-size: 1.65rem;
    line-height: 1;
    margin-bottom: 6px;
}

.number-box span {
    color: var(--muted);
    font-size: 0.92rem;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

@media (max-width: 980px) {
    .modules-grid,
    .featured-grid,
    .about-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .hero-content {
        padding: 0 0 48px;
    }

    .hero-inner,
    .statement-inner {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 11vw, 4rem);
    }

    .hero h2 {
        font-size: clamp(1rem, 4.5vw, 1.3rem);
        letter-spacing: 0.14em;
    }

    .statement {
        padding: 82px 0 72px;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
    }
}
