.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding-top: 86px;
    border-bottom: 1px solid var(--line);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/assets/img/home-hero-lueurs2.jpeg') center/cover no-repeat;
    transform: scale(1.06);
    animation: heroImage 1.5s ease forwards;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 30%, rgba(227,176,75,.18), transparent 34%),
        linear-gradient(90deg, rgba(7,7,7,.98) 0%, rgba(7,7,7,.78) 48%, rgba(7,7,7,.24) 100%);
    opacity: 0;
    animation: heroDark 1.1s ease .15s forwards;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: clamp(78px, 11vh, 122px) 0;
}

.eyebrow {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 22px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 12px;
    font-weight: 900;
}

.eyebrow::before {
    content: "";
    width: 38px;
    height: 1px;
    background: var(--accent);
    flex: 0 0 auto;
}

.hero h1 {
    max-width: 850px;
    margin-bottom: 28px;
    font-size: clamp(46px, 7vw, 90px);
    line-height: .96;
    letter-spacing: -.06em;
    text-transform: none;
}

h2 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.02;
    letter-spacing: -.045em;
    margin-bottom: 18px;
    text-transform: none;
}

h3 {
    font-size: 26px;
    line-height: 1.15;
    text-transform: none;
}

.hero .eyebrow,
.hero h1,
.hero .hero-text,
.hero .actions {
    opacity: 0;
    transform: translateY(26px);
}

.hero .eyebrow {
    animation: fadeUp .75s ease .45s forwards;
}

.hero h1 {
    animation: fadeUp .85s ease .65s forwards;
}

.hero .hero-text {
    animation: fadeUp .85s ease .85s forwards;
}

.hero .actions {
    animation: fadeUp .85s ease 1.05s forwards;
}

.hero-text {
    max-width: 710px;
    font-size: clamp(18px, 2vw, 23px);
    color: var(--muted);
    margin-bottom: 34px;
}

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

section {
    padding: 96px 0;
    position: relative;
}

.section-head {
    max-width: 780px;
    margin-bottom: 44px;
}

.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.lead {
    font-size: 19px;
    color: var(--muted);
}

.proofs {
    background: var(--bg-2);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.proof-item {
    padding: 34px;
    border-right: 1px solid var(--line);
    background: rgba(255,255,255,.025);
}

.proof-item:last-child {
    border-right: 0;
}

.proof-number {
    display: block;
    color: var(--accent);
    font-size: 39px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
}

.proof-label {
    color: var(--muted);
    font-size: 15px;
}

.problem {
    background:
        radial-gradient(circle at top right, rgba(227,176,75,.14), transparent 36%),
        var(--bg);
}

.two-cols {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 44px;
    align-items: center;
}

.image-card,
.fluidImageOverlay {
    min-height: 510px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.image-card::after,
.fluidImageOverlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.62));
}

.image-label {
    position: absolute;
    z-index: 2;
    left: 22px;
    bottom: 22px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(0,0,0,.62);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.image-amaru,
.fluidImageOverlay {
    background-image: url('/assets/img/home-amaru-img-2351.jpeg');
}

.image-lueurs {
    background-image: url('/assets/img/home-lueurs1.jpg');
}

.image-papcast {
    background-image: url('/assets/img/home-papcast-large.jpg');
}

.image-jour-seigneur {
    background-image: url('/assets/img/home-jour-du-seigneur.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #fff;
}

.image-corporate {
    background-image: url('/assets/img/home-corporate.jpg');
}

.image-sensibles {
    background-image: url('/assets/img/home-organisations-sensibles.jpg');
}

.problem-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.problem-list li {
    list-style: none;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.035);
    color: var(--muted);
}

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

.card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(227,176,75,.42);
    background:
        linear-gradient(180deg, rgba(227,176,75,.08), rgba(255,255,255,.018));
}

.card-number {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(227,176,75,.14);
    color: var(--accent);
    font-weight: 900;
    margin-bottom: 24px;
}

.card h3 {
    font-size: 27px;
    line-height: 1.1;
    margin-bottom: 15px;
}

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

.card a {
    color: var(--accent);
    font-weight: 800;
    margin-top: 28px;
}

.method {
    background: linear-gradient(180deg, var(--bg), #0d0d0d);
}

.steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.step {
    padding: 26px 20px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.035);
    transition: transform .3s ease, border-color .3s ease;
}

.step:hover {
    transform: translateY(-6px);
    border-color: rgba(227,176,75,.4);
}

.step strong {
    display: block;
    color: var(--accent);
    font-size: 12px;
    letter-spacing: .12em;
    margin-bottom: 12px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 9px;
}

.step p {
    color: var(--muted);
    font-size: 14px;
}

.about {
    background: var(--bg-2);
}

.about-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 44px;
    align-items: center;
}

.realisations-section {
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(227,176,75,.12), transparent 34%),
        var(--bg);
}

.real-slider {
    position: relative;
    display: grid;
    grid-template-columns: 58px 1fr 58px;
    gap: 18px;
    align-items: center;
}

.real-slider-viewport {
    width: 100%;
    overflow: hidden;
}

.real-slider-track {
    display: flex;
    gap: 22px;
    transition: transform .55s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

.real-card {
    min-width: calc((100% - 44px) / 3);
    max-width: calc((100% - 44px) / 3);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.real-card:hover {
    transform: translateY(-8px);
    border-color: rgba(227,176,75,.42);
    background:
        linear-gradient(180deg, rgba(227,176,75,.08), rgba(255,255,255,.018));
}

.real-image {
    min-height: 255px;
    background-size: cover;
    background-position: center;
    border: none;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.real-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
}

.real-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.real-content h3 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.15;
}

.real-meta {
    display: block;
    margin-bottom: 22px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.real-content p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 28px;
}

.real-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 48px;
    padding: 0 23px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--accent);
    color: #17100a;
    font-weight: 800;
    font-size: 14px;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

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

.real-slider-arrow {
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.045);
    color: var(--text);
    font-size: 42px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease,
        color .25s ease;
}

.real-slider-prev {
    padding-bottom: 4px;
    padding-right: 2px;
}

.real-slider-next {
    padding-bottom: 4px;
    padding-left: 3px;
}

.real-slider-arrow:hover {
    transform: translateY(-2px);
    border-color: rgba(227,176,75,.42);
    background: rgba(227,176,75,.12);
    color: var(--accent);
}

.real-slider-arrow.is-disabled {
    opacity: .35;
    pointer-events: none;
}

.papcast {
    background: #070707;
    position: relative;
    overflow: hidden;
}

.papcast::before {
    content: "";
    position: absolute;
    inset: auto -140px -220px auto;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255,225,0,.2), transparent 70%);
    pointer-events: none;
}

.papcast-box {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: clamp(34px, 5vw, 70px);
    align-items: center;
    padding: clamp(28px, 4vw, 58px);
    border: 1px solid rgba(255,225,0,.22);
    border-radius: var(--radius);
    background: #121212;
    box-shadow: 0 30px 90px rgba(0,0,0,.32);
}

.papcast-box .image-card {
    min-height: 440px;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

.papcast-content {
    padding: 0;
}

.tag {
    display: inline-flex;
    padding: 8px 12px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: rgba(227,176,75,.14);
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.papcast .tag {
    background: rgba(255,225,0,.15);
    color: var(--accent-2);
}

.papcast h2 span {
    color: var(--accent-2);
}

.papcast-points {
    display: grid;
    gap: 12px;
    margin: 26px 0 32px;
}

.papcast-points div {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,225,0,.07);
    border: 1px solid rgba(255,225,0,.16);
    color: #d8d0bd;
}

.cta-final {
    text-align: center;
    background:
        linear-gradient(rgba(7,7,7,.76), rgba(7,7,7,.9)),
        url('/assets/img/home-cta-papcast-16.jpg') center/cover no-repeat;
    border-top: 1px solid var(--line);
}

.cta-final h2 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final .lead {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

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

@keyframes heroDark {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes heroImage {
    from {
        transform: scale(1.06);
        filter: brightness(1.08);
    }

    to {
        transform: scale(1);
        filter: brightness(1);
    }
}

@media (max-width: 1080px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .real-card {
        min-width: calc((100% - 22px) / 2);
        max-width: calc((100% - 22px) / 2);
    }

    .papcast-box {
        grid-template-columns: 1fr;
    }

    .papcast-box .image-card {
        min-height: 430px;
    }
}

@media (max-width: 920px) {
    .proof-grid,
    .offer-grid,
    .two-cols,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .proof-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .proof-item:last-child {
        border-bottom: 0;
    }

    section {
        padding: 72px 0;
    }

    .image-card,
    .fluidImageOverlay {
        min-height: 420px;
    }

    .real-slider {
        grid-template-columns: 48px 1fr 48px;
        gap: 12px;
    }

    .real-slider-arrow {
        width: 48px;
        height: 48px;
        font-size: 34px;
    }

    .real-image {
        min-height: 320px;
    }

    .real-content {
        padding: 28px;
    }

    .papcast-box {
        padding: 28px;
    }

    .papcast-box .image-card {
        min-height: 360px;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding-top: 72px;
    }

    .hero-content {
        padding: 78px 0;
    }

    .hero h1 {
        font-size: clamp(40px, 13vw, 58px);
    }

    h2 {
        font-size: clamp(30px, 10vw, 44px);
    }

    h3 {
        font-size: 22px;
    }

    .actions,
    .btn {
        width: 100%;
    }

    .actions {
        flex-direction: column;
    }

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

    .card,
    .real-content {
        padding: 26px;
    }

    .real-slider {
        grid-template-columns: 1fr;
    }

    .real-slider-arrow {
        position: absolute;
        top: 50%;
        z-index: 5;
        transform: translateY(-50%);
        background: rgba(7,7,7,.78);
        backdrop-filter: blur(10px);
    }

    .real-slider-arrow:hover {
        transform: translateY(-50%);
    }

    .real-slider-prev {
        left: -8px;
        padding-bottom: 3px;
        padding-right: 2px;
    }

    .real-slider-next {
        right: -8px;
        padding-bottom: 3px;
        padding-left: 3px;
    }

    .real-card {
        min-width: 100%;
        max-width: 100%;
    }

    .real-image {
        min-height: 260px;
    }

    .real-btn {
        width: 100%;
    }

    .papcast-box {
        padding: 18px;
        border-radius: 22px;
    }

    .papcast-box .image-card {
        min-height: 260px;
        border-radius: 18px;
    }

    .papcast-content {
        padding: 6px;
    }
}

.offers-section {
    background:
        radial-gradient(circle at 80% 10%, rgba(227,176,75,.13), transparent 34%),
        var(--bg-2);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.offer-card {
    min-height: 100%;
    padding: 34px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
    box-shadow: 0 30px 90px rgba(0,0,0,.22);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.offer-card:hover {
    transform: translateY(-8px);
    border-color: rgba(227,176,75,.42);
    background:
        linear-gradient(180deg, rgba(227,176,75,.09), rgba(255,255,255,.02));
    box-shadow: 0 36px 100px rgba(0,0,0,.32);
}

.offer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}

.offer-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 50%;
    border: 1px solid rgba(227,176,75,.26);
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.12), transparent 36%),
        rgba(227,176,75,.10);
    color: var(--accent);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px 25px;
}

.offer-card-diagnostic .offer-icon {
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='14' cy='14' r='9.5' stroke='%23e3b04b' stroke-width='1.7'/%3E%3Cpath d='M17.8 10.2L15.2 15.2L10.2 17.8L12.8 12.8L17.8 10.2Z' stroke='%23e3b04b' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='M14 3.5V6.2M14 21.8V24.5M3.5 14H6.2M21.8 14H24.5' stroke='%23e3b04b' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

.offer-card-strategy .offer-icon {
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='6' width='18' height='4.5' rx='1.5' stroke='%23e3b04b' stroke-width='1.7'/%3E%3Crect x='5' y='12.25' width='18' height='4.5' rx='1.5' stroke='%23e3b04b' stroke-width='1.7'/%3E%3Crect x='5' y='18.5' width='18' height='4.5' rx='1.5' stroke='%23e3b04b' stroke-width='1.7'/%3E%3Cpath d='M9 8.25H9.1M9 14.5H9.1M9 20.75H9.1' stroke='%23e3b04b' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.offer-card-production .offer-icon {
    background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10.5H23V22C23 22.8284 22.3284 23.5 21.5 23.5H6.5C5.67157 23.5 5 22.8284 5 22V10.5Z' stroke='%23e3b04b' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='M5 10.5L7.2 5.5H22.8L20.6 10.5' stroke='%23e3b04b' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='M9.5 5.5L7.3 10.5M14.8 5.5L12.6 10.5M20.1 5.5L17.9 10.5' stroke='%23e3b04b' stroke-width='1.7'/%3E%3Cpath d='M12.2 15.2L17 18L12.2 20.8V15.2Z' stroke='%23e3b04b' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.offer-duration {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid rgba(227,176,75,.22);
    background: rgba(227,176,75,.10);
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.offer-tag {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(255,255,255,.045);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.offer-card h3 {
    margin-bottom: 16px;
    color: var(--text);
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.08;
    letter-spacing: -.035em;
    text-transform: none;
}

.offer-intro {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.offer-card ul {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.offer-card li {
    list-style: none;
    position: relative;
    padding-left: 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.offer-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.offer-link {
    display: inline-flex;
    width: fit-content;
    margin-top: 30px;
    color: var(--accent);
    font-weight: 900;
    transition: opacity .25s ease, transform .25s ease;
}

.offer-link:hover {
    opacity: .78;
    transform: translateX(4px);
}

.offer-card-production {
    border-color: rgba(255,225,0,.20);
    background:
        radial-gradient(circle at 90% 0%, rgba(255,225,0,.10), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}

.offer-card-production .offer-icon,
.offer-card-production .offer-duration {
    border-color: rgba(255,225,0,.28);
    background-color: rgba(255,225,0,.11);
    color: var(--accent-2);
}

.offer-card-production .offer-link {
    color: var(--accent-2);
}

.offer-card-production li::before {
    background: var(--accent-2);
}

@media (max-width: 1080px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }

    .offer-card {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .offer-card {
        padding: 26px;
    }

    .offer-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .offer-duration {
        white-space: normal;
    }

    .offer-link {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 0 18px;
        border-radius: 999px;
        border: 1px solid rgba(227,176,75,.26);
        background: rgba(227,176,75,.10);
    }
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    background:
        radial-gradient(circle at 82% 18%, rgba(227,176,75,.18), transparent 34%),
        radial-gradient(circle at 12% 85%, rgba(255,225,0,.09), transparent 30%),
        rgba(7,7,7,.98);
    color: var(--text);
    overflow: hidden;
}

.video-modal.is-open {
    display: block;
}

.video-modal-inner {
    height: 100%;
    width: 100%;
    padding: clamp(22px, 4vw, 54px);
    display: grid;
    grid-template-rows: auto 1fr;
    gap: clamp(20px, 3vw, 34px);
}

.video-modal-close {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 100000;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.075);
    color: var(--text);
    font-size: 34px;
    cursor: pointer;
    backdrop-filter: blur(16px);
}

.video-modal-close:hover {
    transform: rotate(90deg);
    border-color: rgba(227,176,75,.5);
    background: rgba(227,176,75,.13);
}

.video-modal-head {
    padding-right: 82px;
}

.video-modal-kicker {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.video-modal-title {
    margin: 12px 0 0;
    font-size: clamp(34px, 5vw, 72px);
    line-height: .96;
    letter-spacing: -.055em;
    text-transform: none;
}

.video-modal-description {
    max-width: 780px;
    margin-top: 14px;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 21px);
}

.video-modal-body {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .44fr);
    gap: clamp(20px, 3vw, 34px);
}

.video-player-wrap {
    border-radius: var(--radius);
    border: 1px solid rgba(248,241,232,.16);
    background: rgba(0,0,0,.50);
    box-shadow: 0 34px 120px rgba(0,0,0,.45);
    overflow: hidden;
    display: grid;
    place-items: center;
}

.video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 285px);
    border: 0;
    display: block;
    background: #000;
}

.video-empty-state {
    padding: 34px;
    text-align: center;
    color: var(--muted);
}

.video-thumbs-panel {
    border: 1px solid rgba(248,241,232,.13);
    border-radius: var(--radius);
    background: rgba(12,12,12,.80);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
}

.video-thumbs-title {
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .11em;
}

.video-thumbs {
    overflow-y: auto;
    padding: 18px;
    display: grid;
    gap: 14px;
}

.video-thumb {
    width: 100%;
    border: 1px solid rgba(248,241,232,.12);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255,255,255,.035);
    color: var(--text);
    cursor: pointer;
    text-align: left;
}

.video-thumb:hover,
.video-thumb.is-active {
    transform: translateY(-4px);
    border-color: rgba(227,176,75,.5);
    background: rgba(227,176,75,.08);
}

.video-thumb-image {
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(0,0,0,.45) center/cover no-repeat;
}

.video-thumb-play {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #111;
    font-size: 16px;
    font-weight: 900;
}

.video-thumb-content {
    display: block;
    padding: 16px;
}

.video-thumb-title {
    display: block;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.2;
}

.video-thumb-meta {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
}

body.video-modal-open {
    overflow: hidden;
}

@media (max-width: 1080px) {
    .video-modal-body {
        grid-template-columns: 1fr;
    }

    .video-player {
        max-height: 48vh;
    }

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

@media (max-width: 640px) {
    .video-modal {
        overflow-y: auto;
    }

    .video-modal-inner {
        height: auto;
        min-height: 100%;
        padding: 18px;
        padding-top: 82px;
        display: block;
    }

    .video-modal-close {
        top: 14px;
        right: 14px;
        width: 52px;
        height: 52px;
    }

    .video-modal-head {
        padding-right: 0;
        margin-bottom: 18px;
    }

    .video-modal-body {
        display: block;
    }

    .video-player-wrap {
        position: sticky;
        top: 0;
        z-index: 3;
        margin-bottom: 14px;
        border-radius: 22px;
    }

    .video-player {
        max-height: none;
    }

    .video-thumbs-panel {
        border-radius: 22px;
    }

    .video-thumbs {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 14px;
        padding: 14px;
        scroll-snap-type: x mandatory;
    }

    .video-thumb {
        min-width: 82%;
        scroll-snap-align: center;
    }
}