/* Video-first homepage hero adapted from VisuGenie Video Hero.dc.html. */

.hero.hero-video-banner {
    --hero-paper: #fcfcfa;
    --hero-frame: #f3f2ee;
    --hero-ink: #1e1e1e;
    --hero-copy: #5a5a5a;
    --hero-hint: #b3b3b3;
    --hero-amber: #ffb14d;
    --hero-amber-hover: #f0a540;
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    min-height: 100svh;
    overflow: hidden;
    padding: calc(var(--header-h, 80px) + 46px) 44px 44px;
    background-color: var(--hero-paper);
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
    background-size: 16px 16px;
    color: var(--hero-ink);
    font-family: var(--font-primary, "IBM Plex Sans", system-ui, sans-serif);
    line-height: normal;
}

.hero-banner-shell {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.hero-banner-headline {
    position: relative;
    height: 126px;
    margin: 4px 0 0;
    color: var(--hero-ink);
    font-family: var(--font-primary, "IBM Plex Sans", system-ui, sans-serif);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.028em;
    text-align: center;
}

.hero-banner-title-scene {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 420ms ease, transform 520ms cubic-bezier(0.3, 0, 0.2, 1);
    pointer-events: none;
}

.hero-banner-title-scene.is-active {
    opacity: 1;
    transform: translateY(0);
}

.hero-banner-description-slot {
    position: relative;
    width: min(980px, 100%);
    height: 54px;
    margin: 8px auto 0;
}

.hero-banner-description {
    position: absolute;
    inset: 0;
    margin: 0;
    color: var(--hero-copy);
    font: 400 15px/1.55 Inter, sans-serif;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 320ms ease, transform 420ms ease;
    pointer-events: none;
}

.hero-banner-description.is-active {
    opacity: 1;
    transform: translateY(0);
}

.hero-banner-accent,
.hero-banner-action {
    color: var(--hero-amber);
}

.hero-banner-rotating-actions {
    position: relative;
    display: inline-block;
    width: min(640px, 100%);
    height: 52px;
    vertical-align: top;
}

.hero-banner-action {
    position: absolute;
    inset: 0;
    display: block;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 320ms ease, transform 460ms cubic-bezier(0.3, 0, 0.2, 1);
}

.hero-banner-action.is-active {
    opacity: 1;
    transform: translateY(0);
}

.hero-banner-action.is-before {
    transform: translateY(-18px);
}

.hero-banner-stage {
    position: relative;
    height: 430px;
    margin-top: 30px;
}

.hero-banner-scene {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.hero-banner-scene-video {
    left: 50%;
    width: min(765px, 100%);
    box-sizing: content-box;
    padding: 8px;
    border-radius: 26px;
    background: var(--hero-ink);
    box-shadow: 0 26px 60px rgba(20, 15, 5, 0.3);
    transform: translateX(-50%) scale(0.985);
    transition: opacity 520ms ease, transform 520ms ease;
}

.hero-banner-scene-video.is-active {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.hero-banner-video-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 19px;
    background: var(--hero-ink);
}

.hero-banner-video,
.hero-social-card video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner-video-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 52%, rgba(12, 9, 4, 0.76));
}

.hero-banner-video-chrome {
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transition: opacity 400ms ease;
}

.hero-banner-scene-video.is-active .hero-banner-video-chrome {
    opacity: 1;
}

.hero-banner-media-caption {
    max-width: calc(100% - 32px);
    padding: 7px 14px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(16, 15, 12, 0.55);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.hero-banner-video-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 9px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(16, 15, 12, 0.58);
    backdrop-filter: blur(8px);
}

.hero-banner-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 18px;
}

.hero-banner-wave span {
    width: 2.5px;
    height: 100%;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.55);
    transform-origin: center;
    animation: hero-banner-eq var(--bar-duration, 0.72s) ease-in-out infinite var(--bar-delay, 0ms);
}

.hero-banner-wave span:nth-child(3n + 1) {
    background: var(--hero-amber);
}

.hero-banner-control-icon {
    display: inline-flex;
    color: var(--hero-amber);
}

.hero-banner-control-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-banner-control-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.22);
}

.hero-banner-language-pills {
    display: flex;
    gap: 6px;
}

.hero-banner-language-pill {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    font-weight: 600;
}

.hero-banner-language-pill.is-current {
    background: var(--hero-amber);
    color: #241300;
}

.hero-banner-edit-strip {
    display: flex;
    gap: 12px;
    transition: opacity 460ms ease;
}

.hero-banner-edit-strip.is-active {
    opacity: 1;
}

.hero-banner-edit-tile {
    position: relative;
    flex: 0.9 1 0;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: var(--hero-frame);
    box-shadow: 0 8px 22px rgba(20, 15, 5, 0.1);
    transition: flex 780ms cubic-bezier(0.6, 0.02, 0.2, 1), box-shadow 600ms ease;
}

.hero-banner-edit-tile.is-active {
    flex: 2.8 1 0;
    box-shadow: 0 22px 50px rgba(20, 15, 5, 0.24);
}

.hero-banner-edit-before,
.hero-banner-edit-after {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner-edit-before {
    filter: grayscale(0.7) brightness(0.92) contrast(0.96);
}

.hero-banner-edit-after-wrap {
    position: absolute;
    inset: 0;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1250ms cubic-bezier(0.5, 0, 0.2, 1);
}

.hero-banner-edit-tile.is-active .hero-banner-edit-after-wrap,
.hero-banner-edit-tile.is-done .hero-banner-edit-after-wrap {
    clip-path: inset(0 0 0 0);
}

.hero-banner-edit-edge {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: box-shadow 320ms ease;
}

.hero-banner-edit-tile.is-active .hero-banner-edit-edge,
.hero-banner-edit-tile.is-done .hero-banner-edit-edge {
    box-shadow: inset 0 0 0 3px var(--hero-amber);
}

.hero-banner-edit-check {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--hero-amber);
    box-shadow: 0 4px 12px rgba(20, 15, 5, 0.25);
    color: #241300;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 240ms ease, transform 240ms cubic-bezier(0.3, 1.5, 0.5, 1);
}

.hero-banner-edit-check svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-banner-edit-tile.is-done .hero-banner-edit-check {
    opacity: 1;
    transform: scale(1);
}

.hero-banner-edit-strip.is-resetting .hero-banner-edit-tile,
.hero-banner-edit-strip.is-resetting .hero-banner-edit-after-wrap,
.hero-banner-edit-strip.is-resetting .hero-banner-edit-edge,
.hero-banner-edit-strip.is-resetting .hero-banner-edit-check {
    transition: none;
}

.hero-banner-social-scene {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    padding: 0 10px;
    transform: scale(0.95);
    transition: opacity 500ms ease 200ms, transform 620ms cubic-bezier(0.4, 0, 0.2, 1) 200ms;
}

.hero-banner-social-scene.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-social-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 26px 64px rgba(20, 15, 5, 0.2);
    color: var(--hero-ink);
    font-family: var(--font-primary, "IBM Plex Sans", system-ui, sans-serif);
}

.hero-social-card svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-social-card svg.is-accent {
    fill: currentColor;
    color: var(--hero-amber);
}

.hero-social-reel {
    z-index: 2;
    flex: 0 1 188px;
    max-width: 188px;
    border: 0;
    background: var(--hero-ink);
    transform: perspective(1600px) rotateY(12deg) rotate(-2.5deg);
    transform-origin: right center;
}

.hero-social-reel-media {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: var(--hero-ink);
}

.hero-social-media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(12, 9, 4, 0.34), transparent 22%, transparent 52%, rgba(12, 9, 4, 0.78));
}

.hero-social-reel-top {
    position: absolute;
    top: 12px;
    right: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.hero-social-reel-top svg {
    width: 16px;
    height: 16px;
}

.hero-social-reel-actions {
    position: absolute;
    right: 11px;
    bottom: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.hero-social-reel-actions svg {
    width: 20px;
    height: 20px;
}

.hero-social-reel-copy {
    position: absolute;
    right: 52px;
    bottom: 18px;
    left: 14px;
    color: #fff;
}

.hero-social-account {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
}

.hero-social-avatar {
    display: flex;
    width: 30px;
    height: 30px;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(140deg, #ffc97f, var(--hero-amber));
    color: var(--hero-ink);
    font-size: 14px;
}

.hero-social-account .hero-social-avatar {
    width: 22px;
    height: 22px;
    font-size: 11px;
}

.hero-social-reel-copy p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    line-height: 1.35;
}

.hero-social-progress {
    position: absolute;
    right: 14px;
    bottom: 9px;
    left: 14px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.26);
}

.hero-social-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--hero-amber);
    animation: hero-banner-progress 9.2s linear infinite;
}

.hero-social-post {
    flex: 0 1 222px;
    max-width: 222px;
    box-sizing: content-box;
    transform: perspective(1600px) rotateY(-12deg) rotate(2.5deg) scale(0.95);
    transform-origin: left center;
}

.hero-social-post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
}

.hero-social-post-header > div {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.hero-social-post-header strong {
    overflow: hidden;
    font-size: 12.5px;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-social-post-header div span {
    display: -webkit-box;
    min-height: 2.3em;
    overflow: hidden;
    color: var(--hero-copy);
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: normal;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hero-social-more {
    color: var(--hero-copy);
    font-size: 10px;
}

.hero-social-post-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--hero-ink);
}

.hero-social-post-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 60%, rgba(12, 9, 4, 0.6));
    content: "";
}

.hero-social-post-caption {
    position: absolute;
    right: 12px;
    bottom: 14px;
    left: 12px;
    z-index: 1;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(16, 15, 12, 0.6);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(6px);
}

.hero-social-post-body {
    padding: 13px 15px 16px;
}

.hero-social-post-icons,
.hero-social-post-icons > span {
    display: flex;
    align-items: center;
}

.hero-social-post-icons {
    justify-content: space-between;
}

.hero-social-post-icons > span {
    gap: 12px;
}

.hero-social-likes {
    display: block;
    margin-top: 10px;
    font-size: 12px;
}

.hero-social-post-body p {
    margin: 4px 0 0;
    color: var(--hero-copy);
    font-size: 11.5px;
    line-height: 1.45;
}

.hero-social-post-body p strong {
    color: var(--hero-ink);
}

.hero-social-comments {
    display: block;
    margin-top: 6px;
    color: var(--hero-hint);
    font-size: 10.5px;
    font-weight: 500;
}

.hero-social-listing {
    flex: 0 1 400px;
    max-width: 400px;
    box-sizing: content-box;
    border-radius: 20px;
    transform: perspective(1600px) rotateY(-13deg) rotate(2deg);
    transform-origin: left center;
}

.hero-listing-browser {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--hero-frame);
}

.hero-listing-browser > span:first-child {
    display: flex;
    gap: 4px;
}

.hero-listing-browser i {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #d6d3cc;
}

.hero-listing-browser > span:last-child {
    flex: 1;
    padding: 3px 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #fff;
    color: var(--hero-hint);
    font-size: 10.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-listing-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--hero-ink);
}

.hero-listing-media > span {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(16, 15, 12, 0.6);
    color: #fff;
    font-size: 10.5px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.hero-listing-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 13px 6px;
}

.hero-listing-meta strong {
    font-size: 17px;
    letter-spacing: -0.01em;
}

.hero-listing-meta span,
.hero-listing-address {
    color: var(--hero-copy);
    font-size: 10.5px;
}

.hero-listing-address {
    padding: 0 13px;
}

.hero-listing-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 10px 13px 13px;
}

.hero-listing-thumbs img {
    display: block;
    width: 100%;
    height: 52px;
    border-radius: 6px;
    object-fit: cover;
}

.hero-banner-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
}

.hero-banner-cta {
    display: inline-flex;
    height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 999px;
    color: var(--hero-ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hero-banner-cta:hover {
    color: var(--hero-ink);
    transform: translateY(-2px);
}

.hero-banner-cta-primary {
    padding: 0 28px;
    background: var(--hero-amber);
    box-shadow: 0 12px 28px rgba(255, 177, 77, 0.34);
    color: #241300;
}

.hero-banner-cta-primary:hover {
    background: var(--hero-amber-hover);
    color: #241300;
}

.hero-banner-cta-secondary {
    box-sizing: content-box;
    border: 1px solid rgba(0, 0, 0, 0.14);
}

.hero-banner-cta-secondary:hover {
    border-color: rgba(0, 0, 0, 0.28);
    background: #fff;
}

.hero-banner-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
    color: var(--hero-copy);
    font-size: 12.5px;
}

.hero-banner-proof-avatars {
    display: flex;
}

.hero-banner-proof-avatars img {
    display: block;
    width: 30px;
    height: 30px;
    box-sizing: content-box;
    border: 2px solid #fff;
    border-radius: 999px;
    object-fit: cover;
}

.hero-banner-proof-avatars img + img {
    margin-left: -9px;
}

.hero-banner-scroll-cue {
    position: relative;
    z-index: 2;
    display: flex;
    width: max-content;
    align-items: center;
    flex-direction: column;
    gap: 7px;
    margin: 20px auto 0;
    color: var(--hero-copy);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.055em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.hero-banner-scroll-cue:hover {
    color: var(--hero-ink);
}

.hero-banner-scroll-cue-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 999px;
    background: rgba(252, 252, 250, 0.82);
    box-shadow: 0 6px 18px rgba(30, 30, 30, 0.07);
    animation: hero-banner-scroll-cue 1.8s ease-in-out infinite;
    backdrop-filter: blur(6px);
}

.hero-banner-scroll-cue svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes hero-banner-progress {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes hero-banner-eq {
    0%, 100% { transform: scaleY(0.28); }
    50% { transform: scaleY(1); }
}

@keyframes hero-banner-scroll-cue {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@media (min-width: 1280px) {
    .hero.hero-video-banner {
        --overview-hero-bottom-padding: clamp(36px, 3svh, 48px);
        --overview-hero-stage-height: clamp(430px, max(min(30vw, 54svh), calc(100svh - 620px)), 900px);
        --overview-hero-media-width: clamp(765px, min(56vw, 100svh), 1440px);
        padding-bottom: var(--overview-hero-bottom-padding);
    }

    .hero.hero-video-banner .hero-banner-shell {
        width: min(100%, clamp(1120px, 80vw, 1600px));
    }

    .hero.hero-video-banner .hero-banner-headline {
        height: clamp(126px, min(7vw, 14svh), 146px);
        font-size: clamp(40px, min(2.6vw, 5svh), 50px);
    }

    .hero.hero-video-banner .hero-banner-rotating-actions {
        height: clamp(52px, min(3.4vw, 6svh), 64px);
    }

    .hero.hero-video-banner .hero-banner-stage {
        height: var(--overview-hero-stage-height);
        margin-top: clamp(30px, 2vw, 38px);
    }

    .hero.hero-video-banner .hero-banner-scene-video {
        width: min(var(--overview-hero-media-width), 100%);
    }

    .hero.hero-video-banner .hero-social-reel {
        flex-basis: clamp(188px, 13vw, 300px);
        max-width: clamp(188px, 13vw, 300px);
    }

    .hero.hero-video-banner .hero-social-post {
        flex-basis: clamp(222px, 15vw, 360px);
        max-width: clamp(222px, 15vw, 360px);
    }

    .hero.hero-video-banner .hero-social-listing {
        flex-basis: clamp(400px, 26vw, 640px);
        max-width: clamp(400px, 26vw, 640px);
    }

    .hero.hero-video-banner .hero-banner-actions {
        margin-top: clamp(50px, 4svh, 64px);
    }

    .hero.hero-video-banner .hero-banner-proof {
        margin-top: clamp(30px, 2.5svh, 40px);
    }

    .hero.hero-video-banner .hero-banner-scroll-cue {
        margin-top: clamp(20px, 2svh, 30px);
    }
}

@media (min-width: 1280px) and (min-height: 1200px) {
    .hero.hero-video-banner .hero-banner-shell {
        min-height: calc(100svh - var(--header-h, 80px) - 46px - var(--overview-hero-bottom-padding));
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hero.hero-video-banner .hero-banner-headline,
    .hero.hero-video-banner .hero-banner-description-slot,
    .hero.hero-video-banner .hero-banner-stage,
    .hero.hero-video-banner .hero-banner-actions,
    .hero.hero-video-banner .hero-banner-proof,
    .hero.hero-video-banner .hero-banner-scroll-cue {
        flex-shrink: 0;
    }
}

@media (max-width: 1024px) {
    .hero.hero-video-banner {
        padding: calc(var(--header-h, 80px) + 34px) 28px 40px;
    }

    .hero-banner-headline {
        height: 116px;
        font-size: clamp(32px, 4.4vw, 38px);
    }

    .hero-banner-description-slot {
        height: 70px;
    }

    .hero-banner-stage {
        height: 400px;
        margin-top: 24px;
    }

    .hero-banner-social-scene {
        gap: 8px;
        padding-inline: 0;
    }

    .hero-social-reel {
        flex-basis: 174px;
    }

    .hero-social-post {
        flex-basis: 205px;
    }

    .hero-social-listing {
        flex-basis: 360px;
    }
}

@media (max-width: 700px) {
    .hero.hero-video-banner {
        height: 100svh;
        min-height: 0;
        box-sizing: border-box;
        padding: calc(var(--header-h, 64px) + 10px) 16px 10px;
    }

    .hero-banner-headline {
        order: 1;
        height: 100%;
        margin: 0;
        font-size: clamp(28px, 8vw, 32px);
        line-height: 1.03;
        letter-spacing: -0.025em;
    }

    .hero-banner-description-slot {
        display: none;
    }

    .hero-banner-rotating-actions {
        width: 100%;
        height: 52px;
    }

    .hero-banner-action {
        line-height: 1.06;
        white-space: normal;
    }

    .hero-banner-stage {
        order: 2;
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0;
        transition: none;
    }

    .hero-banner-scene-video {
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        box-sizing: border-box;
        padding: 5px;
        border-radius: 19px;
        transform: translateX(-50%) scale(0.985);
    }

    .hero-banner-scene-video.is-active {
        transform: translateX(-50%) scale(1);
    }

    .hero-banner-video-frame {
        border-radius: 14px;
    }

    .hero-banner-video-chrome {
        bottom: 12px;
        gap: 8px;
    }

    .hero-banner-media-caption {
        padding: 5px 9px;
        font-size: 10.5px;
    }

    .hero-banner-video-controls {
        gap: 9px;
        padding: 6px 10px;
    }

    .hero-banner-wave {
        gap: 2px;
        height: 14px;
    }

    .hero-banner-wave span {
        width: 2px;
    }

    .hero-banner-control-divider {
        height: 14px;
    }

    .hero-banner-language-pill {
        padding: 2px 6px;
        font-size: 8px;
    }

    .hero-banner-edit-strip {
        gap: 6px;
    }

    .hero-banner-edit-tile,
    .hero-banner-edit-edge {
        border-radius: 14px;
    }

    .hero-banner-edit-check {
        right: 7px;
        bottom: 7px;
        width: 22px;
        height: 22px;
    }

    .hero-banner-social-scene,
    .hero-banner-social-scene.is-active {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: minmax(0, 1fr) clamp(78px, 11svh, 96px);
        gap: 8px;
        padding: 0;
        transform: none;
    }

    .hero-social-reel {
        position: relative;
        grid-column: 1;
        grid-row: 1;
        width: 94%;
        height: 100%;
        max-width: none;
        justify-self: end;
        z-index: 2;
        aspect-ratio: auto;
        transform: perspective(1200px) rotateY(9deg) rotate(-2deg) scale(0.96);
        transform-origin: right center;
    }

    .hero-social-reel-media {
        height: 100%;
        aspect-ratio: auto;
    }

    .hero-social-post {
        position: relative;
        display: grid;
        grid-column: 2;
        grid-row: 1;
        grid-template-rows: auto minmax(0, 1fr) auto;
        width: 94%;
        height: 100%;
        max-width: none;
        justify-self: start;
        box-sizing: border-box;
        z-index: 1;
        aspect-ratio: auto;
        transform: perspective(1200px) rotateY(-9deg) rotate(2deg) scale(0.96);
        transform-origin: left center;
    }

    .hero-social-post-media {
        height: 100%;
        aspect-ratio: auto;
    }

    .hero-social-post-body {
        display: block;
    }

    .hero-social-listing {
        position: relative;
        display: grid;
        grid-column: 1 / -1;
        grid-row: 2;
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
        grid-template-rows: auto minmax(0, 1fr) auto;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        max-width: none;
        z-index: 0;
        opacity: 1;
        transform: perspective(1200px) rotateX(2deg) scale(0.98);
        transform-origin: center top;
    }

    .hero-listing-browser {
        grid-column: 1 / -1;
        grid-row: 1;
        padding: 5px 8px;
    }

    .hero-listing-browser > span:last-child {
        padding: 2px 7px;
        font-size: 8px;
    }

    .hero-listing-media {
        grid-column: 1;
        grid-row: 2 / span 2;
        height: 100%;
        aspect-ratio: auto;
    }

    .hero-listing-media > span {
        top: 6px;
        left: 6px;
        padding: 3px 6px;
        font-size: 7.5px;
    }

    .hero-listing-meta {
        grid-column: 2;
        grid-row: 2;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        padding: 8px;
    }

    .hero-listing-meta strong {
        font-size: 12px;
    }

    .hero-listing-meta span,
    .hero-listing-address {
        font-size: 7.5px;
        line-height: 1.35;
    }

    .hero-listing-address {
        grid-column: 2;
        grid-row: 3;
        padding: 0 8px 8px;
    }

    .hero-listing-thumbs {
        display: none;
    }

    .hero-social-post-header {
        gap: 6px;
        padding: 7px 8px;
    }

    .hero-social-post-header .hero-social-avatar {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }

    .hero-social-post-header strong {
        font-size: 9px;
    }

    .hero-social-post-header div span {
        font-size: 7.5px;
    }

    .hero-social-post-caption {
        right: 7px;
        bottom: 8px;
        left: 7px;
        padding: 4px 5px;
        font-size: 7.5px;
    }

    .hero-social-post-body {
        padding: 7px 9px 9px;
    }

    .hero-social-post-icons svg {
        width: 13px;
        height: 13px;
    }

    .hero-social-post-icons > span {
        gap: 7px;
    }

    .hero-social-likes {
        margin-top: 5px;
        font-size: 8px;
    }

    .hero-social-post-body p {
        margin-top: 2px;
        font-size: 7.5px;
    }

    .hero-social-comments {
        margin-top: 3px;
        font-size: 7px;
    }

    .hero-social-reel-top {
        top: 8px;
        right: 9px;
        left: 9px;
        font-size: 9px;
    }

    .hero-social-reel-actions {
        right: 7px;
        bottom: 54px;
        gap: 9px;
    }

    .hero-social-reel-actions svg {
        width: 14px;
        height: 14px;
    }

    .hero-social-reel-copy {
        right: 32px;
        bottom: 13px;
        left: 8px;
    }

    .hero-social-account {
        gap: 4px;
        font-size: 7.5px;
    }

    .hero-social-account .hero-social-avatar {
        width: 16px;
        height: 16px;
        font-size: 7px;
    }

    .hero-social-reel-copy p {
        margin-top: 3px;
        font-size: 7px;
    }

    .hero-social-progress {
        right: 8px;
        bottom: 6px;
        left: 8px;
        height: 2px;
    }

    .hero-banner-actions {
        order: 4;
        margin: 0;
    }

    .hero-banner-proof {
        order: 5;
        margin: 0;
    }

    .hero-banner-scroll-cue {
        order: 6;
        gap: 4px;
        margin: 0 auto;
    }

    .hero-banner-shell {
        display: grid;
        height: 100%;
        grid-template-rows: clamp(112px, 15svh, 126px) minmax(0, 1fr) auto auto auto;
        gap: clamp(6px, 1svh, 10px);
    }
}

@media (max-width: 430px) {
    .hero-banner-shell {
        grid-template-rows: clamp(118px, 15svh, 128px) minmax(0, 1fr) auto auto auto;
    }

    .hero-banner-headline {
        height: 100%;
        font-size: clamp(28px, 8vw, 31px);
    }

    html[lang="cs"] .hero-banner-shell {
        grid-template-rows: clamp(140px, 18svh, 152px) minmax(0, 1fr) auto auto auto;
    }

    html[lang="cs"] .hero-banner-headline {
        font-size: clamp(23px, 6.7vw, 26px);
        line-height: 1.04;
    }

    .hero-banner-action {
        font-size: 0.9em;
    }

    .hero-social-post-header div span {
        display: -webkit-box;
        overflow: hidden;
        line-height: 1.15;
        text-overflow: clip;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .hero-social-post-body p {
        overflow-wrap: anywhere;
        font-size: 8px;
        line-height: 1.35;
    }

    .hero-social-reel-copy p {
        font-size: 7.5px;
        line-height: 1.3;
    }

    .hero-banner-actions {
        gap: 8px;
    }

    .hero-banner-cta {
        min-width: 0;
        height: 48px;
        flex: 1;
        padding: 0 12px;
        font-size: 12.5px;
        line-height: 1.12;
        text-align: center;
    }

    .hero-banner-proof {
        gap: 10px;
        font-size: 10.5px;
        text-align: left;
    }

    .hero-banner-proof-avatars img {
        width: 26px;
        height: 26px;
    }

    .hero-banner-scroll-cue {
        font-size: 9.5px;
    }

    .hero-banner-scroll-cue-icon {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 340px) {
    .hero.hero-video-banner {
        padding-right: 12px;
        padding-left: 12px;
    }

    .hero-banner-shell {
        grid-template-rows: 132px minmax(0, 1fr) auto auto auto;
    }

    html[lang="cs"] .hero-banner-shell {
        grid-template-rows: 156px minmax(0, 1fr) auto auto auto;
    }

    .hero-banner-cta {
        padding: 0 9px;
        font-size: 11.5px;
    }

    .hero-banner-proof {
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-banner-wave span,
    .hero-social-progress span,
    .hero-banner-scroll-cue-icon {
        animation: none;
    }
}
