html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-offset);
}

.m-page {
    margin: 0;
}

.m-page main {
    padding-top: var(--nav-offset);
}

.m-skip {
    position: absolute;
    left: -999px;
    top: 10px;
    background: var(--primary);
    color: #081018;
    padding: 10px 16px;
    border-radius: 999px;
    z-index: 2000;
    text-decoration: none;
    font-weight: 600;
}

.m-skip:focus {
    left: 20px;
}

.m-wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.m-kicker {
    margin: 0 0 8px;
    color: var(--primary);
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.m-section {
    padding: 64px 0;
}

.m-section h2,
.m-page-hero h1,
.m-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.m-lead {
    margin: 0;
    max-width: 42rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.m-hero {
    padding: 36px 0 48px;
}

.m-hero-grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.m-hero-grid > * {
    min-width: 0;
}

.m-hero-copy h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.m-hero-frame {
    margin: 0;
    padding: 18px;
    border-radius: 28px;
    background:
        radial-gradient(400px 180px at 50% 0%, rgba(255, 138, 61, 0.28), transparent 70%),
        rgba(20, 27, 45, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.m-hero-frame img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: contain;
}

.m-age {
    display: inline-flex;
    margin: 18px 0;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: var(--accent);
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.m-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
}

.m-btn-primary {
    background: var(--primary);
    color: #0b0f14;
    box-shadow: 0 14px 30px rgba(255, 138, 61, 0.28);
}

.m-btn-primary:hover,
.m-btn-primary:focus-visible {
    background: var(--primary-strong);
}

.m-btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
}

.m-btn-ghost:hover,
.m-btn-ghost:focus-visible {
    border-color: var(--primary);
    color: var(--primary);
}

.m-session {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #e0f2fe;
}

.m-page-hero {
    padding: 48px 0 12px;
}

.m-grid {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.m-card {
    padding: 22px;
    border-radius: 22px;
    background: rgba(20, 27, 45, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.m-card h2,
.m-card h3 {
    margin: 0 0 8px;
    font-size: 1.45rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.m-card p,
.m-prose p {
    color: var(--muted);
}

.m-card-index {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.14em;
}

.m-card-link {
    color: inherit;
    text-decoration: none;
}

.m-card-link:hover h3,
.m-card-link:focus-visible h3 {
    color: var(--primary);
}

.m-split {
    display: grid;
    gap: 28px;
    align-items: center;
}

.m-logo-card {
    display: grid;
    place-items: center;
    min-height: 240px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(20, 27, 45, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.m-logo-card img {
    width: min(280px, 100%);
    height: auto;
}

.m-ticks {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.m-ticks li {
    padding-left: 28px;
    position: relative;
}

.m-ticks li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

.m-news-grid {
    display: grid;
    gap: 16px;
}

.news-card {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(20, 27, 45, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.news-card-media,
.news-card-video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0b0f14;
}

.news-card-image,
.news-video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-video-poster {
    position: absolute;
    inset: 0;
}

.news-video-preview-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(11, 15, 20, 0.72);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-card h3,
.news-card-date,
.news-card-body {
    margin-left: 18px;
    margin-right: 18px;
}

.news-card h3 {
    margin-top: 14px;
    margin-bottom: 8px;
    font-size: 1.35rem;
    text-transform: uppercase;
}

.news-card-date {
    display: block;
    margin-top: 14px;
    color: var(--accent);
    font-size: 0.85rem;
}

.news-card-body {
    margin-bottom: 18px;
    color: var(--muted);
}

.news-video-preview {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.news-video-play-label {
    position: relative;
    z-index: 1;
}

.news-video-play-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 138, 61, 0.92);
    margin-bottom: 8px;
}

.news-video-play-icon {
    display: block;
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 14px solid #0b0f14;
}

.news-video-modal[hidden] {
    display: none;
}

.news-video-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
}

.news-video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.news-video-modal-panel {
    position: relative;
    z-index: 1;
    width: min(960px, calc(100% - 24px));
    margin: 8vh auto 0;
    background: #0b0f14;
    border-radius: 18px;
    overflow: hidden;
}

.news-video-modal-player {
    display: block;
    width: 100%;
    max-height: 72vh;
    background: #000;
}

.news-video-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

.m-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.m-form input,
.m-form textarea {
    width: 100%;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(11, 15, 20, 0.65);
    color: var(--text);
    font: inherit;
}

.m-form textarea {
    min-height: 140px;
    resize: vertical;
}

.m-note {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
}

.m-note-success {
    background: rgba(34, 197, 94, 0.16);
    color: #86efac;
}

.m-note-error {
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
}

.m-map {
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
    border-radius: 18px;
    pointer-events: none;
}

.m-location-logo {
    width: min(220px, 70%);
    height: auto;
    margin: 8px 0 16px;
}

.m-footer {
    padding: 36px 0 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.m-footer img {
    display: block;
    width: min(280px, 70%);
    height: auto;
    margin: 0 auto 16px;
}

.m-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    margin-bottom: 14px;
}

.m-social a,
.m-footer a {
    color: var(--accent);
    text-decoration: none;
}

.m-social a:hover,
.m-footer a:hover {
    color: var(--primary);
}

.m-footer p {
    margin: 6px 0;
    color: var(--muted);
}

@media (max-width: 599px) {
    .m-actions .m-btn {
        width: 100%;
    }
}

@media (min-width: 600px) {
    .m-grid-2,
    .m-grid-3,
    .m-grid-4,
    .m-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .m-split {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

@media (min-width: 1100px) {
    .m-hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .m-grid-3,
    .m-news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .m-grid-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
